594 lines
3.6 MiB
594 lines
3.6 MiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"00bb":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,n){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var a=0;a<r;a++)e[t+a]^=i[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i,n),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=e.slice(t,t+i);r.call(this,e,t,i,n),this._prevBlock=o}}),t}(),e.mode.CFB}))},"010e":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"014b":function(e,t,r){"use strict";var n=r("e53d"),i=r("07e3"),o=r("8e60"),a=r("63b6"),s=r("9138"),l=r("ebfd").KEY,u=r("294c"),c=r("dbdb"),d=r("45f2"),h=r("62a0"),f=r("5168"),p=r("ccb9"),m=r("6718"),g=r("47ee"),v=r("9003"),y=r("e4ae"),b=r("f772"),_=r("241e"),w=r("36c3"),x=r("1bc3"),k=r("aebd"),S=r("a159"),M=r("0395"),C=r("bf0b"),T=r("9aa9"),O=r("d9f6"),L=r("c3a1"),A=C.f,D=O.f,E=M.f,I=n.Symbol,j=n.JSON,P=j&&j.stringify,R="prototype",N=f("_hidden"),B=f("toPrimitive"),Y={}.propertyIsEnumerable,F=c("symbol-registry"),z=c("symbols"),H=c("op-symbols"),V=Object[R],U="function"==typeof I&&!!T.f,W=n.QObject,$=!W||!W[R]||!W[R].findChild,G=o&&u((function(){return 7!=S(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=A(V,t);n&&delete V[t],D(e,t,r),n&&e!==V&&D(V,t,n)}:D,q=function(e){var t=z[e]=S(I[R]);return t._k=e,t},X=U&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,r){return e===V&&K(H,t,r),y(e),t=x(t,!0),y(r),i(z,t)?(r.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),r=S(r,{enumerable:k(0,!1)})):(i(e,N)||D(e,N,k(1,{})),e[N][t]=!0),G(e,t,r)):D(e,t,r)},Z=function(e,t){y(e);var r,n=g(t=w(t)),i=0,o=n.length;while(o>i)K(e,r=n[i++],t[r]);return e},J=function(e,t){return void 0===t?S(e):Z(S(e),t)},Q=function(e){var t=Y.call(this,e=x(e,!0));return!(this===V&&i(z,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,N)&&this[N][e])||t)},ee=function(e,t){if(e=w(e),t=x(t,!0),e!==V||!i(z,t)||i(H,t)){var r=A(e,t);return!r||!i(z,t)||i(e,N)&&e[N][t]||(r.enumerable=!0),r}},te=function(e){var t,r=E(w(e)),n=[],o=0;while(r.length>o)i(z,t=r[o++])||t==N||t==l||n.push(t);return n},re=function(e){var t,r=e===V,n=E(r?H:w(e)),o=[],a=0;while(n.length>a)!i(z,t=n[a++])||r&&!i(V,t)||o.push(z[t]);return o};U||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(r){this===V&&t.call(H,r),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),G(this,e,k(1,r))};return o&&$&&G(V,e,{configurable:!0,set:t}),q(e)},s(I[R],"toString",(function(){return this._k})),C.f=ee,O.f=K,r("6abf").f=M.f=te,r("355d").f=Q,T.f=re,o&&!r("b8e3")&&s(V,"propertyIsEnumerable",Q,!0),p.f=function(e){return q(f(e))}),a(a.G+a.W+a.F*!U,{Symbol:I});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;ne.length>ie;)f(ne[ie++]);for(var oe=L(f.store),ae=0;oe.length>ae;)m(oe[ae++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!U,"Object",{create:J,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:re});var se=u((function(){T.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(_(e))}}),j&&a(a.S+a.F*(!U||u((function(){var e=I();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){var t,r,n=[e],i=1;while(arguments.length>i)n.push(arguments[i++]);if(r=t=n[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!X(t))return t}),n[1]=t,P.apply(j,n)}}),I[R][B]||r("35e8")(I[R],B,I[R].valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},"01f9":function(e,t,r){"use strict";var n=r("2d00"),i=r("5ca1"),o=r("2aba"),a=r("32e9"),s=r("84f2"),l=r("41a0"),u=r("7f20"),c=r("38fd"),d=r("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,r,v,y,b,_){l(r,t,v);var w,x,k,S=function(e){if(!h&&e in O)return O[e];switch(e){case p:return function(){return new r(this,e)};case m:return function(){return new r(this,e)}}return function(){return new r(this,e)}},M=t+" Iterator",C=y==m,T=!1,O=e.prototype,L=O[d]||O[f]||y&&O[y],A=L||S(y),D=y?C?S("entries"):A:void 0,E="Array"==t&&O.entries||L;if(E&&(k=c(E.call(new e)),k!==Object.prototype&&k.next&&(u(k,M,!0),n||"function"==typeof k[d]||a(k,d,g))),C&&L&&L.name!==m&&(T=!0,A=function(){return L.call(this)}),n&&!_||!h&&!T&&O[d]||a(O,d,A),s[t]=A,s[M]=g,y)if(w={values:C?A:S(m),keys:b?A:S(p),entries:D},_)for(x in w)x in O||o(O,x,w[x]);else i(i.P+i.F*(h||T),t,w);return w}},"0293":function(e,t,r){var n=r("241e"),i=r("53e2");r("ce7e")("getPrototypeOf",(function(){return function(e){return i(n(e))}}))},"0298":function(e,t,r){"use strict";var n=r("5ca1"),i=r("4bf8"),o=r("6a99");n(n.P+n.F*r("79e5")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=i(this),r=o(t);return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},"02f4":function(e,t,r){var n=r("4588"),i=r("be13");e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"02fb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,r){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"036c":function(e,t,r){"use strict";var n=r("5ca1"),i=r("4588"),o=r("bef9"),a=r("9744"),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d="0",h=function(e,t){var r=-1,n=t;while(++r<6)n+=e*u[r],u[r]=n%1e7,n=l(n/1e7)},f=function(e){var t=6,r=0;while(--t>=0)r+=u[t],u[t]=l(r/e),r=r%e*1e7},p=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==u[e]){var r=String(u[e]);t=""===t?r:t+a.call(d,7-r.length)+r}return t},m=function(e,t,r){return 0===t?r:t%2===1?m(e,t-1,r*e):m(e*e,t/2,r)},g=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t};n(n.P+n.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!r("79e5")((function(){s.call({})}))),"Number",{toFixed:function(e){var t,r,n,s,l=o(this,c),u=i(e),v="",y=d;if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(v="-",l=-l),l>1e-21)if(t=g(l*m(2,69,1))-69,r=t<0?l*m(2,-t,1):l/m(2,t,1),r*=4503599627370496,t=52-t,t>0){h(0,r),n=u;while(n>=7)h(1e7,0),n-=7;h(m(10,n,1),0),n=t-1;while(n>=23)f(1<<23),n-=23;f(1<<n),h(1,1),f(2),y=p()}else h(0,r),h(1<<-t,0),y=p()+a.call(d,u);return u>0?(s=y.length,y=v+(s<=u?"0."+a.call(d,u-s)+y:y.slice(0,s-u)+"."+y.slice(s-u))):y=v+y,y}})},"037e":function(e,t,r){},"0390":function(e,t,r){"use strict";var n=r("02f4")(!0);e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"0395":function(e,t,r){var n=r("36c3"),i=r("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(n(e))}},"03ec":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t}))},"042d":function(e,t,r){},"042e":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{fround:r("91ca")})},"044b":function(e,t){
|
||
/*!
|
||
* Determine if an object is a Buffer
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/
|
||
e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},"049f":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{log1p:r("d6c6")})},"04fb":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("7037")),o=n(r("970b"));r("0ca1");var a=n(r("9886")),s=r("5557"),l=r("a736"),u=function e(t){if((0,o["default"])(this,e),!t)return console.error("Charts Missing parameters!"),!1;var r=t.clientWidth,n=t.clientHeight,i=document.createElement("canvas");i.setAttribute("width",r),i.setAttribute("height",n),t.appendChild(i);var s={container:t,canvas:i,render:new a["default"](i),option:null};Object.assign(this,s)};t["default"]=u,u.prototype.setOption=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||"object"!==(0,i["default"])(e))return console.error("setOption Missing parameters!"),!1;t&&this.render.graphs.forEach((function(e){return e.animationEnd()}));var r=(0,s.deepClone)(e,!0);(0,l.mergeColor)(this,r),(0,l.grid)(this,r),(0,l.axis)(this,r),(0,l.radarAxis)(this,r),(0,l.title)(this,r),(0,l.bar)(this,r),(0,l.line)(this,r),(0,l.pie)(this,r),(0,l.radar)(this,r),(0,l.gauge)(this,r),(0,l.legend)(this,r),this.option=e,this.render.launchAnimation()},u.prototype.resize=function(){var e=this.container,t=this.canvas,r=this.render,n=this.option,i=e.clientWidth,o=e.clientHeight;t.setAttribute("width",i),t.setAttribute("height",o),r.area=[i,o],this.setOption(n)}},"04ff":function(e,t,r){var n=r("5ca1"),i=r("3ca5");n(n.S+n.F*(Number.parseInt!=i),"Number",{parseInt:i})},"050c":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bezierCurveToPolyline",{enumerable:!0,get:function(){return i.bezierCurveToPolyline}}),Object.defineProperty(t,"getBezierCurveLength",{enumerable:!0,get:function(){return i.getBezierCurveLength}}),Object.defineProperty(t,"polylineToBezierCurve",{enumerable:!0,get:function(){return o["default"]}}),t["default"]=void 0;var i=r("2db9"),o=n(r("ae10")),a={bezierCurveToPolyline:i.bezierCurveToPolyline,getBezierCurveLength:i.getBezierCurveLength,polylineToBezierCurve:o["default"]};t["default"]=a},"0558":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e){return e%100===11||e%10!==1}function r(e,r,n,i){var o=e+" ";switch(n){case"s":return r||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(r||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return r?"mínúta":"mínútu";case"mm":return t(e)?o+(r||i?"mínútur":"mínútum"):r?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(r||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return r?"dagur":i?"dag":"degi";case"dd":return t(e)?r?o+"dagar":o+(i?"daga":"dögum"):r?o+"dagur":o+(i?"dag":"degi");case"M":return r?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?r?o+"mánuðir":o+(i?"mánuði":"mánuðum"):r?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return r||i?"ár":"ári";case"yy":return t(e)?o+(r||i?"ár":"árum"):o+(r||i?"ár":"ári")}}var n=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},"0676":function(e,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"0680":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.axis=v;var i=n(r("7037")),o=n(r("278c")),a=n(r("9523")),s=n(r("448a")),l=r("18ad"),u=r("9d85"),c=r("becb"),d=r("5557");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,a["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p={xAxisConfig:u.xAxisConfig,yAxisConfig:u.yAxisConfig},m=(Math.min,Math.max,Math.abs),g=Math.pow;function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.xAxis,n=t.yAxis,i=t.series,o=[];r&&n&&i&&(o=y(r,n),o=b(o),o=o.filter((function(e){var t=e.show;return t})),o=_(o),o=w(o,i),o=j(o),o=P(o,e),o=R(o,e),o=B(o,e),o=Y(o,e)),(0,l.doUpdate)({chart:e,series:o,key:"axisLine",getGraphConfig:F}),(0,l.doUpdate)({chart:e,series:o,key:"axisTick",getGraphConfig:V}),(0,l.doUpdate)({chart:e,series:o,key:"axisLabel",getGraphConfig:$}),(0,l.doUpdate)({chart:e,series:o,key:"axisName",getGraphConfig:Z}),(0,l.doUpdate)({chart:e,series:o,key:"splitLine",getGraphConfig:te}),e.axisData=o}function y(e,t){var r,n,i=[],o=[];e instanceof Array?(r=i).push.apply(r,(0,s["default"])(e)):i.push(e);t instanceof Array?(n=o).push.apply(n,(0,s["default"])(t)):o.push(t);return i.splice(2),o.splice(2),i=i.map((function(e,t){return f(f({},e),{},{index:t,axis:"x"})})),o=o.map((function(e,t){return f(f({},e),{},{index:t,axis:"y"})})),[].concat((0,s["default"])(i),(0,s["default"])(o))}function b(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),r=e.filter((function(e){var t=e.axis;return"y"===t}));return t=t.map((function(e){return(0,c.deepMerge)((0,d.deepClone)(u.xAxisConfig),e)})),r=r.map((function(e){return(0,c.deepMerge)((0,d.deepClone)(u.yAxisConfig),e)})),[].concat((0,s["default"])(t),(0,s["default"])(r))}function _(e){var t=e.filter((function(e){var t=e.data;return"value"===t})),r=e.filter((function(e){var t=e.data;return"value"!==t}));return t.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!1)})),r.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!0)})),[].concat((0,s["default"])(t),(0,s["default"])(r))}function w(e,t){var r=e.filter((function(e){var t=e.data;return"value"===t})),n=e.filter((function(e){var t=e.data;return t instanceof Array}));return r=x(r,t),n=E(n),[].concat((0,s["default"])(r),(0,s["default"])(n))}function x(e,t){return e.map((function(e){var r=k(e,t),n=C(e,r),i=(0,o["default"])(n,2),a=i[0],s=i[1],l=I(a,s,e),u=e.axisLabel.formatter,c=[];return c=a<0&&s>0?L(a,s,l):A(a,s,l),c=c.map((function(e){return parseFloat(e.toFixed(2))})),f(f({},e),{},{maxValue:c.slice(-1)[0],minValue:c[0],label:D(c,u)})}))}function k(e,t){if(t=t.filter((function(e){var t=e.show,r=e.type;return!1!==t&&"pie"!==r})),0===t.length)return[0,0];var r=e.index,n=e.axis;t=M(t);var i=n+"Axis",o=t.filter((function(e){return e[i]===r}));return o.length||(o=t),S(o)}function S(e){if(e){var t=Math.min.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.min.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))})))),r=Math.max.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.max.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))}))));return[t,r]}}function M(e){var t=(0,d.deepClone)(e,!0);return e.forEach((function(r,n){var i=(0,c.mergeSameStackData)(r,e);t[n].data=i})),t}function C(e,t){var r=e.min,n=e.max,a=e.axis,s=(0,o["default"])(t,2),l=s[0],u=s[1],c=(0,i["default"])(r),d=(0,i["default"])(n);if(O(r)||(r=p[a+"AxisConfig"].min,c="string"),O(n)||(n=p[a+"AxisConfig"].max,d="string"),"string"===c){r=parseInt(l-m(l*parseFloat(r)/100));var h=T(r);r=parseFloat((r/h-.1).toFixed(1))*h}if("string"===d){n=parseInt(u+m(u*parseFloat(n)/100));var f=T(n);n=parseFloat((n/f+.1).toFixed(1))*f}return[r,n]}function T(e){var t=m(e).toString(),r=t.length,n=t.replace(/0*$/g,"").indexOf("0"),i=r-1;return-1!==n&&(i-=n),g(10,i)}function O(e){var t=(0,i["default"])(e),r="string"===t&&/^\d+%$/.test(e),n="number"===t;return r||n}function L(e,t,r){var n=[],i=[],o=0,a=0;do{n.push(o-=r)}while(o>e);do{i.push(a+=r)}while(a<t);return[].concat((0,s["default"])(n.reverse()),[0],(0,s["default"])(i))}function A(e,t,r){var n=[e],i=e;do{n.push(i+=r)}while(i<t);return n}function D(e,t){return t?("string"===typeof t&&(e=e.map((function(e){return t.replace("{value}",e)}))),"function"===typeof t&&(e=e.map((function(e,r){return t({value:e,index:r})}))),e):e}function E(e){return e.map((function(e){var t=e.data,r=e.axisLabel.formatter;return f(f({},e),{},{label:D(t,r)})}))}function I(e,t,r){var n=r.interval,i=r.minInterval,o=r.maxInterval,a=r.splitNumber,s=r.axis,l=p[s+"AxisConfig"];if("number"!==typeof n&&(n=l.interval),"number"!==typeof i&&(i=l.minInterval),"number"!==typeof o&&(o=l.maxInterval),"number"!==typeof a&&(a=l.splitNumber),"number"===typeof n)return n;var u=parseInt((t-e)/(a-1));return u.toString().length>1&&(u=parseInt(u.toString().replace(/\d$/,"0"))),0===u&&(u=1),"number"===typeof i&&u<i?i:"number"===typeof o&&u>o?o:u}function j(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),r=e.filter((function(e){var t=e.axis;return"y"===t}));return t[0]&&!t[0].position&&(t[0].position=u.xAxisConfig.position),t[1]&&!t[1].position&&(t[1].position="bottom"===t[0].position?"top":"bottom"),r[0]&&!r[0].position&&(r[0].position=u.yAxisConfig.position),r[1]&&!r[1].position&&(r[1].position="left"===r[0].position?"right":"left"),[].concat((0,s["default"])(t),(0,s["default"])(r))}function P(e,t){var r=t.gridArea,n=r.x,i=r.y,o=r.w,a=r.h;return e=e.map((function(e){var t=e.position,r=[];return"left"===t?r=[[n,i],[n,i+a]].reverse():"right"===t?r=[[n+o,i],[n+o,i+a]].reverse():"top"===t?r=[[n,i],[n+o,i]]:"bottom"===t&&(r=[[n,i+a],[n+o,i+a]]),f(f({},e),{},{linePosition:r})})),e}function R(e,t){return e.map((function(e){var t=e.axis,r=e.linePosition,n=e.position,i=e.label,a=e.boundaryGap;"boolean"!==typeof a&&(a=p[t+"AxisConfig"].boundaryGap);var s=i.length,l=(0,o["default"])(r,2),u=(0,o["default"])(l[0],2),c=u[0],d=u[1],h=(0,o["default"])(l[1],2),m=h[0],g=h[1],v="x"===t?m-c:g-d,y=v/(a?s:s-1),b=new Array(s).fill(0).map((function(e,r){return"x"===t?[c+y*(a?r+.5:r),d]:[c,d+y*(a?r+.5:r)]})),_=N(t,a,n,b,y);return f(f({},e),{},{tickPosition:b,tickLinePosition:_,tickGap:y})}))}function N(e,t,r,n,i){var a="x"===e?1:0,s=5;"x"===e&&"top"===r&&(s=-5),"y"===e&&"left"===r&&(s=-5);var l=n.map((function(e){var t=(0,d.deepClone)(e);return t[a]+=s,[(0,d.deepClone)(e),t]}));return t?(a="x"===e?0:1,s=i/2,l.forEach((function(e){var t=(0,o["default"])(e,2),r=t[0],n=t[1];r[a]+=s,n[a]+=s})),l):l}function B(e,t){return e.map((function(e){var t=e.nameGap,r=e.nameLocation,n=e.position,i=e.linePosition,a=(0,o["default"])(i,2),l=a[0],u=a[1],c=(0,s["default"])(l);"end"===r&&(c=(0,s["default"])(u)),"center"===r&&(c[0]=(l[0]+u[0])/2,c[1]=(l[1]+u[1])/2);var d=0;"top"===n&&"center"===r&&(d=1),"bottom"===n&&"center"===r&&(d=1),"left"===n&&"center"!==r&&(d=1),"right"===n&&"center"!==r&&(d=1);var h=t;return"top"===n&&"end"!==r&&(h*=-1),"left"===n&&"start"!==r&&(h*=-1),"bottom"===n&&"start"===r&&(h*=-1),"right"===n&&"end"===r&&(h*=-1),c[d]+=h,f(f({},e),{},{namePosition:c})}))}function Y(e,t){var r=t.gridArea,n=r.w,i=r.h;return e.map((function(e){var t=e.tickLinePosition,r=e.position,a=e.boundaryGap,l=0,u=n;"top"!==r&&"bottom"!==r||(l=1),"top"!==r&&"bottom"!==r||(u=i),"right"!==r&&"bottom"!==r||(u*=-1);var c=t.map((function(e){var t=(0,o["default"])(e,1),r=t[0],n=(0,s["default"])(r);return n[l]+=u,[(0,s["default"])(r),n]}));return a||c.shift(),f(f({},e),{},{splitLinePosition:c})}))}function F(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"polyline",index:n,visible:e.axisLine.show,animationCurve:t,animationFrame:r,shape:z(e),style:H(e)}]}function z(e){var t=e.linePosition;return{points:t}}function H(e){return e.axisLine.style}function V(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,i=U(e),o=W(e);return i.map((function(i){return{name:"polyline",index:n,visible:e.axisTick.show,animationCurve:t,animationFrame:r,shape:i,style:o}}))}function U(e){var t=e.tickLinePosition;return t.map((function(e){return{points:e}}))}function W(e){return e.axisTick.style}function $(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,i=G(e),o=X(e,i);return i.map((function(i,a){return{name:"text",index:n,visible:e.axisLabel.show,animationCurve:t,animationFrame:r,shape:i,style:o[a],setGraphCenter:function(){}}}))}function G(e){var t=e.label,r=e.tickPosition,n=e.position;return r.map((function(e,r){return{position:q(e,n),content:t[r].toString()}}))}function q(e,t){var r=0,n=10;return"top"!==t&&"bottom"!==t||(r=1),"top"!==t&&"left"!==t||(n=-10),e=(0,d.deepClone)(e),e[r]+=n,e}function X(e,t){var r=e.position,n=e.axisLabel.style,i=K(r);n=(0,c.deepMerge)(i,n);var o=t.map((function(e){var t=e.position;return f(f({},n),{},{graphCenter:t})}));return o}function K(e){return"left"===e?{textAlign:"right",textBaseline:"middle"}:"right"===e?{textAlign:"left",textBaseline:"middle"}:"top"===e?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e?{textAlign:"center",textBaseline:"top"}:void 0}function Z(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"text",index:n,animationCurve:t,animationFrame:r,shape:J(e),style:Q(e)}]}function J(e){var t=e.name,r=e.namePosition;return{content:t,position:r}}function Q(e){var t=e.nameLocation,r=e.position,n=e.nameTextStyle,i=ee(r,t);return(0,c.deepMerge)(i,n)}function ee(e,t){return"top"===e&&"start"===t||"bottom"===e&&"start"===t||"left"===e&&"center"===t?{textAlign:"right",textBaseline:"middle"}:"top"===e&&"end"===t||"bottom"===e&&"end"===t||"right"===e&&"center"===t?{textAlign:"left",textBaseline:"middle"}:"top"===e&&"center"===t||"left"===e&&"end"===t||"right"===e&&"end"===t?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e&&"center"===t||"left"===e&&"start"===t||"right"===e&&"start"===t?{textAlign:"center",textBaseline:"top"}:void 0}function te(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,i=re(e),o=ne(e);return i.map((function(i){return{name:"polyline",index:n,visible:e.splitLine.show,animationCurve:t,animationFrame:r,shape:i,style:o}}))}function re(e){var t=e.splitLinePosition;return t.map((function(e){return{points:e}}))}function ne(e){return e.splitLine.style}},"06a7":function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=n.get,a=n.key;n.exp({getOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},"06db":function(e,t,r){"use strict";var n=r("23c6"),i={};i[r("2b4c")("toStringTag")]="z",i+""!="[object z]"&&r("2aba")(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},"0721":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"079e":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,r){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t}))},"07e3":function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"0808":function(e,t,r){},"097d":function(e,t,r){"use strict";var n=r("5ca1"),i=r("8378"),o=r("7726"),a=r("ebd6"),s=r("bcaa");n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then((function(){return r}))}:e,r?function(r){return s(t,e()).then((function(){throw r}))}:e)}})},"09e0":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{clamp:function(e,t,r){return Math.min(r,Math.max(t,e))}})},"09fa":function(e,t,r){var n=r("4588"),i=r("9def");e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw RangeError("Wrong length!");return r}},"0a06":function(e,t,r){"use strict";var n=r("2444"),i=r("c532"),o=r("f6b49"),a=r("5270");function s(e){this.defaults=e,this.interceptors={request:new o,response:new o}}s.prototype.request=function(e){"string"===typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),e=i.merge(n,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[a,void 0],r=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)r=r.then(t.shift(),t.shift());return r},i.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,r){return this.request(i.merge(r||{},{method:e,url:t}))}})),i.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,r,n){return this.request(i.merge(n||{},{method:e,url:t,data:r}))}})),e.exports=s},"0a3c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return o}))},"0a49":function(e,t,r){var n=r("9b43"),i=r("626a"),o=r("4bf8"),a=r("9def"),s=r("cd1c");e.exports=function(e,t){var r=1==e,l=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var m,g,v=o(t),y=i(v),b=n(s,p,3),_=a(y.length),w=0,x=r?f(t,_):l?f(t,0):void 0;_>w;w++)if((h||w in y)&&(m=y[w],g=b(m,w,v),e))if(r)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(c)return!1;return d?-1:u||c?c:x}}},"0a84":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"0b21":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{sign:r("96fb")})},"0bfb":function(e,t,r){"use strict";var n=r("cb7c");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0c00":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{DEG_PER_RAD:Math.PI/180})},"0c36":function(e,t,r){var n=r("5ca1");n(n.G,{global:r("7726")})},"0ca1":function(e,t,r){"use strict";var n=r("4ea4"),i=n(r("9523")),o=n(r("448a")),a=r("9886"),s=r("b06d"),l=r("5557"),u=r("a870"),c=r("becb");function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f={shape:{rx:0,ry:0,ir:0,or:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,r=["rx","ry","ir","or","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(console.error("Pie shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.rx,a=n.ry,s=n.ir,u=n.or,c=n.startAngle,d=n.endAngle,h=n.clockWise;i=parseInt(i)+.5,a=parseInt(a)+.5,r.arc(i,a,s>0?s:0,c,d,!h);var f=(0,l.getCircleRadianPoint)(i,a,u,d).map((function(e){return parseInt(e)+.5})),p=(0,l.getCircleRadianPoint)(i,a,s,c).map((function(e){return parseInt(e)+.5}));r.lineTo.apply(r,(0,o["default"])(f)),r.arc(i,a,u>0?u:0,d,c,h),r.lineTo.apply(r,(0,o["default"])(p)),r.closePath(),r.stroke(),r.fill()}},p={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,gradientStartAngle:null,gradientEndAngle:null},validator:function(e){var t=e.shape,r=["rx","ry","r","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(console.error("AgArc shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,i=t.style,o=i.gradient;o=o.map((function(e){return(0,u.getColorFromRgbValue)(e)})),1===o.length&&(o=[o[0],o[0]]);var a=o.length-1,s=n.gradientStartAngle,d=n.gradientEndAngle,h=n.startAngle,f=n.endAngle,p=n.r,m=n.rx,g=n.ry;null===s&&(s=h),null===d&&(d=f);var v=(d-s)/a;v===2*Math.PI&&(v=2*Math.PI-.001);for(var y=0;y<a;y++){r.beginPath();var b=(0,l.getCircleRadianPoint)(m,g,p,h+v*y),_=(0,l.getCircleRadianPoint)(m,g,p,h+v*(y+1)),w=(0,c.getLinearGradientColor)(r,b,_,[o[y],o[y+1]]),x=h+v*y,k=h+v*(y+1),S=!1;if(k>f&&(k=f,S=!0),r.arc(m,g,p,x,k),r.strokeStyle=w,r.stroke(),S)break}}},m={shape:{number:[],content:"",position:[0,0],toFixed:0,rowGap:0,formatter:null},validator:function(e){var t=e.shape,r=t.number,n=t.content,i=t.position;return r instanceof Array&&"string"===typeof n&&i instanceof Array||(console.error("NumberText shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,i=n.number,o=n.content,a=n.toFixed,l=n.rowGap,u=n.formatter,c=o.split("{nt}"),d="";c.forEach((function(e,t){var r=i[t];"number"!==typeof r&&(r=""),"number"===typeof r&&(r=r.toFixed(a),"function"===typeof u&&(r=u(r))),d+=e+(r||"")})),s.text.draw({ctx:r},{shape:h(h({},n),{},{content:d,rowGap:l})})}},g={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,r=t.x,n=t.y,i=t.w,o=t.h;return"number"===typeof r&&"number"===typeof n&&"number"===typeof i&&"number"===typeof o||(console.error("lineIcon shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.x,o=n.y,a=n.w,s=n.h,l=s/2;r.strokeStyle=r.fillStyle,r.moveTo(i,o+l),r.lineTo(i+a,o+l),r.lineWidth=1,r.stroke(),r.beginPath();var u=l-10;u<=0&&(u=3),r.arc(i+a/2,o+l,u,0,2*Math.PI),r.lineWidth=5,r.stroke(),r.fillStyle="#fff",r.fill()},hoverCheck:function(e,t){var r=t.shape,n=r.x,i=r.y,o=r.w,a=r.h;return(0,l.checkPointIsInRect)(e,n,i,o,a)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.x,o=r.y,a=r.w,s=r.h;n.graphCenter=[i+a/2,o+s/2]}};(0,a.extendNewGraph)("pie",f),(0,a.extendNewGraph)("agArc",p),(0,a.extendNewGraph)("numberText",m),(0,a.extendNewGraph)("lineIcon",g)},"0caa":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?i[r][0]:i[r][1]}var r=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return r}))},"0cd4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxisConfig=void 0;var n={show:!0,center:["50%","50%"],radius:"65%",startAngle:-Math.PI/2,splitNum:5,polygon:!1,axisLabel:{show:!0,labelGap:15,color:[],style:{fill:"#333"}},axisLine:{show:!0,color:[],style:{stroke:"#999",lineWidth:1}},splitLine:{show:!0,color:[],style:{stroke:"#d4d4d4",lineWidth:1}},splitArea:{show:!1,color:["#f5f5f5","#e6e6e6"],style:{}},rLevel:-10,animationCurve:"easeOutCubic",animationFrane:50};t.radarAxisConfig=n},"0cd8":function(e,t,r){"use strict";var n=r("5ca1"),i=r("7b23");n(n.P+n.F*!r("2f21")([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},"0d25":function(e,t,r){var n=r("5ca1"),i=r("8079")(),o=r("7726").process,a="process"==r("2d95")(o);n(n.G,{asap:function(e){var t=a&&o.domain;i(t?t.bind(e):e)}})},"0d58":function(e,t,r){var n=r("ce10"),i=r("e11e");e.exports=Object.keys||function(e){return n(e,i)}},"0d6d":function(e,t,r){var n=r("d3f4"),i=r("67ab").onFreeze;r("5eda")("freeze",(function(e){return function(t){return e&&n(t)?e(i(t)):t}}))},"0df6":function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,r){var n=r("597f");e.exports=function(e,t,r){return void 0===r?n(e,t,!1):n(e,r,!1!==t)}},"0e49":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},"0e6b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:0,doy:4}});return t}))},"0e81":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},r=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,r){return e<12?r?"öö":"ÖÖ":r?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10,i=e%100-n,o=e>=100?100:null;return e+(t[n]||t[i]||t[o])}},week:{dow:1,doy:7}});return r}))},"0f14":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"0f38":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"0f88":function(e,t,r){var n,i=r("7726"),o=r("32e9"),a=r("ca5a"),s=a("typed_array"),l=a("view"),u=!(!i.ArrayBuffer||!i.DataView),c=u,d=0,h=9,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(d<h)(n=i[f[d++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},"0fc9":function(e,t,r){var n=r("3a38"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):o(e,t)}},"0ff2":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},1098:function(e,t,r){"use strict";t.__esModule=!0;var n=r("17ed"),i=l(n),o=r("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10ad":function(e,t,r){"use strict";var n,i=r("7726"),o=r("0a49")(0),a=r("2aba"),s=r("67ab"),l=r("7333"),u=r("643e"),c=r("d3f4"),d=r("b39a"),h=r("b39a"),f=!i.ActiveXObject&&"ActiveXObject"in i,p="WeakMap",m=s.getWeak,g=Object.isExtensible,v=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(c(e)){var t=m(e);return!0===t?v(d(this,p)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,p),e,t)}},_=e.exports=r("e0b8")(p,y,b,u,!0,!0);h&&f&&(n=u.getConstructor(y,p),l(n.prototype,b),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=_.prototype,r=t[e];a(t,e,(function(t,i){if(c(t)&&!g(t)){this._f||(this._f=new n);var o=this._f[e](t,i);return"set"==e?this:o}return r.call(this,t,i)}))})))},"10b7":function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){
|
||
/** @preserve
|
||
(c) 2012 by Cédric Mesnil. All rights reserved.
|
||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||
|
||
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
*/
|
||
return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,a=r.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),f=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,f,_,w,x,k,S,M,C,T,O=this._hash.words,L=d.words,A=h.words,D=s.words,E=l.words,I=u.words,j=c.words;x=o=O[0],k=a=O[1],S=f=O[2],M=_=O[3],C=w=O[4];for(r=0;r<80;r+=1)T=o+e[t+D[r]]|0,T+=r<16?p(a,f,_)+L[0]:r<32?m(a,f,_)+L[1]:r<48?g(a,f,_)+L[2]:r<64?v(a,f,_)+L[3]:y(a,f,_)+L[4],T|=0,T=b(T,I[r]),T=T+w|0,o=w,w=_,_=b(f,10),f=a,a=T,T=x+e[t+E[r]]|0,T+=r<16?y(k,S,M)+A[0]:r<32?v(k,S,M)+A[1]:r<48?g(k,S,M)+A[2]:r<64?m(k,S,M)+A[3]:p(k,S,M)+A[4],T|=0,T=b(T,j[r]),T=T+C|0,x=C,C=M,M=b(S,10),S=k,k=T;T=O[1]+f+M|0,O[1]=O[2]+_+C|0,O[2]=O[3]+w+x|0,O[3]=O[4]+o+k|0,O[4]=O[0]+a+S|0,O[0]=T},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,r){return e^t^r}function m(e,t,r){return e&t|~e&r}function g(e,t,r){return(e|~t)^r}function v(e,t,r){return e&r|t&~r}function y(e,t,r){return e^(t|~r)}function b(e,t){return e<<t|e>>>32-t}r.RIPEMD160=o._createHelper(f),r.HmacRIPEMD160=o._createHmacHelper(f)}(Math),e.RIPEMD160}))},"10e8":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,r){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},1132:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=t.enc;i.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var a=t[o>>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,l=t[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|s<<8|l,c=0;c<4&&o+.75*c<r;c++)i.push(n.charAt(u>>>6*(3-c)&63));var d=n.charAt(64);if(d)while(i.length%4)i.push(d);return i.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i<r.length;i++)n[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return o(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(e,t,r){for(var i=[],o=0,a=0;a<t;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2,l=r[e.charCodeAt(a)]>>>6-a%4*2,u=s|l;i[o>>>2]|=u<<24-o%4*8,o++}return n.create(i,o)}}(),e.enc.Base64}))},1169:function(e,t,r){var n=r("2d95");e.exports=Array.isArray||function(e){return"Array"==n(e)}},1173:function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},"11b0":function(e,t){function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"11b09":function(e,t,r){},"11e9":function(e,t,r){var n=r("52a7"),i=r("4630"),o=r("6821"),a=r("6a99"),s=r("69a8"),l=r("c69a"),u=Object.getOwnPropertyDescriptor;t.f=r("9e1e")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(r){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},"130f":function(e,t,r){var n=r("5ca1"),i=r("1991");n(n.G+n.B,{setImmediate:i.set,clearImmediate:i.clear})},1382:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.StreamCipher,i=t.algo,o=[],a=[],s=[],l=i.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(r=0;r<4;r++)u.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,h=c<<16|65535&l;i[0]^=l,i[1]^=d,i[2]^=c,i[3]^=h,i[4]^=l,i[5]^=d,i[6]^=c,i[7]^=h;for(r=0;r<4;r++)u.call(this)}},_doProcessBlock:function(e,t){var r=this._X;u.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=n._createHelper(l)}(),e.Rabbit}))},1395:function(e,t,r){e.exports=r("7726")},"13e9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,r,n,i){var o,a=t.words[n];return 1===n.length?"y"===n&&r?"једна година":i||r?a[0]:a[1]:(o=t.correctGrammaticalCase(e,a),"yy"===n&&r&&"годину"===o?e+" година":e+" "+o)}},r=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},1448:function(e,t,r){"use strict";r("386b")("strike",(function(e){return function(){return e(this,"strike","","")}}))},1495:function(e,t,r){var n=r("86cc"),i=r("cb7c"),o=r("0d58");e.exports=r("9e1e")?Object.defineProperties:function(e,t){i(e);var r,a=o(t),s=a.length,l=0;while(s>l)n.f(e,r=a[l++],t[r]);return e}},"14b9":function(e,t,r){var n=r("5ca1");n(n.P,"String",{repeat:r("9744")})},"15ac":function(e,t,r){r("ec30")("Int16",2,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1654:function(e,t,r){"use strict";var n=r("71c1")(!0);r("30f1")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},"165b":function(e,t,r){var n=r("d3f4");r("5eda")("isExtensible",(function(e){return function(t){return!!n(t)&&(!e||e(t))}}))},"167b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}});return t}))},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"178b":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("f410"),i=r.n(n);function o(e){if(i()(e))return e}},"17e1":function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,r=t.lib,n=r.WordArray,i=n.init,o=n.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,r=[],n=0;n<t;n++)r[n>>>2]|=e[n]<<24-n%4*8;i.call(this,r,t)}else i.apply(this,arguments)};o.prototype=n}}(),e.lib.WordArray}))},"17ed":function(e,t,r){e.exports={default:r("d8d6"),__esModule:!0}},"18ad":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.doUpdate=f,t.Updater=void 0;var i=n(r("448a")),o=n(r("7037")),a=n(r("970b")),s=function e(t,r){(0,a["default"])(this,e);var n=t.chart,i=t.key,o=t.getGraphConfig;"function"===typeof o?(n[i]||(this.graphs=n[i]=[]),Object.assign(this,t),this.update(r)):console.warn("Updater need function getGraphConfig!")};function l(e,t){var r=e.graphs,n=e.chart.render,i=r.length,o=t.length;if(i>o){var a=r.splice(o);a.forEach((function(e){return e.forEach((function(e){return n.delGraph(e)}))}))}}function u(e,t,r,n){var i=n.getGraphConfig,o=n.chart.render,a=n.beforeChange,s=i(t,n);c(e,s,o),e.forEach((function(e,t){var r=s[t];"function"===typeof a&&a(e,r),h(e,r)}))}function c(e,t,r){var n=e.length,o=t.length;if(o>n){var a=e.slice(-1)[0],s=o-n,l=new Array(s).fill(0).map((function(e){return r.clone(a)}));e.push.apply(e,(0,i["default"])(l))}else if(o<n){var u=e.splice(o);u.forEach((function(e){return r.delGraph(e)}))}}function d(e,t,r,n){var i=n.getGraphConfig,o=n.getStartGraphConfig,a=n.chart,s=a.render,l=null;"function"===typeof o&&(l=o(t,n));var u=i(t,n);if(u.length){l?(e[r]=l.map((function(e){return s.add(e)})),e[r].forEach((function(e,t){var r=u[t];h(e,r)}))):e[r]=u.map((function(e){return s.add(e)}));var c=n.afterAddGraph;"function"===typeof c&&c(e[r])}}function h(e,t){var r=Object.keys(t);r.forEach((function(r){"shape"===r||"style"===r?e.animation(r,t[r],!0):e[r]=t[r]}))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chart,r=e.series,n=e.key,i=e.getGraphConfig,o=e.getStartGraphConfig,a=e.beforeChange,l=e.beforeUpdate,u=e.afterAddGraph;t[n]?t[n].update(r):t[n]=new s({chart:t,key:n,getGraphConfig:i,getStartGraphConfig:o,beforeChange:a,beforeUpdate:l,afterAddGraph:u},r)}t.Updater=s,s.prototype.update=function(e){var t=this,r=this.graphs,n=this.beforeUpdate;if(l(this,e),e.length){var i=(0,o["default"])(n);e.forEach((function(e,o){"function"===i&&n(r,e,o,t);var a=r[o];a?u(a,e,o,t):d(r,e,o,t)}))}}},"18d0":function(e,t,r){var n=r("5ca1"),i=r("3ca5");n(n.G+n.F*(parseInt!=i),{parseInt:i})},"191b":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("94f8"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=t.algo,o=i.SHA256,a=i.SHA224=o.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(a),t.HmacSHA224=o._createHmacHelper(a)}(),e.SHA224}))},1991:function(e,t,r){var n,i,o,a=r("9b43"),s=r("31f4"),l=r("fab2"),u=r("230e"),c=r("7726"),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},_=function(e){b.call(e.data)};h&&f||(h=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},n(g),g},f=function(e){delete v[e]},"process"==r("2d95")(d)?n=function(e){d.nextTick(a(b,e,1))}:m&&m.now?n=function(e){m.now(a(b,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,n=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(n=function(e){c.postMessage(e+"","*")},c.addEventListener("message",_,!1)):n=y in u("script")?function(e){l.appendChild(u("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:f}},"1af6":function(e,t,r){var n=r("63b6");n(n.S,"Array",{isArray:r("9003")})},"1b45":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"1bc3":function(e,t,r){var n=r("f772");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"1c01":function(e,t,r){var n=r("5ca1");n(n.S+n.F*!r("9e1e"),"Object",{defineProperty:r("86cc").f})},"1c35":function(e,t,r){"use strict";(function(e){
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <http://feross.org>
|
||
* @license MIT
|
||
*/
|
||
var n=r("1fb5"),i=r("9152"),o=r("e3db");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?p(e,t,r):v(e,t)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,r,n){return d(t),t<=0?l(e,t):void 0!==r?"string"===typeof n?l(e,t).fill(r,n):l(e,t).fill(r):l(e,t)}function f(e,t){if(d(t),e=l(e,t<0?0:0|y(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r);e=l(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function m(e,t){var r=t.length<0?0:0|y(t.length);e=l(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}function v(e,t){if(u.isBuffer(t)){var r=0|y(t.length);return e=l(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(e).length;default:if(n)return K(e).length;t=(""+t).toLowerCase(),n=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return N(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return R(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function x(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function k(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:S(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):S(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function S(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return-1}function M(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function C(e,t,r,n){return ee(K(t,e.length-r),e,r,n)}function T(e,t,r,n){return ee(Z(t),e,r,n)}function O(e,t,r,n){return T(e,t,r,n)}function L(e,t,r,n){return ee(Q(t),e,r,n)}function A(e,t,r,n){return ee(J(t,e.length-r),e,r,n)}function D(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function E(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:o=e[i+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return j(n)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return h(null,e,t,r)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)x(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):w.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r),d=0;d<s;++d)if(l[d]!==c[d]){o=l[d],a=c[d];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return k(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return k(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return M(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":return T(this,e,t,r);case"latin1":case"binary":return O(this,e,t,r);case"base64":return L(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function j(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=I));return r}function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function R(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function N(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=X(e[o]);return i}function B(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function Y(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function z(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function H(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function V(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,r,n,o){return o||V(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function W(e,t,r,n,o){return o||V(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Y(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Y(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||Y(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||Y(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||Y(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||Y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||Y(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Y(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Y(e,t,this.length);var n=t,i=1,o=this[e+--n];while(n>0&&(i*=256))o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||Y(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||Y(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||Y(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||Y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||Y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||Y(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||Y(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||Y(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||Y(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;F(this,e,t,r,i,0)}var o=1,a=0;this[t]=255&e;while(++a<r&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;F(this,e,t,r,i,0)}var o=r-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);F(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<r&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);F(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return W(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return W(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:K(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function G(e){if(e=q(e).replace($,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function q(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function X(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Z(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function J(e,t){for(var r,n,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function Q(e){return n.toByteArray(G(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("24aa"))},"1c4c":function(e,t,r){"use strict";var n=r("9b43"),i=r("5ca1"),o=r("4bf8"),a=r("1fa8"),s=r("33a4"),l=r("9def"),u=r("f1ae"),c=r("27ee");i(i.S+i.F*!r("5cc5")((function(e){Array.from(e)})),"Array",{from:function(e){var t,r,i,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(h);if(g&&(m=n(m,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&s(y))for(t=l(h.length),r=new f(t);t>v;v++)u(r,v,g?m(h[v],v):h[v]);else for(d=y.call(h),r=new f;!(i=d.next()).done;v++)u(r,v,g?a(d,m,[i.value,v],!0):i.value);return r.length=v,r}})},"1cfd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%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(e){return function(t,i,o,a){var s=r(t),l=n[e][r(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return a}))},"1d2b":function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},"1dac":function(e,t,r){},"1df6":function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},"1df8":function(e,t,r){var n=r("63b6");n(n.S,"Object",{setPrototypeOf:r("ead6").set})},"1e4c":function(e,t,r){},"1ec9":function(e,t,r){var n=r("f772"),i=r("e53d").document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"1f18":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{RAD_PER_DEG:180/Math.PI})},"1f55":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.gauge=m;var i=n(r("9523")),o=n(r("7037")),a=n(r("278c")),s=n(r("448a")),l=r("18ad"),u=r("cc6d"),c=r("5557"),d=r("becb"),h=r("a870");function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.series;r||(r=[]);var n=(0,d.initNeedSeries)(r,u.gaugeConfig,"gauge");n=g(n,e),n=v(n,e),n=y(n,e),n=b(n,e),n=_(n,e),n=w(n,e),n=x(n,e),n=k(n,e),n=S(n,e),n=M(n,e),(0,l.doUpdate)({chart:e,series:n,key:"gaugeAxisTick",getGraphConfig:T}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeAxisLabel",getGraphConfig:A}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeBackgroundArc",getGraphConfig:I,getStartGraphConfig:R}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeArc",getGraphConfig:N,getStartGraphConfig:F,beforeChange:z}),(0,l.doUpdate)({chart:e,series:n,key:"gaugePointer",getGraphConfig:H,getStartGraphConfig:$}),(0,l.doUpdate)({chart:e,series:n,key:"gaugeDetails",getGraphConfig:G})}function g(e,t){var r=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*r[t]})),e.center=t})),e}function v(e,t){var r=t.render.area,n=Math.min.apply(Math,(0,s["default"])(r))/2;return e.forEach((function(e){var t=e.radius;"number"!==typeof t&&(t=parseInt(t)/100*n),e.radius=t})),e}function y(e,t){var r=t.render.area,n=Math.min.apply(Math,(0,s["default"])(r))/2;return e.forEach((function(e){var t=e.radius,r=e.data,i=e.arcLineWidth;r.forEach((function(e){var r=e.radius,o=e.lineWidth;r||(r=t),"number"!==typeof r&&(r=parseInt(r)/100*n),e.radius=r,o||(o=i),e.lineWidth=o}))})),e}function b(e,t){return e.forEach((function(e){var t=e.startAngle,r=e.endAngle,n=e.data,i=e.min,o=e.max,a=r-t,s=o-i;n.forEach((function(e){var r=e.value,n=Math.abs((r-i)/s*a);e.startAngle=t,e.endAngle=t+n}))})),e}function _(e,t){return e.forEach((function(e){var t=e.data;t.forEach((function(e){var t=e.color,r=e.gradient;r&&r.length||(r=t),r instanceof Array||(r=[r]),e.gradient=r}))})),e}function w(e,t){return e.forEach((function(e){var t=e.startAngle,r=e.endAngle,n=e.splitNum,i=e.center,o=e.radius,a=e.arcLineWidth,l=e.axisTick,u=l.tickLength,d=l.style.lineWidth,h=r-t,f=o-a/2,p=f-u,m=h/(n-1),g=2*Math.PI*o*h/(2*Math.PI),v=Math.ceil(d/2)/g*h;e.tickAngles=[],e.tickInnerRadius=[],e.tickPosition=new Array(n).fill(0).map((function(r,o){var a=t+m*o;return 0===o&&(a+=v),o===n-1&&(a-=v),e.tickAngles[o]=a,e.tickInnerRadius[o]=p,[c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([f,a])),c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([p,a]))]}))})),e}function x(e,t){return e.forEach((function(e){var t=e.center,r=e.tickInnerRadius,n=e.tickAngles,i=e.axisLabel.labelGap,o=n.map((function(e,o){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(t).concat([r[o]-i,n[o]]))})),l=o.map((function(e){var r=(0,a["default"])(e,2),n=r[0],i=r[1];return{textAlign:n>t[0]?"right":"left",textBaseline:i>t[1]?"bottom":"top"}}));e.labelPosition=o,e.labelAlign=l})),e}function k(e,t){return e.forEach((function(e){var t=e.axisLabel,r=e.min,n=e.max,i=e.splitNum,a=t.data,s=t.formatter,l=(n-r)/(i-1),u=new Array(i).fill(0).map((function(e,t){return parseInt(r+l*t)})),c=(0,o["default"])(s);a=(0,d.deepMerge)(u,a).map((function(e,t){var r=e;return"string"===c&&(r=s.replace("{value}",e)),"function"===c&&(r=s({value:e,index:t})),r})),t.data=a})),e}function S(e,t){return e.forEach((function(e){var t=e.data,r=e.details,n=e.center,i=r.position,o=r.offset,a=t.map((function(e){var t=e.startAngle,r=e.endAngle,a=e.radius,l=null;return"center"===i?l=n:"start"===i?l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([a,t])):"end"===i&&(l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([a,r]))),C(l,o)}));e.detailsPosition=a})),e}function M(e,t){return e.forEach((function(e){var t=e.data,r=e.details,n=r.formatter,i=(0,o["default"])(n),a=t.map((function(e){var t=e.value;return"string"===i&&(t=n.replace("{value}","{nt}"),t=t.replace("{name}",e.name)),"function"===i&&(t=n(e)),t.toString()}));e.detailsContent=a})),e}function C(e,t){var r=(0,a["default"])(e,2),n=r[0],i=r[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[n+s,i+l]}function T(e){var t=e.tickPosition,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"polyline",index:i,visible:e.axisTick.show,animationCurve:r,animationFrame:n,shape:O(e,o),style:L(e,o)}}))}function O(e,t){var r=e.tickPosition;return{points:r[t]}}function L(e,t){var r=e.axisTick.style;return r}function A(e){var t=e.labelPosition,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"text",index:i,visible:e.axisLabel.show,animationCurve:r,animationFrame:n,shape:D(e,o),style:E(e,o)}}))}function D(e,t){var r=e.labelPosition,n=e.axisLabel.data;return{content:n[t].toString(),position:r[t]}}function E(e,t){var r=e.labelAlign,n=e.axisLabel,i=n.style;return(0,d.deepMerge)(p({},r[t]),i)}function I(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"arc",index:n,visible:e.backgroundArc.show,animationCurve:t,animationFrame:r,shape:j(e),style:P(e)}]}function j(e){var t=e.startAngle,r=e.endAngle,n=e.center,i=e.radius;return{rx:n[0],ry:n[1],r:i,startAngle:t,endAngle:r}}function P(e){var t=e.backgroundArc,r=e.arcLineWidth,n=t.style;return(0,d.deepMerge)({lineWidth:r},n)}function R(e){var t=I(e)[0],r=p({},t.shape);return r.endAngle=t.shape.startAngle,t.shape=r,[t]}function N(e){var t=e.data,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"agArc",index:i,animationCurve:r,animationFrame:n,shape:B(e,o),style:Y(e,o)}}))}function B(e,t){var r=e.data,n=e.center,i=e.endAngle,o=r[t],a=o.radius,s=o.startAngle,l=o.endAngle,u=o.localGradient;return u&&(i=l),{rx:n[0],ry:n[1],r:a,startAngle:s,endAngle:l,gradientEndAngle:i}}function Y(e,t){var r=e.data,n=e.dataItemStyle,i=r[t],o=i.lineWidth,a=i.gradient;return a=a.map((function(e){return(0,h.getRgbaValue)(e)})),(0,d.deepMerge)({lineWidth:o,gradient:a},n)}function F(e){var t=N(e);return t.map((function(e){var t=p({},e.shape);t.endAngle=e.shape.startAngle,e.shape=t})),t}function z(e,t){var r=e.style.gradient,n=r.length,i=t.style.gradient.length;if(n>i)r.splice(i);else{var o=r.slice(-1)[0];r.push.apply(r,(0,s["default"])(new Array(i-n).fill(0).map((function(e){return(0,s["default"])(o)}))))}}function H(e){var t=e.animationCurve,r=e.animationFrame,n=e.center,i=e.rLevel;return[{name:"polyline",index:i,visible:e.pointer.show,animationCurve:t,animationFrame:r,shape:V(e),style:U(e),setGraphCenter:function(e,t){t.style.graphCenter=n}}]}function V(e){var t=e.center;return{points:W(t),close:!0}}function U(e){var t=e.startAngle,r=e.endAngle,n=e.min,i=e.max,o=e.data,a=e.pointer,s=e.center,l=a.valueIndex,u=a.style,c=o[l]?o[l].value:0,h=(c-n)/(i-n)*(r-t)+t+Math.PI/2;return(0,d.deepMerge)({rotate:(0,d.radianToAngle)(h),scale:[1,1],graphCenter:s},u)}function W(e){var t=(0,a["default"])(e,2),r=t[0],n=t[1],i=[r,n-40],o=[r+5,n],s=[r,n+10],l=[r-5,n];return[i,o,s,l]}function $(e){var t=e.startAngle,r=H(e)[0];return r.style.rotate=(0,d.radianToAngle)(t+Math.PI/2),[r]}function G(e){var t=e.detailsPosition,r=e.animationCurve,n=e.animationFrame,i=e.rLevel,o=e.details.show;return t.map((function(t,a){return{name:"numberText",index:i,visible:o,animationCurve:r,animationFrame:n,shape:q(e,a),style:X(e,a)}}))}function q(e,t){var r=e.detailsPosition,n=e.detailsContent,i=e.data,o=e.details,a=r[t],s=n[t],l=i[t].value,u=o.valueToFixed;return{number:[l],content:s,position:a,toFixed:u}}function X(e,t){var r=e.details,n=e.data,i=r.style,o=n[t].color;return(0,d.deepMerge)({fill:o},i)}},"1f91":function(e,t,r){var n=r("5ca1"),i=r("e9d2"),o=r("91ca");n(n.S,"Math",{fscale:function(e,t,r,n,a){return o(i(e,t,r,n,a))}})},"1fa8":function(e,t,r){var n=r("cb7c");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e["return"];throw void 0!==o&&n(o.call(e)),a}}},"1fb5":function(e,t,r){"use strict";t.byteLength=c,t.toByteArray=h,t.fromByteArray=m;for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function c(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function d(e,t,r){return 3*(t+r)/4-r}function h(e){var t,r,n=u(e),a=n[0],s=n[1],l=new o(d(e,a,s)),c=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function f(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(f(n));return i.join("")}function m(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,l=r-i;s<l;s+=a)o.push(p(e,s,s+a>l?l:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fc1":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t){var r=e.split("_");return t%10===1&&t%100!==11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){var i={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:r?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?r?"хвіліна":"хвіліну":"h"===n?r?"гадзіна":"гадзіну":e+" "+t(i[n],+e)}var n=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:r,mm:r,h:r,hh:r,d:"дзень",dd:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return n}))},"201b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,r){return"ი"===r?t+"ში":t+r+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t}))},"204e":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.bar=p;var i=n(r("7037")),o=n(r("9523")),a=n(r("278c")),s=n(r("448a")),l=r("18ad"),u=r("9d85"),c=r("5557"),d=r("becb");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,o["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.xAxis,n=t.yAxis,i=t.series,o=[];r&&n&&i&&(o=(0,d.initNeedSeries)(i,u.barConfig,"bar"),o=m(o,e),o=g(o,e),o=C(o,e)),(0,l.doUpdate)({chart:e,series:o.slice(-1),key:"backgroundBar",getGraphConfig:I}),o.reverse(),(0,l.doUpdate)({chart:e,series:o,key:"bar",getGraphConfig:N,getStartGraphConfig:W,beforeUpdate:X}),(0,l.doUpdate)({chart:e,series:o,key:"barLabel",getGraphConfig:K})}function m(e,t){var r=t.axisData;return e.forEach((function(e){var t=e.xAxisIndex,n=e.yAxisIndex;"number"!==typeof t&&(t=0),"number"!==typeof n&&(n=0);var i=r.find((function(e){var r=e.axis,n=e.index;return"".concat(r).concat(n)==="x".concat(t)})),o=r.find((function(e){var t=e.axis,r=e.index;return"".concat(t).concat(r)==="y".concat(n)})),a=[i,o],s=a.findIndex((function(e){var t=e.data;return"value"===t}));e.valueAxis=a[s],e.labelAxis=a[1-s]})),e}function g(e,t){var r=y(e);return r.forEach((function(e){v(e),_(e),w(e,t),x(e),M(e)})),e}function v(e){var t=b(e);t=t.map((function(e){return{stack:e,index:-1}}));var r=0;e.forEach((function(e){var n=e.stack;if(n){var i=t.find((function(e){var t=e.stack;return t===n}));-1===i.index&&(i.index=r,r++),e.barIndex=i.index}else e.barIndex=r,r++}))}function y(e){var t=e.map((function(e){var t=e.labelAxis,r=t.axis,n=t.index;return r+n}));return t=(0,s["default"])(new Set(t)),t.map((function(t){return e.filter((function(e){var r=e.labelAxis,n=r.axis,i=r.index;return n+i===t}))}))}function b(e){var t=[];return e.forEach((function(e){var r=e.stack;r&&t.push(r)})),(0,s["default"])(new Set(t))}function _(e){var t=(0,s["default"])(new Set(e.map((function(e){var t=e.barIndex;return t})))).length;e.forEach((function(e){return e.barNum=t}))}function w(e){var t=e.slice(-1)[0],r=t.barCategoryGap,n=t.labelAxis.tickGap,i=0;i="number"===typeof r?r:(1-parseInt(r)/100)*n,e.forEach((function(e){return e.barCategoryWidth=i}))}function x(e){var t=e.slice(-1)[0],r=t.barCategoryWidth,n=t.barWidth,i=t.barGap,o=t.barNum,s=[];"number"===typeof n||"auto"!==n?s=k(r,n,i,o):"auto"===n&&(s=S(r,n,i,o));var l=s,u=(0,a["default"])(l,2),c=u[0],d=u[1];e.forEach((function(e){e.barWidth=c,e.barGap=d}))}function k(e,t,r){var n=0,i=0;return n="number"===typeof t?t:parseInt(t)/100*e,i="number"===typeof r?r:parseInt(r)/100*n,[n,i]}function S(e,t,r,n){var i=0,o=0,a=e/n;if("number"===typeof r)o=r,i=a-o;else{var s=10+parseInt(r)/10;0===s?(i=2*a,o=-i):(i=a/s*10,o=a-i)}return[i,o]}function M(e){var t=e.slice(-1)[0],r=t.barGap,n=t.barWidth,i=t.barNum,o=(r+n)*i-r;e.forEach((function(e){return e.barAllWidthAndGap=o}))}function C(e,t){return e=O(e),e=T(e),e=A(e),e=D(e),e}function T(e){return e.map((function(e){var t=e.labelAxis,r=e.barAllWidthAndGap,n=e.barGap,i=e.barWidth,o=e.barIndex,a=t.tickGap,s=t.tickPosition,l=t.axis,u="x"===l?0:1,c=s.map((function(e,t){var l=s[t][u]-a/2,c=l+(a-r)/2;return c+(o+.5)*i+o*n}));return f(f({},e),{},{barLabelAxisPos:c})}))}function O(e){return e.map((function(t){var r=(0,d.mergeSameStackData)(t,e);r=L(t,r);var n=t.valueAxis,i=n.axis,o=n.minValue,a=n.maxValue,s=n.linePosition,l=E(o,a,o<0?0:o,s,i),u=r.map((function(e){return E(o,a,e,s,i)})),c=u.map((function(e){return[l,e]}));return f(f({},t),{},{barValueAxisPos:c})}))}function L(e,t){var r=e.data;return t.map((function(e,t){return"number"===typeof r[t]?e:null})).filter((function(e){return null!==e}))}function A(e){return e.map((function(e){var t=e.barLabelAxisPos,r=e.data;return r.forEach((function(e,r){"number"!==typeof e&&(t[r]=null)})),f(f({},e),{},{barLabelAxisPos:t.filter((function(e){return null!==e}))})}))}function D(e){return e.forEach((function(e){var t=e.data,r=e.barLabelAxisPos,n=e.barValueAxisPos,i=t.filter((function(e){return"number"===typeof e})).length,o=r.length;o>i&&(r.splice(i),n.splice(i))})),e}function E(e,t,r,n,i){if("number"!==typeof r)return null;var o=t-e,a="x"===i?0:1,s=n[1][a]-n[0][a],l=(r-e)/o;0===o&&(l=0);var u=l*s;return u+n[0][a]}function I(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,i=j(e),o=R(e);return i.map((function(i){return{name:"rect",index:n,visible:e.backgroundBar.show,animationCurve:t,animationFrame:r,shape:i,style:o}}))}function j(e){var t=e.labelAxis,r=e.valueAxis,n=t.tickPosition,i=r.axis,o=r.linePosition,a=P(e),s=a/2,l="x"===i?0:1,u=n.map((function(e){return e[1-l]})),c=[o[0][l],o[1][l]],d=c[0],h=c[1];return u.map((function(e){return"x"===i?{x:d,y:e-s,w:h-d,h:a}:{x:e-s,y:h,w:a,h:d-h}}))}function P(e){var t=e.barAllWidthAndGap,r=e.barCategoryWidth,n=e.backgroundBar,i=n.width;return"number"===typeof i?i:"auto"===i?t:parseInt(i)/100*r}function R(e){return e.backgroundBar.style}function N(e){var t=e.barLabelAxisPos,r=e.animationCurve,n=e.animationFrame,i=e.rLevel,o=B(e);return t.map((function(t,a){return{name:o,index:i,animationCurve:r,animationFrame:n,shape:Y(e,a),style:V(e,a)}}))}function B(e){var t=e.shapeType;return"leftEchelon"===t||"rightEchelon"===t?"polyline":"rect"}function Y(e,t){var r=e.shapeType;return"leftEchelon"===r?F(e,t):"rightEchelon"===r?z(e,t):H(e,t)}function F(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,i=e.barWidth,o=e.echelonOffset,s=(0,a["default"])(r[t],2),l=s[0],u=s[1],c=n[t],d=i/2,h=e.valueAxis.axis,f=[];return"x"===h?(f[0]=[u,c-d],f[1]=[u,c+d],f[2]=[l,c+d],f[3]=[l+o,c-d],u-l<o&&f.splice(3,1)):(f[0]=[c-d,u],f[1]=[c+d,u],f[2]=[c+d,l],f[3]=[c-d,l-o],l-u<o&&f.splice(3,1)),{points:f,close:!0}}function z(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,i=e.barWidth,o=e.echelonOffset,s=(0,a["default"])(r[t],2),l=s[0],u=s[1],c=n[t],d=i/2,h=e.valueAxis.axis,f=[];return"x"===h?(f[0]=[u,c+d],f[1]=[u,c-d],f[2]=[l,c-d],f[3]=[l+o,c+d],u-l<o&&f.splice(2,1)):(f[0]=[c+d,u],f[1]=[c-d,u],f[2]=[c-d,l],f[3]=[c+d,l-o],l-u<o&&f.splice(2,1)),{points:f,close:!0}}function H(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,i=e.barWidth,o=(0,a["default"])(r[t],2),s=o[0],l=o[1],u=n[t],c=e.valueAxis.axis,d={};return"x"===c?(d.x=s,d.y=u-i/2,d.w=l-s,d.h=i):(d.x=u-i/2,d.y=l,d.w=i,d.h=s-l),d}function V(e,t){var r=e.barStyle,n=e.gradient,i=e.color,o=e.independentColor,a=e.independentColors,s=[r.fill||i],l=(0,d.deepMerge)(s,n.color);if(o){var u=a[t%a.length];l=u instanceof Array?u:[u]}1===l.length&&l.push(l[0]);var c=U(e,t);return(0,d.deepMerge)({gradientColor:l,gradientParams:c,gradientType:"linear",gradientWith:"fill"},r)}function U(e,t){var r=e.barValueAxisPos,n=e.barLabelAxisPos,i=e.data,o=e.valueAxis,s=o.linePosition,l=o.axis,u=(0,a["default"])(r[t],2),c=u[0],d=u[1],h=n[t],f=i[t],p=(0,a["default"])(s,2),m=p[0],g=p[1],v="x"===l?0:1,y=d;return e.gradient.local||(y=f<0?m[v]:g[v]),"y"===l?[h,y,h,c]:[y,h,c,h]}function W(e){var t=N(e),r=e.shapeType;return t.forEach((function(t){var n=t.shape;n="leftEchelon"===r?$(n,e):"rightEchelon"===r?G(n,e):q(n,e),t.shape=n})),t}function $(e,t){var r=t.valueAxis.axis;e=(0,c.deepClone)(e);var n=e,i=n.points,o="x"===r?0:1,a=i[2][o];return i.forEach((function(e){return e[o]=a})),e}function G(e,t){var r=t.valueAxis.axis;e=(0,c.deepClone)(e);var n=e,i=n.points,o="x"===r?0:1,a=i[2][o];return i.forEach((function(e){return e[o]=a})),e}function q(e,t){var r=t.valueAxis.axis,n=e.x,i=e.y,o=e.w,a=e.h;return"x"===r?o=0:(i+=a,a=0),{x:n,y:i,w:o,h:a}}function X(e,t,r,n){var i=n.chart.render,o=B(t);e[r]&&e[r][0].name!==o&&(e[r].forEach((function(e){return i.delGraph(e)})),e[r]=null)}function K(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,i=Z(e),o=te(e);return i.map((function(i){return{name:"text",index:n,visible:e.label.show,animationCurve:t,animationFrame:r,shape:i,style:o}}))}function Z(e){var t=J(e),r=Q(e);return r.map((function(e,r){return{position:e,content:t[r]}}))}function J(e){var t=e.data,r=e.label,n=r.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!n)return t;var o=(0,i["default"])(n);return"string"===o?t.map((function(e){return n.replace("{value}",e)})):"function"===o?t.map((function(e,t){return n({value:e,index:t})})):t}function Q(e){var t=e.label,r=e.barValueAxisPos,n=e.barLabelAxisPos,i=t.position,o=t.offset,s=e.valueAxis.axis;return r.map((function(e,t){var r=(0,a["default"])(e,2),l=r[0],u=r[1],c=n[t],d=[u,c];return"bottom"===i&&(d=[l,c]),"center"===i&&(d=[(l+u)/2,c]),"y"===s&&d.reverse(),ee(d,o)}))}function ee(e,t){var r=(0,a["default"])(e,2),n=r[0],i=r[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[n+s,i+l]}function te(e){var t=e.color,r=e.label.style,n=e.gradient.color;return n.length&&(t=n[0]),r=(0,d.deepMerge)({fill:t},r),r}},"20d6":function(e,t,r){"use strict";var n=r("5ca1"),i=r("0a49")(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),n(n.P+n.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")(o)},"20fc":function(e,t,r){var n=r("5ca1"),i=r("8894"),o=r("2aeb");n(n.S+n.F,"Object",{make:function(e,t){return i(o(e),t)}})},"20fd":function(e,t,r){"use strict";var n=r("d9f6"),i=r("aebd");e.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}},"214f":function(e,t,r){"use strict";r("b0c5");var n=r("2aba"),i=r("32e9"),o=r("79e5"),a=r("be13"),s=r("2b4c"),l=r("520a"),u=s("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var h=s(e),f=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!o((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[u]=function(){return r}),r[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!c||"split"===e&&!d){var m=/./[h],g=r(a,h,""[e],(function(e,t,r,n,i){return t.exec===l?f&&!i?{done:!0,value:m.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}})),v=g[0],y=g[1];n(String.prototype,e,v),i(RegExp.prototype,h,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"217b":function(e,t,r){"use strict";var n=r("d3f4"),i=r("38fd"),o=r("2b4c")("hasInstance"),a=Function.prototype;o in a||r("86cc").f(a,o,{value:function(e){if("function"!=typeof this||!n(e))return!1;if(!n(this.prototype))return e instanceof this;while(e=i(e))if(this.prototype===e)return!0;return!1}})},"21a1":function(e,t,r){(function(t){(function(t,r){e.exports=r()})(0,(function(){"use strict";"undefined"!==typeof window?window:"undefined"!==typeof t||"undefined"!==typeof self&&self;function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}var r=e((function(e,t){(function(t,r){e.exports=r()})(0,(function(){function e(e){var t=e&&"object"===typeof e;return t&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function r(r,n){var i=n&&!0===n.clone;return i&&e(r)?o(t(r),r,n):r}function n(t,n,i){var a=t.slice();return n.forEach((function(n,s){"undefined"===typeof a[s]?a[s]=r(n,i):e(n)?a[s]=o(t[s],n,i):-1===t.indexOf(n)&&a.push(r(n,i))})),a}function i(t,n,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=r(t[e],i)})),Object.keys(n).forEach((function(s){e(n[s])&&t[s]?a[s]=o(t[s],n[s],i):a[s]=r(n[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=o||{arrayMerge:n},l=s.arrayMerge||n;return a?Array.isArray(e)?l(e,t,o):r(t,o):i(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,r){return o(e,r,t)}))},o}))}));function n(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).map((function(e){e(r)})),(e["*"]||[]).map((function(e){e(t,r)}))}}}var i=e((function(e,t){var r={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=r,e.exports=t.default})),o=function(e){return Object.keys(e).map((function(t){var r=e[t].toString().replace(/"/g,""");return t+'="'+r+'"'})).join(" ")},a=i.svg,s=i.xlink,l={};l[a.name]=a.uri,l[s.name]=s.uri;var u,c=function(e,t){void 0===e&&(e="");var n=r(l,t||{}),i=o(n);return"<svg "+i+">"+e+"</svg>"},d=i.svg,h=i.xlink,f={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; ")},u[d.name]=d.uri,u[h.name]=h.uri,u)},p=function(e){this.config=r(f,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this,r=t.symbols,n=this.find(e.id);return n?(r[r.indexOf(n)]=e,!1):(r.push(e),!0)},p.prototype.remove=function(e){var t=this,r=t.symbols,n=this.find(e);return!!n&&(r.splice(r.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config,t=e.attrs,r=this.symbols.map((function(e){return e.stringify()})).join("");return c(r,t)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var m=function(e){var t=e.id,r=e.viewBox,n=e.content;this.id=t,this.viewBox=r,this.content=n};m.prototype.stringify=function(){return this.content},m.prototype.toString=function(){return this.stringify()},m.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var g=function(e){var t=!!document.importNode,r=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(r,!0):r},v=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"===typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t.appendChild(r),r},t.prototype.render=function(){var e=this.stringify();return g(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,r),t}(m),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},b=function(e){return Array.prototype.slice.call(e,0)},_=navigator.userAgent,w={isChrome:/chrome/i.test(_),isFirefox:/firefox/i.test(_),isIE:/msie/i.test(_)||/trident/i.test(_),isEdge:/edge/i.test(_)},x=function(e,t){var r=document.createEvent("CustomEvent");r.initCustomEvent(e,!1,!1,t),window.dispatchEvent(r)},k=function(e){var t=[];return b(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})),t},S=function(e){return(e||window.location.href).split("#")[0]},M=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,r,n){x(e,{oldUrl:n,newUrl:r})}))}])},C="linearGradient, radialGradient, pattern",T=function(e,t){return void 0===t&&(t=C),b(e.querySelectorAll("symbol")).forEach((function(e){b(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e};function O(e,t){var r=b(e).reduce((function(e,r){if(!r.attributes)return e;var n=b(r.attributes),i=t?n.filter(t):n;return e.concat(i)}),[]);return r}var L=i.xlink.uri,A="xlink:href",D=/[{}|\\\^\[\]`"<>]/g;function E(e){return e.replace(D,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}function I(e,t,r){return b(e).forEach((function(e){var n=e.getAttribute(A);if(n&&0===n.indexOf(t)){var i=n.replace(t,r);e.setAttributeNS(L,A,i)}})),e}var j,P=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],R=P.map((function(e){return"["+e+"]"})).join(","),N=function(e,t,r,n){var i=E(r),o=E(n),a=e.querySelectorAll(R),s=O(a,(function(e){var t=e.localName,r=e.value;return-1!==P.indexOf(t)&&-1!==r.indexOf("url("+i)}));s.forEach((function(e){return e.value=e.value.replace(i,o)})),I(t,i,o)},B={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},Y=function(e){function t(t){var i=this;void 0===t&&(t={}),e.call(this,r(y,t));var o=n();this._emitter=o,this.node=null;var a=this,s=a.config;if(s.autoConfigure&&this._autoConfigure(t),s.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");o.on(B.MOUNT,(function(){return i.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,s.listenLocationChangeEvent&&window.addEventListener(s.locationChangeEvent,u),s.locationChangeAngularEmitter&&M(s.locationChangeEvent),o.on(B.MOUNT,(function(e){s.moveGradientsOutsideSymbol&&T(e)})),o.on(B.SYMBOL_MOUNT,(function(e){s.moveGradientsOutsideSymbol&&T(e.parentNode),(w.isIE||w.isEdge)&&k(e)}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={isMounted:{}};return i.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this,r=t.config;"undefined"===typeof e.syncUrlsWithBaseTag&&(r.syncUrlsWithBaseTag="undefined"!==typeof document.getElementsByTagName("base")[0]),"undefined"===typeof e.locationChangeAngularEmitter&&(r.locationChangeAngularEmitter="angular"in window),"undefined"===typeof e.moveGradientsOutsideSymbol&&(r.moveGradientsOutsideSymbol=w.isFirefox)},t.prototype._handleLocationChange=function(e){var t=e.detail,r=t.oldUrl,n=t.newUrl;this.updateUrls(r,n)},t.prototype.add=function(t){var r=this,n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(r.node),this._emitter.emit(B.SYMBOL_MOUNT,t.node)),n},t.prototype.attach=function(e){var t=this,r=this;if(r.isMounted)return r.node;var n="string"===typeof e?document.querySelector(e):e;return r.node=n,this.symbols.forEach((function(e){e.mount(r.node),t._emitter.emit(B.SYMBOL_MOUNT,e.node)})),b(n.querySelectorAll("symbol")).forEach((function(e){var t=v.createFromExistingNode(e);t.node=e,r.add(t)})),this._emitter.emit(B.MOUNT,n),n},t.prototype.destroy=function(){var e=this,t=e.config,r=e.symbols,n=e._emitter;r.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1);var r=this;if(r.isMounted)return r.node;var n="string"===typeof e?document.querySelector(e):e,i=r.render();return this.node=i,t&&n.childNodes[0]?n.insertBefore(i,n.childNodes[0]):n.appendChild(i),this._emitter.emit(B.MOUNT,i),i},t.prototype.render=function(){return g(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var r=document.querySelectorAll(this.config.usagesToUpdate);return N(this.node,r,S(e)+"#",S(t)+"#"),!0},Object.defineProperties(t.prototype,i),t}(p),F=e((function(e){
|
||
/*!
|
||
* domready (c) Dustin Diaz 2014 - License MIT
|
||
*/
|
||
!function(t,r){e.exports=r()}(0,(function(){var e,t=[],r=document,n=r.documentElement.doScroll,i="DOMContentLoaded",o=(n?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);return o||r.addEventListener(i,e=function(){r.removeEventListener(i,e),o=1;while(e=t.shift())e()}),function(e){o?setTimeout(e,0):t.push(e)}}))})),z="__SVG_SPRITE_NODE__",H="__SVG_SPRITE__",V=!!window[H];V?j=window[H]:(j=new Y({attrs:{id:z}}),window[H]=j);var U=function(){var e=document.getElementById(z);e?j.attach(e):j.mount(document.body,!0)};document.body?U():F(U);var W=j;return W}))}).call(this,r("24aa"))},"21a6":function(e,t,r){(function(r){var n,i,o;(function(r,a){i=[],n=a,o="function"===typeof n?n.apply(t,i):n,void 0===o||(e.exports=o)})(0,(function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function n(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){s(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.send()}function i(e){var t=new XMLHttpRequest;return t.open("HEAD",e,!1),t.send(),200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r&&r.global===r?r:void 0,s=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype?function(e,t,r){var s=a.URL||a.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?o(l):i(l.href)?n(e,t,r):o(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){o(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,r,a){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),r);else if(i(e))n(e,r,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){o(s)}))}}:function(e,t,r,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return n(e,t,r);var o="application/octet-stream"===e.type,s=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&s)&&"object"==typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var c=a.URL||a.webkitURL,d=c.createObjectURL(e);i?i.location=d:location.href=d,i=null,setTimeout((function(){c.revokeObjectURL(d)}),4e4)}});a.saveAs=s.saveAs=s,e.exports=s}))}).call(this,r("24aa"))},"21bf":function(e,t,r){(function(t){(function(t,r){e.exports=r()})(0,(function(){var e=e||function(e,n){var i;if("undefined"!==typeof window&&window.crypto&&(i=window.crypto),"undefined"!==typeof self&&self.crypto&&(i=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!==typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&"undefined"!==typeof t&&t.crypto&&(i=t.crypto),!i)try{i=r(1)}catch(v){}var o=function(){if(i){if("function"===typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(v){}if("function"===typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(v){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),s={},l=s.lib={},u=l.Base=function(){return{extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=l.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=n?t:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=r[o>>>2]>>>24-o%4*8&255;t[n+o>>>2]|=a<<24-(n+o)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(o());return new c.init(t,e)}}),d=s.enc={},h=d.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},f=d.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},p=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},m=l.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,o=n.sigBytes,a=this.blockSize,s=4*a,l=o/s;l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0);var u=l*a,d=e.min(4*u,o);if(u){for(var h=0;h<u;h+=a)this._doProcessBlock(i,h);r=i.splice(0,u),n.sigBytes-=d}return new c.init(r,d)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(l.Hasher=m.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new g.HMAC.init(e,r).finalize(t)}}}),s.algo={});return s}(Math);return e}))}).call(this,r("24aa"))},"222a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pieConfig=void 0;var n={show:!0,name:"",radius:"50%",center:["50%","50%"],startAngle:-Math.PI/2,roseType:!1,roseSort:!0,roseIncrement:"auto",data:[],insideLabel:{show:!1,formatter:"{percent}%",style:{fontSize:10,fill:"#fff",textAlign:"center",textBaseline:"middle"}},outsideLabel:{show:!0,formatter:"{name}",style:{fontSize:11},labelLineBendGap:"20%",labelLineEndLength:50,labelLineStyle:{lineWidth:1}},pieStyle:{},percentToFixed:0,rLevel:10,animationDelayGap:60,animationCurve:"easeOutCubic",startAnimationCurve:"easeOutBack",animationFrame:50};t.pieConfig=n},2236:function(e,t,r){var n=r("5a43");function i(e){if(Array.isArray(e))return n(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},2251:function(e,t,r){var n=r("5ca1"),i=r("cb7c"),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},"22d1":function(e,t,r){"use strict";var n=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),i=function(){function e(){this.browser=new n,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 e}(),o=new i;function a(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),o&&(r.edge=!0,r.version=o[1],r.newEdge=+o[1].split(".")[0]>18),a&&(r.weChat=!0),t.svgSupported="undefined"!==typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported="undefined"!==typeof document;var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),t["a"]=o},"22f8":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,r){return e<12?"오전":"오후"}});return t}))},"230e":function(e,t,r){var n=r("d3f4"),i=r("7726").document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},2397:function(e,t,r){var n=r("5ca1"),i=r("2aeb"),o=r("d8e8"),a=r("cb7c"),s=r("d3f4"),l=r("79e5"),u=r("f0c1"),c=(r("7726").Reflect||{}).construct,d=l((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),h=!l((function(){c((function(){}))}));n(n.S+n.F*(d||h),"Reflect",{construct:function(e,t){o(e),a(t);var r=arguments.length<3?e:o(arguments[2]);if(h&&!d)return c(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(u.apply(e,n))}var l=r.prototype,f=i(s(l)?l:Object.prototype),p=Function.apply.call(e,f,t);return s(p)?p:f}})},"23be":function(e,t,r){"use strict";r("aa77")("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},"23bf":function(e,t,r){"use strict";var n=r("5ca1"),i=r("fab2"),o=r("2d95"),a=r("77f1"),s=r("9def"),l=[].slice;n(n.P+n.F*r("79e5")((function(){i&&l.call(i)})),"Array",{slice:function(e,t){var r=s(this.length),n=o(this);if(t=void 0===t?r:t,"Array"==n)return l.call(this,e,t);for(var i=a(e,r),u=a(t,r),c=s(u-i),d=new Array(c),h=0;h<c;h++)d[h]="String"==n?this.charAt(i+h):this[i+h];return d}})},"23c6":function(e,t,r){var n=r("2d95"),i=r("2b4c")("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(r){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),i))?r:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},"241e":function(e,t,r){var n=r("25eb");e.exports=function(e){return Object(n(e))}},2421:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,r){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},"242a":function(e,t,r){"use strict";r("386b")("sup",(function(e){return function(){return e(this,"sup","","")}}))},2444:function(e,t,r){"use strict";(function(t){var n=r("c532"),i=r("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t)&&(e=r("b50d")),e}var l={adapter:s(),transformRequest:[function(e,t){return i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){l.headers[e]=n.merge(o)})),e.exports=l}).call(this,r("4362"))},"24aa":function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},"24c5":function(e,t,r){"use strict";var n,i,o,a,s=r("b8e3"),l=r("e53d"),u=r("d864"),c=r("40c3"),d=r("63b6"),h=r("f772"),f=r("79aa"),p=r("1173"),m=r("a22a"),g=r("f201"),v=r("4178").set,y=r("aba2")(),b=r("656e"),_=r("4439"),w=r("bc13"),x=r("cd78"),k="Promise",S=l.TypeError,M=l.process,C=M&&M.versions,T=C&&C.v8||"",O=l[k],L="process"==c(M),A=function(){},D=i=b.f,E=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[r("5168")("species")]=function(e){e(A,A)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(n){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var r=e._c;y((function(){var n=e._v,i=1==e._s,o=0,a=function(t){var r,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?r=n:(c&&c.enter(),r=s(n),c&&(c.exit(),a=!0)),r===t.promise?u(S("Promise-chain cycle")):(o=I(r))?o.call(r,l,u):l(r)):u(n)}catch(d){c&&!a&&c.exit(),u(d)}};while(r.length>o)a(r[o++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){v.call(l,(function(){var t,r,n,i=e._v,o=R(e);if(o&&(t=_((function(){L?M.emit("unhandledRejection",i,e):(r=l.onunhandledrejection)?r({promise:e,reason:i}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",i)})),e._h=L||R(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){v.call(l,(function(){var t;L?M.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},B=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},Y=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw S("Promise can't be resolved itself");(t=I(e))?y((function(){var n={_w:r,_d:!1};try{t.call(e,u(Y,n,1),u(B,n,1))}catch(i){B.call(n,i)}})):(r._v=e,r._s=1,j(r,!1))}catch(n){B.call({_w:r,_d:!1},n)}}};E||(O=function(e){p(this,O,k,"_h"),f(e),n.call(this);try{e(u(Y,this,1),u(B,this,1))}catch(t){B.call(this,t)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r("5c95")(O.prototype,{then:function(e,t){var r=D(g(this,O));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=L?M.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&j(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(Y,e,1),this.reject=u(B,e,1)},b.f=D=function(e){return e===O||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!E,{Promise:O}),r("45f2")(O,k),r("4c95")(k),a=r("584a")[k],d(d.S+d.F*!E,k,{reject:function(e){var t=D(this),r=t.reject;return r(e),t.promise}}),d(d.S+d.F*(s||!E),k,{resolve:function(e){return x(s&&this===a?O:this,e)}}),d(d.S+d.F*!(E&&r("4ee1")((function(e){O.all(e)["catch"](A)}))),k,{all:function(e){var t=this,r=D(t),n=r.resolve,i=r.reject,o=_((function(){var r=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;r.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,r[s]=e,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(e){var t=this,r=D(t),n=r.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},"252f":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.line=g;var i=n(r("7037")),o=n(r("278c")),a=n(r("448a")),s=n(r("9523")),l=r("18ad"),u=r("9d85"),c=n(r("050c")),d=r("becb");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,s["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=c["default"].polylineToBezierCurve,m=c["default"].getBezierCurveLength;function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.xAxis,n=t.yAxis,i=t.series,o=[];r&&n&&i&&(o=(0,d.initNeedSeries)(i,u.lineConfig,"line"),o=v(o,e)),(0,l.doUpdate)({chart:e,series:o,key:"lineArea",getGraphConfig:x,getStartGraphConfig:T,beforeUpdate:O,beforeChange:L}),(0,l.doUpdate)({chart:e,series:o,key:"line",getGraphConfig:A,getStartGraphConfig:j,beforeUpdate:O,beforeChange:L}),(0,l.doUpdate)({chart:e,series:o,key:"linePoint",getGraphConfig:P,getStartGraphConfig:B}),(0,l.doUpdate)({chart:e,series:o,key:"lineLabel",getGraphConfig:Y})}function v(e,t){var r=t.axisData;return e.map((function(t){var n=(0,d.mergeSameStackData)(t,e);n=y(t,n);var i=b(t,r),o=_(n,i),a=w(i);return f(f({},t),{},{linePosition:o.filter((function(e){return e})),lineFillBottomPos:a})}))}function y(e,t){var r=e.data;return t.map((function(e,t){return"number"===typeof r[t]?e:null}))}function b(e,t){var r=e.xAxisIndex,n=e.yAxisIndex,i=t.find((function(e){var t=e.axis,n=e.index;return"x"===t&&n===r})),o=t.find((function(e){var t=e.axis,r=e.index;return"y"===t&&r===n}));return[i,o]}function _(e,t){var r=t.findIndex((function(e){var t=e.data;return"value"===t})),n=t[r],i=t[1-r],o=n.linePosition,a=n.axis,s=i.tickPosition,l=s.length,u="x"===a?0:1,c=o[0][u],d=o[1][u],h=d-c,f=n.maxValue,p=n.minValue,m=f-p,g=new Array(l).fill(0).map((function(t,r){var n=e[r];if("number"!==typeof n)return null;var i=(n-p)/m;return 0===m&&(i=0),i*h+c}));return g.map((function(e,t){if(t>=l||"number"!==typeof e)return null;var r=[e,s[t][1-u]];return 0===u||r.reverse(),r}))}function w(e){var t=e.find((function(e){var t=e.data;return"value"===t})),r=t.axis,n=t.linePosition,i=t.minValue,o=t.maxValue,a="x"===r?0:1,s=n[0][a];if(i<0&&o>0){var l=o-i,u=Math.abs(n[0][a]-n[1][a]),c=Math.abs(i)/l*u;"y"===r&&(c*=-1),s+=c}return{changeIndex:a,changeValue:s}}function x(e){var t=e.animationCurve,r=e.animationFrame,n=e.lineFillBottomPos,i=e.rLevel;return[{name:D(e),index:i,animationCurve:t,animationFrame:r,visible:e.lineArea.show,lineFillBottomPos:n,shape:k(e),style:S(e),drawed:C}]}function k(e){var t=e.linePosition;return{points:t}}function S(e){var t=e.lineArea,r=e.color,n=t.gradient,i=t.style,o=[i.fill||r],a=(0,d.deepMerge)(o,n);1===a.length&&a.push(a[0]);var s=M(e);return i=f(f({},i),{},{stroke:"rgba(0, 0, 0, 0)"}),(0,d.deepMerge)({gradientColor:a,gradientParams:s,gradientType:"linear",gradientWith:"fill"},i)}function M(e){var t=e.lineFillBottomPos,r=e.linePosition,n=t.changeIndex,i=t.changeValue,o=r.map((function(e){return e[n]})),s=Math.max.apply(Math,(0,a["default"])(o)),l=Math.min.apply(Math,(0,a["default"])(o)),u=s;return 1===n&&(u=l),1===n?[0,u,0,i]:[u,0,i,0]}function C(e,t){var r=e.lineFillBottomPos,n=e.shape,i=t.ctx,o=n.points,s=r.changeIndex,l=r.changeValue,u=(0,a["default"])(o[o.length-1]),c=(0,a["default"])(o[0]);u[s]=l,c[s]=l,i.lineTo.apply(i,(0,a["default"])(u)),i.lineTo.apply(i,(0,a["default"])(c)),i.closePath(),i.fill()}function T(e){var t=x(e)[0],r=f({},t.style);return r.opacity=0,t.style=r,[t]}function O(e,t,r,n){var i=e[r];if(i){var o=D(t),a=n.chart.render,s=i[0].name,l=o!==s;l&&(i.forEach((function(e){return a.delGraph(e)})),e[r]=null)}}function L(e,t){var r=t.shape.points,n=e.shape.points,i=n.length,o=r.length;if(o>i){var s=n.slice(-1)[0],l=new Array(o-i).fill(0).map((function(e){return(0,a["default"])(s)}));n.push.apply(n,(0,a["default"])(l))}else o<i&&n.splice(o)}function A(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:D(e),index:n+1,animationCurve:t,animationFrame:r,shape:k(e),style:E(e)}]}function D(e){var t=e.smooth;return t?"smoothline":"polyline"}function E(e){var t=e.lineStyle,r=e.color,n=e.smooth,i=e.linePosition,o=I(i,n);return(0,d.deepMerge)({stroke:r,lineDash:[o,0]},t)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return(0,d.getPolylineLength)(e);var r=p(e);return m(r)}function j(e){var t=e.lineStyle.lineDash,r=A(e)[0],n=r.style.lineDash;return n=t?[0,0]:(0,a["default"])(n).reverse(),r.style.lineDash=n,[r]}function P(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,i=R(e),o=N(e);return i.map((function(i){return{name:"circle",index:n+2,visible:e.linePoint.show,animationCurve:t,animationFrame:r,shape:i,style:o}}))}function R(e){var t=e.linePosition,r=e.linePoint.radius;return t.map((function(e){var t=(0,o["default"])(e,2),n=t[0],i=t[1];return{r:r,rx:n,ry:i}}))}function N(e){var t=e.color,r=e.linePoint.style;return(0,d.deepMerge)({stroke:t},r)}function B(e){var t=P(e);return t.forEach((function(e){e.shape.r=.1})),t}function Y(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel,i=F(e),o=W(e);return i.map((function(i,a){return{name:"text",index:n+3,visible:e.label.show,animationCurve:t,animationFrame:r,shape:i,style:o}}))}function F(e){var t=U(e),r=z(e);return t.map((function(e,t){return{content:e,position:r[t]}}))}function z(e){var t=e.linePosition,r=e.lineFillBottomPos,n=e.label,i=n.position,o=n.offset,s=r.changeIndex,l=r.changeValue;return t.map((function(e){if("bottom"===i&&(e=(0,a["default"])(e),e[s]=l),"center"===i){var t=(0,a["default"])(e);t[s]=l,e=V(e,t)}return H(e,o)}))}function H(e,t){var r=(0,o["default"])(e,2),n=r[0],i=r[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[n+s,i+l]}function V(e,t){var r=(0,o["default"])(e,2),n=r[0],i=r[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[(n+s)/2,(i+l)/2]}function U(e){var t=e.data,r=e.label.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!r)return t;var n=(0,i["default"])(r);return"string"===n?t.map((function(e){return r.replace("{value}",e)})):"function"===n?t.map((function(e,t){return r({value:e,index:t})})):t}function W(e){var t=e.color,r=e.label.style;return(0,d.deepMerge)({fill:t},r)}},2554:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){switch(r){case"m":return t?"jedna minuta":n?"jednu minutu":"jedne minute"}}function r(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",n;case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",n;case"h":return"jedan sat";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",n;case"dd":return n+=1===e?"dan":"dana",n;case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",n;case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",n}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:r,m:t,mm:r,h:r,hh:r,d:"dan",dd:r,M:"mjesec",MM:r,y:"godinu",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"25b0":function(e,t,r){r("1df8"),e.exports=r("584a").Object.setPrototypeOf},"25c9":function(e,t,r){var n=r("5ca1"),i=Math.exp;n(n.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},"25db":function(e,t,r){r("5eda")("getOwnPropertyNames",(function(){return r("7bbc").f}))},"25eb":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"262f":function(e,t,r){var n=r("5ca1");n(n.G+n.W+n.F*!r("0f88").ABV,{DataView:r("ed0b").DataView})},2655:function(e,t){function r(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=r,e.exports.default=r},"26f9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function r(e,t,r,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function n(e,t,r,n){return t?o(r)[0]:n?o(r)[1]:o(r)[2]}function i(e){return e%10===0||e>10&&e<20}function o(e){return t[e].split("_")}function a(e,t,r,a){var s=e+" ";return 1===e?s+n(e,t,r[0],a):t?s+(i(e)?o(r)[1]:o(r)[0]):a?s+o(r)[1]:s+(i(e)?o(r)[1]:o(r)[2])}var s=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:r,ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s}))},2748:function(e,t,r){var n=r("5ca1"),i=180/Math.PI;n(n.S,"Math",{degrees:function(e){return e*i}})},"278c":function(e,t,r){var n=r("c135"),i=r("9b42"),o=r("6613"),a=r("c240");function s(e,t){return n(e)||i(e,t)||o(e,t)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},"27ee":function(e,t,r){var n=r("23c6"),i=r("2b4c")("iterator"),o=r("84f2");e.exports=r("8378").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},2848:function(e,t,r){},2877:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}r.d(t,"a",(function(){return n}))},"28a5":function(e,t,r){"use strict";var n=r("aae3"),i=r("cb7c"),o=r("ebd6"),a=r("0390"),s=r("9def"),l=r("5f1b"),u=r("520a"),c=r("79e5"),d=Math.min,h=[].push,f="split",p="length",m="lastIndex",g=4294967295,v=!c((function(){RegExp(g,"y")}));r("214f")("split",2,(function(e,t,r,c){var y;return y="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!n(e))return r.call(i,e,t);var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?g:t>>>0,v=new RegExp(e.source,c+"g");while(o=u.call(v,i)){if(a=v[m],a>d&&(l.push(i.slice(d,o.index)),o[p]>1&&o.index<i[p]&&h.apply(l,o.slice(1)),s=o[0][p],d=a,l[p]>=f))break;v[m]===o.index&&v[m]++}return d===i[p]?!s&&v.test("")||l.push(""):l.push(i.slice(d)),l[p]>f?l.slice(0,f):l}:"0"[f](void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,n){var i=e(this),o=void 0==r?void 0:r[t];return void 0!==o?o.call(r,i,n):y.call(String(i),r,n)},function(e,t){var n=c(y,e,this,t,y!==r);if(n.done)return n.value;var u=i(e),h=String(this),f=o(u,RegExp),p=u.unicode,m=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(v?"y":"g"),b=new f(v?u:"^(?:"+u.source+")",m),_=void 0===t?g:t>>>0;if(0===_)return[];if(0===h.length)return null===l(b,h)?[h]:[];var w=0,x=0,k=[];while(x<h.length){b.lastIndex=v?x:0;var S,M=l(b,v?h:h.slice(x));if(null===M||(S=d(s(b.lastIndex+(v?0:x)),h.length))===w)x=a(h,x,p);else{if(k.push(h.slice(w,x)),k.length===_)return k;for(var C=1;C<=M.length-1;C++)if(k.push(M[C]),k.length===_)return k;x=w=S}}return k.push(h.slice(w)),k}]}))},"28e4":function(e,t,r){"use strict";var n=r("5ca1"),i=r("d8e8"),o=r("9b43"),a=r("4a59");e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,s,l=arguments[1];return i(this),t=void 0!==l,t&&i(l),void 0==e?new this:(r=[],t?(n=0,s=o(l,arguments[2],2),a(e,!1,(function(e){r.push(s(e,n++))}))):a(e,!1,r.push,r),new this(r))}})}},2921:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"293c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},r=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"2a66":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding}))},"2aba":function(e,t,r){var n=r("7726"),i=r("32e9"),o=r("69a8"),a=r("ca5a")("src"),s=r("fa5b"),l="toString",u=(""+s).split(l);r("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var l="function"==typeof r;l&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(l&&(o(r,a)||i(r,a,e[t]?""+e[t]:u.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,r){var n=r("cb7c"),i=r("1495"),o=r("e11e"),a=r("613b")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=r("230e")("iframe"),n=o.length,i="<",a=">";t.style.display="none",r("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(n--)delete u[l][o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[l]=n(e),r=new s,s[l]=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},"2b0e":function(e,t,r){"use strict";r.r(t),function(e){
|
||
/*!
|
||
* Vue.js v2.6.10
|
||
* (c) 2014-2019 Evan You
|
||
* Released under the MIT License.
|
||
*/
|
||
var r=Object.freeze({});function n(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function c(e){return"[object Object]"===u.call(e)}function d(e){return"[object RegExp]"===u.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return t?function(e){return r[e.toLowerCase()]}:function(e){return r[e]}}g("slot,component",!0);var v=g("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var b=Object.prototype.hasOwnProperty;function _(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var x=/-(\w)/g,k=w((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),S=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),M=/\B([A-Z])/g,C=w((function(e){return e.replace(M,"-$1").toLowerCase()}));function T(e,t){function r(r){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return r._length=e.length,r}function O(e,t){return e.bind(t)}var L=Function.prototype.bind?O:T;function A(e,t){t=t||0;var r=e.length-t,n=new Array(r);while(r--)n[r]=e[r+t];return n}function D(e,t){for(var r in t)e[r]=t[r];return e}function E(e){for(var t={},r=0;r<e.length;r++)e[r]&&D(t,e[r]);return t}function I(e,t,r){}var j=function(e,t,r){return!1},P=function(e){return e};function R(e,t){if(e===t)return!0;var r=l(e),n=l(t);if(!r||!n)return!r&&!n&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,r){return R(e,t[r])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(r){return R(e[r],t[r])}))}catch(u){return!1}}function N(e,t){for(var r=0;r<e.length;r++)if(R(e[r],t))return r;return-1}function B(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var Y="data-server-rendered",F=["component","directive","filter"],z=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:I,parsePlatformTagName:P,mustUseProp:j,async:!0,_lifecycleHooks:z},V=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function W(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var $=new RegExp("[^"+V.source+".$_\\d]");function G(e){if(!$.test(e)){var t=e.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}var q,X="__proto__"in{},K="undefined"!==typeof window,Z="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=Z&&WXEnvironment.platform.toLowerCase(),Q=K&&window.navigator.userAgent.toLowerCase(),ee=Q&&/msie|trident/.test(Q),te=Q&&Q.indexOf("msie 9.0")>0,re=Q&&Q.indexOf("edge/")>0,ne=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),oe={}.watch,ae=!1;if(K)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(ka){}var le=function(){return void 0===q&&(q=!K&&!Z&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),q},ue=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,he="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);de="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=I,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,r=e.length;t<r;t++)e[t].update()},me.target=null;var ge=[];function ve(e){ge.push(e),me.target=e}function ye(){ge.pop(),me.target=ge[ge.length-1]}var be=function(e,t,r,n,i,o,a,s){this.tag=e,this.data=t,this.children=r,this.text=n,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},_e={child:{configurable:!0}};_e.child.get=function(){return this.componentInstance},Object.defineProperties(be.prototype,_e);var we=function(e){void 0===e&&(e="");var t=new be;return t.text=e,t.isComment=!0,t};function xe(e){return new be(void 0,void 0,void 0,String(e))}function ke(e){var t=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Se=Array.prototype,Me=Object.create(Se),Ce=["push","pop","shift","unshift","splice","sort","reverse"];Ce.forEach((function(e){var t=Se[e];W(Me,e,(function(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];var i,o=t.apply(this,r),a=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Te=Object.getOwnPropertyNames(Me),Oe=!0;function Le(e){Oe=e}var Ae=function(e){this.value=e,this.dep=new me,this.vmCount=0,W(e,"__ob__",this),Array.isArray(e)?(X?De(e,Me):Ee(e,Me,Te),this.observeArray(e)):this.walk(e)};function De(e,t){e.__proto__=t}function Ee(e,t,r){for(var n=0,i=r.length;n<i;n++){var o=r[n];W(e,o,t[o])}}function Ie(e,t){var r;if(l(e)&&!(e instanceof be))return _(e,"__ob__")&&e.__ob__ instanceof Ae?r=e.__ob__:Oe&&!le()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(r=new Ae(e)),t&&r&&r.vmCount++,r}function je(e,t,r,n,i){var o=new me,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(r=e[t]);var u=!i&&Ie(r);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):r;return me.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Ne(t))),t},set:function(t){var n=s?s.call(e):r;t===n||t!==t&&n!==n||s&&!l||(l?l.call(e,t):r=t,u=!i&&Ie(t),o.notify())}})}}function Pe(e,t,r){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,r),r;if(t in e&&!(t in Object.prototype))return e[t]=r,r;var n=e.__ob__;return e._isVue||n&&n.vmCount?r:n?(je(n.value,t,r),n.dep.notify(),r):(e[t]=r,r)}function Re(e,t){if(Array.isArray(e)&&h(t))e.splice(t,1);else{var r=e.__ob__;e._isVue||r&&r.vmCount||_(e,t)&&(delete e[t],r&&r.dep.notify())}}function Ne(e){for(var t=void 0,r=0,n=e.length;r<n;r++)t=e[r],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ne(t)}Ae.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r<t.length;r++)je(e,t[r])},Ae.prototype.observeArray=function(e){for(var t=0,r=e.length;t<r;t++)Ie(e[t])};var Be=H.optionMergeStrategies;function Ye(e,t){if(!t)return e;for(var r,n,i,o=he?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)r=o[a],"__ob__"!==r&&(n=e[r],i=t[r],_(e,r)?n!==i&&c(n)&&c(i)&&Ye(n,i):Pe(e,r,i));return e}function Fe(e,t,r){return r?function(){var n="function"===typeof t?t.call(r,r):t,i="function"===typeof e?e.call(r,r):e;return n?Ye(n,i):i}:t?e?function(){return Ye("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function ze(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?He(r):r}function He(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}function Ve(e,t,r,n){var i=Object.create(e||null);return t?D(i,t):i}Be.data=function(e,t,r){return r?Fe(e,t,r):t&&"function"!==typeof t?e:Fe(e,t)},z.forEach((function(e){Be[e]=ze})),F.forEach((function(e){Be[e+"s"]=Ve})),Be.watch=function(e,t,r,n){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in D(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Be.props=Be.methods=Be.inject=Be.computed=function(e,t,r,n){if(!e)return t;var i=Object.create(null);return D(i,e),t&&D(i,t),i},Be.provide=Fe;var Ue=function(e,t){return void 0===t?e:t};function We(e,t){var r=e.props;if(r){var n,i,o,a={};if(Array.isArray(r)){n=r.length;while(n--)i=r[n],"string"===typeof i&&(o=k(i),a[o]={type:null})}else if(c(r))for(var s in r)i=r[s],o=k(s),a[o]=c(i)?i:{type:i};else 0;e.props=a}}function $e(e,t){var r=e.inject;if(r){var n=e.inject={};if(Array.isArray(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(c(r))for(var o in r){var a=r[o];n[o]=c(a)?D({from:o},a):{from:a}}else 0}}function Ge(e){var t=e.directives;if(t)for(var r in t){var n=t[r];"function"===typeof n&&(t[r]={bind:n,update:n})}}function qe(e,t,r){if("function"===typeof t&&(t=t.options),We(t,r),$e(t,r),Ge(t),!t._base&&(t.extends&&(e=qe(e,t.extends,r)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=qe(e,t.mixins[n],r);var o,a={};for(o in e)s(o);for(o in t)_(e,o)||s(o);function s(n){var i=Be[n]||Ue;a[n]=i(e[n],t[n],r,n)}return a}function Xe(e,t,r,n){if("string"===typeof r){var i=e[t];if(_(i,r))return i[r];var o=k(r);if(_(i,o))return i[o];var a=S(o);if(_(i,a))return i[a];var s=i[r]||i[o]||i[a];return s}}function Ke(e,t,r,n){var i=t[e],o=!_(r,e),a=r[e],s=et(Boolean,i.type);if(s>-1)if(o&&!_(i,"default"))a=!1;else if(""===a||a===C(e)){var l=et(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Ze(n,i,e);var u=Oe;Le(!0),Ie(a),Le(u)}return a}function Ze(e,t,r){if(_(t,"default")){var n=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[r]&&void 0!==e._props[r]?e._props[r]:"function"===typeof n&&"Function"!==Je(t.type)?n.call(e):n}}function Je(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Qe(e,t){return Je(e)===Je(t)}function et(e,t){if(!Array.isArray(t))return Qe(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(Qe(t[r],e))return r;return-1}function tt(e,t,r){ve();try{if(t){var n=t;while(n=n.$parent){var i=n.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(n,e,t,r);if(a)return}catch(ka){nt(ka,n,"errorCaptured hook")}}}nt(e,t,r)}finally{ye()}}function rt(e,t,r,n,i){var o;try{o=r?e.apply(t,r):e.call(t),o&&!o._isVue&&f(o)&&!o._handled&&(o.catch((function(e){return tt(e,n,i+" (Promise/async)")})),o._handled=!0)}catch(ka){tt(ka,n,i)}return o}function nt(e,t,r){if(H.errorHandler)try{return H.errorHandler.call(null,e,t,r)}catch(ka){ka!==e&&it(ka,null,"config.errorHandler")}it(e,t,r)}function it(e,t,r){if(!K&&!Z||"undefined"===typeof console)throw e;console.error(e)}var ot,at=!1,st=[],lt=!1;function ut(){lt=!1;var e=st.slice(0);st.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&ce(Promise)){var ct=Promise.resolve();ot=function(){ct.then(ut),ne&&setTimeout(I)},at=!0}else if(ee||"undefined"===typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ot="undefined"!==typeof setImmediate&&ce(setImmediate)?function(){setImmediate(ut)}:function(){setTimeout(ut,0)};else{var dt=1,ht=new MutationObserver(ut),ft=document.createTextNode(String(dt));ht.observe(ft,{characterData:!0}),ot=function(){dt=(dt+1)%2,ft.data=String(dt)},at=!0}function pt(e,t){var r;if(st.push((function(){if(e)try{e.call(t)}catch(ka){tt(ka,t,"nextTick")}else r&&r(t)})),lt||(lt=!0,ot()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){r=e}))}var mt=new de;function gt(e){vt(e,mt),mt.clear()}function vt(e,t){var r,n,i=Array.isArray(e);if(!(!i&&!l(e)||Object.isFrozen(e)||e instanceof be)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i){r=e.length;while(r--)vt(e[r],t)}else{n=Object.keys(e),r=n.length;while(r--)vt(e[n[r]],t)}}}var yt=w((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var r="~"===e.charAt(0);e=r?e.slice(1):e;var n="!"===e.charAt(0);return e=n?e.slice(1):e,{name:e,once:r,capture:n,passive:t}}));function bt(e,t){function r(){var e=arguments,n=r.fns;if(!Array.isArray(n))return rt(n,null,arguments,t,"v-on handler");for(var i=n.slice(),o=0;o<i.length;o++)rt(i[o],null,e,t,"v-on handler")}return r.fns=e,r}function _t(e,t,r,i,a,s){var l,u,c,d;for(l in e)u=e[l],c=t[l],d=yt(l),n(u)||(n(c)?(n(u.fns)&&(u=e[l]=bt(u,s)),o(d.once)&&(u=e[l]=a(d.name,u,d.capture)),r(d.name,u,d.capture,d.passive,d.params)):u!==c&&(c.fns=u,e[l]=c));for(l in t)n(e[l])&&(d=yt(l),i(d.name,t[l],d.capture))}function wt(e,t,r){var a;e instanceof be&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){r.apply(this,arguments),y(a.fns,l)}n(s)?a=bt([l]):i(s.fns)&&o(s.merged)?(a=s,a.fns.push(l)):a=bt([s,l]),a.merged=!0,e[t]=a}function xt(e,t,r){var o=t.options.props;if(!n(o)){var a={},s=e.attrs,l=e.props;if(i(s)||i(l))for(var u in o){var c=C(u);kt(a,l,u,c,!0)||kt(a,s,u,c,!1)}return a}}function kt(e,t,r,n,o){if(i(t)){if(_(t,r))return e[r]=t[r],o||delete t[r],!0;if(_(t,n))return e[r]=t[n],o||delete t[n],!0}return!1}function St(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Mt(e){return s(e)?[xe(e)]:Array.isArray(e)?Tt(e):void 0}function Ct(e){return i(e)&&i(e.text)&&a(e.isComment)}function Tt(e,t){var r,a,l,u,c=[];for(r=0;r<e.length;r++)a=e[r],n(a)||"boolean"===typeof a||(l=c.length-1,u=c[l],Array.isArray(a)?a.length>0&&(a=Tt(a,(t||"")+"_"+r),Ct(a[0])&&Ct(u)&&(c[l]=xe(u.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?Ct(u)?c[l]=xe(u.text+a):""!==a&&c.push(xe(a)):Ct(a)&&Ct(u)?c[l]=xe(u.text+a.text):(o(e._isVList)&&i(a.tag)&&n(a.key)&&i(t)&&(a.key="__vlist"+t+"_"+r+"__"),c.push(a)));return c}function Ot(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Lt(e){var t=At(e.$options.inject,e);t&&(Le(!1),Object.keys(t).forEach((function(r){je(e,r,t[r])})),Le(!0))}function At(e,t){if(e){for(var r=Object.create(null),n=he?Reflect.ownKeys(e):Object.keys(e),i=0;i<n.length;i++){var o=n[i];if("__ob__"!==o){var a=e[o].from,s=t;while(s){if(s._provided&&_(s._provided,a)){r[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var l=e[o].default;r[o]="function"===typeof l?l.call(t):l}else 0}}return r}}function Dt(e,t){if(!e||!e.length)return{};for(var r={},n=0,i=e.length;n<i;n++){var o=e[n],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(r.default||(r.default=[])).push(o);else{var s=a.slot,l=r[s]||(r[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in r)r[u].every(Et)&&delete r[u];return r}function Et(e){return e.isComment&&!e.asyncFactory||" "===e.text}function It(e,t,n){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=jt(t,l,e[l]))}else i={};for(var u in t)u in i||(i[u]=Pt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),W(i,"$stable",a),W(i,"$key",s),W(i,"$hasNormal",o),i}function jt(e,t,r){var n=function(){var e=arguments.length?r.apply(null,arguments):r({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Mt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return r.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function Pt(e,t){return function(){return e[t]}}function Rt(e,t){var r,n,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(r=new Array(e.length),n=0,o=e.length;n<o;n++)r[n]=t(e[n],n);else if("number"===typeof e)for(r=new Array(e),n=0;n<e;n++)r[n]=t(n+1,n);else if(l(e))if(he&&e[Symbol.iterator]){r=[];var u=e[Symbol.iterator](),c=u.next();while(!c.done)r.push(t(c.value,r.length)),c=u.next()}else for(a=Object.keys(e),r=new Array(a.length),n=0,o=a.length;n<o;n++)s=a[n],r[n]=t(e[s],s,n);return i(r)||(r=[]),r._isVList=!0,r}function Nt(e,t,r,n){var i,o=this.$scopedSlots[e];o?(r=r||{},n&&(r=D(D({},n),r)),i=o(r)||t):i=this.$slots[e]||t;var a=r&&r.slot;return a?this.$createElement("template",{slot:a},i):i}function Bt(e){return Xe(this.$options,"filters",e,!0)||P}function Yt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Ft(e,t,r,n,i){var o=H.keyCodes[t]||r;return i&&n&&!H.keyCodes[t]?Yt(i,n):o?Yt(o,e):n?C(n)!==t:void 0}function zt(e,t,r,n,i){if(r)if(l(r)){var o;Array.isArray(r)&&(r=E(r));var a=function(a){if("class"===a||"style"===a||v(a))o=e;else{var s=e.attrs&&e.attrs.type;o=n||H.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=k(a),u=C(a);if(!(l in o)&&!(u in o)&&(o[a]=r[a],i)){var c=e.on||(e.on={});c["update:"+a]=function(e){r[a]=e}}};for(var s in r)a(s)}else;return e}function Ht(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t||(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),Ut(n,"__static__"+e,!1)),n}function Vt(e,t,r){return Ut(e,"__once__"+t+(r?"_"+r:""),!0),e}function Ut(e,t,r){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!==typeof e[n]&&Wt(e[n],t+"_"+n,r);else Wt(e,t,r)}function Wt(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function $t(e,t){if(t)if(c(t)){var r=e.on=e.on?D({},e.on):{};for(var n in t){var i=r[n],o=t[n];r[n]=i?[].concat(i,o):o}}else;return e}function Gt(e,t,r,n){t=t||{$stable:!r};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?Gt(o,t,r):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return n&&(t.$key=n),t}function qt(e,t){for(var r=0;r<t.length;r+=2){var n=t[r];"string"===typeof n&&n&&(e[t[r]]=t[r+1])}return e}function Xt(e,t){return"string"===typeof e?t+e:e}function Kt(e){e._o=Vt,e._n=m,e._s=p,e._l=Rt,e._t=Nt,e._q=R,e._i=N,e._m=Ht,e._f=Bt,e._k=Ft,e._b=zt,e._v=xe,e._e=we,e._u=Gt,e._g=$t,e._d=qt,e._p=Xt}function Zt(e,t,n,i,a){var s,l=this,u=a.options;_(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var c=o(u._compiled),d=!c;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=At(u.inject,i),this.slots=function(){return l.$slots||It(e.scopedSlots,l.$slots=Dt(n,i)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return It(e.scopedSlots,this.slots())}}),c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=It(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,r,n){var o=cr(s,e,t,r,n,d);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(e,t,r,n){return cr(s,e,t,r,n,d)}}function Jt(e,t,n,o,a){var s=e.options,l={},u=s.props;if(i(u))for(var c in u)l[c]=Ke(c,u,t||r);else i(n.attrs)&&er(l,n.attrs),i(n.props)&&er(l,n.props);var d=new Zt(n,l,a,o,e),h=s.render.call(null,d._c,d);if(h instanceof be)return Qt(h,n,d.parent,s,d);if(Array.isArray(h)){for(var f=Mt(h)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=Qt(f[m],n,d.parent,s,d);return p}}function Qt(e,t,r,n,i){var o=ke(e);return o.fnContext=r,o.fnOptions=n,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function er(e,t){for(var r in t)e[k(r)]=t[r]}Kt(Zt.prototype);var tr={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;tr.prepatch(r,r)}else{var n=e.componentInstance=ir(e,Lr);n.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions,n=t.componentInstance=e.componentInstance;jr(n,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Br(r,"mounted")),e.data.keepAlive&&(t._isMounted?Zr(r):Rr(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Nr(t,!0):t.$destroy())}},rr=Object.keys(tr);function nr(e,t,r,a,s){if(!n(e)){var u=r.$options._base;if(l(e)&&(e=u.extend(e)),"function"===typeof e){var c;if(n(e.cid)&&(c=e,e=_r(c,u),void 0===e))return br(c,t,r,a,s);t=t||{},wn(e),i(t.model)&&sr(e.options,t);var d=xt(t,e,s);if(o(e.options.functional))return Jt(e,d,t,r,a);var h=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}or(t);var p=e.options.name||s,m=new be("vue-component-"+e.cid+(p?"-"+p:""),t,void 0,void 0,void 0,r,{Ctor:e,propsData:d,listeners:h,tag:s,children:a},c);return m}}}function ir(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return i(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(r)}function or(e){for(var t=e.hook||(e.hook={}),r=0;r<rr.length;r++){var n=rr[r],i=t[n],o=tr[n];i===o||i&&i._merged||(t[n]=i?ar(o,i):o)}}function ar(e,t){var r=function(r,n){e(r,n),t(r,n)};return r._merged=!0,r}function sr(e,t){var r=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var o=t.on||(t.on={}),a=o[n],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[n]=[s].concat(a)):o[n]=s}var lr=1,ur=2;function cr(e,t,r,n,i,a){return(Array.isArray(r)||s(r))&&(i=n,n=r,r=void 0),o(a)&&(i=ur),dr(e,t,r,n,i)}function dr(e,t,r,n,o){if(i(r)&&i(r.__ob__))return we();if(i(r)&&i(r.is)&&(t=r.is),!t)return we();var a,s,l;(Array.isArray(n)&&"function"===typeof n[0]&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),o===ur?n=Mt(n):o===lr&&(n=St(n)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||H.getTagNamespace(t),a=H.isReservedTag(t)?new be(H.parsePlatformTagName(t),r,n,void 0,void 0,e):r&&r.pre||!i(l=Xe(e.$options,"components",t))?new be(t,r,n,void 0,void 0,e):nr(l,r,e,n,t)):a=nr(t,r,e,n);return Array.isArray(a)?a:i(a)?(i(s)&&hr(a,s),i(r)&&fr(r),a):we()}function hr(e,t,r){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,r=!0),i(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];i(l.tag)&&(n(l.ns)||o(r)&&"svg"!==l.tag)&&hr(l,t,r)}}function fr(e){l(e.style)&>(e.style),l(e.class)&>(e.class)}function pr(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=Dt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,r,n,i){return cr(e,t,r,n,i,!1)},e.$createElement=function(t,r,n,i){return cr(e,t,r,n,i,!0)};var o=n&&n.data;je(e,"$attrs",o&&o.attrs||r,null,!0),je(e,"$listeners",t._parentListeners||r,null,!0)}var mr,gr=null;function vr(e){Kt(e.prototype),e.prototype.$nextTick=function(e){return pt(e,this)},e.prototype._render=function(){var e,t=this,r=t.$options,n=r.render,i=r._parentVnode;i&&(t.$scopedSlots=It(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{gr=t,e=n.call(t._renderProxy,t.$createElement)}catch(ka){tt(ka,t,"render"),e=t._vnode}finally{gr=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof be||(e=we()),e.parent=i,e}}function yr(e,t){return(e.__esModule||he&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function br(e,t,r,n,i){var o=we();return o.asyncFactory=e,o.asyncMeta={data:t,context:r,children:n,tag:i},o}function _r(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var r=gr;if(r&&i(e.owners)&&-1===e.owners.indexOf(r)&&e.owners.push(r),o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(r&&!i(e.owners)){var a=e.owners=[r],s=!0,u=null,c=null;r.$on("hook:destroyed",(function(){return y(a,r)}));var d=function(e){for(var t=0,r=a.length;t<r;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==c&&(clearTimeout(c),c=null))},h=B((function(r){e.resolved=yr(r,t),s?a.length=0:d(!0)})),p=B((function(t){i(e.errorComp)&&(e.error=!0,d(!0))})),m=e(h,p);return l(m)&&(f(m)?n(e.resolved)&&m.then(h,p):f(m.component)&&(m.component.then(h,p),i(m.error)&&(e.errorComp=yr(m.error,t)),i(m.loading)&&(e.loadingComp=yr(m.loading,t),0===m.delay?e.loading=!0:u=setTimeout((function(){u=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,d(!1))}),m.delay||200)),i(m.timeout)&&(c=setTimeout((function(){c=null,n(e.resolved)&&p(null)}),m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function wr(e){return e.isComment&&e.asyncFactory}function xr(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var r=e[t];if(i(r)&&(i(r.componentOptions)||wr(r)))return r}}function kr(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Tr(e,t)}function Sr(e,t){mr.$on(e,t)}function Mr(e,t){mr.$off(e,t)}function Cr(e,t){var r=mr;return function n(){var i=t.apply(null,arguments);null!==i&&r.$off(e,n)}}function Tr(e,t,r){mr=e,_t(t,r||{},Sr,Mr,Cr,e),mr=void 0}function Or(e){var t=/^hook:/;e.prototype.$on=function(e,r){var n=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)n.$on(e[i],r);else(n._events[e]||(n._events[e]=[])).push(r),t.test(e)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(e,t){var r=this;function n(){r.$off(e,n),t.apply(r,arguments)}return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var n=0,i=e.length;n<i;n++)r.$off(e[n],t);return r}var o,a=r._events[e];if(!a)return r;if(!t)return r._events[e]=null,r;var s=a.length;while(s--)if(o=a[s],o===t||o.fn===t){a.splice(s,1);break}return r},e.prototype.$emit=function(e){var t=this,r=t._events[e];if(r){r=r.length>1?A(r):r;for(var n=A(arguments,1),i='event handler for "'+e+'"',o=0,a=r.length;o<a;o++)rt(r[o],t,n,t,i)}return t}}var Lr=null;function Ar(e){var t=Lr;return Lr=e,function(){Lr=t}}function Dr(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){while(r.$options.abstract&&r.$parent)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Er(e){e.prototype._update=function(e,t){var r=this,n=r.$el,i=r._vnode,o=Ar(r);r._vnode=e,r.$el=i?r.__patch__(i,e):r.__patch__(r.$el,e,t,!1),o(),n&&(n.__vue__=null),r.$el&&(r.$el.__vue__=r),r.$vnode&&r.$parent&&r.$vnode===r.$parent._vnode&&(r.$parent.$el=r.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Br(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();var r=e._watchers.length;while(r--)e._watchers[r].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Br(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Ir(e,t,r){var n;return e.$el=t,e.$options.render||(e.$options.render=we),Br(e,"beforeMount"),n=function(){e._update(e._render(),r)},new tn(e,n,I,{before:function(){e._isMounted&&!e._isDestroyed&&Br(e,"beforeUpdate")}},!0),r=!1,null==e.$vnode&&(e._isMounted=!0,Br(e,"mounted")),e}function jr(e,t,n,i,o){var a=i.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||l);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){Le(!1);for(var c=e._props,d=e.$options._propKeys||[],h=0;h<d.length;h++){var f=d[h],p=e.$options.props;c[f]=Ke(f,p,t,e)}Le(!0),e.$options.propsData=t}n=n||r;var m=e.$options._parentListeners;e.$options._parentListeners=n,Tr(e,n,m),u&&(e.$slots=Dt(o,i.context),e.$forceUpdate())}function Pr(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Rr(e,t){if(t){if(e._directInactive=!1,Pr(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var r=0;r<e.$children.length;r++)Rr(e.$children[r]);Br(e,"activated")}}function Nr(e,t){if((!t||(e._directInactive=!0,!Pr(e)))&&!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)Nr(e.$children[r]);Br(e,"deactivated")}}function Br(e,t){ve();var r=e.$options[t],n=t+" hook";if(r)for(var i=0,o=r.length;i<o;i++)rt(r[i],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),ye()}var Yr=[],Fr=[],zr={},Hr=!1,Vr=!1,Ur=0;function Wr(){Ur=Yr.length=Fr.length=0,zr={},Hr=Vr=!1}var $r=0,Gr=Date.now;if(K&&!ee){var qr=window.performance;qr&&"function"===typeof qr.now&&Gr()>document.createEvent("Event").timeStamp&&(Gr=function(){return qr.now()})}function Xr(){var e,t;for($r=Gr(),Vr=!0,Yr.sort((function(e,t){return e.id-t.id})),Ur=0;Ur<Yr.length;Ur++)e=Yr[Ur],e.before&&e.before(),t=e.id,zr[t]=null,e.run();var r=Fr.slice(),n=Yr.slice();Wr(),Jr(r),Kr(n),ue&&H.devtools&&ue.emit("flush")}function Kr(e){var t=e.length;while(t--){var r=e[t],n=r.vm;n._watcher===r&&n._isMounted&&!n._isDestroyed&&Br(n,"updated")}}function Zr(e){e._inactive=!1,Fr.push(e)}function Jr(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Rr(e[t],!0)}function Qr(e){var t=e.id;if(null==zr[t]){if(zr[t]=!0,Vr){var r=Yr.length-1;while(r>Ur&&Yr[r].id>e.id)r--;Yr.splice(r+1,0,e)}else Yr.push(e);Hr||(Hr=!0,pt(Xr))}}var en=0,tn=function(e,t,r,n,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++en,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};tn.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(ka){if(!this.user)throw ka;tt(ka,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},tn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},tn.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},tn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Qr(this)},tn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(ka){tt(ka,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},tn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},tn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},tn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rn={enumerable:!0,configurable:!0,get:I,set:I};function nn(e,t,r){rn.get=function(){return this[t][r]},rn.set=function(e){this[t][r]=e},Object.defineProperty(e,r,rn)}function on(e){e._watchers=[];var t=e.$options;t.props&&an(e,t.props),t.methods&&pn(e,t.methods),t.data?sn(e):Ie(e._data={},!0),t.computed&&cn(e,t.computed),t.watch&&t.watch!==oe&&mn(e,t.watch)}function an(e,t){var r=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Le(!1);var a=function(o){i.push(o);var a=Ke(o,t,r,e);je(n,o,a),o in e||nn(e,"_props",o)};for(var s in t)a(s);Le(!0)}function sn(e){var t=e.$options.data;t=e._data="function"===typeof t?ln(t,e):t||{},c(t)||(t={});var r=Object.keys(t),n=e.$options.props,i=(e.$options.methods,r.length);while(i--){var o=r[i];0,n&&_(n,o)||U(o)||nn(e,"_data",o)}Ie(t,!0)}function ln(e,t){ve();try{return e.call(t,t)}catch(ka){return tt(ka,t,"data()"),{}}finally{ye()}}var un={lazy:!0};function cn(e,t){var r=e._computedWatchers=Object.create(null),n=le();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,n||(r[i]=new tn(e,a||I,I,un)),i in e||dn(e,i,o)}}function dn(e,t,r){var n=!le();"function"===typeof r?(rn.get=n?hn(t):fn(r),rn.set=I):(rn.get=r.get?n&&!1!==r.cache?hn(t):fn(r.get):I,rn.set=r.set||I),Object.defineProperty(e,t,rn)}function hn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function fn(e){return function(){return e.call(this,this)}}function pn(e,t){e.$options.props;for(var r in t)e[r]="function"!==typeof t[r]?I:L(t[r],e)}function mn(e,t){for(var r in t){var n=t[r];if(Array.isArray(n))for(var i=0;i<n.length;i++)gn(e,r,n[i]);else gn(e,r,n)}}function gn(e,t,r,n){return c(r)&&(n=r,r=r.handler),"string"===typeof r&&(r=e[r]),e.$watch(t,r,n)}function vn(e){var t={get:function(){return this._data}},r={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",r),e.prototype.$set=Pe,e.prototype.$delete=Re,e.prototype.$watch=function(e,t,r){var n=this;if(c(t))return gn(n,e,t,r);r=r||{},r.user=!0;var i=new tn(n,e,t,r);if(r.immediate)try{t.call(n,i.value)}catch(o){tt(o,n,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var yn=0;function bn(e){e.prototype._init=function(e){var t=this;t._uid=yn++,t._isVue=!0,e&&e._isComponent?_n(t,e):t.$options=qe(wn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Dr(t),kr(t),pr(t),Br(t,"beforeCreate"),Lt(t),on(t),Ot(t),Br(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function _n(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}function wn(e){var t=e.options;if(e.super){var r=wn(e.super),n=e.superOptions;if(r!==n){e.superOptions=r;var i=xn(e);i&&D(e.extendOptions,i),t=e.options=qe(r,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function xn(e){var t,r=e.options,n=e.sealedOptions;for(var i in r)r[i]!==n[i]&&(t||(t={}),t[i]=r[i]);return t}function kn(e){this._init(e)}function Sn(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var r=A(arguments,1);return r.unshift(this),"function"===typeof e.install?e.install.apply(e,r):"function"===typeof e&&e.apply(null,r),t.push(e),this}}function Mn(e){e.mixin=function(e){return this.options=qe(this.options,e),this}}function Cn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var r=this,n=r.cid,i=e._Ctor||(e._Ctor={});if(i[n])return i[n];var o=e.name||r.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=qe(r.options,e),a["super"]=r,a.options.props&&Tn(a),a.options.computed&&On(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,F.forEach((function(e){a[e]=r[e]})),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=e,a.sealedOptions=D({},a.options),i[n]=a,a}}function Tn(e){var t=e.options.props;for(var r in t)nn(e.prototype,"_props",r)}function On(e){var t=e.options.computed;for(var r in t)dn(e.prototype,r,t[r])}function Ln(e){F.forEach((function(t){e[t]=function(e,r){return r?("component"===t&&c(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),"directive"===t&&"function"===typeof r&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}}))}function An(e){return e&&(e.Ctor.options.name||e.tag)}function Dn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function En(e,t){var r=e.cache,n=e.keys,i=e._vnode;for(var o in r){var a=r[o];if(a){var s=An(a.componentOptions);s&&!t(s)&&In(r,o,n,i)}}}function In(e,t,r,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,y(r,t)}bn(kn),vn(kn),Or(kn),Er(kn),vr(kn);var jn=[String,RegExp,Array],Pn={name:"keep-alive",abstract:!0,props:{include:jn,exclude:jn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)In(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){En(e,(function(e){return Dn(t,e)}))})),this.$watch("exclude",(function(t){En(e,(function(e){return!Dn(t,e)}))}))},render:function(){var e=this.$slots.default,t=xr(e),r=t&&t.componentOptions;if(r){var n=An(r),i=this,o=i.include,a=i.exclude;if(o&&(!n||!Dn(o,n))||a&&n&&Dn(a,n))return t;var s=this,l=s.cache,u=s.keys,c=null==t.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):t.key;l[c]?(t.componentInstance=l[c].componentInstance,y(u,c),u.push(c)):(l[c]=t,u.push(c),this.max&&u.length>parseInt(this.max)&&In(l,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Rn={KeepAlive:Pn};function Nn(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:D,mergeOptions:qe,defineReactive:je},e.set=Pe,e.delete=Re,e.nextTick=pt,e.observable=function(e){return Ie(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,D(e.options.components,Rn),Sn(e),Mn(e),Cn(e),Ln(e)}Nn(kn),Object.defineProperty(kn.prototype,"$isServer",{get:le}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Zt}),kn.version="2.6.10";var Bn=g("style,class"),Yn=g("input,textarea,option,select,progress"),Fn=function(e,t,r){return"value"===r&&Yn(e)&&"button"!==t||"selected"===r&&"option"===e||"checked"===r&&"input"===e||"muted"===r&&"video"===e},zn=g("contenteditable,draggable,spellcheck"),Hn=g("events,caret,typing,plaintext-only"),Vn=function(e,t){return qn(t)||"false"===t?"false":"contenteditable"===e&&Hn(t)?t:"true"},Un=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Wn="http://www.w3.org/1999/xlink",$n=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gn=function(e){return $n(e)?e.slice(6,e.length):""},qn=function(e){return null==e||!1===e};function Xn(e){var t=e.data,r=e,n=e;while(i(n.componentInstance))n=n.componentInstance._vnode,n&&n.data&&(t=Kn(n.data,t));while(i(r=r.parent))r&&r.data&&(t=Kn(t,r.data));return Zn(t.staticClass,t.class)}function Kn(e,t){return{staticClass:Jn(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Zn(e,t){return i(e)||i(t)?Jn(e,Qn(t)):""}function Jn(e,t){return e?t?e+" "+t:e:t||""}function Qn(e){return Array.isArray(e)?ei(e):l(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,r="",n=0,o=e.length;n<o;n++)i(t=Qn(e[n]))&&""!==t&&(r&&(r+=" "),r+=t);return r}function ti(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}var ri={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ni=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ii=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(e){return ni(e)||ii(e)};function ai(e){return ii(e)?"svg":"math"===e?"math":void 0}var si=Object.create(null);function li(e){if(!K)return!0;if(oi(e))return!1;if(e=e.toLowerCase(),null!=si[e])return si[e];var t=document.createElement(e);return e.indexOf("-")>-1?si[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:si[e]=/HTMLUnknownElement/.test(t.toString())}var ui=g("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function di(e,t){var r=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&r.setAttribute("multiple","multiple"),r}function hi(e,t){return document.createElementNS(ri[e],t)}function fi(e){return document.createTextNode(e)}function pi(e){return document.createComment(e)}function mi(e,t,r){e.insertBefore(t,r)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function _i(e){return e.tagName}function wi(e,t){e.textContent=t}function xi(e,t){e.setAttribute(t,"")}var ki=Object.freeze({createElement:di,createElementNS:hi,createTextNode:fi,createComment:pi,insertBefore:mi,removeChild:gi,appendChild:vi,parentNode:yi,nextSibling:bi,tagName:_i,setTextContent:wi,setStyleScope:xi}),Si={create:function(e,t){Mi(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Mi(e,!0),Mi(t))},destroy:function(e){Mi(e,!0)}};function Mi(e,t){var r=e.data.ref;if(i(r)){var n=e.context,o=e.componentInstance||e.elm,a=n.$refs;t?Array.isArray(a[r])?y(a[r],o):a[r]===o&&(a[r]=void 0):e.data.refInFor?Array.isArray(a[r])?a[r].indexOf(o)<0&&a[r].push(o):a[r]=[o]:a[r]=o}}var Ci=new be("",{},[]),Ti=["create","activate","update","remove","destroy"];function Oi(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Li(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function Li(e,t){if("input"!==e.tag)return!0;var r,n=i(r=e.data)&&i(r=r.attrs)&&r.type,o=i(r=t.data)&&i(r=r.attrs)&&r.type;return n===o||ui(n)&&ui(o)}function Ai(e,t,r){var n,o,a={};for(n=t;n<=r;++n)o=e[n].key,i(o)&&(a[o]=n);return a}function Di(e){var t,r,a={},l=e.modules,u=e.nodeOps;for(t=0;t<Ti.length;++t)for(a[Ti[t]]=[],r=0;r<l.length;++r)i(l[r][Ti[t]])&&a[Ti[t]].push(l[r][Ti[t]]);function c(e){return new be(u.tagName(e).toLowerCase(),{},[],void 0,e)}function d(e,t){function r(){0===--r.listeners&&h(e)}return r.listeners=t,r}function h(e){var t=u.parentNode(e);i(t)&&u.removeChild(t,e)}function f(e,t,r,n,a,s,l){if(i(e.elm)&&i(s)&&(e=s[l]=ke(e)),e.isRootInsert=!a,!p(e,t,r,n)){var c=e.data,d=e.children,h=e.tag;i(h)?(e.elm=e.ns?u.createElementNS(e.ns,h):u.createElement(h,e),x(e),b(e,d,t),i(c)&&w(e,t),y(r,e.elm,n)):o(e.isComment)?(e.elm=u.createComment(e.text),y(r,e.elm,n)):(e.elm=u.createTextNode(e.text),y(r,e.elm,n))}}function p(e,t,r,n){var a=e.data;if(i(a)){var s=i(e.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(e,!1),i(e.componentInstance))return m(e,t),y(r,e.elm,n),o(s)&&v(e,t,r,n),!0}}function m(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,_(e)?(w(e,t),x(e)):(Mi(e),t.push(e))}function v(e,t,r,n){var o,s=e;while(s.componentInstance)if(s=s.componentInstance._vnode,i(o=s.data)&&i(o=o.transition)){for(o=0;o<a.activate.length;++o)a.activate[o](Ci,s);t.push(s);break}y(r,e.elm,n)}function y(e,t,r){i(e)&&(i(r)?u.parentNode(r)===e&&u.insertBefore(e,t,r):u.appendChild(e,t))}function b(e,t,r){if(Array.isArray(t)){0;for(var n=0;n<t.length;++n)f(t[n],r,e.elm,null,!0,t,n)}else s(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function _(e){while(e.componentInstance)e=e.componentInstance._vnode;return i(e.tag)}function w(e,r){for(var n=0;n<a.create.length;++n)a.create[n](Ci,e);t=e.data.hook,i(t)&&(i(t.create)&&t.create(Ci,e),i(t.insert)&&r.push(e))}function x(e){var t;if(i(t=e.fnScopeId))u.setStyleScope(e.elm,t);else{var r=e;while(r)i(t=r.context)&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),r=r.parent}i(t=Lr)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function k(e,t,r,n,i,o){for(;n<=i;++n)f(r[n],o,e,t,!1,r,n)}function S(e){var t,r,n=e.data;if(i(n))for(i(t=n.hook)&&i(t=t.destroy)&&t(e),t=0;t<a.destroy.length;++t)a.destroy[t](e);if(i(t=e.children))for(r=0;r<e.children.length;++r)S(e.children[r])}function M(e,t,r,n){for(;r<=n;++r){var o=t[r];i(o)&&(i(o.tag)?(C(o),S(o)):h(o.elm))}}function C(e,t){if(i(t)||i(e.data)){var r,n=a.remove.length+1;for(i(t)?t.listeners+=n:t=d(e.elm,n),i(r=e.componentInstance)&&i(r=r._vnode)&&i(r.data)&&C(r,t),r=0;r<a.remove.length;++r)a.remove[r](e,t);i(r=e.data.hook)&&i(r=r.remove)?r(e,t):t()}else h(e.elm)}function T(e,t,r,o,a){var s,l,c,d,h=0,p=0,m=t.length-1,g=t[0],v=t[m],y=r.length-1,b=r[0],_=r[y],w=!a;while(h<=m&&p<=y)n(g)?g=t[++h]:n(v)?v=t[--m]:Oi(g,b)?(L(g,b,o,r,p),g=t[++h],b=r[++p]):Oi(v,_)?(L(v,_,o,r,y),v=t[--m],_=r[--y]):Oi(g,_)?(L(g,_,o,r,y),w&&u.insertBefore(e,g.elm,u.nextSibling(v.elm)),g=t[++h],_=r[--y]):Oi(v,b)?(L(v,b,o,r,p),w&&u.insertBefore(e,v.elm,g.elm),v=t[--m],b=r[++p]):(n(s)&&(s=Ai(t,h,m)),l=i(b.key)?s[b.key]:O(b,t,h,m),n(l)?f(b,o,e,g.elm,!1,r,p):(c=t[l],Oi(c,b)?(L(c,b,o,r,p),t[l]=void 0,w&&u.insertBefore(e,c.elm,g.elm)):f(b,o,e,g.elm,!1,r,p)),b=r[++p]);h>m?(d=n(r[y+1])?null:r[y+1].elm,k(e,d,r,p,y,o)):p>y&&M(e,t,h,m)}function O(e,t,r,n){for(var o=r;o<n;o++){var a=t[o];if(i(a)&&Oi(e,a))return o}}function L(e,t,r,s,l,c){if(e!==t){i(t.elm)&&i(s)&&(t=s[l]=ke(t));var d=t.elm=e.elm;if(o(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?E(e.elm,t,r):t.isAsyncPlaceholder=!0;else if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))t.componentInstance=e.componentInstance;else{var h,f=t.data;i(f)&&i(h=f.hook)&&i(h=h.prepatch)&&h(e,t);var p=e.children,m=t.children;if(i(f)&&_(t)){for(h=0;h<a.update.length;++h)a.update[h](e,t);i(h=f.hook)&&i(h=h.update)&&h(e,t)}n(t.text)?i(p)&&i(m)?p!==m&&T(d,p,m,r,c):i(m)?(i(e.text)&&u.setTextContent(d,""),k(d,null,m,0,m.length-1,r)):i(p)?M(d,p,0,p.length-1):i(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),i(f)&&i(h=f.hook)&&i(h=h.postpatch)&&h(e,t)}}}function A(e,t,r){if(o(r)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var n=0;n<t.length;++n)t[n].data.hook.insert(t[n])}var D=g("attrs,class,staticClass,staticStyle,key");function E(e,t,r,n){var a,s=t.tag,l=t.data,u=t.children;if(n=n||l&&l.pre,t.elm=e,o(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(i(l)&&(i(a=l.hook)&&i(a=a.init)&&a(t,!0),i(a=t.componentInstance)))return m(t,r),!0;if(i(s)){if(i(u))if(e.hasChildNodes())if(i(a=l)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var c=!0,d=e.firstChild,h=0;h<u.length;h++){if(!d||!E(d,u[h],r,n)){c=!1;break}d=d.nextSibling}if(!c||d)return!1}else b(t,u,r);if(i(l)){var f=!1;for(var p in l)if(!D(p)){f=!0,w(t,r);break}!f&&l["class"]&>(l["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,r,s){if(!n(t)){var l=!1,d=[];if(n(e))l=!0,f(t,d);else{var h=i(e.nodeType);if(!h&&Oi(e,t))L(e,t,d,null,null,s);else{if(h){if(1===e.nodeType&&e.hasAttribute(Y)&&(e.removeAttribute(Y),r=!0),o(r)&&E(e,t,d))return A(t,d,!0),e;e=c(e)}var p=e.elm,m=u.parentNode(p);if(f(t,d,p._leaveCb?null:m,u.nextSibling(p)),i(t.parent)){var g=t.parent,v=_(t);while(g){for(var y=0;y<a.destroy.length;++y)a.destroy[y](g);if(g.elm=t.elm,v){for(var b=0;b<a.create.length;++b)a.create[b](Ci,g);var w=g.data.hook.insert;if(w.merged)for(var x=1;x<w.fns.length;x++)w.fns[x]()}else Mi(g);g=g.parent}}i(m)?M(m,[e],0,0):i(e.tag)&&S(e)}}return A(t,d,l),t.elm}i(e)&&S(e)}}var Ei={create:Ii,update:Ii,destroy:function(e){Ii(e,Ci)}};function Ii(e,t){(e.data.directives||t.data.directives)&&ji(e,t)}function ji(e,t){var r,n,i,o=e===Ci,a=t===Ci,s=Ri(e.data.directives,e.context),l=Ri(t.data.directives,t.context),u=[],c=[];for(r in l)n=s[r],i=l[r],n?(i.oldValue=n.value,i.oldArg=n.arg,Bi(i,"update",t,e),i.def&&i.def.componentUpdated&&c.push(i)):(Bi(i,"bind",t,e),i.def&&i.def.inserted&&u.push(i));if(u.length){var d=function(){for(var r=0;r<u.length;r++)Bi(u[r],"inserted",t,e)};o?wt(t,"insert",d):d()}if(c.length&&wt(t,"postpatch",(function(){for(var r=0;r<c.length;r++)Bi(c[r],"componentUpdated",t,e)})),!o)for(r in s)l[r]||Bi(s[r],"unbind",e,e,a)}var Pi=Object.create(null);function Ri(e,t){var r,n,i=Object.create(null);if(!e)return i;for(r=0;r<e.length;r++)n=e[r],n.modifiers||(n.modifiers=Pi),i[Ni(n)]=n,n.def=Xe(t.$options,"directives",n.name,!0);return i}function Ni(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Bi(e,t,r,n,i){var o=e.def&&e.def[t];if(o)try{o(r.elm,e,r,n,i)}catch(ka){tt(ka,r.context,"directive "+e.name+" "+t+" hook")}}var Yi=[Si,Ei];function Fi(e,t){var r=t.componentOptions;if((!i(r)||!1!==r.Ctor.options.inheritAttrs)&&(!n(e.data.attrs)||!n(t.data.attrs))){var o,a,s,l=t.elm,u=e.data.attrs||{},c=t.data.attrs||{};for(o in i(c.__ob__)&&(c=t.data.attrs=D({},c)),c)a=c[o],s=u[o],s!==a&&zi(l,o,a);for(o in(ee||re)&&c.value!==u.value&&zi(l,"value",c.value),u)n(c[o])&&($n(o)?l.removeAttributeNS(Wn,Gn(o)):zn(o)||l.removeAttribute(o))}}function zi(e,t,r){e.tagName.indexOf("-")>-1?Hi(e,t,r):Un(t)?qn(r)?e.removeAttribute(t):(r="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,r)):zn(t)?e.setAttribute(t,Vn(t,r)):$n(t)?qn(r)?e.removeAttributeNS(Wn,Gn(t)):e.setAttributeNS(Wn,t,r):Hi(e,t,r)}function Hi(e,t,r){if(qn(r))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==r&&!e.__ieph){var n=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,r)}}var Vi={create:Fi,update:Fi};function Ui(e,t){var r=t.elm,o=t.data,a=e.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Xn(t),l=r._transitionClasses;i(l)&&(s=Jn(s,Qn(l))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var Wi,$i={create:Ui,update:Ui},Gi="__r",qi="__c";function Xi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[qi])&&(e.change=[].concat(e[qi],e.change||[]),delete e[qi])}function Ki(e,t,r){var n=Wi;return function i(){var o=t.apply(null,arguments);null!==o&&Qi(e,i,r,n)}}var Zi=at&&!(ie&&Number(ie[1])<=53);function Ji(e,t,r,n){if(Zi){var i=$r,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(e,t,ae?{capture:r,passive:n}:r)}function Qi(e,t,r,n){(n||Wi).removeEventListener(e,t._wrapper||t,r)}function eo(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};Wi=t.elm,Xi(r),_t(r,i,Ji,Qi,Ki,t.context),Wi=void 0}}var to,ro={create:eo,update:eo};function no(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var r,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(r in i(l.__ob__)&&(l=t.data.domProps=D({},l)),s)r in l||(a[r]="");for(r in l){if(o=l[r],"textContent"===r||"innerHTML"===r){if(t.children&&(t.children.length=0),o===s[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r&&"PROGRESS"!==a.tagName){a._value=o;var u=n(o)?"":String(o);io(a,u)&&(a.value=u)}else if("innerHTML"===r&&ii(a.tagName)&&n(a.innerHTML)){to=to||document.createElement("div"),to.innerHTML="<svg>"+o+"</svg>";var c=to.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[r])try{a[r]=o}catch(ka){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||ao(e,t))}function oo(e,t){var r=!0;try{r=document.activeElement!==e}catch(ka){}return r&&e.value!==t}function ao(e,t){var r=e.value,n=e._vModifiers;if(i(n)){if(n.number)return m(r)!==m(t);if(n.trim)return r.trim()!==t.trim()}return r!==t}var so={create:no,update:no},lo=w((function(e){var t={},r=/;(?![^(]*\))/g,n=/:(.+)/;return e.split(r).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function uo(e){var t=co(e.style);return e.staticStyle?D(e.staticStyle,t):t}function co(e){return Array.isArray(e)?E(e):"string"===typeof e?lo(e):e}function ho(e,t){var r,n={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(r=uo(i.data))&&D(n,r)}(r=uo(e.data))&&D(n,r);var o=e;while(o=o.parent)o.data&&(r=uo(o.data))&&D(n,r);return n}var fo,po=/^--/,mo=/\s*!important$/,go=function(e,t,r){if(po.test(t))e.style.setProperty(t,r);else if(mo.test(r))e.style.setProperty(C(t),r.replace(mo,""),"important");else{var n=yo(t);if(Array.isArray(r))for(var i=0,o=r.length;i<o;i++)e.style[n]=r[i];else e.style[n]=r}},vo=["Webkit","Moz","ms"],yo=w((function(e){if(fo=fo||document.createElement("div").style,e=k(e),"filter"!==e&&e in fo)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<vo.length;r++){var n=vo[r]+t;if(n in fo)return n}}));function bo(e,t){var r=t.data,o=e.data;if(!(n(r.staticStyle)&&n(r.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},d=u||c,h=co(t.data.style)||{};t.data.normalizedStyle=i(h.__ob__)?D({},h):h;var f=ho(t,!0);for(s in d)n(f[s])&&go(l,s,"");for(s in f)a=f[s],a!==d[s]&&go(l,s,null==a?"":a)}}var _o={create:bo,update:bo},wo=/\s+/;function xo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var r=" "+(e.getAttribute("class")||"")+" ";r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function ko(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var r=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";while(r.indexOf(n)>=0)r=r.replace(n," ");r=r.trim(),r?e.setAttribute("class",r):e.removeAttribute("class")}}function So(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&D(t,Mo(e.name||"v")),D(t,e),t}return"string"===typeof e?Mo(e):void 0}}var Mo=w((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Co=K&&!te,To="transition",Oo="animation",Lo="transition",Ao="transitionend",Do="animation",Eo="animationend";Co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Lo="WebkitTransition",Ao="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Do="WebkitAnimation",Eo="webkitAnimationEnd"));var Io=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function jo(e){Io((function(){Io(e)}))}function Po(e,t){var r=e._transitionClasses||(e._transitionClasses=[]);r.indexOf(t)<0&&(r.push(t),xo(e,t))}function Ro(e,t){e._transitionClasses&&y(e._transitionClasses,t),ko(e,t)}function No(e,t,r){var n=Yo(e,t),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===To?Ao:Eo,l=0,u=function(){e.removeEventListener(s,c),r()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),e.addEventListener(s,c)}var Bo=/\b(transform|all)(,|$)/;function Yo(e,t){var r,n=window.getComputedStyle(e),i=(n[Lo+"Delay"]||"").split(", "),o=(n[Lo+"Duration"]||"").split(", "),a=Fo(i,o),s=(n[Do+"Delay"]||"").split(", "),l=(n[Do+"Duration"]||"").split(", "),u=Fo(s,l),c=0,d=0;t===To?a>0&&(r=To,c=a,d=o.length):t===Oo?u>0&&(r=Oo,c=u,d=l.length):(c=Math.max(a,u),r=c>0?a>u?To:Oo:null,d=r?r===To?o.length:l.length:0);var h=r===To&&Bo.test(n[Lo+"Property"]);return{type:r,timeout:c,propCount:d,hasTransform:h}}function Fo(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map((function(t,r){return zo(t)+zo(e[r])})))}function zo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ho(e,t){var r=e.elm;i(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var o=So(e.data.transition);if(!n(o)&&!i(r._enterCb)&&1===r.nodeType){var a=o.css,s=o.type,u=o.enterClass,c=o.enterToClass,d=o.enterActiveClass,h=o.appearClass,f=o.appearToClass,p=o.appearActiveClass,g=o.beforeEnter,v=o.enter,y=o.afterEnter,b=o.enterCancelled,_=o.beforeAppear,w=o.appear,x=o.afterAppear,k=o.appearCancelled,S=o.duration,M=Lr,C=Lr.$vnode;while(C&&C.parent)M=C.context,C=C.parent;var T=!M._isMounted||!e.isRootInsert;if(!T||w||""===w){var O=T&&h?h:u,L=T&&p?p:d,A=T&&f?f:c,D=T&&_||g,E=T&&"function"===typeof w?w:v,I=T&&x||y,j=T&&k||b,P=m(l(S)?S.enter:S);0;var R=!1!==a&&!te,N=Wo(E),Y=r._enterCb=B((function(){R&&(Ro(r,A),Ro(r,L)),Y.cancelled?(R&&Ro(r,O),j&&j(r)):I&&I(r),r._enterCb=null}));e.data.show||wt(e,"insert",(function(){var t=r.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),E&&E(r,Y)})),D&&D(r),R&&(Po(r,O),Po(r,L),jo((function(){Ro(r,O),Y.cancelled||(Po(r,A),N||(Uo(P)?setTimeout(Y,P):No(r,s,Y)))}))),e.data.show&&(t&&t(),E&&E(r,Y)),R||N||Y()}}}function Vo(e,t){var r=e.elm;i(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var o=So(e.data.transition);if(n(o)||1!==r.nodeType)return t();if(!i(r._leaveCb)){var a=o.css,s=o.type,u=o.leaveClass,c=o.leaveToClass,d=o.leaveActiveClass,h=o.beforeLeave,f=o.leave,p=o.afterLeave,g=o.leaveCancelled,v=o.delayLeave,y=o.duration,b=!1!==a&&!te,_=Wo(f),w=m(l(y)?y.leave:y);0;var x=r._leaveCb=B((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),b&&(Ro(r,c),Ro(r,d)),x.cancelled?(b&&Ro(r,u),g&&g(r)):(t(),p&&p(r)),r._leaveCb=null}));v?v(k):k()}function k(){x.cancelled||(!e.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),h&&h(r),b&&(Po(r,u),Po(r,d),jo((function(){Ro(r,u),x.cancelled||(Po(r,c),_||(Uo(w)?setTimeout(x,w):No(r,s,x)))}))),f&&f(r,x),b||_||x())}}function Uo(e){return"number"===typeof e&&!isNaN(e)}function Wo(e){if(n(e))return!1;var t=e.fns;return i(t)?Wo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function $o(e,t){!0!==t.data.show&&Ho(t)}var Go=K?{create:$o,activate:$o,remove:function(e,t){!0!==e.data.show?Vo(e,t):t()}}:{},qo=[Vi,$i,ro,so,_o,Go],Xo=qo.concat(Yi),Ko=Di({nodeOps:ki,modules:Xo});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ia(e,"input")}));var Zo={inserted:function(e,t,r,n){"select"===r.tag?(n.elm&&!n.elm._vOptions?wt(r,"postpatch",(function(){Zo.componentUpdated(e,t,r)})):Jo(e,t,r.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===r.tag||ui(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ra),e.addEventListener("compositionend",na),e.addEventListener("change",na),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,r){if("select"===r.tag){Jo(e,t,r.context);var n=e._vOptions,i=e._vOptions=[].map.call(e.options,ta);if(i.some((function(e,t){return!R(e,n[t])}))){var o=e.multiple?t.value.some((function(e){return ea(e,i)})):t.value!==t.oldValue&&ea(t.value,i);o&&ia(e,"change")}}}};function Jo(e,t,r){Qo(e,t,r),(ee||re)&&setTimeout((function(){Qo(e,t,r)}),0)}function Qo(e,t,r){var n=t.value,i=e.multiple;if(!i||Array.isArray(n)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=N(n,ta(a))>-1,a.selected!==o&&(a.selected=o);else if(R(ta(a),n))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!R(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function ra(e){e.target.composing=!0}function na(e){e.target.composing&&(e.target.composing=!1,ia(e.target,"input"))}function ia(e,t){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}function oa(e){return!e.componentInstance||e.data&&e.data.transition?e:oa(e.componentInstance._vnode)}var aa={bind:function(e,t,r){var n=t.value;r=oa(r);var i=r.data&&r.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;n&&i?(r.data.show=!0,Ho(r,(function(){e.style.display=o}))):e.style.display=n?o:"none"},update:function(e,t,r){var n=t.value,i=t.oldValue;if(!n!==!i){r=oa(r);var o=r.data&&r.data.transition;o?(r.data.show=!0,n?Ho(r,(function(){e.style.display=e.__vOriginalDisplay})):Vo(r,(function(){e.style.display="none"}))):e.style.display=n?e.__vOriginalDisplay:"none"}},unbind:function(e,t,r,n,i){i||(e.style.display=e.__vOriginalDisplay)}},sa={model:Zo,show:aa},la={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ua(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ua(xr(t.children)):e}function ca(e){var t={},r=e.$options;for(var n in r.propsData)t[n]=e[n];var i=r._parentListeners;for(var o in i)t[k(o)]=i[o];return t}function da(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function ha(e){while(e=e.parent)if(e.data.transition)return!0}function fa(e,t){return t.key===e.key&&t.tag===e.tag}var pa=function(e){return e.tag||wr(e)},ma=function(e){return"show"===e.name},ga={name:"transition",props:la,abstract:!0,render:function(e){var t=this,r=this.$slots.default;if(r&&(r=r.filter(pa),r.length)){0;var n=this.mode;0;var i=r[0];if(ha(this.$vnode))return i;var o=ua(i);if(!o)return i;if(this._leaving)return da(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=ca(this),u=this._vnode,c=ua(u);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),c&&c.data&&!fa(o,c)&&!wr(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=D({},l);if("out-in"===n)return this._leaving=!0,wt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),da(e,i);if("in-out"===n){if(wr(o))return u;var h,f=function(){h()};wt(l,"afterEnter",f),wt(l,"enterCancelled",f),wt(d,"delayLeave",(function(e){h=e}))}}return i}}},va=D({tag:String,moveClass:String},la);delete va.mode;var ya={props:va,beforeMount:function(){var e=this,t=this._update;this._update=function(r,n){var i=Ar(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,r,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s<i.length;s++){var l=i[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),r[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(n){for(var u=[],c=[],d=0;d<n.length;d++){var h=n[d];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),r[h.key]?u.push(h):c.push(h)}this.kept=e(t,null,u),this.removed=c}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ba),e.forEach(_a),e.forEach(wa),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var r=e.elm,n=r.style;Po(r,t),n.transform=n.WebkitTransform=n.transitionDuration="",r.addEventListener(Ao,r._moveCb=function e(n){n&&n.target!==r||n&&!/transform$/.test(n.propertyName)||(r.removeEventListener(Ao,e),r._moveCb=null,Ro(r,t))})}})))},methods:{hasMove:function(e,t){if(!Co)return!1;if(this._hasMove)return this._hasMove;var r=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){ko(r,e)})),xo(r,t),r.style.display="none",this.$el.appendChild(r);var n=Yo(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function ba(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function _a(e){e.data.newPos=e.elm.getBoundingClientRect()}function wa(e){var t=e.data.pos,r=e.data.newPos,n=t.left-r.left,i=t.top-r.top;if(n||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+n+"px,"+i+"px)",o.transitionDuration="0s"}}var xa={Transition:ga,TransitionGroup:ya};kn.config.mustUseProp=Fn,kn.config.isReservedTag=oi,kn.config.isReservedAttr=Bn,kn.config.getTagNamespace=ai,kn.config.isUnknownElement=li,D(kn.options.directives,sa),D(kn.options.components,xa),kn.prototype.__patch__=K?Ko:I,kn.prototype.$mount=function(e,t){return e=e&&K?ci(e):void 0,Ir(this,e,t)},K&&setTimeout((function(){H.devtools&&ue&&ue.emit("init",kn)}),0),t["default"]=kn}.call(this,r("24aa"))},"2b4c":function(e,t,r){var n=r("5537")("wks"),i=r("ca5a"),o=r("7726").Symbol,a="function"==typeof o,s=e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=n},"2b79":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("df2f"),r("5980"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,a=o.MD5,s=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var r,n=this.cfg,o=n.hasher.create(),a=i.create(),s=a.words,l=n.keySize,u=n.iterations;while(s.length<l){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var c=1;c<u;c++)r=o.finalize(r),o.reset();a.concat(r)}return a.sigBytes=4*l,a}});t.EvpKDF=function(e,t,r){return s.create(r).compute(e,t)}}(),e.EvpKDF}))},"2bfb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"vm":"VM":r?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},"2caf":function(e,t,r){var n=r("5ca1");n(n.S,"Array",{isArray:r("1169")})},"2d00":function(e,t){e.exports=!1},"2d34":function(e,t,r){var n=r("5ca1"),i=r("38fd"),o=r("cb7c");n(n.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},"2d5c":function(e,t){var r=Math.expm1;e.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:r},"2d63":function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r("f921"),i=r.n(n),o=r("d8d6"),a=r.n(o),s=r("f410"),l=r.n(s),u=r("e630");function c(e,t){var r="undefined"!==typeof i.a&&e[a.a]||e["@@iterator"];if(!r){if(l()(e)||(r=Object(u["a"])(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,d=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){d=!0,s=e},f:function(){try{c||null==r["return"]||r["return"]()}finally{if(d)throw s}}}}},"2d83":function(e,t,r){"use strict";var n=r("387f");e.exports=function(e,t,r,i,o){var a=new Error(e);return n(a,t,r,i,o)}},"2d95":function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},"2db9":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCurveToPolyline=b,t.getBezierCurveLength=_,t["default"]=void 0;var i=n(r("278c")),o=n(r("448a")),a=Math.sqrt,s=Math.pow,l=Math.ceil,u=Math.abs,c=50;function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=e.length-1,n=e[0],i=e[r][2],a=e.slice(1),s=a.map((function(e,t){var r=0===t?n:a[t-1][2];return h.apply(void 0,[r].concat((0,o["default"])(e)))})),l=new Array(r).fill(c),u=g(s,l),d=y(u,s,a,t);return d.segmentPoints.push(i),d}function h(e,t,r,n){return function(i){var o=1-i,a=s(o,3),l=s(o,2),u=s(i,3),c=s(i,2);return[e[0]*a+3*t[0]*i*l+3*r[0]*c*o+n[0]*u,e[1]*a+3*t[1]*i*l+3*r[1]*c*o+n[1]*u]}}function f(e,t){var r=(0,i["default"])(e,2),n=r[0],o=r[1],l=(0,i["default"])(t,2),u=l[0],c=l[1];return a(s(n-u,2)+s(o-c,2))}function p(e){return e.reduce((function(e,t){return e+t}),0)}function m(e){return e.map((function(e,t){return new Array(e.length-1).fill(0).map((function(t,r){return f(e[r],e[r+1])}))}))}function g(e,t){return e.map((function(e,r){var n=1/t[r];return new Array(t[r]).fill("").map((function(t,r){return e(r*n)}))}))}function v(e,t){return e.map((function(e){return e.map((function(e){return u(e-t)}))})).map((function(e){return p(e)})).reduce((function(e,t){return e+t}),0)}function y(e,t,r,n){var i=4,o=1,a=function(){var a=e.reduce((function(e,t){return e+t.length}),0);e.forEach((function(e,t){return e.push(r[t][2])}));var s=m(e),u=s.reduce((function(e,t){return e+t.length}),0),c=s.map((function(e){return p(e)})),d=p(c),h=d/u,f=v(s,h);if(f<=n)return"break";a=l(h/n*a*1.1);var y=c.map((function(e){return l(e/d*a)}));e=g(t,y),a=e.reduce((function(e,t){return e+t.length}),0);var b=JSON.parse(JSON.stringify(e));b.forEach((function(e,t){return e.push(r[t][2])})),s=m(b),u=s.reduce((function(e,t){return e+t.length}),0),c=s.map((function(e){return p(e)})),d=p(c),h=d/u;var _=1/a/10;t.forEach((function(t,r){for(var n=y[r],o=new Array(n).fill("").map((function(e,t){return t/y[r]})),a=0;a<i;a++)for(var s=m([e[r]])[0],l=s.map((function(e){return e-h})),u=0,c=0;c<n;c++){if(0===c)return;u+=l[c-1],o[c]-=_*u,o[c]>1&&(o[c]=1),o[c]<0&&(o[c]=0),e[r][c]=t(o[c])}})),i*=4,o++};do{var s=a();if("break"===s)break}while(i<=1025);return e=e.reduce((function(e,t){return e.concat(t)}),[]),{segmentPoints:e,cycles:o,rounds:i}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("bezierCurveToPolyline: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("bezierCurveToPolyline: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("bezierCurveToPolyline: Parameter precision must be a number!"),!1;var r=d(e,t),n=r.segmentPoints;return n}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("getBezierCurveLength: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("getBezierCurveLength: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("getBezierCurveLength: Parameter precision must be a number!"),!1;var r=d(e,t),n=r.segmentPoints,i=m([n])[0],o=p(i);return o}var w=b;t["default"]=w},"2e08":function(e,t,r){var n=r("9def"),i=r("9744"),o=r("be13");e.exports=function(e,t,r,a){var s=String(o(e)),l=s.length,u=void 0===r?" ":String(r),c=n(t);if(c<=l||""==u)return s;var d=c-l,h=i.call(u,Math.ceil(d/u.length));return h.length>d&&(h=h.slice(0,d)),a?h+s:s+h}},"2e37":function(e,t,r){var n=r("5ca1");n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},"2e67":function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e8c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t}))},"2ef0":function(e,t,r){(function(e,n){var i;
|
||
/**
|
||
* @license
|
||
* Lodash <https://lodash.com/>
|
||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||
* Released under MIT license <https://lodash.com/license>
|
||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
*/(function(){var o,a="4.17.21",s=200,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,f="__lodash_placeholder__",p=1,m=2,g=4,v=1,y=2,b=1,_=2,w=4,x=8,k=16,S=32,M=64,C=128,T=256,O=512,L=30,A="...",D=800,E=16,I=1,j=2,P=3,R=1/0,N=9007199254740991,B=17976931348623157e292,Y=NaN,F=4294967295,z=F-1,H=F>>>1,V=[["ary",C],["bind",b],["bindKey",_],["curry",x],["curryRight",k],["flip",O],["partial",S],["partialRight",M],["rearg",T]],U="[object Arguments]",W="[object Array]",$="[object AsyncFunction]",G="[object Boolean]",q="[object Date]",X="[object DOMException]",K="[object Error]",Z="[object Function]",J="[object GeneratorFunction]",Q="[object Map]",ee="[object Number]",te="[object Null]",re="[object Object]",ne="[object Promise]",ie="[object Proxy]",oe="[object RegExp]",ae="[object Set]",se="[object String]",le="[object Symbol]",ue="[object Undefined]",ce="[object WeakMap]",de="[object WeakSet]",he="[object ArrayBuffer]",fe="[object DataView]",pe="[object Float32Array]",me="[object Float64Array]",ge="[object Int8Array]",ve="[object Int16Array]",ye="[object Int32Array]",be="[object Uint8Array]",_e="[object Uint8ClampedArray]",we="[object Uint16Array]",xe="[object Uint32Array]",ke=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,Me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ce=/&(?:amp|lt|gt|quot|#39);/g,Te=/[&<>"']/g,Oe=RegExp(Ce.source),Le=RegExp(Te.source),Ae=/<%-([\s\S]+?)%>/g,De=/<%([\s\S]+?)%>/g,Ee=/<%=([\s\S]+?)%>/g,Ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,je=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Re.source),Be=/^\s+/,Ye=/\s/,Fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,Ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ue=/[()=,{}\[\]\/\s]/,We=/\\(\\)?/g,$e=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ge=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,rt="\\ud800-\\udfff",nt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",at=nt+it+ot,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ut="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",ht=" \\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",ft="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",mt=ut+ct+dt+ht,gt="['’]",vt="["+rt+"]",yt="["+mt+"]",bt="["+at+"]",_t="\\d+",wt="["+st+"]",xt="["+lt+"]",kt="[^"+rt+mt+_t+st+lt+ft+"]",St="\\ud83c[\\udffb-\\udfff]",Mt="(?:"+bt+"|"+St+")",Ct="[^"+rt+"]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ot="[\\ud800-\\udbff][\\udc00-\\udfff]",Lt="["+ft+"]",At="\\u200d",Dt="(?:"+xt+"|"+kt+")",Et="(?:"+Lt+"|"+kt+")",It="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",jt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Pt=Mt+"?",Rt="["+pt+"]?",Nt="(?:"+At+"(?:"+[Ct,Tt,Ot].join("|")+")"+Rt+Pt+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Yt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ft=Rt+Pt+Nt,zt="(?:"+[wt,Tt,Ot].join("|")+")"+Ft,Ht="(?:"+[Ct+bt+"?",bt,Tt,Ot,vt].join("|")+")",Vt=RegExp(gt,"g"),Ut=RegExp(bt,"g"),Wt=RegExp(St+"(?="+St+")|"+Ht+Ft,"g"),$t=RegExp([Lt+"?"+xt+"+"+It+"(?="+[yt,Lt,"$"].join("|")+")",Et+"+"+jt+"(?="+[yt,Lt+Dt,"$"].join("|")+")",Lt+"?"+Dt+"+"+It,Lt+"+"+jt,Yt,Bt,_t,zt].join("|"),"g"),Gt=RegExp("["+At+rt+at+pt+"]"),qt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kt=-1,Zt={};Zt[pe]=Zt[me]=Zt[ge]=Zt[ve]=Zt[ye]=Zt[be]=Zt[_e]=Zt[we]=Zt[xe]=!0,Zt[U]=Zt[W]=Zt[he]=Zt[G]=Zt[fe]=Zt[q]=Zt[K]=Zt[Z]=Zt[Q]=Zt[ee]=Zt[re]=Zt[oe]=Zt[ae]=Zt[se]=Zt[ce]=!1;var Jt={};Jt[U]=Jt[W]=Jt[he]=Jt[fe]=Jt[G]=Jt[q]=Jt[pe]=Jt[me]=Jt[ge]=Jt[ve]=Jt[ye]=Jt[Q]=Jt[ee]=Jt[re]=Jt[oe]=Jt[ae]=Jt[se]=Jt[le]=Jt[be]=Jt[_e]=Jt[we]=Jt[xe]=!0,Jt[K]=Jt[Z]=Jt[ce]=!1;var Qt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},er={"&":"&","<":"<",">":">",'"':""","'":"'"},tr={"&":"&","<":"<",">":">",""":'"',"'":"'"},rr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nr=parseFloat,ir=parseInt,or="object"==typeof e&&e&&e.Object===Object&&e,ar="object"==typeof self&&self&&self.Object===Object&&self,sr=or||ar||Function("return this")(),lr=t&&!t.nodeType&&t,ur=lr&&"object"==typeof n&&n&&!n.nodeType&&n,cr=ur&&ur.exports===lr,dr=cr&&or.process,hr=function(){try{var e=ur&&ur.require&&ur.require("util").types;return e||dr&&dr.binding&&dr.binding("util")}catch(t){}}(),fr=hr&&hr.isArrayBuffer,pr=hr&&hr.isDate,mr=hr&&hr.isMap,gr=hr&&hr.isRegExp,vr=hr&&hr.isSet,yr=hr&&hr.isTypedArray;function br(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function _r(e,t,r,n){var i=-1,o=null==e?0:e.length;while(++i<o){var a=e[i];t(n,a,r(a),e)}return n}function wr(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(!1===t(e[r],r,e))break;return e}function xr(e,t){var r=null==e?0:e.length;while(r--)if(!1===t(e[r],r,e))break;return e}function kr(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(!t(e[r],r,e))return!1;return!0}function Sr(e,t){var r=-1,n=null==e?0:e.length,i=0,o=[];while(++r<n){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}function Mr(e,t){var r=null==e?0:e.length;return!!r&&Nr(e,t,0)>-1}function Cr(e,t,r){var n=-1,i=null==e?0:e.length;while(++n<i)if(r(t,e[n]))return!0;return!1}function Tr(e,t){var r=-1,n=null==e?0:e.length,i=Array(n);while(++r<n)i[r]=t(e[r],r,e);return i}function Or(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}function Lr(e,t,r,n){var i=-1,o=null==e?0:e.length;n&&o&&(r=e[++i]);while(++i<o)r=t(r,e[i],i,e);return r}function Ar(e,t,r,n){var i=null==e?0:e.length;n&&i&&(r=e[--i]);while(i--)r=t(r,e[i],i,e);return r}function Dr(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(t(e[r],r,e))return!0;return!1}var Er=zr("length");function Ir(e){return e.split("")}function jr(e){return e.match(Ve)||[]}function Pr(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function Rr(e,t,r,n){var i=e.length,o=r+(n?1:-1);while(n?o--:++o<i)if(t(e[o],o,e))return o;return-1}function Nr(e,t,r){return t===t?pn(e,t,r):Rr(e,Yr,r)}function Br(e,t,r,n){var i=r-1,o=e.length;while(++i<o)if(n(e[i],t))return i;return-1}function Yr(e){return e!==e}function Fr(e,t){var r=null==e?0:e.length;return r?Wr(e,t)/r:Y}function zr(e){return function(t){return null==t?o:t[e]}}function Hr(e){return function(t){return null==e?o:e[t]}}function Vr(e,t,r,n,i){return i(e,(function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)})),r}function Ur(e,t){var r=e.length;e.sort(t);while(r--)e[r]=e[r].value;return e}function Wr(e,t){var r,n=-1,i=e.length;while(++n<i){var a=t(e[n]);a!==o&&(r=r===o?a:r+a)}return r}function $r(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function Gr(e,t){return Tr(t,(function(t){return[t,e[t]]}))}function qr(e){return e?e.slice(0,yn(e)+1).replace(Be,""):e}function Xr(e){return function(t){return e(t)}}function Kr(e,t){return Tr(t,(function(t){return e[t]}))}function Zr(e,t){return e.has(t)}function Jr(e,t){var r=-1,n=e.length;while(++r<n&&Nr(t,e[r],0)>-1);return r}function Qr(e,t){var r=e.length;while(r--&&Nr(t,e[r],0)>-1);return r}function en(e,t){var r=e.length,n=0;while(r--)e[r]===t&&++n;return n}var tn=Hr(Qt),rn=Hr(er);function nn(e){return"\\"+rr[e]}function on(e,t){return null==e?o:e[t]}function an(e){return Gt.test(e)}function sn(e){return qt.test(e)}function ln(e){var t,r=[];while(!(t=e.next()).done)r.push(t.value);return r}function un(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function cn(e,t){return function(r){return e(t(r))}}function dn(e,t){var r=-1,n=e.length,i=0,o=[];while(++r<n){var a=e[r];a!==t&&a!==f||(e[r]=f,o[i++]=r)}return o}function hn(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function fn(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function pn(e,t,r){var n=r-1,i=e.length;while(++n<i)if(e[n]===t)return n;return-1}function mn(e,t,r){var n=r+1;while(n--)if(e[n]===t)return n;return n}function gn(e){return an(e)?_n(e):Er(e)}function vn(e){return an(e)?wn(e):Ir(e)}function yn(e){var t=e.length;while(t--&&Ye.test(e.charAt(t)));return t}var bn=Hr(tr);function _n(e){var t=Wt.lastIndex=0;while(Wt.test(e))++t;return t}function wn(e){return e.match(Wt)||[]}function xn(e){return e.match($t)||[]}var kn=function e(t){t=null==t?sr:Sn.defaults(sr.Object(),t,Sn.pick(sr,Xt));var r=t.Array,n=t.Date,i=t.Error,Ye=t.Function,Ve=t.Math,rt=t.Object,nt=t.RegExp,it=t.String,ot=t.TypeError,at=r.prototype,st=Ye.prototype,lt=rt.prototype,ut=t["__core-js_shared__"],ct=st.toString,dt=lt.hasOwnProperty,ht=0,ft=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pt=lt.toString,mt=ct.call(rt),gt=sr._,vt=nt("^"+ct.call(dt).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=cr?t.Buffer:o,bt=t.Symbol,_t=t.Uint8Array,wt=yt?yt.allocUnsafe:o,xt=cn(rt.getPrototypeOf,rt),kt=rt.create,St=lt.propertyIsEnumerable,Mt=at.splice,Ct=bt?bt.isConcatSpreadable:o,Tt=bt?bt.iterator:o,Ot=bt?bt.toStringTag:o,Lt=function(){try{var e=Ga(rt,"defineProperty");return e({},"",{}),e}catch(t){}}(),At=t.clearTimeout!==sr.clearTimeout&&t.clearTimeout,Dt=n&&n.now!==sr.Date.now&&n.now,Et=t.setTimeout!==sr.setTimeout&&t.setTimeout,It=Ve.ceil,jt=Ve.floor,Pt=rt.getOwnPropertySymbols,Rt=yt?yt.isBuffer:o,Nt=t.isFinite,Bt=at.join,Yt=cn(rt.keys,rt),Ft=Ve.max,zt=Ve.min,Ht=n.now,Wt=t.parseInt,$t=Ve.random,Gt=at.reverse,qt=Ga(t,"DataView"),Qt=Ga(t,"Map"),er=Ga(t,"Promise"),tr=Ga(t,"Set"),rr=Ga(t,"WeakMap"),or=Ga(rt,"create"),ar=rr&&new rr,lr={},ur=Es(qt),dr=Es(Qt),hr=Es(er),Er=Es(tr),Ir=Es(rr),Hr=bt?bt.prototype:o,pn=Hr?Hr.valueOf:o,_n=Hr?Hr.toString:o;function wn(e){if(Mc(e)&&!lc(e)&&!(e instanceof Tn)){if(e instanceof Cn)return e;if(dt.call(e,"__wrapped__"))return js(e)}return new Cn(e)}var kn=function(){function e(){}return function(t){if(!Sc(t))return{};if(kt)return kt(t);e.prototype=t;var r=new e;return e.prototype=o,r}}();function Mn(){}function Cn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Tn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function On(){var e=new Tn(this.__wrapped__);return e.__actions__=ia(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ia(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ia(this.__views__),e}function Ln(){if(this.__filtered__){var e=new Tn(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function An(){var e=this.__wrapped__.value(),t=this.__dir__,r=lc(e),n=t<0,i=r?e.length:0,o=Ja(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=n?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=zt(l,this.__takeCount__);if(!r||!n&&i==l&&f==l)return Yo(e,this.__actions__);var p=[];e:while(l--&&h<f){u+=t;var m=-1,g=e[u];while(++m<d){var v=c[m],y=v.iteratee,b=v.type,_=y(g);if(b==j)g=_;else if(!_){if(b==I)continue e;break e}}p[h++]=g}return p}function Dn(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function En(){this.__data__=or?or(null):{},this.size=0}function In(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function jn(e){var t=this.__data__;if(or){var r=t[e];return r===d?o:r}return dt.call(t,e)?t[e]:o}function Pn(e){var t=this.__data__;return or?t[e]!==o:dt.call(t,e)}function Rn(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=or&&t===o?d:t,this}function Nn(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Bn(){this.__data__=[],this.size=0}function Yn(e){var t=this.__data__,r=ci(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Mt.call(t,r,1),--this.size,!0}function Fn(e){var t=this.__data__,r=ci(t,e);return r<0?o:t[r][1]}function zn(e){return ci(this.__data__,e)>-1}function Hn(e,t){var r=this.__data__,n=ci(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Vn(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Un(){this.size=0,this.__data__={hash:new Dn,map:new(Qt||Nn),string:new Dn}}function Wn(e){var t=Wa(this,e)["delete"](e);return this.size-=t?1:0,t}function $n(e){return Wa(this,e).get(e)}function Gn(e){return Wa(this,e).has(e)}function qn(e,t){var r=Wa(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Xn(e){var t=-1,r=null==e?0:e.length;this.__data__=new Vn;while(++t<r)this.add(e[t])}function Kn(e){return this.__data__.set(e,d),this}function Zn(e){return this.__data__.has(e)}function Jn(e){var t=this.__data__=new Nn(e);this.size=t.size}function Qn(){this.__data__=new Nn,this.size=0}function ei(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}function ti(e){return this.__data__.get(e)}function ri(e){return this.__data__.has(e)}function ni(e,t){var r=this.__data__;if(r instanceof Nn){var n=r.__data__;if(!Qt||n.length<s-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Vn(n)}return r.set(e,t),this.size=r.size,this}function ii(e,t){var r=lc(e),n=!r&&sc(e),i=!r&&!n&&fc(e),o=!r&&!n&&!i&&Fc(e),a=r||n||i||o,s=a?$r(e.length,it):[],l=s.length;for(var u in e)!t&&!dt.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||as(u,l))||s.push(u);return s}function oi(e){var t=e.length;return t?e[yo(0,t-1)]:o}function ai(e,t){return Ls(ia(e),gi(t,0,e.length))}function si(e){return Ls(ia(e))}function li(e,t,r){(r!==o&&!ic(e[t],r)||r===o&&!(t in e))&&pi(e,t,r)}function ui(e,t,r){var n=e[t];dt.call(e,t)&&ic(n,r)&&(r!==o||t in e)||pi(e,t,r)}function ci(e,t){var r=e.length;while(r--)if(ic(e[r][0],t))return r;return-1}function di(e,t,r,n){return xi(e,(function(e,i,o){t(n,e,r(e),o)})),n}function hi(e,t){return e&&oa(t,xd(t),e)}function fi(e,t){return e&&oa(t,kd(t),e)}function pi(e,t,r){"__proto__"==t&&Lt?Lt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function mi(e,t){var n=-1,i=t.length,a=r(i),s=null==e;while(++n<i)a[n]=s?o:gd(e,t[n]);return a}function gi(e,t,r){return e===e&&(r!==o&&(e=e<=r?e:r),t!==o&&(e=e>=t?e:t)),e}function vi(e,t,r,n,i,a){var s,l=t&p,u=t&m,c=t&g;if(r&&(s=i?r(e,n,i,a):r(e)),s!==o)return s;if(!Sc(e))return e;var d=lc(e);if(d){if(s=ts(e),!l)return ia(e,s)}else{var h=Za(e),f=h==Z||h==J;if(fc(e))return qo(e,l);if(h==re||h==U||f&&!i){if(s=u||f?{}:rs(e),!l)return u?sa(e,fi(s,e)):aa(e,hi(s,e))}else{if(!Jt[h])return i?e:{};s=ns(e,h,l)}}a||(a=new Jn);var v=a.get(e);if(v)return v;a.set(e,s),Nc(e)?e.forEach((function(n){s.add(vi(n,t,r,n,e,a))})):Cc(e)&&e.forEach((function(n,i){s.set(i,vi(n,t,r,i,e,a))}));var y=c?u?Fa:Ya:u?kd:xd,b=d?o:y(e);return wr(b||e,(function(n,i){b&&(i=n,n=e[i]),ui(s,i,vi(n,t,r,i,e,a))})),s}function yi(e){var t=xd(e);return function(r){return bi(r,e,t)}}function bi(e,t,r){var n=r.length;if(null==e)return!n;e=rt(e);while(n--){var i=r[n],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function _i(e,t,r){if("function"!=typeof e)throw new ot(u);return Ms((function(){e.apply(o,r)}),t)}function wi(e,t,r,n){var i=-1,o=Mr,a=!0,l=e.length,u=[],c=t.length;if(!l)return u;r&&(t=Tr(t,Xr(r))),n?(o=Cr,a=!1):t.length>=s&&(o=Zr,a=!1,t=new Xn(t));e:while(++i<l){var d=e[i],h=null==r?d:r(d);if(d=n||0!==d?d:0,a&&h===h){var f=c;while(f--)if(t[f]===h)continue e;u.push(d)}else o(t,h,n)||u.push(d)}return u}wn.templateSettings={escape:Ae,evaluate:De,interpolate:Ee,variable:"",imports:{_:wn}},wn.prototype=Mn.prototype,wn.prototype.constructor=wn,Cn.prototype=kn(Mn.prototype),Cn.prototype.constructor=Cn,Tn.prototype=kn(Mn.prototype),Tn.prototype.constructor=Tn,Dn.prototype.clear=En,Dn.prototype["delete"]=In,Dn.prototype.get=jn,Dn.prototype.has=Pn,Dn.prototype.set=Rn,Nn.prototype.clear=Bn,Nn.prototype["delete"]=Yn,Nn.prototype.get=Fn,Nn.prototype.has=zn,Nn.prototype.set=Hn,Vn.prototype.clear=Un,Vn.prototype["delete"]=Wn,Vn.prototype.get=$n,Vn.prototype.has=Gn,Vn.prototype.set=qn,Xn.prototype.add=Xn.prototype.push=Kn,Xn.prototype.has=Zn,Jn.prototype.clear=Qn,Jn.prototype["delete"]=ei,Jn.prototype.get=ti,Jn.prototype.has=ri,Jn.prototype.set=ni;var xi=ca(Di),ki=ca(Ei,!0);function Si(e,t){var r=!0;return xi(e,(function(e,n,i){return r=!!t(e,n,i),r})),r}function Mi(e,t,r){var n=-1,i=e.length;while(++n<i){var a=e[n],s=t(a);if(null!=s&&(l===o?s===s&&!Yc(s):r(s,l)))var l=s,u=a}return u}function Ci(e,t,r,n){var i=e.length;r=qc(r),r<0&&(r=-r>i?0:i+r),n=n===o||n>i?i:qc(n),n<0&&(n+=i),n=r>n?0:Xc(n);while(r<n)e[r++]=t;return e}function Ti(e,t){var r=[];return xi(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function Oi(e,t,r,n,i){var o=-1,a=e.length;r||(r=os),i||(i=[]);while(++o<a){var s=e[o];t>0&&r(s)?t>1?Oi(s,t-1,r,n,i):Or(i,s):n||(i[i.length]=s)}return i}var Li=da(),Ai=da(!0);function Di(e,t){return e&&Li(e,t,xd)}function Ei(e,t){return e&&Ai(e,t,xd)}function Ii(e,t){return Sr(t,(function(t){return wc(e[t])}))}function ji(e,t){t=Uo(t,e);var r=0,n=t.length;while(null!=e&&r<n)e=e[Ds(t[r++])];return r&&r==n?e:o}function Pi(e,t,r){var n=t(e);return lc(e)?n:Or(n,r(e))}function Ri(e){return null==e?e===o?ue:te:Ot&&Ot in rt(e)?qa(e):bs(e)}function Ni(e,t){return e>t}function Bi(e,t){return null!=e&&dt.call(e,t)}function Yi(e,t){return null!=e&&t in rt(e)}function Fi(e,t,r){return e>=zt(t,r)&&e<Ft(t,r)}function zi(e,t,n){var i=n?Cr:Mr,a=e[0].length,s=e.length,l=s,u=r(s),c=1/0,d=[];while(l--){var h=e[l];l&&t&&(h=Tr(h,Xr(t))),c=zt(h.length,c),u[l]=!n&&(t||a>=120&&h.length>=120)?new Xn(l&&h):o}h=e[0];var f=-1,p=u[0];e:while(++f<a&&d.length<c){var m=h[f],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?Zr(p,g):i(d,g,n))){l=s;while(--l){var v=u[l];if(!(v?Zr(v,g):i(e[l],g,n)))continue e}p&&p.push(g),d.push(m)}}return d}function Hi(e,t,r,n){return Di(e,(function(e,i,o){t(n,r(e),i,o)})),n}function Vi(e,t,r){t=Uo(t,e),e=ws(e,t);var n=null==e?e:e[Ds(ol(t))];return null==n?o:br(n,e,r)}function Ui(e){return Mc(e)&&Ri(e)==U}function Wi(e){return Mc(e)&&Ri(e)==he}function $i(e){return Mc(e)&&Ri(e)==q}function Gi(e,t,r,n,i){return e===t||(null==e||null==t||!Mc(e)&&!Mc(t)?e!==e&&t!==t:qi(e,t,r,n,Gi,i))}function qi(e,t,r,n,i,o){var a=lc(e),s=lc(t),l=a?W:Za(e),u=s?W:Za(t);l=l==U?re:l,u=u==U?re:u;var c=l==re,d=u==re,h=l==u;if(h&&fc(e)){if(!fc(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new Jn),a||Fc(e)?Pa(e,t,r,n,i,o):Ra(e,t,l,r,n,i,o);if(!(r&v)){var f=c&&dt.call(e,"__wrapped__"),p=d&&dt.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,g=p?t.value():t;return o||(o=new Jn),i(m,g,r,n,o)}}return!!h&&(o||(o=new Jn),Na(e,t,r,n,i,o))}function Xi(e){return Mc(e)&&Za(e)==Q}function Ki(e,t,r,n){var i=r.length,a=i,s=!n;if(null==e)return!a;e=rt(e);while(i--){var l=r[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++i<a){l=r[i];var u=l[0],c=e[u],d=l[1];if(s&&l[2]){if(c===o&&!(u in e))return!1}else{var h=new Jn;if(n)var f=n(c,d,u,e,t,h);if(!(f===o?Gi(d,c,v|y,n,h):f))return!1}}return!0}function Zi(e){if(!Sc(e)||ds(e))return!1;var t=wc(e)?vt:Ke;return t.test(Es(e))}function Ji(e){return Mc(e)&&Ri(e)==oe}function Qi(e){return Mc(e)&&Za(e)==ae}function eo(e){return Mc(e)&&kc(e.length)&&!!Zt[Ri(e)]}function to(e){return"function"==typeof e?e:null==e?Ah:"object"==typeof e?lc(e)?so(e[0],e[1]):ao(e):Vh(e)}function ro(e){if(!fs(e))return Yt(e);var t=[];for(var r in rt(e))dt.call(e,r)&&"constructor"!=r&&t.push(r);return t}function no(e){if(!Sc(e))return ys(e);var t=fs(e),r=[];for(var n in e)("constructor"!=n||!t&&dt.call(e,n))&&r.push(n);return r}function io(e,t){return e<t}function oo(e,t){var n=-1,i=cc(e)?r(e.length):[];return xi(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function ao(e){var t=$a(e);return 1==t.length&&t[0][2]?ms(t[0][0],t[0][1]):function(r){return r===e||Ki(r,e,t)}}function so(e,t){return ls(e)&&ps(t)?ms(Ds(e),t):function(r){var n=gd(r,e);return n===o&&n===t?yd(r,e):Gi(t,n,v|y)}}function lo(e,t,r,n,i){e!==t&&Li(t,(function(a,s){if(i||(i=new Jn),Sc(a))uo(e,t,s,r,lo,n,i);else{var l=n?n(ks(e,s),a,s+"",e,t,i):o;l===o&&(l=a),li(e,s,l)}}),kd)}function uo(e,t,r,n,i,a,s){var l=ks(e,r),u=ks(t,r),c=s.get(u);if(c)li(e,r,c);else{var d=a?a(l,u,r+"",e,t,s):o,h=d===o;if(h){var f=lc(u),p=!f&&fc(u),m=!f&&!p&&Fc(u);d=u,f||p||m?lc(l)?d=l:dc(l)?d=ia(l):p?(h=!1,d=qo(u,!0)):m?(h=!1,d=Qo(u,!0)):d=[]:jc(u)||sc(u)?(d=l,sc(l)?d=Zc(l):Sc(l)&&!wc(l)||(d=rs(u))):h=!1}h&&(s.set(u,d),i(d,u,n,a,s),s["delete"](u)),li(e,r,d)}}function co(e,t){var r=e.length;if(r)return t+=t<0?r:0,as(t,r)?e[t]:o}function ho(e,t,r){t=t.length?Tr(t,(function(e){return lc(e)?function(t){return ji(t,1===e.length?e[0]:e)}:e})):[Ah];var n=-1;t=Tr(t,Xr(Ua()));var i=oo(e,(function(e,r,i){var o=Tr(t,(function(t){return t(e)}));return{criteria:o,index:++n,value:e}}));return Ur(i,(function(e,t){return ta(e,t,r)}))}function fo(e,t){return po(e,t,(function(t,r){return yd(e,r)}))}function po(e,t,r){var n=-1,i=t.length,o={};while(++n<i){var a=t[n],s=ji(e,a);r(s,a)&&So(o,Uo(a,e),s)}return o}function mo(e){return function(t){return ji(t,e)}}function go(e,t,r,n){var i=n?Br:Nr,o=-1,a=t.length,s=e;e===t&&(t=ia(t)),r&&(s=Tr(e,Xr(r)));while(++o<a){var l=0,u=t[o],c=r?r(u):u;while((l=i(s,c,l,n))>-1)s!==e&&Mt.call(s,l,1),Mt.call(e,l,1)}return e}function vo(e,t){var r=e?t.length:0,n=r-1;while(r--){var i=t[r];if(r==n||i!==o){var o=i;as(i)?Mt.call(e,i,1):Ro(e,i)}}return e}function yo(e,t){return e+jt($t()*(t-e+1))}function bo(e,t,n,i){var o=-1,a=Ft(It((t-e)/(n||1)),0),s=r(a);while(a--)s[i?a:++o]=e,e+=n;return s}function _o(e,t){var r="";if(!e||t<1||t>N)return r;do{t%2&&(r+=e),t=jt(t/2),t&&(e+=e)}while(t);return r}function wo(e,t){return Cs(_s(e,t,Ah),e+"")}function xo(e){return oi(zd(e))}function ko(e,t){var r=zd(e);return Ls(r,gi(t,0,r.length))}function So(e,t,r,n){if(!Sc(e))return e;t=Uo(t,e);var i=-1,a=t.length,s=a-1,l=e;while(null!=l&&++i<a){var u=Ds(t[i]),c=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var d=l[u];c=n?n(d,u,l):o,c===o&&(c=Sc(d)?d:as(t[i+1])?[]:{})}ui(l,u,c),l=l[u]}return e}var Mo=ar?function(e,t){return ar.set(e,t),e}:Ah,Co=Lt?function(e,t){return Lt(e,"toString",{configurable:!0,enumerable:!1,value:Ch(t),writable:!0})}:Ah;function To(e){return Ls(zd(e))}function Oo(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;var a=r(o);while(++i<o)a[i]=e[i+t];return a}function Lo(e,t){var r;return xi(e,(function(e,n,i){return r=t(e,n,i),!r})),!!r}function Ao(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t===t&&i<=H){while(n<i){var o=n+i>>>1,a=e[o];null!==a&&!Yc(a)&&(r?a<=t:a<t)?n=o+1:i=o}return i}return Do(e,t,Ah,r)}function Do(e,t,r,n){var i=0,a=null==e?0:e.length;if(0===a)return 0;t=r(t);var s=t!==t,l=null===t,u=Yc(t),c=t===o;while(i<a){var d=jt((i+a)/2),h=r(e[d]),f=h!==o,p=null===h,m=h===h,g=Yc(h);if(s)var v=n||m;else v=c?m&&(n||f):l?m&&f&&(n||!p):u?m&&f&&!p&&(n||!g):!p&&!g&&(n?h<=t:h<t);v?i=d+1:a=d}return zt(a,z)}function Eo(e,t){var r=-1,n=e.length,i=0,o=[];while(++r<n){var a=e[r],s=t?t(a):a;if(!r||!ic(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function Io(e){return"number"==typeof e?e:Yc(e)?Y:+e}function jo(e){if("string"==typeof e)return e;if(lc(e))return Tr(e,jo)+"";if(Yc(e))return _n?_n.call(e):"";var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Po(e,t,r){var n=-1,i=Mr,o=e.length,a=!0,l=[],u=l;if(r)a=!1,i=Cr;else if(o>=s){var c=t?null:La(e);if(c)return hn(c);a=!1,i=Zr,u=new Xn}else u=t?[]:l;e:while(++n<o){var d=e[n],h=t?t(d):d;if(d=r||0!==d?d:0,a&&h===h){var f=u.length;while(f--)if(u[f]===h)continue e;t&&u.push(h),l.push(d)}else i(u,h,r)||(u!==l&&u.push(h),l.push(d))}return l}function Ro(e,t){return t=Uo(t,e),e=ws(e,t),null==e||delete e[Ds(ol(t))]}function No(e,t,r,n){return So(e,t,r(ji(e,t)),n)}function Bo(e,t,r,n){var i=e.length,o=n?i:-1;while((n?o--:++o<i)&&t(e[o],o,e));return r?Oo(e,n?0:o,n?o+1:i):Oo(e,n?o+1:0,n?i:o)}function Yo(e,t){var r=e;return r instanceof Tn&&(r=r.value()),Lr(t,(function(e,t){return t.func.apply(t.thisArg,Or([e],t.args))}),r)}function Fo(e,t,n){var i=e.length;if(i<2)return i?Po(e[0]):[];var o=-1,a=r(i);while(++o<i){var s=e[o],l=-1;while(++l<i)l!=o&&(a[o]=wi(a[o]||s,e[l],t,n))}return Po(Oi(a,1),t,n)}function zo(e,t,r){var n=-1,i=e.length,a=t.length,s={};while(++n<i){var l=n<a?t[n]:o;r(s,e[n],l)}return s}function Ho(e){return dc(e)?e:[]}function Vo(e){return"function"==typeof e?e:Ah}function Uo(e,t){return lc(e)?e:ls(e,t)?[e]:As(Qc(e))}var Wo=wo;function $o(e,t,r){var n=e.length;return r=r===o?n:r,!t&&r>=n?e:Oo(e,t,r)}var Go=At||function(e){return sr.clearTimeout(e)};function qo(e,t){if(t)return e.slice();var r=e.length,n=wt?wt(r):new e.constructor(r);return e.copy(n),n}function Xo(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t}function Ko(e,t){var r=t?Xo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function Zo(e){var t=new e.constructor(e.source,Ge.exec(e));return t.lastIndex=e.lastIndex,t}function Jo(e){return pn?rt(pn.call(e)):{}}function Qo(e,t){var r=t?Xo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var r=e!==o,n=null===e,i=e===e,a=Yc(e),s=t!==o,l=null===t,u=t===t,c=Yc(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||n&&s&&u||!r&&u||!i)return 1;if(!n&&!a&&!c&&e<t||c&&r&&i&&!n&&!a||l&&r&&i||!s&&i||!u)return-1}return 0}function ta(e,t,r){var n=-1,i=e.criteria,o=t.criteria,a=i.length,s=r.length;while(++n<a){var l=ea(i[n],o[n]);if(l){if(n>=s)return l;var u=r[n];return l*("desc"==u?-1:1)}}return e.index-t.index}function ra(e,t,n,i){var o=-1,a=e.length,s=n.length,l=-1,u=t.length,c=Ft(a-s,0),d=r(u+c),h=!i;while(++l<u)d[l]=t[l];while(++o<s)(h||o<a)&&(d[n[o]]=e[o]);while(c--)d[l++]=e[o++];return d}function na(e,t,n,i){var o=-1,a=e.length,s=-1,l=n.length,u=-1,c=t.length,d=Ft(a-l,0),h=r(d+c),f=!i;while(++o<d)h[o]=e[o];var p=o;while(++u<c)h[p+u]=t[u];while(++s<l)(f||o<a)&&(h[p+n[s]]=e[o++]);return h}function ia(e,t){var n=-1,i=e.length;t||(t=r(i));while(++n<i)t[n]=e[n];return t}function oa(e,t,r,n){var i=!r;r||(r={});var a=-1,s=t.length;while(++a<s){var l=t[a],u=n?n(r[l],e[l],l,r,e):o;u===o&&(u=e[l]),i?pi(r,l,u):ui(r,l,u)}return r}function aa(e,t){return oa(e,Xa(e),t)}function sa(e,t){return oa(e,Ka(e),t)}function la(e,t){return function(r,n){var i=lc(r)?_r:di,o=t?t():{};return i(r,e,Ua(n,2),o)}}function ua(e){return wo((function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:o,s=i>2?r[2]:o;a=e.length>3&&"function"==typeof a?(i--,a):o,s&&ss(r[0],r[1],s)&&(a=i<3?o:a,i=1),t=rt(t);while(++n<i){var l=r[n];l&&e(t,l,n,a)}return t}))}function ca(e,t){return function(r,n){if(null==r)return r;if(!cc(r))return e(r,n);var i=r.length,o=t?i:-1,a=rt(r);while(t?o--:++o<i)if(!1===n(a[o],o,a))break;return r}}function da(e){return function(t,r,n){var i=-1,o=rt(t),a=n(t),s=a.length;while(s--){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}function ha(e,t,r){var n=t&b,i=ma(e);function o(){var t=this&&this!==sr&&this instanceof o?i:e;return t.apply(n?r:this,arguments)}return o}function fa(e){return function(t){t=Qc(t);var r=an(t)?vn(t):o,n=r?r[0]:t.charAt(0),i=r?$o(r,1).join(""):t.slice(1);return n[e]()+i}}function pa(e){return function(t){return Lr(wh(qd(t).replace(Vt,"")),e,"")}}function ma(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=kn(e.prototype),n=e.apply(r,t);return Sc(n)?n:r}}function ga(e,t,n){var i=ma(e);function a(){var s=arguments.length,l=r(s),u=s,c=Va(a);while(u--)l[u]=arguments[u];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:dn(l,c);if(s-=d.length,s<n)return Ta(e,t,ba,a.placeholder,o,l,d,o,o,n-s);var h=this&&this!==sr&&this instanceof a?i:e;return br(h,this,l)}return a}function va(e){return function(t,r,n){var i=rt(t);if(!cc(t)){var a=Ua(r,3);t=xd(t),r=function(e){return a(i[e],e,i)}}var s=e(t,r,n);return s>-1?i[a?t[s]:s]:o}}function ya(e){return Ba((function(t){var r=t.length,n=r,i=Cn.prototype.thru;e&&t.reverse();while(n--){var a=t[n];if("function"!=typeof a)throw new ot(u);if(i&&!s&&"wrapper"==Ha(a))var s=new Cn([],!0)}n=s?n:r;while(++n<r){a=t[n];var l=Ha(a),c="wrapper"==l?za(a):o;s=c&&cs(c[0])&&c[1]==(C|x|S|T)&&!c[4].length&&1==c[9]?s[Ha(c[0])].apply(s,c[3]):1==a.length&&cs(a)?s[l]():s.thru(a)}return function(){var e=arguments,n=e[0];if(s&&1==e.length&&lc(n))return s.plant(n).value();var i=0,o=r?t[i].apply(this,e):n;while(++i<r)o=t[i].call(this,o);return o}}))}function ba(e,t,n,i,a,s,l,u,c,d){var h=t&C,f=t&b,p=t&_,m=t&(x|k),g=t&O,v=p?o:ma(e);function y(){var o=arguments.length,b=r(o),_=o;while(_--)b[_]=arguments[_];if(m)var w=Va(y),x=en(b,w);if(i&&(b=ra(b,i,a,m)),s&&(b=na(b,s,l,m)),o-=x,m&&o<d){var k=dn(b,w);return Ta(e,t,ba,y.placeholder,n,b,k,u,c,d-o)}var S=f?n:this,M=p?S[e]:e;return o=b.length,u?b=xs(b,u):g&&o>1&&b.reverse(),h&&c<o&&(b.length=c),this&&this!==sr&&this instanceof y&&(M=v||ma(M)),M.apply(S,b)}return y}function _a(e,t){return function(r,n){return Hi(r,e,t(n),{})}}function wa(e,t){return function(r,n){var i;if(r===o&&n===o)return t;if(r!==o&&(i=r),n!==o){if(i===o)return n;"string"==typeof r||"string"==typeof n?(r=jo(r),n=jo(n)):(r=Io(r),n=Io(n)),i=e(r,n)}return i}}function xa(e){return Ba((function(t){return t=Tr(t,Xr(Ua())),wo((function(r){var n=this;return e(t,(function(e){return br(e,n,r)}))}))}))}function ka(e,t){t=t===o?" ":jo(t);var r=t.length;if(r<2)return r?_o(t,e):t;var n=_o(t,It(e/gn(t)));return an(t)?$o(vn(n),0,e).join(""):n.slice(0,e)}function Sa(e,t,n,i){var o=t&b,a=ma(e);function s(){var t=-1,l=arguments.length,u=-1,c=i.length,d=r(c+l),h=this&&this!==sr&&this instanceof s?a:e;while(++u<c)d[u]=i[u];while(l--)d[u++]=arguments[++t];return br(h,o?n:this,d)}return s}function Ma(e){return function(t,r,n){return n&&"number"!=typeof n&&ss(t,r,n)&&(r=n=o),t=Gc(t),r===o?(r=t,t=0):r=Gc(r),n=n===o?t<r?1:-1:Gc(n),bo(t,r,n,e)}}function Ca(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=Kc(t),r=Kc(r)),e(t,r)}}function Ta(e,t,r,n,i,a,s,l,u,c){var d=t&x,h=d?s:o,f=d?o:s,p=d?a:o,m=d?o:a;t|=d?S:M,t&=~(d?M:S),t&w||(t&=~(b|_));var g=[e,t,i,p,h,m,f,l,u,c],v=r.apply(o,g);return cs(e)&&Ss(v,g),v.placeholder=n,Ts(v,e,t)}function Oa(e){var t=Ve[e];return function(e,r){if(e=Kc(e),r=null==r?0:zt(qc(r),292),r&&Nt(e)){var n=(Qc(e)+"e").split("e"),i=t(n[0]+"e"+(+n[1]+r));return n=(Qc(i)+"e").split("e"),+(n[0]+"e"+(+n[1]-r))}return t(e)}}var La=tr&&1/hn(new tr([,-0]))[1]==R?function(e){return new tr(e)}:Bh;function Aa(e){return function(t){var r=Za(t);return r==Q?un(t):r==ae?fn(t):Gr(t,e(t))}}function Da(e,t,r,n,i,a,s,l){var c=t&_;if(!c&&"function"!=typeof e)throw new ot(u);var d=n?n.length:0;if(d||(t&=~(S|M),n=i=o),s=s===o?s:Ft(qc(s),0),l=l===o?l:qc(l),d-=i?i.length:0,t&M){var h=n,f=i;n=i=o}var p=c?o:za(e),m=[e,t,r,n,i,h,f,a,s,l];if(p&&vs(m,p),e=m[0],t=m[1],r=m[2],n=m[3],i=m[4],l=m[9]=m[9]===o?c?0:e.length:Ft(m[9]-d,0),!l&&t&(x|k)&&(t&=~(x|k)),t&&t!=b)g=t==x||t==k?ga(e,t,l):t!=S&&t!=(b|S)||i.length?ba.apply(o,m):Sa(e,t,r,n);else var g=ha(e,t,r);var v=p?Mo:Ss;return Ts(v(g,m),e,t)}function Ea(e,t,r,n){return e===o||ic(e,lt[r])&&!dt.call(n,r)?t:e}function Ia(e,t,r,n,i,a){return Sc(e)&&Sc(t)&&(a.set(t,e),lo(e,t,o,Ia,a),a["delete"](t)),e}function ja(e){return jc(e)?o:e}function Pa(e,t,r,n,i,a){var s=r&v,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var h=-1,f=!0,p=r&y?new Xn:o;a.set(e,t),a.set(t,e);while(++h<l){var m=e[h],g=t[h];if(n)var b=s?n(g,m,h,t,e,a):n(m,g,h,e,t,a);if(b!==o){if(b)continue;f=!1;break}if(p){if(!Dr(t,(function(e,t){if(!Zr(p,t)&&(m===e||i(m,e,r,n,a)))return p.push(t)}))){f=!1;break}}else if(m!==g&&!i(m,g,r,n,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function Ra(e,t,r,n,i,o,a){switch(r){case fe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case he:return!(e.byteLength!=t.byteLength||!o(new _t(e),new _t(t)));case G:case q:case ee:return ic(+e,+t);case K:return e.name==t.name&&e.message==t.message;case oe:case se:return e==t+"";case Q:var s=un;case ae:var l=n&v;if(s||(s=hn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;n|=y,a.set(e,t);var c=Pa(s(e),s(t),n,i,o,a);return a["delete"](e),c;case le:if(pn)return pn.call(e)==pn.call(t)}return!1}function Na(e,t,r,n,i,a){var s=r&v,l=Ya(e),u=l.length,c=Ya(t),d=c.length;if(u!=d&&!s)return!1;var h=u;while(h--){var f=l[h];if(!(s?f in t:dt.call(t,f)))return!1}var p=a.get(e),m=a.get(t);if(p&&m)return p==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var y=s;while(++h<u){f=l[h];var b=e[f],_=t[f];if(n)var w=s?n(_,b,f,t,e,a):n(b,_,f,e,t,a);if(!(w===o?b===_||i(b,_,r,n,a):w)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=e.constructor,k=t.constructor;x==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof k&&k instanceof k||(g=!1)}return a["delete"](e),a["delete"](t),g}function Ba(e){return Cs(_s(e,o,qs),e+"")}function Ya(e){return Pi(e,xd,Xa)}function Fa(e){return Pi(e,kd,Ka)}var za=ar?function(e){return ar.get(e)}:Bh;function Ha(e){var t=e.name+"",r=lr[t],n=dt.call(lr,t)?r.length:0;while(n--){var i=r[n],o=i.func;if(null==o||o==e)return i.name}return t}function Va(e){var t=dt.call(wn,"placeholder")?wn:e;return t.placeholder}function Ua(){var e=wn.iteratee||Dh;return e=e===Dh?to:e,arguments.length?e(arguments[0],arguments[1]):e}function Wa(e,t){var r=e.__data__;return us(t)?r["string"==typeof t?"string":"hash"]:r.map}function $a(e){var t=xd(e),r=t.length;while(r--){var n=t[r],i=e[n];t[r]=[n,i,ps(i)]}return t}function Ga(e,t){var r=on(e,t);return Zi(r)?r:o}function qa(e){var t=dt.call(e,Ot),r=e[Ot];try{e[Ot]=o;var n=!0}catch(a){}var i=pt.call(e);return n&&(t?e[Ot]=r:delete e[Ot]),i}var Xa=Pt?function(e){return null==e?[]:(e=rt(e),Sr(Pt(e),(function(t){return St.call(e,t)})))}:Gh,Ka=Pt?function(e){var t=[];while(e)Or(t,Xa(e)),e=xt(e);return t}:Gh,Za=Ri;function Ja(e,t,r){var n=-1,i=r.length;while(++n<i){var o=r[n],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=zt(t,e+a);break;case"takeRight":e=Ft(e,t-a);break}}return{start:e,end:t}}function Qa(e){var t=e.match(ze);return t?t[1].split(He):[]}function es(e,t,r){t=Uo(t,e);var n=-1,i=t.length,o=!1;while(++n<i){var a=Ds(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:(i=null==e?0:e.length,!!i&&kc(i)&&as(a,i)&&(lc(e)||sc(e)))}function ts(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&dt.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function rs(e){return"function"!=typeof e.constructor||fs(e)?{}:kn(xt(e))}function ns(e,t,r){var n=e.constructor;switch(t){case he:return Xo(e);case G:case q:return new n(+e);case fe:return Ko(e,r);case pe:case me:case ge:case ve:case ye:case be:case _e:case we:case xe:return Qo(e,r);case Q:return new n;case ee:case se:return new n(e);case oe:return Zo(e);case ae:return new n;case le:return Jo(e)}}function is(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(Fe,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return lc(e)||sc(e)||!!(Ct&&e&&e[Ct])}function as(e,t){var r=typeof e;return t=null==t?N:t,!!t&&("number"==r||"symbol"!=r&&Je.test(e))&&e>-1&&e%1==0&&e<t}function ss(e,t,r){if(!Sc(r))return!1;var n=typeof t;return!!("number"==n?cc(r)&&as(t,r.length):"string"==n&&t in r)&&ic(r[t],e)}function ls(e,t){if(lc(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Yc(e))||(je.test(e)||!Ie.test(e)||null!=t&&e in rt(t))}function us(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function cs(e){var t=Ha(e),r=wn[t];if("function"!=typeof r||!(t in Tn.prototype))return!1;if(e===r)return!0;var n=za(r);return!!n&&e===n[0]}function ds(e){return!!ft&&ft in e}(qt&&Za(new qt(new ArrayBuffer(1)))!=fe||Qt&&Za(new Qt)!=Q||er&&Za(er.resolve())!=ne||tr&&Za(new tr)!=ae||rr&&Za(new rr)!=ce)&&(Za=function(e){var t=Ri(e),r=t==re?e.constructor:o,n=r?Es(r):"";if(n)switch(n){case ur:return fe;case dr:return Q;case hr:return ne;case Er:return ae;case Ir:return ce}return t});var hs=ut?wc:qh;function fs(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||lt;return e===r}function ps(e){return e===e&&!Sc(e)}function ms(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==o||e in rt(r)))}}function gs(e){var t=Fu(e,(function(e){return r.size===h&&r.clear(),e})),r=t.cache;return t}function vs(e,t){var r=e[1],n=t[1],i=r|n,o=i<(b|_|C),a=n==C&&r==x||n==C&&r==T&&e[7].length<=t[8]||n==(C|T)&&t[7].length<=t[8]&&r==x;if(!o&&!a)return e;n&b&&(e[2]=t[2],i|=r&b?0:w);var s=t[3];if(s){var l=e[3];e[3]=l?ra(l,s,t[4]):s,e[4]=l?dn(e[3],f):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?na(l,s,t[6]):s,e[6]=l?dn(e[5],f):t[6]),s=t[7],s&&(e[7]=s),n&C&&(e[8]=null==e[8]?t[8]:zt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function ys(e){var t=[];if(null!=e)for(var r in rt(e))t.push(r);return t}function bs(e){return pt.call(e)}function _s(e,t,n){return t=Ft(t===o?e.length-1:t,0),function(){var i=arguments,o=-1,a=Ft(i.length-t,0),s=r(a);while(++o<a)s[o]=i[t+o];o=-1;var l=r(t+1);while(++o<t)l[o]=i[o];return l[t]=n(s),br(e,this,l)}}function ws(e,t){return t.length<2?e:ji(e,Oo(t,0,-1))}function xs(e,t){var r=e.length,n=zt(t.length,r),i=ia(e);while(n--){var a=t[n];e[n]=as(a,r)?i[a]:o}return e}function ks(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Ss=Os(Mo),Ms=Et||function(e,t){return sr.setTimeout(e,t)},Cs=Os(Co);function Ts(e,t,r){var n=t+"";return Cs(e,is(n,Is(Qa(n),r)))}function Os(e){var t=0,r=0;return function(){var n=Ht(),i=E-(n-r);if(r=n,i>0){if(++t>=D)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ls(e,t){var r=-1,n=e.length,i=n-1;t=t===o?n:t;while(++r<t){var a=yo(r,i),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var As=gs((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Pe,(function(e,r,n,i){t.push(n?i.replace(We,"$1"):r||e)})),t}));function Ds(e){if("string"==typeof e||Yc(e))return e;var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Es(e){if(null!=e){try{return ct.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Is(e,t){return wr(V,(function(r){var n="_."+r[0];t&r[1]&&!Mr(e,n)&&e.push(n)})),e.sort()}function js(e){if(e instanceof Tn)return e.clone();var t=new Cn(e.__wrapped__,e.__chain__);return t.__actions__=ia(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ps(e,t,n){t=(n?ss(e,t,n):t===o)?1:Ft(qc(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];var a=0,s=0,l=r(It(i/t));while(a<i)l[s++]=Oo(e,a,a+=t);return l}function Rs(e){var t=-1,r=null==e?0:e.length,n=0,i=[];while(++t<r){var o=e[t];o&&(i[n++]=o)}return i}function Ns(){var e=arguments.length;if(!e)return[];var t=r(e-1),n=arguments[0],i=e;while(i--)t[i-1]=arguments[i];return Or(lc(n)?ia(n):[n],Oi(t,1))}var Bs=wo((function(e,t){return dc(e)?wi(e,Oi(t,1,dc,!0)):[]})),Ys=wo((function(e,t){var r=ol(t);return dc(r)&&(r=o),dc(e)?wi(e,Oi(t,1,dc,!0),Ua(r,2)):[]})),Fs=wo((function(e,t){var r=ol(t);return dc(r)&&(r=o),dc(e)?wi(e,Oi(t,1,dc,!0),o,r):[]}));function zs(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===o?1:qc(t),Oo(e,t<0?0:t,n)):[]}function Hs(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===o?1:qc(t),t=n-t,Oo(e,0,t<0?0:t)):[]}function Vs(e,t){return e&&e.length?Bo(e,Ua(t,3),!0,!0):[]}function Us(e,t){return e&&e.length?Bo(e,Ua(t,3),!0):[]}function Ws(e,t,r,n){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&ss(e,t,r)&&(r=0,n=i),Ci(e,t,r,n)):[]}function $s(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:qc(r);return i<0&&(i=Ft(n+i,0)),Rr(e,Ua(t,3),i)}function Gs(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n-1;return r!==o&&(i=qc(r),i=r<0?Ft(n+i,0):zt(i,n-1)),Rr(e,Ua(t,3),i,!0)}function qs(e){var t=null==e?0:e.length;return t?Oi(e,1):[]}function Xs(e){var t=null==e?0:e.length;return t?Oi(e,R):[]}function Ks(e,t){var r=null==e?0:e.length;return r?(t=t===o?1:qc(t),Oi(e,t)):[]}function Zs(e){var t=-1,r=null==e?0:e.length,n={};while(++t<r){var i=e[t];n[i[0]]=i[1]}return n}function Js(e){return e&&e.length?e[0]:o}function Qs(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:qc(r);return i<0&&(i=Ft(n+i,0)),Nr(e,t,i)}function el(e){var t=null==e?0:e.length;return t?Oo(e,0,-1):[]}var tl=wo((function(e){var t=Tr(e,Ho);return t.length&&t[0]===e[0]?zi(t):[]})),rl=wo((function(e){var t=ol(e),r=Tr(e,Ho);return t===ol(r)?t=o:r.pop(),r.length&&r[0]===e[0]?zi(r,Ua(t,2)):[]})),nl=wo((function(e){var t=ol(e),r=Tr(e,Ho);return t="function"==typeof t?t:o,t&&r.pop(),r.length&&r[0]===e[0]?zi(r,o,t):[]}));function il(e,t){return null==e?"":Bt.call(e,t)}function ol(e){var t=null==e?0:e.length;return t?e[t-1]:o}function al(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==o&&(i=qc(r),i=i<0?Ft(n+i,0):zt(i,n-1)),t===t?mn(e,t,i):Rr(e,Yr,i,!0)}function sl(e,t){return e&&e.length?co(e,qc(t)):o}var ll=wo(ul);function ul(e,t){return e&&e.length&&t&&t.length?go(e,t):e}function cl(e,t,r){return e&&e.length&&t&&t.length?go(e,t,Ua(r,2)):e}function dl(e,t,r){return e&&e.length&&t&&t.length?go(e,t,o,r):e}var hl=Ba((function(e,t){var r=null==e?0:e.length,n=mi(e,t);return vo(e,Tr(t,(function(e){return as(e,r)?+e:e})).sort(ea)),n}));function fl(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],o=e.length;t=Ua(t,3);while(++n<o){var a=e[n];t(a,n,e)&&(r.push(a),i.push(n))}return vo(e,i),r}function pl(e){return null==e?e:Gt.call(e)}function ml(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ss(e,t,r)?(t=0,r=n):(t=null==t?0:qc(t),r=r===o?n:qc(r)),Oo(e,t,r)):[]}function gl(e,t){return Ao(e,t)}function vl(e,t,r){return Do(e,t,Ua(r,2))}function yl(e,t){var r=null==e?0:e.length;if(r){var n=Ao(e,t);if(n<r&&ic(e[n],t))return n}return-1}function bl(e,t){return Ao(e,t,!0)}function _l(e,t,r){return Do(e,t,Ua(r,2),!0)}function wl(e,t){var r=null==e?0:e.length;if(r){var n=Ao(e,t,!0)-1;if(ic(e[n],t))return n}return-1}function xl(e){return e&&e.length?Eo(e):[]}function kl(e,t){return e&&e.length?Eo(e,Ua(t,2)):[]}function Sl(e){var t=null==e?0:e.length;return t?Oo(e,1,t):[]}function Ml(e,t,r){return e&&e.length?(t=r||t===o?1:qc(t),Oo(e,0,t<0?0:t)):[]}function Cl(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===o?1:qc(t),t=n-t,Oo(e,t<0?0:t,n)):[]}function Tl(e,t){return e&&e.length?Bo(e,Ua(t,3),!1,!0):[]}function Ol(e,t){return e&&e.length?Bo(e,Ua(t,3)):[]}var Ll=wo((function(e){return Po(Oi(e,1,dc,!0))})),Al=wo((function(e){var t=ol(e);return dc(t)&&(t=o),Po(Oi(e,1,dc,!0),Ua(t,2))})),Dl=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,Po(Oi(e,1,dc,!0),o,t)}));function El(e){return e&&e.length?Po(e):[]}function Il(e,t){return e&&e.length?Po(e,Ua(t,2)):[]}function jl(e,t){return t="function"==typeof t?t:o,e&&e.length?Po(e,o,t):[]}function Pl(e){if(!e||!e.length)return[];var t=0;return e=Sr(e,(function(e){if(dc(e))return t=Ft(e.length,t),!0})),$r(t,(function(t){return Tr(e,zr(t))}))}function Rl(e,t){if(!e||!e.length)return[];var r=Pl(e);return null==t?r:Tr(r,(function(e){return br(t,o,e)}))}var Nl=wo((function(e,t){return dc(e)?wi(e,t):[]})),Bl=wo((function(e){return Fo(Sr(e,dc))})),Yl=wo((function(e){var t=ol(e);return dc(t)&&(t=o),Fo(Sr(e,dc),Ua(t,2))})),Fl=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,Fo(Sr(e,dc),o,t)})),zl=wo(Pl);function Hl(e,t){return zo(e||[],t||[],ui)}function Vl(e,t){return zo(e||[],t||[],So)}var Ul=wo((function(e){var t=e.length,r=t>1?e[t-1]:o;return r="function"==typeof r?(e.pop(),r):o,Rl(e,r)}));function Wl(e){var t=wn(e);return t.__chain__=!0,t}function $l(e,t){return t(e),e}function Gl(e,t){return t(e)}var ql=Ba((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return mi(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Tn&&as(r)?(n=n.slice(r,+r+(t?1:0)),n.__actions__.push({func:Gl,args:[i],thisArg:o}),new Cn(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));function Xl(){return Wl(this)}function Kl(){return new Cn(this.value(),this.__chain__)}function Zl(){this.__values__===o&&(this.__values__=$c(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Jl(){return this}function Ql(e){var t,r=this;while(r instanceof Mn){var n=js(r);n.__index__=0,n.__values__=o,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t}function eu(){var e=this.__wrapped__;if(e instanceof Tn){var t=e;return this.__actions__.length&&(t=new Tn(this)),t=t.reverse(),t.__actions__.push({func:Gl,args:[pl],thisArg:o}),new Cn(t,this.__chain__)}return this.thru(pl)}function tu(){return Yo(this.__wrapped__,this.__actions__)}var ru=la((function(e,t,r){dt.call(e,r)?++e[r]:pi(e,r,1)}));function nu(e,t,r){var n=lc(e)?kr:Si;return r&&ss(e,t,r)&&(t=o),n(e,Ua(t,3))}function iu(e,t){var r=lc(e)?Sr:Ti;return r(e,Ua(t,3))}var ou=va($s),au=va(Gs);function su(e,t){return Oi(gu(e,t),1)}function lu(e,t){return Oi(gu(e,t),R)}function uu(e,t,r){return r=r===o?1:qc(r),Oi(gu(e,t),r)}function cu(e,t){var r=lc(e)?wr:xi;return r(e,Ua(t,3))}function du(e,t){var r=lc(e)?xr:ki;return r(e,Ua(t,3))}var hu=la((function(e,t,r){dt.call(e,r)?e[r].push(t):pi(e,r,[t])}));function fu(e,t,r,n){e=cc(e)?e:zd(e),r=r&&!n?qc(r):0;var i=e.length;return r<0&&(r=Ft(i+r,0)),Bc(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Nr(e,t,r)>-1}var pu=wo((function(e,t,n){var i=-1,o="function"==typeof t,a=cc(e)?r(e.length):[];return xi(e,(function(e){a[++i]=o?br(t,e,n):Vi(e,t,n)})),a})),mu=la((function(e,t,r){pi(e,r,t)}));function gu(e,t){var r=lc(e)?Tr:oo;return r(e,Ua(t,3))}function vu(e,t,r,n){return null==e?[]:(lc(t)||(t=null==t?[]:[t]),r=n?o:r,lc(r)||(r=null==r?[]:[r]),ho(e,t,r))}var yu=la((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));function bu(e,t,r){var n=lc(e)?Lr:Vr,i=arguments.length<3;return n(e,Ua(t,4),r,i,xi)}function _u(e,t,r){var n=lc(e)?Ar:Vr,i=arguments.length<3;return n(e,Ua(t,4),r,i,ki)}function wu(e,t){var r=lc(e)?Sr:Ti;return r(e,zu(Ua(t,3)))}function xu(e){var t=lc(e)?oi:xo;return t(e)}function ku(e,t,r){t=(r?ss(e,t,r):t===o)?1:qc(t);var n=lc(e)?ai:ko;return n(e,t)}function Su(e){var t=lc(e)?si:To;return t(e)}function Mu(e){if(null==e)return 0;if(cc(e))return Bc(e)?gn(e):e.length;var t=Za(e);return t==Q||t==ae?e.size:ro(e).length}function Cu(e,t,r){var n=lc(e)?Dr:Lo;return r&&ss(e,t,r)&&(t=o),n(e,Ua(t,3))}var Tu=wo((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ss(e,t[0],t[1])?t=[]:r>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),ho(e,Oi(t,1),[])})),Ou=Dt||function(){return sr.Date.now()};function Lu(e,t){if("function"!=typeof t)throw new ot(u);return e=qc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Au(e,t,r){return t=r?o:t,t=e&&null==t?e.length:t,Da(e,C,o,o,o,o,t)}function Du(e,t){var r;if("function"!=typeof t)throw new ot(u);return e=qc(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=o),r}}var Eu=wo((function(e,t,r){var n=b;if(r.length){var i=dn(r,Va(Eu));n|=S}return Da(e,n,t,r,i)})),Iu=wo((function(e,t,r){var n=b|_;if(r.length){var i=dn(r,Va(Iu));n|=S}return Da(t,n,e,r,i)}));function ju(e,t,r){t=r?o:t;var n=Da(e,x,o,o,o,o,o,t);return n.placeholder=ju.placeholder,n}function Pu(e,t,r){t=r?o:t;var n=Da(e,k,o,o,o,o,o,t);return n.placeholder=Pu.placeholder,n}function Ru(e,t,r){var n,i,a,s,l,c,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new ot(u);function m(t){var r=n,a=i;return n=i=o,d=t,s=e.apply(a,r),s}function g(e){return d=e,l=Ms(b,t),h?m(e):s}function v(e){var r=e-c,n=e-d,i=t-r;return f?zt(i,a-n):i}function y(e){var r=e-c,n=e-d;return c===o||r>=t||r<0||f&&n>=a}function b(){var e=Ou();if(y(e))return _(e);l=Ms(b,v(e))}function _(e){return l=o,p&&n?m(e):(n=i=o,s)}function w(){l!==o&&Go(l),d=0,n=c=i=l=o}function x(){return l===o?s:_(Ou())}function k(){var e=Ou(),r=y(e);if(n=arguments,i=this,c=e,r){if(l===o)return g(c);if(f)return Go(l),l=Ms(b,t),m(c)}return l===o&&(l=Ms(b,t)),s}return t=Kc(t)||0,Sc(r)&&(h=!!r.leading,f="maxWait"in r,a=f?Ft(Kc(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),k.cancel=w,k.flush=x,k}var Nu=wo((function(e,t){return _i(e,1,t)})),Bu=wo((function(e,t,r){return _i(e,Kc(t)||0,r)}));function Yu(e){return Da(e,O)}function Fu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(u);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Fu.Cache||Vn),r}function zu(e){if("function"!=typeof e)throw new ot(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Hu(e){return Du(2,e)}Fu.Cache=Vn;var Vu=Wo((function(e,t){t=1==t.length&&lc(t[0])?Tr(t[0],Xr(Ua())):Tr(Oi(t,1),Xr(Ua()));var r=t.length;return wo((function(n){var i=-1,o=zt(n.length,r);while(++i<o)n[i]=t[i].call(this,n[i]);return br(e,this,n)}))})),Uu=wo((function(e,t){var r=dn(t,Va(Uu));return Da(e,S,o,t,r)})),Wu=wo((function(e,t){var r=dn(t,Va(Wu));return Da(e,M,o,t,r)})),$u=Ba((function(e,t){return Da(e,T,o,o,o,t)}));function Gu(e,t){if("function"!=typeof e)throw new ot(u);return t=t===o?t:qc(t),wo(e,t)}function qu(e,t){if("function"!=typeof e)throw new ot(u);return t=null==t?0:Ft(qc(t),0),wo((function(r){var n=r[t],i=$o(r,0,t);return n&&Or(i,n),br(e,this,i)}))}function Xu(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new ot(u);return Sc(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Ru(e,t,{leading:n,maxWait:t,trailing:i})}function Ku(e){return Au(e,1)}function Zu(e,t){return Uu(Vo(t),e)}function Ju(){if(!arguments.length)return[];var e=arguments[0];return lc(e)?e:[e]}function Qu(e){return vi(e,g)}function ec(e,t){return t="function"==typeof t?t:o,vi(e,g,t)}function tc(e){return vi(e,p|g)}function rc(e,t){return t="function"==typeof t?t:o,vi(e,p|g,t)}function nc(e,t){return null==t||bi(e,t,xd(t))}function ic(e,t){return e===t||e!==e&&t!==t}var oc=Ca(Ni),ac=Ca((function(e,t){return e>=t})),sc=Ui(function(){return arguments}())?Ui:function(e){return Mc(e)&&dt.call(e,"callee")&&!St.call(e,"callee")},lc=r.isArray,uc=fr?Xr(fr):Wi;function cc(e){return null!=e&&kc(e.length)&&!wc(e)}function dc(e){return Mc(e)&&cc(e)}function hc(e){return!0===e||!1===e||Mc(e)&&Ri(e)==G}var fc=Rt||qh,pc=pr?Xr(pr):$i;function mc(e){return Mc(e)&&1===e.nodeType&&!jc(e)}function gc(e){if(null==e)return!0;if(cc(e)&&(lc(e)||"string"==typeof e||"function"==typeof e.splice||fc(e)||Fc(e)||sc(e)))return!e.length;var t=Za(e);if(t==Q||t==ae)return!e.size;if(fs(e))return!ro(e).length;for(var r in e)if(dt.call(e,r))return!1;return!0}function vc(e,t){return Gi(e,t)}function yc(e,t,r){r="function"==typeof r?r:o;var n=r?r(e,t):o;return n===o?Gi(e,t,o,r):!!n}function bc(e){if(!Mc(e))return!1;var t=Ri(e);return t==K||t==X||"string"==typeof e.message&&"string"==typeof e.name&&!jc(e)}function _c(e){return"number"==typeof e&&Nt(e)}function wc(e){if(!Sc(e))return!1;var t=Ri(e);return t==Z||t==J||t==$||t==ie}function xc(e){return"number"==typeof e&&e==qc(e)}function kc(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=N}function Sc(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Mc(e){return null!=e&&"object"==typeof e}var Cc=mr?Xr(mr):Xi;function Tc(e,t){return e===t||Ki(e,t,$a(t))}function Oc(e,t,r){return r="function"==typeof r?r:o,Ki(e,t,$a(t),r)}function Lc(e){return Ic(e)&&e!=+e}function Ac(e){if(hs(e))throw new i(l);return Zi(e)}function Dc(e){return null===e}function Ec(e){return null==e}function Ic(e){return"number"==typeof e||Mc(e)&&Ri(e)==ee}function jc(e){if(!Mc(e)||Ri(e)!=re)return!1;var t=xt(e);if(null===t)return!0;var r=dt.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&ct.call(r)==mt}var Pc=gr?Xr(gr):Ji;function Rc(e){return xc(e)&&e>=-N&&e<=N}var Nc=vr?Xr(vr):Qi;function Bc(e){return"string"==typeof e||!lc(e)&&Mc(e)&&Ri(e)==se}function Yc(e){return"symbol"==typeof e||Mc(e)&&Ri(e)==le}var Fc=yr?Xr(yr):eo;function zc(e){return e===o}function Hc(e){return Mc(e)&&Za(e)==ce}function Vc(e){return Mc(e)&&Ri(e)==de}var Uc=Ca(io),Wc=Ca((function(e,t){return e<=t}));function $c(e){if(!e)return[];if(cc(e))return Bc(e)?vn(e):ia(e);if(Tt&&e[Tt])return ln(e[Tt]());var t=Za(e),r=t==Q?un:t==ae?hn:zd;return r(e)}function Gc(e){if(!e)return 0===e?e:0;if(e=Kc(e),e===R||e===-R){var t=e<0?-1:1;return t*B}return e===e?e:0}function qc(e){var t=Gc(e),r=t%1;return t===t?r?t-r:t:0}function Xc(e){return e?gi(qc(e),0,F):0}function Kc(e){if("number"==typeof e)return e;if(Yc(e))return Y;if(Sc(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Sc(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=qr(e);var r=Xe.test(e);return r||Ze.test(e)?ir(e.slice(2),r?2:8):qe.test(e)?Y:+e}function Zc(e){return oa(e,kd(e))}function Jc(e){return e?gi(qc(e),-N,N):0===e?e:0}function Qc(e){return null==e?"":jo(e)}var ed=ua((function(e,t){if(fs(t)||cc(t))oa(t,xd(t),e);else for(var r in t)dt.call(t,r)&&ui(e,r,t[r])})),td=ua((function(e,t){oa(t,kd(t),e)})),rd=ua((function(e,t,r,n){oa(t,kd(t),e,n)})),nd=ua((function(e,t,r,n){oa(t,xd(t),e,n)})),id=Ba(mi);function od(e,t){var r=kn(e);return null==t?r:hi(r,t)}var ad=wo((function(e,t){e=rt(e);var r=-1,n=t.length,i=n>2?t[2]:o;i&&ss(t[0],t[1],i)&&(n=1);while(++r<n){var a=t[r],s=kd(a),l=-1,u=s.length;while(++l<u){var c=s[l],d=e[c];(d===o||ic(d,lt[c])&&!dt.call(e,c))&&(e[c]=a[c])}}return e})),sd=wo((function(e){return e.push(o,Ia),br(Td,o,e)}));function ld(e,t){return Pr(e,Ua(t,3),Di)}function ud(e,t){return Pr(e,Ua(t,3),Ei)}function cd(e,t){return null==e?e:Li(e,Ua(t,3),kd)}function dd(e,t){return null==e?e:Ai(e,Ua(t,3),kd)}function hd(e,t){return e&&Di(e,Ua(t,3))}function fd(e,t){return e&&Ei(e,Ua(t,3))}function pd(e){return null==e?[]:Ii(e,xd(e))}function md(e){return null==e?[]:Ii(e,kd(e))}function gd(e,t,r){var n=null==e?o:ji(e,t);return n===o?r:n}function vd(e,t){return null!=e&&es(e,t,Bi)}function yd(e,t){return null!=e&&es(e,t,Yi)}var bd=_a((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),e[t]=r}),Ch(Ah)),_d=_a((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),dt.call(e,t)?e[t].push(r):e[t]=[r]}),Ua),wd=wo(Vi);function xd(e){return cc(e)?ii(e):ro(e)}function kd(e){return cc(e)?ii(e,!0):no(e)}function Sd(e,t){var r={};return t=Ua(t,3),Di(e,(function(e,n,i){pi(r,t(e,n,i),e)})),r}function Md(e,t){var r={};return t=Ua(t,3),Di(e,(function(e,n,i){pi(r,n,t(e,n,i))})),r}var Cd=ua((function(e,t,r){lo(e,t,r)})),Td=ua((function(e,t,r,n){lo(e,t,r,n)})),Od=Ba((function(e,t){var r={};if(null==e)return r;var n=!1;t=Tr(t,(function(t){return t=Uo(t,e),n||(n=t.length>1),t})),oa(e,Fa(e),r),n&&(r=vi(r,p|m|g,ja));var i=t.length;while(i--)Ro(r,t[i]);return r}));function Ld(e,t){return Dd(e,zu(Ua(t)))}var Ad=Ba((function(e,t){return null==e?{}:fo(e,t)}));function Dd(e,t){if(null==e)return{};var r=Tr(Fa(e),(function(e){return[e]}));return t=Ua(t),po(e,r,(function(e,r){return t(e,r[0])}))}function Ed(e,t,r){t=Uo(t,e);var n=-1,i=t.length;i||(i=1,e=o);while(++n<i){var a=null==e?o:e[Ds(t[n])];a===o&&(n=i,a=r),e=wc(a)?a.call(e):a}return e}function Id(e,t,r){return null==e?e:So(e,t,r)}function jd(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:So(e,t,r,n)}var Pd=Aa(xd),Rd=Aa(kd);function Nd(e,t,r){var n=lc(e),i=n||fc(e)||Fc(e);if(t=Ua(t,4),null==r){var o=e&&e.constructor;r=i?n?new o:[]:Sc(e)&&wc(o)?kn(xt(e)):{}}return(i?wr:Di)(e,(function(e,n,i){return t(r,e,n,i)})),r}function Bd(e,t){return null==e||Ro(e,t)}function Yd(e,t,r){return null==e?e:No(e,t,Vo(r))}function Fd(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:No(e,t,Vo(r),n)}function zd(e){return null==e?[]:Kr(e,xd(e))}function Hd(e){return null==e?[]:Kr(e,kd(e))}function Vd(e,t,r){return r===o&&(r=t,t=o),r!==o&&(r=Kc(r),r=r===r?r:0),t!==o&&(t=Kc(t),t=t===t?t:0),gi(Kc(e),t,r)}function Ud(e,t,r){return t=Gc(t),r===o?(r=t,t=0):r=Gc(r),e=Kc(e),Fi(e,t,r)}function Wd(e,t,r){if(r&&"boolean"!=typeof r&&ss(e,t,r)&&(t=r=o),r===o&&("boolean"==typeof t?(r=t,t=o):"boolean"==typeof e&&(r=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Gc(e),t===o?(t=e,e=0):t=Gc(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var i=$t();return zt(e+i*(t-e+nr("1e-"+((i+"").length-1))),t)}return yo(e,t)}var $d=pa((function(e,t,r){return t=t.toLowerCase(),e+(r?Gd(t):t)}));function Gd(e){return _h(Qc(e).toLowerCase())}function qd(e){return e=Qc(e),e&&e.replace(Qe,tn).replace(Ut,"")}function Xd(e,t,r){e=Qc(e),t=jo(t);var n=e.length;r=r===o?n:gi(qc(r),0,n);var i=r;return r-=t.length,r>=0&&e.slice(r,i)==t}function Kd(e){return e=Qc(e),e&&Le.test(e)?e.replace(Te,rn):e}function Zd(e){return e=Qc(e),e&&Ne.test(e)?e.replace(Re,"\\$&"):e}var Jd=pa((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Qd=pa((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),eh=fa("toLowerCase");function th(e,t,r){e=Qc(e),t=qc(t);var n=t?gn(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return ka(jt(i),r)+e+ka(It(i),r)}function rh(e,t,r){e=Qc(e),t=qc(t);var n=t?gn(e):0;return t&&n<t?e+ka(t-n,r):e}function nh(e,t,r){e=Qc(e),t=qc(t);var n=t?gn(e):0;return t&&n<t?ka(t-n,r)+e:e}function ih(e,t,r){return r||null==t?t=0:t&&(t=+t),Wt(Qc(e).replace(Be,""),t||0)}function oh(e,t,r){return t=(r?ss(e,t,r):t===o)?1:qc(t),_o(Qc(e),t)}function ah(){var e=arguments,t=Qc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var sh=pa((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));function lh(e,t,r){return r&&"number"!=typeof r&&ss(e,t,r)&&(t=r=o),r=r===o?F:r>>>0,r?(e=Qc(e),e&&("string"==typeof t||null!=t&&!Pc(t))&&(t=jo(t),!t&&an(e))?$o(vn(e),0,r):e.split(t,r)):[]}var uh=pa((function(e,t,r){return e+(r?" ":"")+_h(t)}));function ch(e,t,r){return e=Qc(e),r=null==r?0:gi(qc(r),0,e.length),t=jo(t),e.slice(r,r+t.length)==t}function dh(e,t,r){var n=wn.templateSettings;r&&ss(e,t,r)&&(t=o),e=Qc(e),t=rd({},t,n,Ea);var a,s,l=rd({},t.imports,n.imports,Ea),u=xd(l),d=Kr(l,u),h=0,f=t.interpolate||et,p="__p += '",m=nt((t.escape||et).source+"|"+f.source+"|"+(f===Ee?$e:et).source+"|"+(t.evaluate||et).source+"|$","g"),g="//# sourceURL="+(dt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+"\n";e.replace(m,(function(t,r,n,i,o,l){return n||(n=i),p+=e.slice(h,l).replace(tt,nn),r&&(a=!0,p+="' +\n__e("+r+") +\n'"),o&&(s=!0,p+="';\n"+o+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),h=l+t.length,t})),p+="';\n";var v=dt.call(t,"variable")&&t.variable;if(v){if(Ue.test(v))throw new i(c)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(ke,""):p).replace(Se,"$1").replace(Me,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=xh((function(){return Ye(u,g+"return "+p).apply(o,d)}));if(y.source=p,bc(y))throw y;return y}function hh(e){return Qc(e).toLowerCase()}function fh(e){return Qc(e).toUpperCase()}function ph(e,t,r){if(e=Qc(e),e&&(r||t===o))return qr(e);if(!e||!(t=jo(t)))return e;var n=vn(e),i=vn(t),a=Jr(n,i),s=Qr(n,i)+1;return $o(n,a,s).join("")}function mh(e,t,r){if(e=Qc(e),e&&(r||t===o))return e.slice(0,yn(e)+1);if(!e||!(t=jo(t)))return e;var n=vn(e),i=Qr(n,vn(t))+1;return $o(n,0,i).join("")}function gh(e,t,r){if(e=Qc(e),e&&(r||t===o))return e.replace(Be,"");if(!e||!(t=jo(t)))return e;var n=vn(e),i=Jr(n,vn(t));return $o(n,i).join("")}function vh(e,t){var r=L,n=A;if(Sc(t)){var i="separator"in t?t.separator:i;r="length"in t?qc(t.length):r,n="omission"in t?jo(t.omission):n}e=Qc(e);var a=e.length;if(an(e)){var s=vn(e);a=s.length}if(r>=a)return e;var l=r-gn(n);if(l<1)return n;var u=s?$o(s,0,l).join(""):e.slice(0,l);if(i===o)return u+n;if(s&&(l+=u.length-l),Pc(i)){if(e.slice(l).search(i)){var c,d=u;i.global||(i=nt(i.source,Qc(Ge.exec(i))+"g")),i.lastIndex=0;while(c=i.exec(d))var h=c.index;u=u.slice(0,h===o?l:h)}}else if(e.indexOf(jo(i),l)!=l){var f=u.lastIndexOf(i);f>-1&&(u=u.slice(0,f))}return u+n}function yh(e){return e=Qc(e),e&&Oe.test(e)?e.replace(Ce,bn):e}var bh=pa((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),_h=fa("toUpperCase");function wh(e,t,r){return e=Qc(e),t=r?o:t,t===o?sn(e)?xn(e):jr(e):e.match(t)||[]}var xh=wo((function(e,t){try{return br(e,o,t)}catch(r){return bc(r)?r:new i(r)}})),kh=Ba((function(e,t){return wr(t,(function(t){t=Ds(t),pi(e,t,Eu(e[t],e))})),e}));function Sh(e){var t=null==e?0:e.length,r=Ua();return e=t?Tr(e,(function(e){if("function"!=typeof e[1])throw new ot(u);return[r(e[0]),e[1]]})):[],wo((function(r){var n=-1;while(++n<t){var i=e[n];if(br(i[0],this,r))return br(i[1],this,r)}}))}function Mh(e){return yi(vi(e,p))}function Ch(e){return function(){return e}}function Th(e,t){return null==e||e!==e?t:e}var Oh=ya(),Lh=ya(!0);function Ah(e){return e}function Dh(e){return to("function"==typeof e?e:vi(e,p))}function Eh(e){return ao(vi(e,p))}function Ih(e,t){return so(e,vi(t,p))}var jh=wo((function(e,t){return function(r){return Vi(r,e,t)}})),Ph=wo((function(e,t){return function(r){return Vi(e,r,t)}}));function Rh(e,t,r){var n=xd(t),i=Ii(t,n);null!=r||Sc(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=Ii(t,xd(t)));var o=!(Sc(r)&&"chain"in r)||!!r.chain,a=wc(e);return wr(i,(function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__),i=r.__actions__=ia(this.__actions__);return i.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Or([this.value()],arguments))})})),e}function Nh(){return sr._===this&&(sr._=gt),this}function Bh(){}function Yh(e){return e=qc(e),wo((function(t){return co(t,e)}))}var Fh=xa(Tr),zh=xa(kr),Hh=xa(Dr);function Vh(e){return ls(e)?zr(Ds(e)):mo(e)}function Uh(e){return function(t){return null==e?o:ji(e,t)}}var Wh=Ma(),$h=Ma(!0);function Gh(){return[]}function qh(){return!1}function Xh(){return{}}function Kh(){return""}function Zh(){return!0}function Jh(e,t){if(e=qc(e),e<1||e>N)return[];var r=F,n=zt(e,F);t=Ua(t),e-=F;var i=$r(n,t);while(++r<e)t(r);return i}function Qh(e){return lc(e)?Tr(e,Ds):Yc(e)?[e]:ia(As(Qc(e)))}function ef(e){var t=++ht;return Qc(e)+t}var tf=wa((function(e,t){return e+t}),0),rf=Oa("ceil"),nf=wa((function(e,t){return e/t}),1),of=Oa("floor");function af(e){return e&&e.length?Mi(e,Ah,Ni):o}function sf(e,t){return e&&e.length?Mi(e,Ua(t,2),Ni):o}function lf(e){return Fr(e,Ah)}function uf(e,t){return Fr(e,Ua(t,2))}function cf(e){return e&&e.length?Mi(e,Ah,io):o}function df(e,t){return e&&e.length?Mi(e,Ua(t,2),io):o}var hf=wa((function(e,t){return e*t}),1),ff=Oa("round"),pf=wa((function(e,t){return e-t}),0);function mf(e){return e&&e.length?Wr(e,Ah):0}function gf(e,t){return e&&e.length?Wr(e,Ua(t,2)):0}return wn.after=Lu,wn.ary=Au,wn.assign=ed,wn.assignIn=td,wn.assignInWith=rd,wn.assignWith=nd,wn.at=id,wn.before=Du,wn.bind=Eu,wn.bindAll=kh,wn.bindKey=Iu,wn.castArray=Ju,wn.chain=Wl,wn.chunk=Ps,wn.compact=Rs,wn.concat=Ns,wn.cond=Sh,wn.conforms=Mh,wn.constant=Ch,wn.countBy=ru,wn.create=od,wn.curry=ju,wn.curryRight=Pu,wn.debounce=Ru,wn.defaults=ad,wn.defaultsDeep=sd,wn.defer=Nu,wn.delay=Bu,wn.difference=Bs,wn.differenceBy=Ys,wn.differenceWith=Fs,wn.drop=zs,wn.dropRight=Hs,wn.dropRightWhile=Vs,wn.dropWhile=Us,wn.fill=Ws,wn.filter=iu,wn.flatMap=su,wn.flatMapDeep=lu,wn.flatMapDepth=uu,wn.flatten=qs,wn.flattenDeep=Xs,wn.flattenDepth=Ks,wn.flip=Yu,wn.flow=Oh,wn.flowRight=Lh,wn.fromPairs=Zs,wn.functions=pd,wn.functionsIn=md,wn.groupBy=hu,wn.initial=el,wn.intersection=tl,wn.intersectionBy=rl,wn.intersectionWith=nl,wn.invert=bd,wn.invertBy=_d,wn.invokeMap=pu,wn.iteratee=Dh,wn.keyBy=mu,wn.keys=xd,wn.keysIn=kd,wn.map=gu,wn.mapKeys=Sd,wn.mapValues=Md,wn.matches=Eh,wn.matchesProperty=Ih,wn.memoize=Fu,wn.merge=Cd,wn.mergeWith=Td,wn.method=jh,wn.methodOf=Ph,wn.mixin=Rh,wn.negate=zu,wn.nthArg=Yh,wn.omit=Od,wn.omitBy=Ld,wn.once=Hu,wn.orderBy=vu,wn.over=Fh,wn.overArgs=Vu,wn.overEvery=zh,wn.overSome=Hh,wn.partial=Uu,wn.partialRight=Wu,wn.partition=yu,wn.pick=Ad,wn.pickBy=Dd,wn.property=Vh,wn.propertyOf=Uh,wn.pull=ll,wn.pullAll=ul,wn.pullAllBy=cl,wn.pullAllWith=dl,wn.pullAt=hl,wn.range=Wh,wn.rangeRight=$h,wn.rearg=$u,wn.reject=wu,wn.remove=fl,wn.rest=Gu,wn.reverse=pl,wn.sampleSize=ku,wn.set=Id,wn.setWith=jd,wn.shuffle=Su,wn.slice=ml,wn.sortBy=Tu,wn.sortedUniq=xl,wn.sortedUniqBy=kl,wn.split=lh,wn.spread=qu,wn.tail=Sl,wn.take=Ml,wn.takeRight=Cl,wn.takeRightWhile=Tl,wn.takeWhile=Ol,wn.tap=$l,wn.throttle=Xu,wn.thru=Gl,wn.toArray=$c,wn.toPairs=Pd,wn.toPairsIn=Rd,wn.toPath=Qh,wn.toPlainObject=Zc,wn.transform=Nd,wn.unary=Ku,wn.union=Ll,wn.unionBy=Al,wn.unionWith=Dl,wn.uniq=El,wn.uniqBy=Il,wn.uniqWith=jl,wn.unset=Bd,wn.unzip=Pl,wn.unzipWith=Rl,wn.update=Yd,wn.updateWith=Fd,wn.values=zd,wn.valuesIn=Hd,wn.without=Nl,wn.words=wh,wn.wrap=Zu,wn.xor=Bl,wn.xorBy=Yl,wn.xorWith=Fl,wn.zip=zl,wn.zipObject=Hl,wn.zipObjectDeep=Vl,wn.zipWith=Ul,wn.entries=Pd,wn.entriesIn=Rd,wn.extend=td,wn.extendWith=rd,Rh(wn,wn),wn.add=tf,wn.attempt=xh,wn.camelCase=$d,wn.capitalize=Gd,wn.ceil=rf,wn.clamp=Vd,wn.clone=Qu,wn.cloneDeep=tc,wn.cloneDeepWith=rc,wn.cloneWith=ec,wn.conformsTo=nc,wn.deburr=qd,wn.defaultTo=Th,wn.divide=nf,wn.endsWith=Xd,wn.eq=ic,wn.escape=Kd,wn.escapeRegExp=Zd,wn.every=nu,wn.find=ou,wn.findIndex=$s,wn.findKey=ld,wn.findLast=au,wn.findLastIndex=Gs,wn.findLastKey=ud,wn.floor=of,wn.forEach=cu,wn.forEachRight=du,wn.forIn=cd,wn.forInRight=dd,wn.forOwn=hd,wn.forOwnRight=fd,wn.get=gd,wn.gt=oc,wn.gte=ac,wn.has=vd,wn.hasIn=yd,wn.head=Js,wn.identity=Ah,wn.includes=fu,wn.indexOf=Qs,wn.inRange=Ud,wn.invoke=wd,wn.isArguments=sc,wn.isArray=lc,wn.isArrayBuffer=uc,wn.isArrayLike=cc,wn.isArrayLikeObject=dc,wn.isBoolean=hc,wn.isBuffer=fc,wn.isDate=pc,wn.isElement=mc,wn.isEmpty=gc,wn.isEqual=vc,wn.isEqualWith=yc,wn.isError=bc,wn.isFinite=_c,wn.isFunction=wc,wn.isInteger=xc,wn.isLength=kc,wn.isMap=Cc,wn.isMatch=Tc,wn.isMatchWith=Oc,wn.isNaN=Lc,wn.isNative=Ac,wn.isNil=Ec,wn.isNull=Dc,wn.isNumber=Ic,wn.isObject=Sc,wn.isObjectLike=Mc,wn.isPlainObject=jc,wn.isRegExp=Pc,wn.isSafeInteger=Rc,wn.isSet=Nc,wn.isString=Bc,wn.isSymbol=Yc,wn.isTypedArray=Fc,wn.isUndefined=zc,wn.isWeakMap=Hc,wn.isWeakSet=Vc,wn.join=il,wn.kebabCase=Jd,wn.last=ol,wn.lastIndexOf=al,wn.lowerCase=Qd,wn.lowerFirst=eh,wn.lt=Uc,wn.lte=Wc,wn.max=af,wn.maxBy=sf,wn.mean=lf,wn.meanBy=uf,wn.min=cf,wn.minBy=df,wn.stubArray=Gh,wn.stubFalse=qh,wn.stubObject=Xh,wn.stubString=Kh,wn.stubTrue=Zh,wn.multiply=hf,wn.nth=sl,wn.noConflict=Nh,wn.noop=Bh,wn.now=Ou,wn.pad=th,wn.padEnd=rh,wn.padStart=nh,wn.parseInt=ih,wn.random=Wd,wn.reduce=bu,wn.reduceRight=_u,wn.repeat=oh,wn.replace=ah,wn.result=Ed,wn.round=ff,wn.runInContext=e,wn.sample=xu,wn.size=Mu,wn.snakeCase=sh,wn.some=Cu,wn.sortedIndex=gl,wn.sortedIndexBy=vl,wn.sortedIndexOf=yl,wn.sortedLastIndex=bl,wn.sortedLastIndexBy=_l,wn.sortedLastIndexOf=wl,wn.startCase=uh,wn.startsWith=ch,wn.subtract=pf,wn.sum=mf,wn.sumBy=gf,wn.template=dh,wn.times=Jh,wn.toFinite=Gc,wn.toInteger=qc,wn.toLength=Xc,wn.toLower=hh,wn.toNumber=Kc,wn.toSafeInteger=Jc,wn.toString=Qc,wn.toUpper=fh,wn.trim=ph,wn.trimEnd=mh,wn.trimStart=gh,wn.truncate=vh,wn.unescape=yh,wn.uniqueId=ef,wn.upperCase=bh,wn.upperFirst=_h,wn.each=cu,wn.eachRight=du,wn.first=Js,Rh(wn,function(){var e={};return Di(wn,(function(t,r){dt.call(wn.prototype,r)||(e[r]=t)})),e}(),{chain:!1}),wn.VERSION=a,wr(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){wn[e].placeholder=wn})),wr(["drop","take"],(function(e,t){Tn.prototype[e]=function(r){r=r===o?1:Ft(qc(r),0);var n=this.__filtered__&&!t?new Tn(this):this.clone();return n.__filtered__?n.__takeCount__=zt(r,n.__takeCount__):n.__views__.push({size:zt(r,F),type:e+(n.__dir__<0?"Right":"")}),n},Tn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),wr(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=r==I||r==P;Tn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ua(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),wr(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Tn.prototype[e]=function(){return this[r](1).value()[0]}})),wr(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Tn.prototype[e]=function(){return this.__filtered__?new Tn(this):this[r](1)}})),Tn.prototype.compact=function(){return this.filter(Ah)},Tn.prototype.find=function(e){return this.filter(e).head()},Tn.prototype.findLast=function(e){return this.reverse().find(e)},Tn.prototype.invokeMap=wo((function(e,t){return"function"==typeof e?new Tn(this):this.map((function(r){return Vi(r,e,t)}))})),Tn.prototype.reject=function(e){return this.filter(zu(Ua(e)))},Tn.prototype.slice=function(e,t){e=qc(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Tn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==o&&(t=qc(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},Tn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Tn.prototype.toArray=function(){return this.take(F)},Di(Tn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=wn[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(wn.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,l=t instanceof Tn,u=s[0],c=l||lc(t),d=function(e){var t=i.apply(wn,Or([e],s));return n&&h?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,m=l&&!f;if(!a&&c){t=m?t:new Tn(this);var g=e.apply(t,s);return g.__actions__.push({func:Gl,args:[d],thisArg:o}),new Cn(g,h)}return p&&m?e.apply(this,s):(g=this.thru(d),p?n?g.value()[0]:g.value():g)})})),wr(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);wn.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(lc(i)?i:[],e)}return this[r]((function(r){return t.apply(lc(r)?r:[],e)}))}})),Di(Tn.prototype,(function(e,t){var r=wn[t];if(r){var n=r.name+"";dt.call(lr,n)||(lr[n]=[]),lr[n].push({name:t,func:r})}})),lr[ba(o,_).name]=[{name:"wrapper",func:o}],Tn.prototype.clone=On,Tn.prototype.reverse=Ln,Tn.prototype.value=An,wn.prototype.at=ql,wn.prototype.chain=Xl,wn.prototype.commit=Kl,wn.prototype.next=Zl,wn.prototype.plant=Ql,wn.prototype.reverse=eu,wn.prototype.toJSON=wn.prototype.valueOf=wn.prototype.value=tu,wn.prototype.first=wn.prototype.head,Tt&&(wn.prototype[Tt]=Jl),wn},Sn=kn();sr._=Sn,i=function(){return Sn}.call(t,r,t,n),i===o||(n.exports=i)}).call(this)}).call(this,r("24aa"),r("7ebd")(e))},"2f21":function(e,t,r){"use strict";var n=r("79e5");e.exports=function(e,t){return!!e&&n((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},"2f62":function(e,t,r){"use strict";
|
||
/**
|
||
* vuex v3.1.0
|
||
* (c) 2019 Evan You
|
||
* @license MIT
|
||
*/
|
||
function n(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,r.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}r.d(t,"d",(function(){return L})),r.d(t,"c",(function(){return A})),r.d(t,"b",(function(){return D}));var i="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)})))}function a(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function s(e){return null!==e&&"object"===typeof e}function l(e){return e&&"function"===typeof e.then}var u=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=("function"===typeof r?r():r)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},u.prototype.addChild=function(e,t){this._children[e]=t},u.prototype.removeChild=function(e){delete this._children[e]},u.prototype.getChild=function(e){return this._children[e]},u.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},u.prototype.forEachChild=function(e){a(this._children,e)},u.prototype.forEachGetter=function(e){this._rawModule.getters&&a(this._rawModule.getters,e)},u.prototype.forEachAction=function(e){this._rawModule.actions&&a(this._rawModule.actions,e)},u.prototype.forEachMutation=function(e){this._rawModule.mutations&&a(this._rawModule.mutations,e)},Object.defineProperties(u.prototype,c);var d=function(e){this.register([],e,!1)};function h(e,t,r){if(t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n))return void 0;h(e.concat(n),t.getChild(n),r.modules[n])}}d.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},d.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,r){return t=t.getChild(r),e+(t.namespaced?r+"/":"")}),"")},d.prototype.update=function(e){h([],this.root,e)},d.prototype.register=function(e,t,r){var n=this;void 0===r&&(r=!0);var i=new u(t,r);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&a(t.modules,(function(t,i){n.register(e.concat(i),t,r)}))},d.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1];t.getChild(r).runtime&&t.removeChild(r)};var f;var p=function(e){var t=this;void 0===e&&(e={}),!f&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var r=e.plugins;void 0===r&&(r=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new d(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new f;var i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,r){return l.call(i,e,t,r)},this.strict=n;var u=this._modules.root.state;b(this,u,[],this._modules.root),y(this,u),r.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:f.config.devtools;c&&o(this)},m={state:{configurable:!0}};function g(e,t){return t.indexOf(e)<0&&t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function v(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;b(e,r,[],e._modules.root,!0),y(e,r,t)}function y(e,t,r){var n=e._vm;e.getters={};var i=e._wrappedGetters,o={};a(i,(function(t,r){o[r]=function(){return t(e)},Object.defineProperty(e.getters,r,{get:function(){return e._vm[r]},enumerable:!0})}));var s=f.config.silent;f.config.silent=!0,e._vm=new f({data:{$$state:t},computed:o}),f.config.silent=s,e.strict&&M(e),n&&(r&&e._withCommit((function(){n._data.$$state=null})),f.nextTick((function(){return n.$destroy()})))}function b(e,t,r,n,i){var o=!r.length,a=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[a]=n),!o&&!i){var s=C(t,r.slice(0,-1)),l=r[r.length-1];e._withCommit((function(){f.set(s,l,n.state)}))}var u=n.context=_(e,a,r);n.forEachMutation((function(t,r){var n=a+r;x(e,n,t,u)})),n.forEachAction((function(t,r){var n=t.root?r:a+r,i=t.handler||t;k(e,n,i,u)})),n.forEachGetter((function(t,r){var n=a+r;S(e,n,t,u)})),n.forEachChild((function(n,o){b(e,t,r.concat(o),n,i)}))}function _(e,t,r){var n=""===t,i={dispatch:n?e.dispatch:function(r,n,i){var o=T(r,n,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:n?e.commit:function(r,n,i){var o=T(r,n,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return w(e,t)}},state:{get:function(){return C(e.state,r)}}}),i}function w(e,t){var r={},n=t.length;return Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var o=i.slice(n);Object.defineProperty(r,o,{get:function(){return e.getters[i]},enumerable:!0})}})),r}function x(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){r.call(e,n.state,t)}))}function k(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t,i){var o=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t,i);return l(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}function S(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)})}function M(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function C(e,t){return t.length?t.reduce((function(e,t){return e[t]}),e):e}function T(e,t,r){return s(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function O(e){f&&e===f||(f=e,n(f))}m.state.get=function(){return this._vm._data.$$state},m.state.set=function(e){0},p.prototype.commit=function(e,t,r){var n=this,i=T(e,t,r),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.forEach((function(e){return e(s,n.state)})))},p.prototype.dispatch=function(e,t){var r=this,n=T(e,t),i=n.type,o=n.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.filter((function(e){return e.before})).forEach((function(e){return e.before(a,r.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return l.then((function(e){try{r._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,r.state)}))}catch(u){0}return e}))}},p.prototype.subscribe=function(e){return g(e,this._subscribers)},p.prototype.subscribeAction=function(e){var t="function"===typeof e?{before:e}:e;return g(t,this._actionSubscribers)},p.prototype.watch=function(e,t,r){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,r)},p.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},p.prototype.registerModule=function(e,t,r){void 0===r&&(r={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),b(this,this.state,e,this._modules.get(e),r.preserveState),y(this,this.state)},p.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var r=C(t.state,e.slice(0,-1));f.delete(r,e[e.length-1])})),v(this)},p.prototype.hotUpdate=function(e){this._modules.update(e),v(this,!0)},p.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(p.prototype,m);var L=P((function(e,t){var r={};return j(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=this.$store.state,r=this.$store.getters;if(e){var n=R(this.$store,"mapState",e);if(!n)return;t=n.context.state,r=n.context.getters}return"function"===typeof i?i.call(this,t,r):t[i]},r[n].vuex=!0})),r})),A=P((function(e,t){var r={};return j(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.commit;if(e){var o=R(this.$store,"mapMutations",e);if(!o)return;n=o.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),D=P((function(e,t){var r={};return j(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,r[n]=function(){if(!e||R(this.$store,"mapGetters",e))return this.$store.getters[i]},r[n].vuex=!0})),r})),E=P((function(e,t){var r={};return j(t).forEach((function(t){var n=t.key,i=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.dispatch;if(e){var o=R(this.$store,"mapActions",e);if(!o)return;n=o.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),r})),I=function(e){return{mapState:L.bind(null,e),mapGetters:D.bind(null,e),mapMutations:A.bind(null,e),mapActions:E.bind(null,e)}};function j(e){return Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}}))}function P(e){return function(t,r){return"string"!==typeof t?(r=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,r)}}function R(e,t,r){var n=e._modulesNamespaceMap[r];return n}var N={Store:p,install:O,version:"3.1.0",mapState:L,mapMutations:A,mapGetters:D,mapActions:E,createNamespacedHelpers:I};t["a"]=N},"2f78":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{isubh:function(e,t,r,n){var i=e>>>0,o=t>>>0,a=r>>>0;return o-(n>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},"2fdb":function(e,t,r){"use strict";var n=r("5ca1"),i=r("d2c8"),o="includes";n(n.P+n.F*r("5147")(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},3024:function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},"30b5":function(e,t,r){"use strict";var n=r("c532");function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},"30ba":function(e,t,r){
|
||
/*!
|
||
* @form-create/element-ui v2.5.35
|
||
* (c) 2018-2024 xaboy
|
||
* Github https://github.com/xaboy/form-create
|
||
* Released under the MIT License.
|
||
*/
|
||
!function(e,n){n(t,r("2b0e"))}(0,(function(e,t){"use strict";function r(){return(r=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n=["attrs","props","domProps"],i=["class","style","directives"],o=["on","nativeOn"],a=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},s=function(e){return e.reduce((function(e,t){for(var s in t)if(e[s])if(-1!==n.indexOf(s))e[s]=r({},e[s],t[s]);else if(-1!==i.indexOf(s)){var l=e[s]instanceof Array?e[s]:[e[s]],u=t[s]instanceof Array?t[s]:[t[s]];e[s]=l.concat(u)}else if(-1!==o.indexOf(s))for(var c in t[s])if(e[s][c]){var d=e[s][c]instanceof Array?e[s][c]:[e[s][c]],h=t[s][c]instanceof Array?t[s][c]:[t[s][c]];e[s][c]=d.concat(h)}else e[s][c]=t[s][c];else if("hook"==s)for(var f in t[s])e[s][f]=e[s][f]?a(e[s][f],t[s][f]):t[s][f];else e[s]=t[s];else e[s]=t[s];return e}),{})};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=h(e);if(t){var i=h(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return p(this,r)}}function g(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){return Object.keys(e).reduce((function(r,n){return t&&-1!==t.indexOf(n)||r.push(e[n]),r}),[])}var b={name:"fcCheckbox",props:{formCreateInject:{type:Object,required:!0},value:{type:Array,default:function(){return[]}},type:String},watch:{"formCreateInject.options":{handler:function(){this.update()},deep:!0},value:function(){this.update()}},data:function(){return{trueValue:[]}},methods:{options:function(){var e=this.formCreateInject.options;return Array.isArray(e)?e:[]},onInput:function(e){this.$emit("input",this.options().filter((function(t){return-1!==e.indexOf(t.label)})).map((function(e){return e.value})).filter((function(e){return void 0!==e})))},update:function(){var e=Array.isArray(this.value)?this.value:[this.value];this.trueValue=this.options().filter((function(t){return-1!==e.indexOf(t.value)})).map((function(e){return e.label}))}},created:function(){this.update()},render:function(){var e=this,t=arguments[0];return t("ElCheckboxGroup",s([{},this.formCreateInject.prop,{},{props:{value:this.trueValue}},{ref:"el",on:{input:this.onInput}}]),[this.options().map((function(r,n){var i=d({},r),o="button"===e.type?"ElCheckboxButton":"ElCheckbox";return delete i.value,t(o,s([{},{props:i},{key:o+n+"-"+r.value}]))})),y(this.$slots)])},mounted:function(){this.$emit("fc.el",this.$refs.el)}};function _(e){return Array.isArray(e)?e:[null,void 0,""].indexOf(e)>-1?[]:[e]}function w(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}w("._fc-frame .fc-files img {\n width: 100%;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n}\n\n._fc-frame .fc-upload-btn {\n border: 1px dashed #c0ccda;\n cursor: pointer;\n}\n\n._fc-frame .fc-upload-cover {\n opacity: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, .6);\n -webkit-transition: opacity .3s;\n -o-transition: opacity .3s;\n transition: opacity .3s;\n}\n\n._fc-frame .fc-upload-cover i {\n color: #fff;\n font-size: 20px;\n cursor: pointer;\n margin: 0 2px;\n}\n\n._fc-frame .fc-files:hover .fc-upload-cover {\n opacity: 1;\n}\n\n._fc-frame .el-upload {\n display: block;\n}\n\n._fc-frame .fc-upload-btn, .fc-files {\n display: inline-block;\n width: 58px;\n height: 58px;\n text-align: center;\n line-height: 58px;\n border: 1px solid #c0ccda;\n border-radius: 4px;\n overflow: hidden;\n background: #fff;\n position: relative;\n -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n margin-right: 4px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n");var x={name:"fcFrame",props:{formCreateInject:{type:Object,required:!0},type:{type:String,default:"input"},field:String,helper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},src:{type:String,required:!0},icon:{type:String,default:"el-icon-upload2"},width:{type:String,default:"500px"},height:{type:String,default:"370px"},maxLength:{type:Number,default:0},okBtnText:{type:String,default:"确定"},closeBtnText:{type:String,default:"关闭"},modalTitle:String,handleIcon:{type:[String,Boolean],default:void 0},title:String,allowRemove:{type:Boolean,default:!0},onOpen:{type:Function,default:function(){}},onOk:{type:Function,default:function(){}},onCancel:{type:Function,default:function(){}},onLoad:{type:Function,default:function(){}},onBeforeRemove:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},onHandle:{type:Function,default:function(e){this.previewImage=this.getSrc(e),this.previewVisible=!0}},modal:{type:Object,default:function(){return{}}},srcKey:{type:[String,Number]},value:[Array,String,Number,Object],previewMask:void 0,footer:{type:Boolean,default:!0},reload:{type:Boolean,default:!0},closeBtn:{type:Boolean,default:!0},okBtn:{type:Boolean,default:!0}},data:function(){return{fileList:_(this.value),previewVisible:!1,frameVisible:!1,previewImage:""}},watch:{value:function(e){this.fileList=_(e)},fileList:function(e){var t=1===this.maxLength?e[0]||"":e;this.$emit("input",t),this.$emit("change",t)},src:function(e){this.modalVm&&(this.modalVm.src=e)}},methods:{key:function(e){return e},closeModel:function(e){this.$emit(e?"$close":"$ok"),this.reload&&(this.$off("$ok"),this.$off("$close")),this.frameVisible=!1},handleCancel:function(){this.previewVisible=!1},showModel:function(){this.disabled||!1===this.onOpen()||(this.frameVisible=!0)},makeInput:function(){var e=this,t=this.$createElement,r={type:"text",value:this.fileList.map((function(t){return e.getSrc(t)})).toString(),readonly:!0};return t("ElInput",s([{},{props:r},{key:this.key("input")}]),[this.fileList.length?t("i",{slot:"suffix",class:"el-input__icon el-icon-circle-close",on:{click:function(){return e.fileList=[]}}}):null,t("ElButton",s([{attrs:{icon:this.icon}},{on:{click:function(){return e.showModel()}}},{slot:"append"}]))])},makeGroup:function(e){var t=this.$createElement;return(!this.maxLength||this.fileList.length<this.maxLength)&&e.push(this.makeBtn()),t("div",{key:this.key("group")},g(e))},makeItem:function(e,t){return(0,this.$createElement)("div",{class:"fc-files",key:this.key("file"+e)},g(t))},valid:function(e){var t=this.formCreateInject.field||this.field;if(t&&e!==t)throw new Error("[frame]无效的字段值")},makeIcons:function(e,t){var r=this.$createElement;if(!1!==this.handleIcon||!0===this.allowRemove){var n=[];return("file"!==this.type&&!1!==this.handleIcon||"file"===this.type&&this.handleIcon)&&n.push(this.makeHandleIcon(e,t)),this.allowRemove&&n.push(this.makeRemoveIcon(e,t)),r("div",{class:"fc-upload-cover",key:this.key("uc")},[n])}},makeHandleIcon:function(e,t){var r=this;return(0,this.$createElement)("i",{class:!0===this.handleIcon||void 0===this.handleIcon?"el-icon-view":this.handleIcon,on:{click:function(){return r.handleClick(e)}},key:this.key("hi"+t)})},makeRemoveIcon:function(e,t){var r=this;return(0,this.$createElement)("i",{class:"el-icon-delete",on:{click:function(){return r.handleRemove(e)}},key:this.key("ri"+t)})},makeFiles:function(){var e=this,t=this.$createElement;return this.makeGroup(this.fileList.map((function(r,n){return e.makeItem(n,[t("i",{class:"el-icon-tickets",on:{click:function(){return e.handleClick(r)}}}),e.makeIcons(r,n)])})))},makeImages:function(){var e=this,t=this.$createElement;return this.makeGroup(this.fileList.map((function(r,n){return e.makeItem(n,[t("img",{attrs:{src:e.getSrc(r)}}),e.makeIcons(r,n)])})))},makeBtn:function(){var e=this,t=this.$createElement;return t("div",{class:"fc-upload-btn",on:{click:function(){return e.showModel()}},key:this.key("btn")},[t("i",{class:this.icon})])},handleClick:function(e){return this.onHandle(e)},handleRemove:function(e){this.disabled||!1!==this.onBeforeRemove(e)&&(this.fileList.splice(this.fileList.indexOf(e),1),this.onRemove(e))},getSrc:function(e){return this.srcKey?e[this.srcKey]:e},frameLoad:function(e){var t=this;this.onLoad(e);try{!0===this.helper&&(e.form_create_helper={api:this.formCreateInject.api,close:function(e){t.valid(e),t.closeModel()},set:function(e,r){t.valid(e),t.disabled||t.$emit("input",r)},get:function(e){return t.valid(e),t.value},onOk:function(e){return t.$on("$ok",e)},onClose:function(e){return t.$on("$close",e)}})}catch(e){console.log(e)}},makeFooter:function(){var e=this,t=this.$createElement,r=this.$props,n=r.okBtnText,i=r.closeBtnText,o=r.closeBtn,a=r.okBtn;if(r.footer)return t("div",{slot:"footer"},[o?t("ElButton",{on:{click:function(){return!1!==e.onCancel()&&(e.frameVisible=!1)}}},[i]):null,a?t("ElButton",{attrs:{type:"primary"},on:{click:function(){return!1!==e.onOk()&&e.closeModel()}}},[n]):null])}},render:function(){var e,t=this,r=arguments[0],n=this.type;e="input"===n?this.makeInput():"image"===n?this.makeImages():this.makeFiles();var i=this.$props,o=i.width,a=void 0===o?"30%":o,l=i.height,u=i.src,c=i.title,h=i.modalTitle;return this.$nextTick((function(){t.$refs.frame&&t.frameLoad(t.$refs.frame.contentWindow||{})})),r("div",{class:"_fc-frame"},[e,r("el-dialog",s([{},{props:{appendToBody:!0,modal:this.previewMask,title:h,visible:this.previewVisible}},{on:{close:this.handleCancel}}]),[r("img",{style:"width: 100%",attrs:{src:this.previewImage}})]),r("el-dialog",s([{},{props:d(d({width:a,title:c,appendToBody:!0},this.modal),{},{visible:this.frameVisible})},{on:{close:function(){return t.closeModel(!0)}}}]),[this.frameVisible||!this.reload?r("iframe",{ref:"frame",attrs:{src:u,frameBorder:"0"},style:{height:l,border:"0 none",width:"100%"}}):null,this.makeFooter()])])},mounted:function(){this.$on("fc.closeModal",this.closeModal)}},k={name:"fcRadio",props:{formCreateInject:{type:Object,required:!0},value:{},type:String},watch:{"formCreateInject.options":{handler:function(){this.update()},deep:!0},value:function(){this.update()}},data:function(){return{trueValue:[]}},methods:{options:function(){var e=this.formCreateInject.options;return Array.isArray(e)?e:[]},onInput:function(e){this.$emit("input",this.options().filter((function(t){return t.label===e})).reduce((function(e,t){return t.value}),""))},update:function(){var e=this;this.trueValue=this.options().filter((function(t){return t.value===e.value})).reduce((function(e,t){return t.label}),"")}},created:function(){this.update()},render:function(){var e=this,t=arguments[0];return t("ElRadioGroup",s([{},this.formCreateInject.prop,{ref:"el"},{props:{value:this.trueValue}},{on:{input:this.onInput}}]),[this.options().map((function(r,n){var i=d({},r),o="button"===e.type?"ElRadioButton":"ElRadio";return delete i.value,t(o,s([{},{props:i},{key:o+n+"-"+r.value}]))})),y(this.$slots)])},mounted:function(){this.$emit("fc.el",this.$refs.el)}},S={type:function(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"},Undef:function(e){return null==e},Element:function(e){return"object"===l(e)&&null!==e&&1===e.nodeType&&!S.Object(e)},trueArray:function(e){return Array.isArray(e)&&e.length>0},Function:function(e){var t=this.getType(e);return"Function"===t||"AsyncFunction"===t},getType:function(e){var t=Object.prototype.toString.call(e);return/^\[object (.*)\]$/.exec(t)[1]},empty:function(e){return null==e||!(!Array.isArray(e)||!Array.isArray(e)||e.length)||"string"==typeof e&&!e}};function M(e,t){return{}.hasOwnProperty.call(e,t)}["Date","Object","String","Boolean","Array","Number"].forEach((function(e){S[e]=function(t){return S.type(t,e)}}));var C={name:"fcSelect",functional:!0,props:{formCreateInject:{type:Object,required:!0}},render:function(e,t){var r=function(t,r){var n=t.slot;return e("ElOption",s([{},{props:t},{key:r+"-"+t.value}]),[n?e("template",{slot:t.slotName||"default"},[S.Function(n)?t.slot(e):n]):null])},n=t.props.formCreateInject.options;return e("ElSelect",s([{},t.data,{ref:"el"}]),[(Array.isArray(n)?n:[]).map((function(t,n){return M(t||"","options")?function(t,n){return e("ElOptionGroup",{attrs:{label:t.label},key:n+"-"+t.label},[S.trueArray(t.options)&&t.options.map((function(e,t){return r(e,t)}))])}(t,n):r(t,n)})),t.children])},mounted:function(){this.$emit("fc.el",this.$refs.el)}},T={name:"fcTree",formCreateParser:{mergeProp:function(e){var t=e.prop.props;t.nodeKey||(t.nodeKey="id"),t.props||(t.props={label:"title"})}},props:{formCreateInject:{type:Object,required:!0},type:{type:String,default:"checked"},value:{type:[Array,String,Number],default:function(){return[]}}},watch:{value:function(){this.setValue()}},methods:{onChange:function(){this.updateValue()},updateValue:function(){var e;this.$refs.tree&&(e="selected"===this.type.toLocaleLowerCase()?this.$refs.tree.getCurrentKey():this.$refs.tree.getCheckedKeys(),this.$emit("input",e))},setValue:function(){"selected"===this.type.toLocaleLowerCase()?this.$refs.tree.setCurrentKey(this.value):this.$refs.tree.setCheckedKeys(_(this.value))}},render:function(){var e=this;return(0,arguments[0])("ElTree",s([{},this.formCreateInject.prop,{ref:"tree",on:{check:function(){return e.updateValue()},"node-click":function(){return e.updateValue()}}}]),[y(this.$slots)])},mounted:function(){this.setValue(),this.$emit("fc.el",this.$refs.tree)}};function O(e,t){return{url:e,name:L(e),uid:t}}function L(e){return(""+e).split("/").pop()}w("._fc-upload .fc-files img {\n width: 100%;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n}\n\n._fc-upload .fc-upload-btn {\n border: 1px dashed #c0ccda;\n cursor: pointer;\n}\n\n._fc-upload .fc-upload-cover {\n opacity: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, .6);\n -webkit-transition: opacity .3s;\n -o-transition: opacity .3s;\n transition: opacity .3s;\n}\n\n._fc-upload .fc-upload-cover i {\n color: #fff;\n font-size: 20px;\n cursor: pointer;\n margin: 0 2px;\n}\n\n._fc-upload .fc-files:hover .fc-upload-cover {\n opacity: 1;\n}\n\n._fc-upload .el-upload {\n display: block;\n}\n\n._fc-upload .fc-upload-btn, ._fc-upload .fc-files {\n display: inline-block;\n width: 58px;\n height: 58px;\n text-align: center;\n line-height: 58px;\n border: 1px solid #c0ccda;\n border-radius: 4px;\n overflow: hidden;\n background: #fff;\n position: relative;\n -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);\n margin-right: 4px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n");var A={name:"fcUpload",props:{formCreateInject:{type:Object,required:!0},onHandle:{type:Function,default:function(e){this.previewImage=e.url,this.previewVisible=!0}},uploadType:{type:String,default:"file"},limit:{type:Number,default:0},allowRemove:{type:Boolean,default:!0},previewMask:void 0,modalTitle:String,handleIcon:{type:[String,Boolean],default:function(){}},value:[Array,String]},data:function(){return{uploadList:[],previewVisible:!1,previewImage:"",cacheFiles:[]}},created:function(){void 0===this.formCreateInject.prop.props.showFileList&&(this.formCreateInject.prop.props.showFileList=!1),this.formCreateInject.prop.props.fileList=_(this.value).map(O)},watch:{value:function(e){this.$refs.upload.uploadFiles.every((function(e){return!e.status||"success"===e.status}))&&(this.$refs.upload.uploadFiles=_(e).map(O),this.uploadList=this.$refs.upload.uploadFiles)},limit:function(e,t){1!==t&&1!==e||this.update()}},methods:{key:function(e){return e},isDisabled:function(){return!0===this.formCreateInject.prop.props.disabled},onRemove:function(e){this.isDisabled()||this.$refs.upload.handleRemove(e)},handleClick:function(e){this.onHandle(e)},makeItem:function(e,t){var r=this.$createElement;return"image"===this.uploadType?r("img",{attrs:{src:e.url},key:this.key("img"+t)}):r("i",{class:"el-icon-tickets",key:this.key("i"+t)})},makeRemoveIcon:function(e,t){var r=this;return(0,this.$createElement)("i",{class:"el-icon-delete",on:{click:function(){return r.onRemove(e)}},key:this.key("ri"+t)})},makeHandleIcon:function(e,t){var r=this;return(0,this.$createElement)("i",{class:!0===this.handleIcon||void 0===this.handleIcon?"el-icon-view":this.handleIcon,on:{click:function(){return r.handleClick(e)}},key:this.key("hi"+t)})},makeProgress:function(e,t){return(0,this.$createElement)("ElProgress",s([{},{props:{percentage:e.percentage,type:"circle",width:52}},{style:"margin-top:2px;",key:this.key("pg"+t)}]))},makeIcons:function(e,t){var r=this.$createElement,n=[];if(this.allowRemove||!1!==this.handleIcon)return("file"!==this.uploadType&&!1!==this.handleIcon||"file"===this.uploadType&&this.handleIcon)&&n.push(this.makeHandleIcon(e,t)),this.allowRemove&&n.push(this.makeRemoveIcon(e,t)),r("div",{class:"fc-upload-cover"},[n])},makeFiles:function(){var e=this,t=this.$createElement;return this.uploadList.map((function(r,n){return e.$scopedSlots.fileList?e.$scopedSlots.fileList({file:r,index:n,vm:e}):t("div",{key:e.key(n),class:"fc-files"},[void 0!==r.percentage&&"success"!==r.status?e.makeProgress(r,n):[e.makeItem(r,n),e.makeIcons(r,n)]])}))},makeUpload:function(){var e=this.$createElement,t=!this.limit||this.limit>this.uploadList.length;return e("ElUpload",s([{},this.formCreateInject.prop,{},{style:{display:"inline-block"},key:this.key("upload"),ref:"upload"}]),[t?e("template",{slot:"default"},[this.$slots.default||e("div",{class:"fc-upload-btn"},[e("i",{class:"el-icon-upload2"})])]):null,y(this.$slots,["default"])])},update:function(){var e=this.$refs.upload.uploadFiles.map((function(e){return e.url})).filter((function(e){return void 0!==e}));this.cacheFiles.length===e.length&&e.length||(this.cacheFiles=g(e),this.$emit("input",1===this.limit?e[0]||"":e))},handleCancel:function(){this.previewVisible=!1}},render:function(){var e=arguments[0];return this.$refs.upload&&(void 0===this.formCreateInject.prop.props.showFileList&&(this.formCreateInject.prop.props.showFileList=this.$refs.upload.showFileList),this.formCreateInject.prop.props.fileList=this.$refs.upload.fileList),e("div",{class:"_fc-upload"},[[this.formCreateInject.prop.props.showFileList?[]:this.makeFiles(),this.makeUpload()],e("el-dialog",s([{},{props:{appendToBody:!0,modal:this.previewMask,title:this.modalTitle,visible:this.previewVisible}},{on:{close:this.handleCancel}}]),[e("img",{attrs:{alt:"example",src:this.previewImage},style:"width: 100%"})])])},mounted:function(){var e=this;this.uploadList=this.$refs.upload.uploadFiles,this.$watch((function(){return e.$refs.upload.uploadFiles}),(function(){e.update()}),{deep:!0}),this.$emit("fc.el",this.$refs.upload)}};function D(e,r,n){t.set(e,r,n)}function E(e,r){t.delete(e,r)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=!1;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];if((n=Array.isArray(o))||S.Object(o)){var a=void 0===e[i];if(n)n=!1,a&&D(e,i,[]);else if(o._clone&&void 0!==r){if(!r){D(e,i,o._clone());continue}o=o.getRule(),a&&D(e,i,{})}else a&&D(e,i,{});e[i]=I(e[i],o,r)}else D(e,i,o),S.Undef(o)||(S.Undef(o.__json)||(e[i].__json=o.__json),S.Undef(o.__origin)||(e[i].__origin=o.__origin))}return void 0!==r&&Array.isArray(e)?e.filter((function(e){return!e||!e.__ctrl})):e}function j(e){return I({},{value:e}).value}var P=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&D(e,n,t[n]);return e};function R(){return P.apply(this,arguments)}w('._fc-group{\n display: flex;\n min-height: 42px;\n justify-content: center;\n flex-direction: column;\n}\n\n._fc-group-disabled ._fc-group-btn, ._fc-group-disabled ._fc-group-add{\n cursor: not-allowed;\n}\n\n._fc-group-handle {\n display: flex;\n flex-direction: row;\n position: absolute;\n bottom: -15px;\n right: 30px;\n border-radius: 15px;\n border: 1px dashed #d9d9d9;\n padding: 3px 8px;\n background-color: #ffffff;\n}\n\n._fc-group-btn{\n cursor: pointer;\n}\n\n._fc-group-idx {\n position: absolute;\n bottom: -15px;\n left: 10px;\n width: 30px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #eee;\n border-radius: 15px;\n font-weight: 700;\n}\n\n._fc-group-handle ._fc-group-btn + ._fc-group-btn {\n margin-left: 7px;\n}\n\n._fc-group-container{\n position: relative;\n display: flex;\n flex-direction: column;\n border: 1px dashed #d9d9d9;\n padding: 20px;\n margin: 5px;\n border-radius: 5px;\n margin-bottom: 25px;\n padding-bottom: 25px;\n}\n\n._fc-group-arrow {\n position: relative;\n width: 20px;\n height: 20px;\n}\n\n._fc-group-arrow::before {\n content: "";\n position: absolute;\n top: 8px;\n left: 5px;\n width: 9px;\n height: 9px;\n border-left: 2px solid #999;\n border-top: 2px solid #999;\n}\n._fc-group-arrow::before {\n transform: rotate(45deg);\n}\n\n._fc-group-arrow._fc-group-down {\n transform: rotate(180deg);\n}\n\n._fc-group-plus-minus {\n width: 20px;\n height: 20px;\n position: relative;\n cursor: pointer;\n}\n\n._fc-group-plus-minus::before,\n._fc-group-plus-minus::after {\n content: "";\n position: absolute;\n top: 50%;\n left: 50%;\n width: 60%;\n height: 2px;\n background-color: #409eff;\n transform: translate(-50%, -50%);\n}\n\n._fc-group-plus-minus::before {\n transform: translate(-50%, -50%) rotate(90deg);\n}\n\n._fc-group-plus-minus._fc-group-minus::before {\n display: none;\n}\n._fc-group-plus-minus._fc-group-minus::after {\n background-color: #f56c6c;\n}\n\n\n._fc-group-add{\n cursor: pointer;\n width: 25px;\n height: 25px;\n border: 1px solid rgb(64 158 255 / 50%);\n border-radius: 15px;\n}\n\n._fc-group-add._fc-group-plus-minus::before, ._fc-group-add._fc-group-plus-minus::after {\n width: 50%;\n}\n\n');var N=[b,x,k,C,T,A,{name:"fcGroup",props:{field:String,rule:[Array,Object],rules:Array,expand:Number,options:Object,formCreateInject:{type:Object,required:!0},button:{type:Boolean,default:!0},max:{type:Number,default:0},min:{type:Number,default:0},value:{type:Array,default:function(){return[]}},sortBtn:{type:Boolean,default:!0},defaultValue:Object,disabled:{type:Boolean,default:!1},syncDisabled:{type:Boolean,default:!0},onBeforeRemove:{type:Function,default:function(){}},onBeforeAdd:{type:Function,default:function(){}},parse:Function},data:function(){return{len:0,cacheRule:{},cacheValue:{},sort:[],type:void 0}},computed:{formRule:function(){return this.rules?this.rules:this.rule?Array.isArray(this.rule)?this.rule:[this.rule]:[]}},watch:{cacheRule:{handler:function(e){this.sort=Object.keys(e)},immediate:!0},formRule:{handler:function(e,t){var r=this;Object.keys(this.cacheRule).forEach((function(n){var i=r.cacheRule[n];if(i.$f){var o=i.$f.formData();if(e===t)i.$f.deferSyncValue((function(){I(i.rule,e),i.$f.setValue(o)}),!0);else{var a=i.$f.formData();i.$f.once("reloading",(function(){i.$f.setValue(a)})),i.rule=j(e)}}}))},deep:!0},disabled:function(e){if(this.syncDisabled){var t=this.cacheRule;Object.keys(t).forEach((function(r){t[r].$f.disabled(e)}))}},expand:function(e){var t=e-this.value.length;t>0&&this.expandRule(t)},value:function(e,t){var r=this;e=e||[];var n=this.sort,i=n.length,o=i-e.length;if(o<0){for(var a=o;a<0;a++)this.addRule(e.length+a);this.sort=Object.keys(this.cacheRule);for(var s=0;s<i;s++)this.setValue(n[s],e[s])}else{if(o>0){for(var l=0;l<o;l++)this.removeRule(n[i-l-1]);this.sort=Object.keys(this.cacheRule)}e.forEach((function(t,i){r.setValue(n[i],e[i])}))}}},methods:{_value:function(e){return e&&M(e,this.field)?e[this.field]:e},cache:function(e,t){this.cacheValue[e]=JSON.stringify(t)},input:function(e){this.$emit("input",e),this.$emit("change",e)},formData:function(e,t){var r=this,n=this.cacheRule,i=this.sort;if(i.filter((function(e){return n[e].$f})).length===i.length){var o=i.map((function(n){var i=e===n?t:d({},r.cacheRule[n].$f.form),o=r.field?i[r.field]||null:i;return r.cache(n,o),o}));this.input(o)}},setValue:function(e,t){var r=this.field,n=this.cacheRule[e].$f;r&&(t=u({},r,this._value(t))),this.cacheValue[e]!==JSON.stringify(r?t[r]:t)&&(this.cache(e,t),n&&n.coverValue(t||{}))},addRule:function(e,t){var r=this,n=this.formCreateInject.form.copyRules(this.formRule),i=this.options?d({},this.options):{submitBtn:!1,resetBtn:!1};if(this.defaultValue){i.formData||(i.formData={});var o=j(this.defaultValue);R(i.formData,this.field?u({},this.field,o):o)}this.parse&&this.parse({rule:n,options:i,index:this.sort.length}),this.$set(this.cacheRule,++this.len,{rule:n,options:i}),t&&this.$nextTick((function(){return r.$emit("add",n,Object.keys(r.cacheRule).length-1)}))},add$f:function(e,t,r){var n=this;this.cacheRule[t].$f=r,this.$nextTick((function(){n.syncDisabled&&r.disabled(n.disabled),n.$emit("itemMounted",r,Object.keys(n.cacheRule).indexOf(t))}))},removeRule:function(e,t){var r=this,n=Object.keys(this.cacheRule).indexOf(e);this.$delete(this.cacheRule,e),this.$delete(this.cacheValue,e),t&&this.$nextTick((function(){return r.$emit("remove",n)}))},add:function(e){this.disabled||!1===this.onBeforeAdd(this.value)||this.addRule(e,!0)},del:function(e,t){if(!this.disabled&&!1!==this.onBeforeRemove(this.value,e)){this.removeRule(t,!0);var r=g(this.value);r.splice(e,1),this.input(r)}},addIcon:function(e){return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-plus-minus",on:{click:this.add}})},delIcon:function(e,t){var r=this;return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-plus-minus _fc-group-minus",on:{click:function(){return r.del(e,t)}}})},sortUpIcon:function(e){var t=this;return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-arrow _fc-group-up",on:{click:function(){return t.changeSort(e,-1)}}})},sortDownIcon:function(e){var t=this;return(0,this.$createElement)("div",{class:"_fc-group-btn _fc-group-arrow _fc-group-down",on:{click:function(){return t.changeSort(e,1)}}})},changeSort:function(e,t){var r=this.sort[e];this.$set(this.sort,e,this.sort[e+t]),this.sort[e+t]=r,this.formData(0)},makeIcon:function(e,t,r){var n=this;if(this.$scopedSlots.button)return this.$scopedSlots.button({total:e,index:t,vm:this,key:r,del:function(){return n.del(t,r)},add:this.add});var i=[];return(!this.max||e<this.max)&&e===t+1&&i.push(this.addIcon(r)),e>this.min&&i.push(this.delIcon(t,r)),this.sortBtn&&t&&i.push(this.sortUpIcon(t)),this.sortBtn&&t!==e-1&&i.push(this.sortDownIcon(t)),i},emitEvent:function(e,t,r,n){this.$emit.apply(this,[e].concat(g(t),[this.cacheRule[n].$f,r]))},expandRule:function(e){for(var t=0;t<e;t++)this.value.push(this.field?null:{})}},created:function(){this.type=this.formCreateInject.form.$form();var e=(this.expand||0)-this.value.length;e>0&&this.expandRule(e);for(var t=0;t<this.value.length;t++)this.addRule(t)},render:function(){var e=this,t=arguments[0],r=this.sort,n=this.button,i=this.type,o=this.disabled,a=0===r.length?this.$scopedSlots.default?this.$scopedSlots.default({vm:this,add:this.add}):t("div",{key:"a_def",class:"_fc-group-plus-minus _fc-group-add",on:{click:this.add}}):r.map((function(a,l){var c=e.cacheRule[a],d=c.rule,h=c.options,f=n&&!o?e.makeIcon(r.length,l,a):[];return t("div",{class:"_fc-group-container",key:a},[t(i,s([{key:a},{on:{"update:value":function(t){return e.formData(a,t)},"emit-event":function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e.emitEvent(t,n,l,a)},input:function(t){return e.add$f(l,a,t)}}},{},{props:{inFor:!0,value:e.field?u({},e.field,e._value(e.value[l])):e.value[l],rule:d,option:h,extendOption:!0}}])),t("div",{class:"_fc-group-idx"},[l+1]),f.length?t("div",{class:"_fc-group-handle"},[f]):null])}));return t("div",{key:"con",class:"_fc-group "+(o?"_fc-group-disabled":"")},[a])}},{name:"fcSubForm",props:{rule:Array,options:Object,formCreateInject:{type:Object,required:!0},value:{type:Object,default:function(){return{}}},disabled:{type:Boolean,default:!1},syncDisabled:{type:Boolean,default:!0}},data:function(){return{cacheRule:{},cacheValue:{},type:void 0}},watch:{disabled:function(e){this.syncDisabled&&this.cacheRule.$f.disabled(e)},value:function(e){this.setValue(e)}},methods:{formData:function(e){this.cacheValue=JSON.stringify(e),this.$emit("input",e),this.$emit("change",e)},setValue:function(e){var t=JSON.stringify(e);this.cacheValue!==t&&(this.cacheValue=t,this.cacheRule.$f.coverValue(e||{}))},addRule:function(){var e=this.options?this.options:{submitBtn:!1,resetBtn:!1};e.formData=d({},this.value||{}),this.cacheRule={rule:this.rule,options:e}},add$f:function(e){var t=this;this.cacheRule.$f=e,this.$nextTick((function(){t.syncDisabled&&e.disabled(t.disabled),t.$emit("itemMounted",e)}))},emitEvent:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.$emit.apply(this,[e].concat(r))}},created:function(){this.addRule(),this.type=this.formCreateInject.form.$form()},render:function(){var e=arguments[0],t=this.cacheRule,r=t.rule,n=t.options;return e(this.type,s([{},{on:{"update:value":this.formData,"emit-event":this.emitEvent,input:this.add$f}},{},{props:{rule:r,option:n,extendOption:!0}}]))}}],B="FormCreate",Y=function e(t,r){if(t&&t!==r)return t.formCreateInject?t.formCreateInject:t.$parent?e(t.$parent,r):void 0};function F(e){return{name:B,componentName:B,model:{prop:"api"},provide:function(){return{$pfc:this}},inject:{$pfc:{default:null}},props:{rule:{type:Array,required:!0},option:{type:Object,default:function(){return{}}},extendOption:Boolean,disabled:Boolean,value:Object,api:Object,name:String,subForm:{type:Boolean,default:!0},inFor:Boolean},data:function(){return{formData:void 0,destroyed:!1,validate:{},$f:void 0,isShow:!0,unique:1,renderRule:g(this.rule||[]),ctxInject:{},updateValue:JSON.stringify(this.value||{}),isMore:!!this.inFor}},render:function(){return this.formCreate.render()},methods:{_refresh:function(){++this.unique},_renderRule:function(){this.renderRule=g(this.rule||[])},_updateValue:function(e){this.destroyed||(this.updateValue=JSON.stringify(e),this.$emit("update:value",e))}},watch:{value:{handler:function(e){JSON.stringify(e||{})!==this.updateValue&&(this.$f.config.forceCoverValue?this.$f.coverValue(e||{}):this.$f.setValue(e||{}))},deep:!0},option:{handler:function(){this.formCreate.initOptions(),this.$f.refresh()},deep:!0},rule:function(e){var t=this;e.length===this.renderRule.length&&e.every((function(e){return t.renderRule.indexOf(e)>-1}))||(this.formCreate.$handle.reloadRule(e),this._renderRule())},disabled:function(e){this.$f.disabled(!!e)}},beforeCreate:function(){var t=this;this.formCreate=new e(this),Object.keys(this.formCreate.prop).forEach((function(e){R(t.$options[e],t.formCreate.prop[e])})),this.$emit("beforeCreate",this.formCreate.api())},created:function(){var e=this,t=this,r=this.formCreate.api(),n=function(){var e=Y(t,t.$pfc);if(e)if(t.isMore){var n=_(e.getSubForm()),i=n.indexOf(r);i>-1&&n.splice(i,1)}else e.subForm()};t.$on("hook:beforeDestroy",(function(){n()})),this.$watch((function(){return e.subForm}),(function(e){e?function(){if(t.$pfc){var e,n=Y(t,t.$pfc);n&&(t.isMore?(e=_(n.getSubForm())).push(r):e=r,n.subForm(e))}}():n()}),{immediate:!0})}}}var z=["attrs","props","domProps","scopedSlots"],H=["class","style","directives"],V=["on","nativeOn"],U=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=[].concat(z,g(n.normal||[])),o=[].concat(H,g(n.array||[])),a=[].concat(V,g(n.functional||[])),s=n.props||[];return t.reduce((function(t,r){for(var n in r)if(t[n])if(s.indexOf(n)>-1)t[n]=e([r[n]],t[n]);else if(i.indexOf(n)>-1)t[n]=d(d({},t[n]),r[n]);else if(o.indexOf(n)>-1){var u=t[n]instanceof Array?t[n]:[t[n]],c=r[n]instanceof Array?r[n]:[r[n]];t[n]=[].concat(g(u),g(c))}else if(a.indexOf(n)>-1)for(var h in r[n])if(t[n][h]){var f=t[n][h]instanceof Array?t[n][h]:[t[n][h]],p=r[n][h]instanceof Array?r[n][h]:[r[n][h]];t[n][h]=[].concat(g(f),g(p))}else t[n][h]=r[n][h];else if("hook"===n)for(var m in r[n])t[n][m]?t[n][m]=W(t[n][m],r[n][m]):t[n][m]=r[n][m];else t[n]=r[n];else i.indexOf(n)>-1||a.indexOf(n)>-1||s.indexOf(n)>-1?t[n]=d({},r[n]):o.indexOf(n)>-1?t[n]=r[n]instanceof Array?g(r[n]):"object"===l(r[n])?d({},r[n]):r[n]:t[n]=r[n];return t}),r)},W=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},$=["type","slot","emitPrefix","value","name","native","hidden","display","inject","options","emit","nativeEmit","link","prefix","suffix","update","sync","optionsTo","key","preview","component","cache"],G=["validate","children","control"],q=["effect","deep"];function X(e,t,r){return"[form-create ".concat(e,"]: ").concat(t)+(r?"\n\nrule: "+JSON.stringify(r.getRule?r.getRule():r):"")}function K(e,t){console.error(X("err",e,t))}var Z="[[FORM-CREATE-PREFIX-",J="-FORM-CREATE-SUFFIX]]",Q="$FN:",ee="$FNX:",te="function";function re(e,t){return JSON.stringify(I([],e,!0),(function(e,t){if(!t||!0!==t._isVue){if(l(t)!==te)return t;if(t.__json)return t.__json;if(t.__origin&&(t=t.__origin),!t.__emit)return Z+t+J}}),t)}function ne(e){return new Function("return "+e)()}function ie(e,t){if(e&&S.String(e)&&e.length>4){var r=e.trim(),n=!1;try{if(r.indexOf(J)>0&&0===r.indexOf(Z))r=r.replace(J,"").replace(Z,""),n=!0;else if(0===r.indexOf(Q))r=r.replace(Q,""),n=!0;else{if(0===r.indexOf(ee))return(r=ne("function($inject){"+r.replace(ee,"")+"}")).__json=e,r.__inject=!0,r;t||0!==r.indexOf(te)||r===te||(n=!0)}if(!n)return e;var i=ne(-1===r.indexOf(te)&&0!==r.indexOf("(")?te+" "+r:r);return i.__json=e,i}catch(e){return void K("解析失败:".concat(r,"\n\nerr: ").concat(e))}}return e}function oe(e,t){return JSON.parse(e,(function(e,r){return S.Undef(r)||!r.indexOf?r:ie(r,t)}))}function ae(e,t){return{value:e,enumerable:!1,configurable:!1,writable:!!t}}function se(e){return le([e])[0]}function le(e,t){return I([],g(e),t||!1)}function ue(e,t){return U(Array.isArray(t)?t:[t],e,{array:G,normal:q}),e}function ce(e){var t=S.Function(e.getRule)?e.getRule():e;return t.type||(t.type="input"),t}function de(e,t){Object.defineProperties(e,Object.keys(t).reduce((function(e,r){return e[r]={get:function(){return t[r]()}},e}),{}))}function he(e){return e.__fc__||(e.__origin__?e.__origin__.__fc__:null)}function fe(e,t){try{t=e()}catch(e){!function(e){K(e.toString()),console.error(e)}(e)}return t}function pe(e,t){return function(r,n,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=new me(e,r,n,i,o);return t&&(S.Function(t)?t(a):a.props(t)),a}}function me(e,t,r,n,i){this._data=R({props:{},on:{},options:[],children:[],effect:{},hidden:!1,display:!0,value:void 0},{type:e,title:t,field:r,value:n,props:i||{}}),this.event=this.on}function ge(e){e.forEach((function(e){me.prototype[e]=function(t){return ue(this._data,u({},e,arguments.length<2?t:u({},t,arguments[1]))),this}}))}R(me.prototype,{getRule:function(){return this._data},setProp:function(e,t){return D(this._data,e,t),this},_clone:function(){var e=new this.constructor;return e._data=se(this._data),e}}),ge([].concat($,g(z),g(H),g(V),G,q));var ve=pe("");function ye(e,t,r){var n=ve("",t);return n._data.type=e,n._data.title=r,n}function be(e,t,r,n){var i=ve("",r);return i._data.type="template",i._data.template=e,i._data.title=n,i._data.vm=t,i}function _e(){return{create:ye,createTmp:be,template:be,factory:pe}}function we(e){return j(e)}function xe(e){return ke(e.replace(/(-[a-z])/g,(function(e){return e.replace("-","").toLocaleUpperCase()})))}function ke(e){return e.replace(e[0],e[0].toLowerCase())}function Se(e){return null==e?"":"object"===l(e)?JSON.stringify(e,null,2):String(e)}function Me(e){var t=e.replace(/([A-Z])/g,"-$1").toLocaleLowerCase();return 0===t.indexOf("-")&&(t=t.substr(1)),t}var Ce=0;function Te(){var e=370+ ++Ce;return"F"+Math.random().toString(36).substr(3,3)+Number("".concat(Date.now())).toString(36)+e.toString(36)+"c"}function Oe(e,t,r){var n,i=e;return(t||"").split(".").forEach((function(e){n&&(i[n]&&"object"==l(i[n])||(i[n]={}),i=i[n]),n=e})),i[n]=r,i}function Le(e){R(this,{$handle:e,fc:e.fc,vm:e.vm,$manager:e.$manager,vNode:new e.fc.CreateNode(e.vm)}),de(this,{options:function(){return e.options},sort:function(){return e.sort}}),this.initCache(),this.initRender()}!function(e){R(e.prototype,{initCache:function(){this.clearCacheAll()},clearCache:function(e){if(!e.rule.cache)if(this.cache[e.id]){(!0===this.cache[e.id].use||this.cache[e.id].parent)&&this.$handle.refresh();var t=this.cache[e.id].parent;this.cache[e.id]=null,t&&this.clearCache(t)}else e.parent&&this.clearCache(e.parent)},clearCacheAll:function(){this.cache={}},setCache:function(e,t,r){this.cache[e.id]={vnode:t,use:!1,parent:r,slot:e.rule.slot}},getCache:function(e){var t=this.cache[e.id];if(t)return t.use=!0,t.vnode}})}(Le),function(e){R(e.prototype,{initRender:function(){this.tempList={},this.clearOrgChildren()},initOrgChildren:function(){var e=this.$handle.ctxs;this.orgChildren=Object.keys(e).reduce((function(t,r){if(!1!==e[r].parser.loadChildren){var n=e[r].rule.children;t[r]=S.trueArray(n)?g(n):[]}return t}),{})},clearOrgChildren:function(){this.orgChildren={}},getTypeSlot:function(e){return function t(r){if(r){var n=void 0;return e.rule.field&&(n=r.$scopedSlots["field-"+Me(e.rule.field)]||r.$scopedSlots["field-"+e.rule.field]),n||(n=r.$scopedSlots["type-"+Me(e.type)]||r.$scopedSlots["type-"+e.type]),n||t(r.$pfc)}}(this.vm)},render:function(){var e=this;if(this.vm.isShow){var t;this.$h=this.vm.$createElement,this.$manager.beforeRender();var r=function(){return e.renderList()};return r.renderSlot=function(t){return e.renderList(t)},r.renderName=function(t){return e.renderId(t)},r.renderField=function(t){return e.renderId(t,"field")},t=this.vm.$scopedSlots.container?[this.vm.$scopedSlots.container(r)]:r(),this.$manager.render(t)}},renderList:function(e){var t=this;return this.sort.map((function(r){return e?t.renderSlot(t.$handle.ctxs[r],e):t.renderCtx(t.$handle.ctxs[r])})).filter((function(e){return void 0!==e}))},makeVm:function(e){var t=this,r=e.vm;return r?S.Function(r)?fe((function(){return e.vm(t.$handle.getInjectData(e))})):r._isVue?r:new Ke(r):new Ke},mergeGlobal:function(e){var t=this.$handle.options.global;t&&(e.cacheConfig||(e.cacheConfig=t[e.originType]||t[e.type]||t[e.trueType]||{}),e.prop=ue({},[t["*"],e.cacheConfig,e.prop]))},setOptions:function(e){e.prop.optionsTo&&e.prop.options&&Oe(e.prop,e.prop.optionsTo,e.prop.options)},deepSet:function(e){var t=e.rule.deep;t&&Object.keys(t).sort((function(e,t){return e.length<t.length?-1:1})).forEach((function(r){Oe(e.prop,r,t[r])}))},setTempProps:function(e,t){if(e.$props){var r=t.prop,n=Object.keys(e.$props),i=this.injectProp(t),o=Object.keys(i);n.forEach((function(t){M(r.props,t)?e.$props[t]=r.props[t]:o.indexOf(t)>-1&&(e.$props[t]=i[t])}));var a=e.$options.model&&e.$options.model.prop||"value";n.indexOf(a)>-1&&(e.$props[a]=r.value)}},renderTemp:function(e){var t=this;if(!Ke.compile)return function(e,t){console.warn(X("tip",e,t))}("当前使用的Vue构建版本不支持compile,无法使用template功能"),[];var r=e.prop,n=e.id,i=e.key;if(!this.tempList[n]){e.el||(e.el=this.makeVm(r),this.vm.$nextTick((function(){return e.parser.mounted(e)})));var o=e.el;e.input&&o.$on(o.$options.model&&o.$options.model.event||"input",(function(r){t.onInput(e,r)})),this.tempList[n]={vm:o,template:Ke.compile(r.template)}}var a=this.tempList[n],s=a.vm,l=a.template;this.setTempProps(s,e);var u=l.render.call(s);return S.Undef(u.data)&&(u.data={}),u.key=i,u.data.ref=e.ref,u.data.key=i,u},parseSide:function(e,t){return S.Object(e)?ue({props:{formCreateInject:t.prop.props.formCreateInject}},e):e},renderSides:function(e,t,r){var n=t[r?"rule":"prop"];return[this.renderRule(this.parseSide(n.prefix,t)),e,this.renderRule(this.parseSide(n.suffix,t))]},renderSlot:function(e,t){return e.rule.slot===t?this.renderCtx(e):void 0},renderId:function(e,t){var r=this,n=this.$handle["field"===t?"fieldCtx":"nameCtx"][e];return n?n.map((function(e){return r.renderCtx(e,e.parent)})):void 0},renderCtx:function(e,t){if("hidden"!==e.type){var r=e.rule;if(!this.cache[e.id]||this.cache[e.id].slot!==r.slot){var n,i=!1!==r.cache,o=e.trueType,a=!(S.Undef(r.display)||r.display);if("template"!==o||r.template)if("fcFragment"===o)n=this.renderChildren(e);else{e.initProp(),this.mergeGlobal(e),this.$manager.tidyRule(e),this.deepSet(e),this.setOptions(e),this.ctxProp(e);var s=e.prop;s.preview=!!(M(s,"preview")?s.preview:this.options.preview),s.props.formCreateInject=this.injectProp(e);var l=s.preview;if(s.hidden)return void this.setCache(e,void 0,t);if("template"===o&&s.template)n=this.renderTemp(e),i=!1;else{var u=[];e.parser.renderChildren?u=e.parser.renderChildren(e):!1!==e.parser.loadChildren&&(u=this.renderChildren(e));var c=this.getTypeSlot(e);n=c?c({rule:r,prop:s,preview:l,children:u,api:this.$handle.api,model:s.model||{}}):l?e.parser.preview(u,e):e.parser.render(u,e)}n=this.renderSides(n,e),!e.input&&S.Undef(s.native)||!0===s.native||(n=this.$manager.makeWrap(e,n)),a&&(n=this.display(n)),n=this.item(e,n)}else n=this.renderSides(this.renderChildren(e),e,!0),a&&this.display(n),n=this.item(e,n);return i&&this.setCache(e,n,t),n}return this.getCache(e)}},display:function(e){var t=this;if(Array.isArray(e)){var r=[];return e.forEach((function(e){if(Array.isArray(e))return t.display(e);t.none(e)&&r.push(e)})),r}return this.none(e)},none:function(e){if(e&&e.data)return Array.isArray(e.data.style)?e.data.style.push({display:"none"}):S.String(e.data.style)?e.data.style+=";display:none;":e.data.style=[e.data.style,{display:"none"}],e},item:function(e,t){return this.$h("fcFragment",{slot:e.rule.slot,key:e.key},[t])},injectProp:function(e){var t=this;this.vm.ctxInject[e.id]||D(this.vm.ctxInject,e.id,{api:this.$handle.api,form:this.fc.create,subForm:function(r){t.$handle.addSubForm(e,r)},getSubForm:function(){return t.$handle.subForm[e.id]},options:[],children:[],prop:{},preview:!1,field:e.field,rule:e.rule,input:e.input});var r,n=this.vm.ctxInject[e.id];return R(n,{preview:e.prop.preview,options:e.prop.options,children:e.rule.children,prop:(r=d({},e.prop),r.on=r.on?d({},r.on):{},delete r.model,r)}),n},ctxProp:function(e,t){var r=this,n=e.ref,i=e.key,o=e.rule;this.$manager.mergeProp(e,t),e.parser.mergeProp(e,t);var a=[{ref:n,key:o.key||"".concat(i,"fc"),slot:void 0,on:{"hook:mounted":function(){r.onMounted(e)},"fc.sub-form":function(t){r.$handle.addSubForm(e,t)},"fc.el":function(t){e.exportEl=t,t&&((t.$el||t).__rule__=e.rule)}}}];return!t&&e.input&&(e.prop.model={value:this.$handle.getFormData(e),callback:function(t){r.onInput(e,t)},expression:"formData.".concat(e.id)}),U(a,e.prop),e.prop},onMounted:function(e){e.el=this.vm.$refs[e.ref],e.el&&((e.el.$el||e.el).__rule__=e.rule),e.parser.mounted(e),this.$handle.effect(e,"mounted")},onInput:function(e,t){this.$handle.onInput(e,t)},renderChildren:function(e){var t=this,r=e.rule.children,n=this.orgChildren[e.id],i=function(e){return!S.String(e)&&e.__fc__&&!t.$handle.ctxs[e.__fc__.id]};return!S.trueArray(r)&&n?(this.$handle.deferSyncValue((function(){n.forEach((function(e){e&&i(e)&&t.$handle.rmCtx(e.__fc__)}))})),this.orgChildren[e.id]=[],[]):(n&&this.$handle.deferSyncValue((function(){n.forEach((function(e){e&&-1===r.indexOf(e)&&i(e)&&t.$handle.rmCtx(e.__fc__)}))})),r.map((function(n){if(n)return S.String(n)?n:n.__fc__?t.renderCtx(n.__fc__,e):void(n.type&&t.vm.$nextTick((function(){t.$handle.loadChildren(r,e),t.$handle.refresh()})))})))},defaultRender:function(e,t){var r=e.prop;return r.component?this.vNode.makeComponent(r.component,r,t):this.vNode[e.type]?this.vNode[e.type](r,t):this.vNode[e.originType]?this.vNode[e.originType](r,t):this.vNode.make(ke(e.originType),r,t)},renderRule:function(e,t,r){var n=this;if(e){if(S.String(e))return e;var i;if(r)i=e.type;else if(i=e.is,e.type){i=xe(e.type);var o=this.vNode.aliasMap[i];o&&(i=xe(o))}if(i){var a=[[t]];return S.trueArray(e.children)&&a.push(e.children.map((function(e){return n.renderRule(e)}))),this.$h(i,d({},e),a)}}}})}(Le);var Ae=["hook:updated","hook:mounted"];function De(e,t,r){var n,i=Te();R(this,{id:i,ref:i,wrapRef:i+"fi",rule:t,origin:t.__origin__||t,name:t.name,watch:[],linkOn:[],root:[],ctrlRule:[],parent:null,cacheConfig:null,prop:d({},t),computed:{},payload:{},input:!!t.field,el:void 0,exportEl:void 0,defaultValue:t.field?j(r):void 0,field:t.field||void 0}),this.updateType(),this.updateKey(),n=this,Object.defineProperties(n.origin,{__fc__:ae(n,!0)}),this.update(e,!0)}R(De.prototype,{effectData:function(e){return this.payload[e]||(this.payload[e]={}),this.payload[e]},clearEffectData:function(e){void 0===e?this.payload={}:delete this.payload[e]},updateKey:function(e){this.key=Te(),e&&this.parent&&this.parent.updateKey(e)},updateType:function(){this.originType=this.rule.type,this.type=xe(this.rule.type)},setParser:function(e){this.parser=e,e.init(this)},initProp:function(){var e=this,t=d({},this.rule);delete t.children,this.prop=ue({},[t].concat(g(Object.keys(this.payload).map((function(t){return e.payload[t]}))),[this.computed]))},check:function(e){return this.vm===e.vm},unwatch:function(){this.watch.forEach((function(e){return e()})),this.watch=[]},unlink:function(){this.linkOn.forEach((function(e){return e()})),this.linkOn=[]},link:function(){this.unlink(),this.$handle.appendLink(this)},watchTo:function(){this.$handle.watchCtx(this)},delete:function(){this.unwatch(),this.unlink(),this.rmCtrl(),R(this,{deleted:!0,prop:d({},this.rule),computed:{},el:void 0,$handle:void 0,$render:void 0,$api:void 0,vm:void 0,vNode:void 0,parent:null,cacheConfig:null})},rmCtrl:function(){this.ctrlRule.forEach((function(e){return e.__fc__&&e.__fc__.rm()})),this.ctrlRule=[]},rm:function(){var e=this,t=function(){var t=e.root.indexOf(e.origin);t>-1&&(e.root.splice(t,1),e.$handle&&e.$handle.refresh())};this.deleted?t():this.$handle.noWatch((function(){e.$handle.deferSyncValue((function(){e.rmCtrl(),t(),e.$handle.rmCtx(e),R(e,{root:[]})}),e.input)}))},update:function(e,t){R(this,{deleted:!1,$handle:e,$render:e.$render,$api:e.api,vm:e.vm,trueType:e.getType(this.originType),vNode:e.$render.vNode,updated:!1,cacheValue:this.rule.value}),!t&&this.unwatch(),this.watchTo(),this.link()}});var Ee={"==":function(e){return function(t){return t===e}},"!=":function(e){return function(t){return t!==e}},"<>":function(e){return function(t){return t!==e}},">":function(e){return function(t){return t>e}},">=":function(e){return function(t){return t>=e}},"<":function(e){return function(t){return t<e}},"<=":function(e){return function(t){return t<=e}},in:function(e){return function(t){return e&&e.indexOf&&e.indexOf(t)>-1}},on:function(e){return function(t){return t&&t.indexOf&&t.indexOf(e)>-1}},notIn:function(e){return function(t){return!Ee.in(e)(t)}},notOn:function(e){return function(t){return!Ee.on(e)(t)}},between:function(e){return function(t){return t>e[0]&&t<e[1]}},notBetween:function(e){return function(t){return t<e[0]||t>e[1]}}};function Ie(e,t){for(var r=0;r<e.ctrlRule.length;r++){var n=e.ctrlRule[r];if(n.children===t)return n}}function je(e){return!!e.rule.__ctrl}function Pe(e,t){return"function"==typeof t?""+t:t}function Re(e){Object.keys(e).forEach((function(t){return delete e[t]}))}var Ne={init:function(e){},toFormValue:function(e,t){return e},toValue:function(e,t){return e},mounted:function(e){},render:function(e,t){return t.$render.defaultRender(t,e)},preview:function(e,t){return this.render(e,t)},mergeProp:function(e){}},Be=["field","value","vm","template","name","config","control","inject","sync","payload","optionsTo","update","component","cache"];function Ye(e){var t=this;R(this,{fc:e,vm:e.vm,watching:!1,loading:!1,reloading:!1,noWatchFn:null,deferSyncFn:null,isMounted:!1,formData:{},subForm:{},form:{},appendData:{},providers:{},cycleLoad:null,loadedId:1,nextTick:null,changeStatus:!1,pageEnd:!0,nextReload:function(){t.lifecycle("reload")}}),de(this,{options:function(){return e.options},bus:function(){return e.bus}}),this.initData(e.rules),this.$manager=new e.manager(this),this.$render=new Le(this),this.api=e.extendApi(function(e){function t(t){return S.Undef(t)?t=e.fields():Array.isArray(t)||(t=[t]),t}function r(r,n,i){t(r).forEach((function(t){e.getCtxs(t).forEach((function(t){D(t.rule,n,i),e.$render.clearCache(t)}))}))}function n(){var t=e.subForm;return Object.keys(t).reduce((function(e,r){var n=t[r];return n?(Array.isArray(n)?e.push.apply(e,g(n)):e.push(n),e):e}),[])}var i={get config(){return e.options},get options(){return e.options},get form(){return e.form},get rule(){return e.rules},get parent(){return e.vm.$pfc&&e.vm.$pfc.$f},get top(){return i.parent?i.parent.top:i},get children(){return n()},formData:function(r){return t(r).reduce((function(t,r){var n=e.getFieldCtx(r);return n?(t[n.field]=we(n.rule.value),t):t}),e.options.appendValue?we(e.appendData):{})},getValue:function(t){var r=e.getFieldCtx(t);if(r)return we(r.rule.value)},coverValue:function(t){var r=d({},t||{});e.deferSyncValue((function(){i.fields().forEach((function(t){var n=e.fieldCtx[t];if(n){var i=M(r,t);n.forEach((function(e){e.rule.value=i?r[t]:void 0})),delete r[t]}})),R(e.appendData,r)}))},setValue:function(t){var r=t;arguments.length>=2&&(r=u({},t,arguments[1])),e.deferSyncValue((function(){Object.keys(r).forEach((function(t){var n=e.fieldCtx[t];if(!n)return e.appendData[t]=r[t];n.forEach((function(e){e.rule.value=r[t]}))}))}))},removeField:function(t){var r=e.getCtx(t);return e.deferSyncValue((function(){e.getCtxs(t).forEach((function(e){e.rm()}))}),!0),r?r.origin:void 0},removeRule:function(e){var t=e&&he(e);if(t)return t.rm(),t.origin},destroy:function(){e.vm.$el.parentNode&&e.vm.$el.parentNode.removeChild(e.vm.$el),e.vm.$destroy()},fields:function(){return e.fields()},append:function(t,r,n){var i,o=e.sort.length-1,a=e.getCtx(r);a?n?(i=a.rule.children,o=a.rule.children.length-1):(o=a.root.indexOf(a.origin),i=a.root):i=e.rules,i.splice(o+1,0,t)},prepend:function(t,r,n){var i,o=0,a=e.getCtx(r);a?n?i=a.rule.children:(o=a.root.indexOf(a.origin),i=a.root):i=e.rules,i.splice(o,0,t)},hidden:function(t,n){r(n,"hidden",!!t),e.refresh()},hiddenStatus:function(t){var r=e.getCtx(t);if(r)return!!r.rule.hidden},display:function(t,n){r(n,"display",!!t),e.refresh()},displayStatus:function(t){var r=e.getCtx(t);if(r)return!!r.rule.display},disabled:function(r,n){t(n).forEach((function(t){e.getCtxs(t).forEach((function(e){e.rule.props&&D(e.rule.props,"disabled",!!r)}))})),e.refresh()},all:function(t){return Object.keys(e.ctxs).map((function(r){var n=e.ctxs[r];return t?n.origin:n.rule}))},model:function(t){return e.fields().reduce((function(r,n){var i=e.fieldCtx[n][0];return r[n]=t?i.origin:i.rule,r}),{})},component:function(t){return Object.keys(e.nameCtx).reduce((function(r,n){var i=e.nameCtx[n].map((function(e){return t?e.origin:e.rule}));return r[n]=1===i.length?i[0]:i,r}),{})},bind:function(){return i.form},reload:function(t){e.reloadRule(t)},updateOptions:function(t){e.fc.updateOptions(t),i.refresh()},onSubmit:function(e){i.updateOptions({onSubmit:e})},sync:function(t){if(Array.isArray(t))t.forEach((function(e){return i.sync(e)}));else{var r=S.Object(t)?he(t):e.getCtxs(t);r&&((r=Array.isArray(r)?r:[r]).forEach((function(t){if(!t.deleted){var r=e.subForm[t.id];r&&(Array.isArray(r)?r.forEach((function(e){e.refresh()})):r&&r.refresh()),e.$render.clearCache(t)}})),e.refresh())}},refresh:function(){n().forEach((function(e){e.refresh()})),e.$render.clearCacheAll(),e.refresh()},refreshOptions:function(){e.$manager.updateOptions(e.options),i.refresh()},hideForm:function(t){D(e.vm,"isShow",!t)},changeStatus:function(){return e.changeStatus},clearChangeStatus:function(){e.changeStatus=!1},updateRule:function(t,r){e.getCtxs(t).forEach((function(e){R(e.rule,r)}))},updateRules:function(e){Object.keys(e).forEach((function(t){i.updateRule(t,e[t])}))},mergeRule:function(t,r){e.getCtxs(t).forEach((function(e){ue(e.rule,r)}))},mergeRules:function(e){Object.keys(e).forEach((function(t){i.mergeRule(t,e[t])}))},getRule:function(t,r){var n=e.getCtx(t);if(n)return r?n.origin:n.rule},setEffect:function(t,r,n){var i=e.getCtx(t);i&&r&&("$"===r[0]&&(r=r.substr(1)),M(i.rule,"$"+r)&&D(i.rule,"$"+r,n),M(i.rule,"effect")||D(i.rule,"effect",{}),D(i.rule.effect,r,n))},clearEffectData:function(t,r){var n=e.getCtx(t);n&&(r&&"$"===r[0]&&(r=r.substr(1)),n.clearEffectData(r),i.sync(t))},updateValidate:function(e,t,n){n?i.mergeRule(e,{validate:t}):r(e,"validate",t)},updateValidates:function(e,t){Object.keys(e).forEach((function(r){i.updateValidate(r,e[r],t)}))},refreshValidate:function(){e.vm.validate={},i.refresh()},resetFields:function(r){t(r).forEach((function(t){e.getCtxs(t).forEach((function(t){e.$render.clearCache(t),t.rule.value=we(t.defaultValue)}))}))},method:function(e,t){var r=i.el(e);if(!r||!r[t])throw new Error(X("err","".concat(t,"方法不存在")));return function(){return r[t].apply(r,arguments)}},exec:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return fe((function(){return i.method(e,t).apply(void 0,n)}))},toJson:function(e){return re(i.rule,e)},trigger:function(e,t){for(var r=i.el(e),n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];r&&r.$emit.apply(r,[t].concat(o))},el:function(t){var r=e.getCtx(t);if(r)return r.exportEl||r.el||e.vm.$refs[r.ref]},closeModal:function(e){var t=i.el(e);t&&t.$emit&&t.$emit("close-modal")},getSubForm:function(t){var r=e.getCtx(t);return r?e.subForm[r.id]:void 0},nextTick:function(t){e.bus.$once("next-tick",t),e.refresh()},nextRefresh:function(t){e.nextRefresh(),t&&fe(t)},emit:function(t){for(var r,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(r=e.vm).$emit.apply(r,[t].concat(i))},deferSyncValue:function(t,r){e.deferSyncValue(t,r)},helper:{tidyFields:t,props:r}};return["on","once","off","set"].forEach((function(t){i[t]=function(){var r;(r=e.vm)["$".concat(t)].apply(r,arguments)}})),i.changeValue=i.changeField=i.setValue,i}(this),this)}function Fe(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function ze(e){if("undefined"!=typeof XMLHttpRequest){var t,r=new XMLHttpRequest,n=e.action;r.onerror=function(t){e.onError(t)},r.onload=function(){if(r.status<200||r.status>=300)return e.onError(function(e,t,r){var n="fail to ".concat(e," ").concat(r.status,"'"),i=new Error(n);return i.status=r.status,i.url=e,i}(n,0,r),Fe(r));e.onSuccess(Fe(r))},r.open(e.method||"get",n,!0),e.data&&("json"!==(e.dataType||"").toLowerCase()?(t=new FormData,Object.keys(e.data).map((function(r){t.append(r,e.data[r])}))):(t=JSON.stringify(e.data),r.setRequestHeader("content-type","application/json"))),e.withCredentials&&"withCredentials"in r&&(r.withCredentials=!0);var i=e.headers||{};Object.keys(i).forEach((function(e){null!==i[e]&&r.setRequestHeader(e,i[e])})),r.send(t)}}R(Ye.prototype,{initData:function(e){R(this,{ctxs:{},fieldCtx:{},nameCtx:{},sort:[],rules:e})},init:function(){this.appendData=d(d(d({},this.fc.options.formData||{}),this.vm.value||{}),this.appendData),this.useProvider(),this.usePage(),this.loadRule(),this.$manager.__init(),this.vm.$set(this.vm,"formData",this.formData)}}),function(e){R(e.prototype,{parseInjectEvent:function(e,t){var r=e.inject||this.options.injectEvent;return this.parseEventLst(e,t,r)},parseEventLst:function(e,t,r,n){var i=this;return Object.keys(t).forEach((function(o){var a=i.parseEvent(e,t[o],r,n);a&&(t[o]=a)})),t},parseEvent:function(e,t,r,n){if(S.Function(t)&&(!1!==r&&!S.Undef(r)||t.__inject))return this.inject(e,t,r);if(!n&&Array.isArray(t)&&t[0]&&(S.String(t[0])||S.Function(t[0])))return this.parseEventLst(e,t,r,!0);if(S.String(t)){var i=ie(t);if(i&&t!==i)return i.__inject?this.parseEvent(e,i,r,!0):i}},parseEmit:function(e,t){var r=this,n={},i=e.rule,o=i.emitPrefix,a=i.field,s=i.name,l=i.inject,u=i[t?"emit":"nativeEmit"]||[];if(S.trueArray(u)){var c=o||a||s;c&&(t||(c="native-".concat(c)),u.forEach((function(e){if(e){var t;S.Object(e)&&(t=e.inject,e=e.name);var o=Me("".concat(c,"-").concat(e)),a=function(){for(var e,t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];(e=r.vm).$emit.apply(e,[o].concat(i)),(t=r.vm).$emit.apply(t,["emit-event",o].concat(i))};if(a.__emit=!0,t||!1!==l){var s=t||l||r.options.injectEvent;n[e]=S.Undef(s)?a:r.inject(i,a,s)}else n[e]=a}})))}return e.computed[t?"on":"nativeOn"]=n,n},getInjectData:function(e,t){var r=this.vm.$options.propsData,n=r.option,i=r.rule;return{api:this.api,$f:this.api,rule:i,self:e.__origin__,option:n,inject:t}},inject:function(e,t,r){if(t.__origin){if(this.watching&&!this.loading)return t;t=t.__origin}var n=this,i=function(){for(var i=n.getInjectData(e,r),o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return i.args=[].concat(a),a.unshift(i),t.apply(this,a)};return i.__origin=t,i.__json=t.__json,i}})}(Ye),function(e){R(e.prototype,{usePage:function(){var e=this,t=this.options.page;if(t){var r,n=25,i=(r=this.rules).length<31?31:Math.ceil(r.length/3);S.Object(t)&&(t.first&&(n=parseInt(t.first,10)||n),t.limit&&(i=parseInt(t.limit,10)||i)),R(this,{first:n,limit:i,pageEnd:this.rules.length<=n}),this.bus.$on("page-end",(function(){return e.vm.$emit("page-end",e.api)})),this.pageLoad()}},pageLoad:function(){var e=this;this.vm.$on(Ae,(function t(){e.pageEnd?(e.vm.$off(Ae,t),e.bus.$emit("page-end")):(e.first+=e.limit,e.pageEnd=e.rules.length<=e.first,e.loadRule(),e.refresh())}))}})}(Ye),function(e){R(e.prototype,{clearNextTick:function(){this.nextTick&&clearTimeout(this.nextTick),this.nextTick=null},bindNextTick:function(e){var t=this;this.clearNextTick(),this.nextTick=setTimeout((function(){e(),t.nextTick=null}),10)},render:function(){return++this.loadedId,this.vm.unique>0?this.$render.render():(this.vm.unique=1,[])}})}(Ye),function(e){R(e.prototype,{nextRefresh:function(e){var t=this,r=this.loadedId;this.vm.$nextTick((function(){r===t.loadedId&&(e?e():t.refresh())}))},parseRule:function(e){var t=this,r=ce(e);return Object.defineProperties(r,{__origin__:ae(e,!0)}),function(e){var t={props:{},on:{},options:[],children:[],effect:{},hidden:!1,display:!0,value:void 0};Object.keys(t).forEach((function(r){M(e,r)||D(e,r,t[r])}))}(r),this.appendValue(r),r.options=Array.isArray(r.options)?r.options:[],[r,r.prefix,r.suffix].forEach((function(e){e&&t.loadFn(e,r)})),this.loadCtrl(r),r.update&&(r.update=ie(r.update)),r},loadFn:function(e,t){var r=this;["on","props","nativeOn","deep"].forEach((function(n){e[n]&&r.parseInjectEvent(t,e[n])}))},loadCtrl:function(e){e.control&&e.control.forEach((function(e){e.handle&&(e.handle=ie(e.handle))}))},syncProp:function(e){var t=this,r=e.rule;S.trueArray(r.sync)&&U([{on:r.sync.reduce((function(e,n){return e["update:".concat(n)]=function(e){r.props[n]=e,t.vm.$emit("sync",n,e,r,t.fapi)},e}),{})}],e.computed)},loadRule:function(){var e=this;this.cycleLoad=!1,this.loading=!0,this.pageEnd&&this.bus.$emit("load-start"),this.deferSyncValue((function(){if(e._loadRule(e.rules),e.loading=!1,e.cycleLoad&&e.pageEnd)return e.loadRule();e.pageEnd&&e.bus.$emit("load-end"),e.vm._renderRule(),e.$render.initOrgChildren(),e.syncForm()}))},loadChildren:function(e,t){if(this.cycleLoad=!1,this.loading=!0,this.bus.$emit("load-start"),this._loadRule(e,t),this.loading=!1,this.cycleLoad)return this.loadRule();this.bus.$emit("load-end"),this.syncForm(),this.$render.clearCache(t)},_loadRule:function(e,t){var r=this,n=function(e,t){S.trueArray(e)&&r._loadRule(e,t)};e.map((function(i,o){if((!t||S.Object(i))&&(r.pageEnd||t||!(o>=r.first))){if(i.__fc__&&i.__fc__.root===e&&r.ctxs[i.__fc__.id])return n(i.__fc__.rule.children,i.__fc__),i.__fc__;var a,s=ce(i),l=function(){return!(!s.field||!r.fieldCtx[s.field]||r.fieldCtx[s.field][0]===i.__fc__)};r.ruleEffect(s,"init",{repeat:l()}),l()&&r.vm.$emit("repeat-field",i,r.api);var u=!1,c=!!i.__fc__,d=s.value;if(c){d=(a=i.__fc__).defaultValue;var h=!a.check(r);if(a.deleted){if(h){if(je(a))return;a.update(r)}}else if(h){if(je(a))return;e[o]=i=i._clone?i._clone():se(i),a=null,u=!0}}if(a)a.originType!==a.rule.type&&(a.updateType(),r.bindParser(a)),r.appendValue(a.rule);else{var f=r.parseRule(i);a=new De(r,f,c?d:f.value),r.bindParser(a)}if([!1,!0].forEach((function(e){return r.parseEmit(a,e)})),r.syncProp(a),a.parent=t||null,a.root=e,r.setCtx(a),!u&&!c&&r.effect(a,"load"),r.effect(a,"created"),!1===a.parser.loadChildren||n(a.rule.children,a),!t){var p=function t(n){var i=e[n-1];if(!i||!i.__fc__)return n>0?t(n-1):-1;var o=r.sort.indexOf(i.__fc__.id);return o>-1?o:t(n-1)}(o);p>-1||!o?r.sort.splice(p+1,0,a.id):r.sort.push(a.id)}var m=a.rule;return a.updated||(a.updated=!0,S.Function(m.update)&&r.bus.$once("load-end",(function(){r.refreshUpdate(a,m.value,"init")})),r.effect(a,"loaded")),a.input&&Object.defineProperty(m,"value",r.valueHandle(a)),r.refreshControl(a)&&(r.cycleLoad=!0),a}}))},refreshControl:function(e){return e.input&&e.rule.control&&this.useCtrl(e)},useCtrl:function(e){var t=this,r=function(e){var t=e.rule.control||[];return S.Object(t)?[t]:t}(e),n=[],i=this.api;if(!r.length)return!1;for(var o=function(t){var o=r[t],a=o.handle||(Ee[o.condition||"=="]||Ee["=="])(o.value);if(!S.trueArray(o.rule))return"continue";var s=d(d({},o),{},{valid:fe((function(){return a(e.rule.value,i)})),ctrl:Ie(e,o.rule),isHidden:S.String(o.rule[0])});if(s.valid&&s.ctrl||!s.valid&&!s.ctrl&&!s.isHidden)return"continue";n.push(s)},a=0;a<r.length;a++)o(a);if(!n.length)return!1;var s=[],l=!1;return this.deferSyncValue((function(){n.reverse().forEach((function(r){var n=r.isHidden,o=r.valid,a=r.rule,u=r.prepend,c=r.append,d=r.child,h=r.ctrl,f=r.method;if(n)return o?e.ctrlRule.push({__ctrl:!0,children:a,valid:o}):e.ctrlRule.splice(e.ctrlRule.indexOf(h),1),void s[o?"push":"unshift"]((function(){"disabled"===f?t.api.disabled(!o,a):"display"===f?t.api.display(o,a):"required"===f?(a.forEach((function(e){t.api.setEffect(e,"required",o)})),o||t.api.clearValidateState(a)):t.api.hidden(!o,a)}));if(o){l=!0;var p={type:"fcFragment",native:!0,__ctrl:!0,children:a};e.ctrlRule.push(p),t.bus.$once("load-start",(function(){u?i.prepend(p,u,d):c||d?i.append(p,c||e.id,d):e.root.splice(e.root.indexOf(e.origin)+1,0,p)}))}else{e.ctrlRule.splice(e.ctrlRule.indexOf(h),1);var m=he(h);m&&m.rm()}}))})),s.length&&this.vm.$nextTick((function(){s.forEach((function(e){return e()}))})),this.vm.$emit("control",e.origin,this.api),this.effect(e,"control"),l},reloadRule:function(e){return this._reloadRule(e)},_reloadRule:function(e){var t=this;e||(e=this.rules);var r=d({},this.ctxs);this.clearNextTick(),this.$render.clearOrgChildren(),this.initData(e),this.fc.rules=e,this.deferSyncValue((function(){t.bus.$once("load-end",(function(){Object.keys(r).filter((function(e){return void 0===t.ctxs[e]})).forEach((function(e){return t.rmCtx(r[e])})),t.$render.clearCacheAll()})),t.reloading=!0,t.loadRule(),t.reloading=!1,t.refresh(),t.vm.$emit("reloading",t.api)})),this.bus.$off("next-tick",this.nextReload),this.bus.$once("next-tick",this.nextReload),this.vm.$emit("update",this.api)},refresh:function(){this.vm._refresh()}})}(Ye),function(e){R(e.prototype,{getValue:function(e){return S.Undef(e.cacheValue)&&(e.cacheValue=e.parser.toValue(this.getFormData(e),e)),e.cacheValue},setValue:function(e,t,r,n){e.deleted||(e.cacheValue=t,this.changeStatus=!0,this.nextRefresh(),this.$render.clearCache(e),this.setFormData(e,r),this.syncValue(),this.valueChange(e,t),this.vm.$emit("change",e.field,t,e.origin,this.api,n||!1),this.effect(e,"value"))},onInput:function(e,t){var r;e.input&&(this.isQuote(e,r=e.parser.toValue(t,e))||this.isChange(e,r))&&this.setValue(e,r,t)},setFormData:function(e,t){D(this.formData,e.id,null===t?void 0:t)},getFormData:function(e){return this.formData[e.id]},validate:function(){var e=this;return Re(this.vm.validate),this.fields().forEach((function(t){e.fieldCtx[t].forEach((function(t){e.vm.validate[t.id]=_(t.rule.validate)}))})),this.vm.validate},syncForm:function(){var e=this;Re(this.form),Object.defineProperties(this.form,this.fields().reduce((function(t,r){var n=e.getFieldCtx(r),i=e.valueHandle(n);return i.configurable=!0,t[r]=i,t}),this.options.appendValue?Object.keys(this.appendData).reduce((function(t,r){return t[r]={enumerable:!0,configurable:!0,get:function(){return e.appendData[r]},set:function(t){e.appendData[r]=t}},t}),{}):{})),this.syncValue()},valueHandle:function(e){var t=this;return{enumerable:!0,get:function(){return t.getValue(e)},set:function(r){t.isChange(e,r)&&t.setValue(e,r,e.parser.toFormValue(r,e),!0)}}},appendValue:function(e){e.field&&M(this.appendData,e.field)&&(e.value=this.appendData[e.field],delete this.appendData[e.field])},addSubForm:function(e,t){this.subForm[e.id]=t},deferSyncValue:function(e,t){this.deferSyncFn||(this.deferSyncFn=e),this.deferSyncFn.sync||(this.deferSyncFn.sync=t),fe(e),this.deferSyncFn===e&&(this.deferSyncFn=null,e.sync&&this.syncValue())},syncValue:function(){if(this.deferSyncFn)return this.deferSyncFn.sync=!0;this.vm._updateValue(d(d({},this.options.appendValue?this.appendData:{}),this.form))},isChange:function(e,t){return JSON.stringify(e.rule.value,Pe)!==JSON.stringify(null===t?void 0:t,Pe)},isQuote:function(e,t){return(S.Object(t)||Array.isArray(t))&&t===e.rule.value},refreshUpdate:function(e,t,r){var n=this;if(S.Function(e.rule.update)){var i=fe((function(){return e.rule.update(t,e.origin,n.api,{origin:r||"change"})}));if(void 0===i)return;e.rule.hidden=!0===i}},valueChange:function(e,t){this.refreshRule(e,t),this.bus.$emit("change-"+e.field,t)},refreshRule:function(e,t,r){this.refreshControl(e)&&(this.$render.clearCacheAll(),this.loadRule(),this.vm.$emit("update",this.api),this.refresh()),this.refreshUpdate(e,t,r)},appendLink:function(e){var t=this,r=e.rule.link;S.trueArray(r)&&r.forEach((function(r){var n=function(){return t.refreshRule(e,e.rule.value,"link")};t.bus.$on("change-"+r,n),e.linkOn.push((function(){return t.bus.$off("change-"+r,n)}))}))},fields:function(){return Object.keys(this.fieldCtx)}})}(Ye),function(e){R(e.prototype,{getCtx:function(e){return this.getFieldCtx(e)||this.getNameCtx(e)[0]||this.ctxs[e]},getCtxs:function(e){return this.fieldCtx[e]||this.nameCtx[e]||(this.ctxs[e]?[this.ctxs[e]]:[])},setIdCtx:function(e,t,r){var n="".concat(r,"Ctx");this[n][t]?this[n][t].push(e):this[n][t]=[e]},rmIdCtx:function(e,t,r){var n="".concat(r,"Ctx"),i=this[n][t];if(!i)return!1;var o=i.splice(i.indexOf(e)>>>0,1).length>0;return i.length||delete this[n][t],o},getFieldCtx:function(e){return(this.fieldCtx[e]||[])[0]},getNameCtx:function(e){return this.nameCtx[e]||[]},setCtx:function(e){var t=e.id,r=e.field,n=e.name,i=e.rule;this.ctxs[t]=e,n&&this.setIdCtx(e,n,"name"),e.input&&(this.setIdCtx(e,r,"field"),this.setFormData(e,e.parser.toFormValue(i.value,e)),this.isMounted&&!this.reloading&&this.vm.$emit("change",e.field,i.value,e.origin,this.api))},getParser:function(e){var t=this.fc.parsers;return t[e.originType]||t[xe(e.type)]||t[e.trueType]||Ne},bindParser:function(e){e.setParser(this.getParser(e))},getType:function(e){var t=this.fc.CreateNode.aliasMap,r=t[e]||t[xe(e)]||e;return xe(r)},noWatch:function(e){this.noWatchFn||(this.noWatchFn=e),fe(e),this.noWatchFn===e&&(this.noWatchFn=null)},watchCtx:function(e){var t=this,r=this.vm;Object.keys(e.rule).filter((function(e){return"_"!==e[0]&&"$"!==e[0]&&-1===Be.indexOf(e)})).forEach((function(n){var i="children"===n;e.watch.push(r.$watch((function(){return e.rule[n]}),(function(r,o){if(!(t.loading||t.noWatchFn||t.reloading)){if(i&&!1===e.parser.loadChildren)return t.$render.clearCache(e),void t.nextRefresh();if(t.watching=!0,"link"!==n){if(["props","on","nativeOn","deep"].indexOf(n)>-1)t.parseInjectEvent(e.rule,r||{}),"props"===n&&e.input&&t.setFormData(e,e.parser.toFormValue(e.rule.value,e));else if(["emit","nativeEmit"].indexOf(n)>-1)t.parseEmit(e,"emit"===n);else if(["prefix","suffix"].indexOf(n)>-1)r&&t.loadFn(r,e.rule);else if("type"===n)e.updateType(),t.bindParser(e);else if("children"===n){var a=S.trueArray(r);t.deferSyncValue((function(){r!==o&&(t.rmSub(o,e),t.$render.initOrgChildren()),a&&t.loadChildren(r,e),t.vm.$emit("update",t.api)}))}t.$render.clearCache(e),t.refresh(),t.watching=!1}else e.link()}}),{deep:!i,sync:i}))})),this.watchEffect(e)},rmSub:function(e,t){var r=this;S.trueArray(e)&&e.forEach((function(e){e&&e.__fc__&&e.__fc__.parent===t&&r.rmCtx(e.__fc__)}))},rmCtx:function(e){var t=this;if(!e.deleted){var r=e.id,n=e.field,i=e.input,o=e.name;e.input&&Object.defineProperty(e.rule,"value",{value:e.rule.value,writable:!0}),E(this.ctxs,r),E(this.$render.tempList,r),E(this.$render.orgChildren,r),E(this.vm.ctxInject,r),E(this.formData,r),E(this.subForm,r),E(e,"cacheValue"),i&&this.rmIdCtx(e,n,"field"),o&&this.rmIdCtx(e,o,"name"),i&&!M(this.fieldCtx,n)&&E(this.form,n),this.deferSyncValue((function(){t.reloading||(!1!==e.parser.loadChildren&&S.trueArray(e.rule.children)&&e.rule.children.forEach((function(e){return e.__fc__&&t.rmCtx(e.__fc__)})),e.root===t.rules&&t.vm._renderRule())}),i);var a=this.sort.indexOf(r);return a>-1&&this.sort.splice(a,1),this.$render.clearCache(e),e.delete(),this.effect(e,"deleted"),i&&!this.fieldCtx[n]&&this.vm.$emit("removeField",n,e.rule,this.api),e.rule.__ctrl||this.vm.$emit("removeRule",e.rule,this.api),e}}})}(Ye),function(e){R(e.prototype,{mounted:function(){var e=this,t=function(){e.isMounted=!0,e.lifecycle("mounted")};this.pageEnd?t():this.bus.$once("page-end",t)},lifecycle:function(e){var t=this,r=this.options[e];S.Function(r)&&fe((function(){return r(t.api)})),this.vm.$emit(e,this.api)}})}(Ye),function(e){R(e.prototype,{useProvider:function(){var e=this,t=this.fc.providers;Object.keys(t).forEach((function(r){var n=t[r];S.Function(n)&&(n=n(e.fc)),n._c=function(e){var t=e.components;if(Array.isArray(t)){var r=function(e){return e.filter((function(e,t,r){return r.indexOf(e,0)===t}))}(t.filter((function(e){return"*"!==e})));return!!r.length&&r}return!!S.String(t)&&[t]}(n),e.onEffect(n),e.providers[r]=n}))},onEffect:function(e){var t=this,r=[];(e._c||["*"]).forEach((function(n){var i="*"===n?"*":t.getType(n);r.indexOf(i)>-1||(r.push(i),t.bus.$on("p:".concat(e.name,":").concat(i,":").concat(e.input?1:0),(function(t,r){e[t]&&e[t].apply(e,g(r))})))})),e._used=r},watchEffect:function(e){var t=this,r=this.vm,n={required:function(){var t,r;return(M(e.rule,"$required")?e.rule.$required:null===(t=e.rule)||void 0===t||null===(r=t.effect)||void 0===r?void 0:r.required)||!1}};Object.keys(e.rule.effect||{}).forEach((function(t){n[t]=function(){return e.rule.effect[t]}})),Object.keys(e.rule).forEach((function(t){"$"===t[0]&&(n[t.substr(1)]=function(){return e.rule[t]})})),Object.keys(n||{}).forEach((function(i){e.watch.push(r.$watch(n[i],(function(r){t.effect(e,"watch",u({},i,r))}),{deep:!0}))}))},ruleEffect:function(e,t,r){this.emitEffect({rule:e,input:!!e.field,type:this.getType(e.type)},t,r)},effect:function(e,t,r){this.emitEffect({rule:e.rule,input:e.input,type:e.trueType,ctx:e,custom:r},t)},getEffect:function(e,t){return M(e,"$"+t)?e["$"+t]:M(e,"effect")&&M(e.effect,t)?e.effect[t]:void 0},emitEffect:function(e,t,r){var n=this,i=e.ctx,o=e.rule,a=e.input,s=e.type,l=e.custom;if(s&&"fcFragment"!==s){var u=l||Object.keys(o).reduce((function(e,t){return"$"===t[0]&&(e[t.substr(1)]=o[t]),e}),d({},o.effect||{}));Object.keys(u).forEach((function(e){var l=n.providers[e];if(l&&(!l.input||a)){var c;if(l._c){if(!(l._used.indexOf(s)>-1))return;c=s}else c="*";var h=d({value:u[e],getValue:function(){return n.getEffect(o,e)}},r||{});i&&(h.getProp=function(){return i.effectData(e)},h.clearProp=function(){return i.clearEffectData(e)},h.mergeProp=function(e){return ue(h.getProp(),[e])},h.id=i.id),n.bus.$emit("p:".concat(e,":").concat(c,":").concat(l.input?1:0),t,[h,o,n.api])}}))}}})}(Ye);var He={name:"fcFragment",functional:!0,props:["vnode"],render:function(e,t){return t.props.vnode?t.props.vnode:t.children}};function Ve(){var e={};function r(e){e&&this.setVm(e)}return R(r.prototype,{setVm:function(e){this.vm=e,this.$h=e.$createElement},make:function(e,r,n){return t.config.isReservedTag(e)&&r.nativeOn&&delete r.nativeOn,this.makeComponent(e,r,n)},makeComponent:function(e,t,r){var n,i=this.$h(e,(n=t,S.String(n)?{domProps:{innerHTML:n}}:n),r||[]);return i.context=this.vm,i},aliasMap:e}),R(r,{aliasMap:e,alias:function(t,r){e[t]=r},use:function(e){Object.keys(e).forEach((function(t){var n=Me(t),i=Se(t).toLocaleLowerCase(),o=e[t];[t,n,i].forEach((function(e){r.alias(t,o),r.prototype[e]=function(e,t){return this.make(o,e,t)}}))}))}}),r}function Ue(e){var t=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(r,We);var t=m(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),t.apply(this,arguments)}return r}();return Object.assign(t.prototype,e),t}function We(e){R(this,{$handle:e,vm:e.vm,options:{},ref:"fcForm",mergeOptionsRule:{normal:["form","row","info","submitBtn","resetBtn"]}}),this.updateKey(),this.init()}R(We.prototype,{__init:function(){var e=this;this.$render=this.$handle.$render,this.$r=function(){var t;return(t=e.$render).renderRule.apply(t,arguments)}},updateKey:function(){this.key=Te()},init:function(){},update:function(){},beforeRender:function(){},form:function(){return this.vm.$refs[this.ref]},getSlot:function(e){return function t(r){if(r){var n=r.$scopedSlots[e];return n||t(r.$pfc)}}(this.vm)},mergeOptions:function(e,t){var r=this;return U(e.map((function(e){return r.tidyOptions(e)})),t,this.mergeOptionsRule)},updateOptions:function(e){this.options=this.mergeOptions([e],this.getDefaultOptions()),this.update()},tidyOptions:function(e){return e},tidyRule:function(e){},mergeProp:function(e){},getDefaultOptions:function(){return{}},render:function(e){}});var $e={name:"componentValidate",load:function(e,t,r){var n=e.getValue();n?e.getProp().validate=[{validator:function(){var i=he(t);if(i){for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return r.exec.apply(r,[i.id,!0===n?"formCreateValidate":n].concat(a,[{attr:e,rule:t,api:r}]))}}}]:(e.clearProp(),r.clearValidateState([t.field]))},watch:function(){$e.load.apply($e,arguments)}},Ge={name:"required",load:function(e,t,r){var n=function(e){return S.Boolean(e)?{required:e}:S.String(e)?{message:e}:S.Undef(e)?{required:!1}:S.Function(e)?{validator:e}:S.Object(e)?e:{}}(e.getValue());if(!1===n.required)e.clearProp();else{var i=d({required:!0,validator:function(e,t,r){S.empty(t)?r(i.message):r()}},n);if(!i.message){var o=t.title||"";i.message=(("object"===l(o)?o.title:o)||"")+"不能为空"}e.getProp().validate=[i]}r.sync(t)},watch:function(){Ge.load.apply(Ge,arguments)}},qe={fetch:function(e){function t(t,r,n){var i=t.value,o=function(e){void 0===e?(t.clearProp(),n.sync(r)):Oe(t.getProp(),i.to||"options",e)};if(S.Function(i)&&(i=i(r,n)),(i=function(e){return S.String(e)&&(e={action:e,to:"options"}),e}(i))&&i.action){i.to||(i.to="options");var a=i.onError,s=function(){if(!t.getValue())return t.clearProp(),n.sync(r),!0},l=d(d({headers:{}},i),{},{onSuccess:function(e,t){if(!s()){var a=function(e){return t?e:e.data};S.Function(i.parse)?a=i.parse:i.parse&&S.String(i.parse)&&(a=function(e){return i.parse.split(".").forEach((function(t){e&&(e=e[t])})),e}),o(a(e,r,n)),n.sync(r)}},onError:function(e){o(void 0),s()||(a||function(e){return K(e.message||"fetch fail "+i.action)})(e,r,n)}});e.options.beforeFetch&&fe((function(){return e.options.beforeFetch(l,{rule:r,api:n})})),S.Function(i.action)?i.action(r,n).then((function(e){l.onSuccess(e,!0)})).catch((function(e){l.onError(e)})):fe((function(){return e.create.fetch(l,{inject:t,rule:r,api:n})}))}else o(void 0)}return{name:"fetch",loaded:function(){t.apply(void 0,arguments)},watch:function(){t.apply(void 0,arguments)}}},loadData:function(e){var t={name:"loadData",_fn:[],created:function(t,r,n){this.deleted(t);var i=_(t.getValue()),o=[];i.forEach((function(i){if(i){var a=function o(){!1!==i.watch&&(e.bus.$off("p.loadData."+i.attr,o),e.bus.$once("p.loadData."+i.attr,o));var a=void 0;i.attr&&(a=e.loadData[i.attr]||i.default,i.copy&&(a=j(a))),Oe(t.getProp(),i.to||"options",a),n.sync(r)};o.push((function(){return e.bus.$off("p.loadData."+i.attr,a)})),a()}})),this._fn[t.id]=o},deleted:function(e){this._fn[e.id]&&(this._fn[e.id].forEach((function(e){e()})),delete this._fn[e.id]),e.clearProp()}};return t.watch=t.created,t},required:Ge,componentValidate:$e},Xe={name:"html",loadChildren:!1,render:function(e,t){return t.prop.domProps||(t.prop.domProps={}),t.prop.domProps.innerHTML=e,t.vNode.make(t.prop.props.tag||"div",t.prop)},renderChildren:function(e){return Array.isArray(e.rule.children)?e.rule.children.filter((function(e){return S.String(e)})).join(""):""}},Ke="undefined"!=typeof window&&window.Vue?window.Vue:t;function Ze(){return function(e,t){var r;return 2===arguments.length?t=(r=arguments[1])[e]:r=arguments[2],{id:t,prop:r}}.apply(void 0,["name"].concat(Array.prototype.slice.call(arguments)))}function Je(e){return e&&e.el?S.Element(e.el)?e.el:document.querySelector(e.el):window.document.body}function Qe(e,t){var r=new Ke({data:function(){return{rule:e,option:t||{}}},render:function(e){return e("FormCreate",{ref:"fc",props:this.$data})}});return r.$mount(),r}var et=1,tt={};function rt(e){var t,r,n,i,o=u({},He.name,He),a={},s={},l=d({},qe),c=_e(),h={global:{}},f={},p=Ve();function m(e){var t=tt[e];return Array.isArray(t)?t.map((function(e){return e.api()})):t?t.api():void 0}function v(){var e=Ze.apply(void 0,arguments);e.id&&e.prop&&(s[e.id]=e.prop)}function y(){var e=Ze.apply(void 0,arguments);e.id&&e.prop&&(l[e.id]=d(d({},e.prop),{},{name:e.id}))}function b(e){p.use(e)}function _(){var e=Ze.apply(void 0,arguments);if(!e.id||!e.prop)return Ne;var t=xe(e.id),r=e.prop,n=!0===r.merge?a[t]:void 0;a[t]=r,Object.setPrototypeOf(r,n||Ne),c[t]=pe(t),r.maker&&R(c,r.maker)}function w(e,t){var r;if(S.String(e)){if(r=xe(e),["form-create","formcreate"].indexOf(r)>-1)return C();if(void 0===t)return o[r]}else r=xe(e.name),t=e;r&&t&&(o[r]=t,delete p.aliasMap[r],delete a[r],t.formCreateParser&&_(r,t.formCreateParser))}function x(e){Object.keys(tt).forEach((function(t){(Array.isArray(tt[t])?tt[t]:[tt[t]]).forEach((function(t){t.bus.$emit("p.loadData."+e)}))}))}function k(e,t){f[e]=t,x(e)}function M(e){delete f[e],x(e)}function C(){return Ke.extend(F(D))}function T(){return Ke.extend(He)}function O(e,t){return S.Function(e.install)?e.install(L,t):S.Function(e)&&e(L,t),this}function L(e,t,r){var n=Qe(e,t||{}),i=n.$refs.fc.formCreate;return i.$parent=r,Je(i.options).appendChild(n.$el),i.api()}function A(t){var r=d({},e);return t?r.inherit={components:o,parsers:a,directives:s,providers:l,maker:c,loadData:f}:delete r.inherit,rt(r)}function D(t){var r=t.$options.propsData.rule;R(this,{id:et++,vm:t,create:L,manager:Ue(e.manager),parsers:a,providers:l,rules:Array.isArray(r)?r:[],name:t.$options.propsData.name||Te(),inFor:t.$options.propsData.inFor,prop:{components:o,directives:s},loadData:f,CreateNode:p,bus:new Ke,unwatch:null,options:{},extendApi:e.extendApi||function(e){return e}}),this.init(),this.initOptions(),this.name&&(this.inFor?(tt[this.name]||(tt[this.name]=[]),tt[this.name].push(this)):tt[this.name]=this)}function E(t){R(t,{version:e.version,ui:e.ui,setData:k,removeData:M,maker:c,component:w,directive:v,register:y,$vnode:T,parser:_,use:O,factory:A,componentAlias:b,copyRule:se,copyRules:le,fetch:ze,$form:C,parseFn:ie,parseJson:oe,toJson:re,getApi:m,init:function(e){var t=Qe(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),r=t.$refs.fc.formCreate;return{mount:function(e){return e&&S.Element(e)&&(r.options.el=e),Je(r.options).appendChild(t.$el),r.api()},remove:function(){t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el)},destroy:function(){this.remove(),t.$destroy()},$f:r.api()}}})}if(t=e.attrs||{},r=t.key||[],n=t.array||[],i=t.normal||[],$.push.apply($,g(r)),G.push.apply(G,g(n)),q.push.apply(q,g(i)),ge([].concat(g(r),g(n),g(i))),R(D.prototype,{init:function(){var e=this,t=this.vm,r=new Ye(this);this.$handle=r,t.$f=r.api,t.$emit("input",r.api),t.$on("hook:created",(function(){e.isSub()&&(e.unwatch=t.$watch((function(){return t.$pfc.option}),(function(){e.initOptions(),t.$f.refresh()}),{deep:!0}),e.initOptions()),e.created(),t.disabled&&t.$f.disabled(!0)})),t.$on("hook:mounted",(function(){e.mounted()})),t.$on("hook:beforeDestroy",(function(){if(t.destroyed=!0,e.unwatch&&e.unwatch(),r.reloadRule([]),e.name)if(e.inFor){var n=tt[e.name].indexOf(e);tt[e.name].splice(n,1),tt[e.name].length||delete tt[e.name]}else delete tt[e.name]})),t.$on("hook:updated",(function(){r.bindNextTick((function(){return e.bus.$emit("next-tick",r.api)}))}))},isSub:function(){return this.vm.$pfc&&this.vm.extendOption},initOptions:function(){this.options={};var e=d({formData:{},submitBtn:{},resetBtn:{}},j(h));this.isSub()&&this.mergeOptions(this.options,this.vm.$pfc.$f.config||{},!0),e=this.mergeOptions(e,this.vm.$options.propsData.option),this.updateOptions(e)},mergeOptions:function(e,t,r){return t=j(t),r&&["page","onSubmit","mounted","reload","formData","el"].forEach((function(e){delete t[e]})),t.global&&(e.global=function(e,t){return e?(Object.keys(t||{}).forEach((function(r){t[r]&&(e[r]=ue(e[r]||{},t[r]))})),e):t}(e.global,t.global),delete t.global),this.$handle.$manager.mergeOptions([t],e),e},updateOptions:function(e){this.mergeOptions(this.options,e),this.$handle.$manager.updateOptions(this.options)},created:function(){this.$handle.init(),this.vm.$emit("created",this.api())},api:function(){return this.$handle.api},render:function(){return this.$handle.render()},mounted:function(){this.$handle.mounted()}}),E(L),R(L,{create:L,install:function(e,t){if(h=d(d({},h),t||{}),!0!==e._installedFormCreate){e._installedFormCreate=!0,Ke=e;var r=function(e){return L(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},this)};E(r),e.prototype.$formCreate=r,e.component("FormCreate",C()),e.component("FcFragment",T())}}}),p.use({fragment:"fcFragment"}),_(Xe),e.install&&L.use(e),e.inherit){var I=e.inherit;I.components&&R(o,I.components),I.parsers&&R(a,I.parsers),I.directives&&R(s,I.directives),I.providers&&R(l,I.providers),I.maker&&R(c,I.maker),I.loadData&&R(f,I.loadData)}return L}var nt={date:"yyyy-MM-dd",month:"yyyy-MM",datetime:"yyyy-MM-dd HH:mm:ss",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",monthrange:"yyyy-MM",datetimerange:"yyyy-MM-dd HH:mm:ss",year:"yyyy"},it={name:"datePicker",maker:["year","month","date","dates","week","datetime","datetimeRange","dateRange","monthRange"].reduce((function(e,t){return e[t]=pe("datePicker",{type:t.toLowerCase()}),e}),{}),mergeProp:function(e){var t=e.prop.props;t.valueFormat||(t.valueFormat=nt[t.type]||nt.date)}},ot={name:"hidden",maker:u({},"hidden",(function(e,t){return pe("hidden")("",e,t)})),render:function(){return[]}},at=[it,ot,{name:"input",maker:function(){var e=["password","url","email","text","textarea"].reduce((function(e,t){return e[t]=pe("input",{type:t}),e}),{});return e.idate=pe("input",{type:"date"}),e}(),mergeProp:function(e){var t=e.prop.props;t&&t.autosize&&t.autosize.minRows&&(t.rows=t.autosize.minRows||2)}},{name:"slider",maker:{sliderRange:pe("slider",{range:!0})},toFormValue:function(e,t){var r=Array.isArray(e),n=t.prop.props,i=n.min||0;return!0===n.range?r?e:[i,parseFloat(e)||i]:r?parseFloat(e[0])||i:parseFloat(e)}},{name:"timePicker",maker:{time:pe("timePicker",(function(e){return e.props.isRange=!1})),timeRange:pe("timePicker",(function(e){return e.props.isRange=!0}))},mergeProp:function(e){var t=e.prop.props;t.valueFormat||(t.valueFormat="HH:mm:ss")}},{name:"FcRow",render:function(e,t){return t.vNode.col({props:{span:24}},[t.vNode.row(t.prop,e)])}},{name:"select",toFormValue:function(e,t){return t.prop.props.multiple&&!Array.isArray(e)?_(e):e}}],st={button:"elButton",icon:"i",slider:"elSlider",rate:"elRate",upload:"fcUpload",cascader:"elCascader",popover:"elPopover",tooltip:"elTooltip",colorPicker:"elColorPicker",timePicker:"elTimePicker",timeSelect:"elTimeSelect",datePicker:"elDatePicker",switch:"elSwitch",select:"fcSelect",checkbox:"fcCheckbox",radio:"fcRadio",inputNumber:"elInputNumber",number:"elInputNumber",input:"elInput",formItem:"elFormItem",form:"elForm",frame:"fcFrame",col:"elCol",row:"elRow",tree:"fcTree",autoComplete:"elAutocomplete",auto:"elAutocomplete",group:"fcGroup",object:"fcSubForm",subForm:"fcSubForm"},lt=/[A-Z]/;function ut(e,t){var r;M(e,t)&&S.String(e[t])&&(e[t]=(u(r={},t,e[t]),u(r,"show",!0),r))}function ct(e){return!1===e}var dt={validate:function(){var e=this.form();return e?e.validate():new Promise((function(e){return e()}))},validateField:function(e){var t=this.form();return new Promise(t?function(r,n){t.validateField(e,(function(e){e?n(e):r(null)}))}:function(e){return e()})},clearValidateState:function(e){var t=this.vm.$refs[e.wrapRef];t&&(t.validateMessage="",t.validateState="")},tidyOptions:function(e){return["submitBtn","resetBtn","row","info","wrap","col","title"].forEach((function(t){!function(e,t){M(e,t)&&!S.Object(e[t])&&(e[t]={show:!!e[t]})}(e,t)})),e},tidyRule:function(e){var t=e.prop;return ut(t,"title"),ut(t,"info"),t},mergeProp:function(e){var t=e.prop.props;e.prop=U([{attrs:Object.keys(t).reduce((function(e,r){var n,i;return n=r,i=t[r],lt.test(n)||!S.String(i)&&!S.Number(i)||(e[r]=t[r]),e}),{}),info:this.options.info||{},wrap:this.options.wrap||{},col:this.options.col||{},title:this.options.title||{}},e.prop],{info:{trigger:"hover",placement:"top-start",icon:"el-icon-warning"},title:{},col:{span:24},wrap:{}},{normal:["title","info","col","wrap"]})},getDefaultOptions:function(){return{form:{inline:!1,labelPosition:"right",labelWidth:"125px",disabled:!1,size:void 0},row:{show:!0,gutter:0},submitBtn:{type:"primary",loading:!1,disabled:!1,innerText:"提交",show:!0,col:void 0,click:void 0},resetBtn:{type:"default",loading:!1,disabled:!1,icon:"el-icon-refresh",innerText:"重置",show:!1,col:void 0,click:void 0}}},update:function(){var e=this.options.form;this.rule={props:d({},e),nativeOn:{submit:function(e){e.preventDefault()}},class:[e.className,e.class,"form-create"],style:e.style,type:"form"}},beforeRender:function(){var e=this.key,t=this.ref,r=this.$handle;R(this.rule,{key:e,ref:t}),R(this.rule.props,{model:r.formData,rules:r.validate()})},render:function(e){return e.length&&e.push(this.makeFormBtn()),this.$r(this.rule,ct(this.options.row.show)?e:[this.makeRow(e)])},makeWrap:function(e,t){var r=e.prop,n="".concat(this.key).concat(e.key),i=r.col,o=this.isTitle(r),a=i.labelWidth||o?i.labelWidth:0,s=this.rule.props,l=s.inline,u=s.col,c=ct(r.wrap.show)?t:this.$r(U([r.wrap,{props:d(d({labelWidth:void 0===a?a:Se(a),label:o?r.title.title:void 0},r.wrap||{}),{},{prop:e.id,rules:r.validate}),class:r.className,key:"".concat(n,"fi"),ref:e.wrapRef,type:"formItem"}]),[t,o?this.makeInfo(r,n,e):null]);return!0===l||ct(u)||ct(i.show)?c:this.makeCol(r,n,[c])},isTitle:function(e){if(!1===this.options.form.title)return!1;var t=e.title;return!(!t.title&&!t.native||ct(t.show))},makeInfo:function(e,t,r){var n=e.title,i=e.info,o="tooltip"===i.type,a=this.options.form,s=this.getSlot("title"),l=[s?s({title:n.title||"",rule:r.rule,options:this.options}):(n.title||"")+(a.labelSuffix||a["label-suffix"]||"")];if(!ct(i.show)&&(i.info||i.native)&&!ct(i.icon)){var u={type:i.type||"popover",props:d({},i),key:"".concat(t,"pop"),slot:"label"};i.info&&!M(u.props,"content")&&(u.props.content=i.info),l["left"!==i.align?"unshift":"push"](this.$r(U([i,u]),[this.$r({type:"i",slot:o?"default":"reference",class:!0===i.icon?"el-icon-warning":i.icon,key:"".concat(t,"i")})]))}return this.$r(U([n,{props:n,slot:n.slot||"label",key:"".concat(t,"tit"),type:n.type||"span"}]),l)},makeCol:function(e,t,r){var n=e.col;return this.$r({class:n.class,type:"col",props:n||{span:24},key:"".concat(t,"col")},r)},makeRow:function(e){var t=this.options.row||{};return this.$r({type:"row",props:t,class:t.class,key:"".concat(this.key,"row")},e)},makeFormBtn:function(){var e=[];if(ct(this.options.submitBtn.show)||e.push(this.makeSubmitBtn()),ct(this.options.resetBtn.show)||e.push(this.makeResetBtn()),e.length){var t=this.$r({type:"formItem",key:"".concat(this.key,"fb")},e);return!0===this.rule.props.inline?t:this.$r({type:"col",props:{span:24},key:"".concat(this.key,"fc")},[t])}},makeResetBtn:function(){var e=this,t=this.options.resetBtn;return this.$r({type:"button",props:t,style:{width:t.width},on:{click:function(){var r=e.$handle.api;t.click?t.click(r):r.resetFields()}},key:"".concat(this.key,"b2")},[t.innerText])},makeSubmitBtn:function(){var e=this,t=this.options.submitBtn;return this.$r({type:"button",props:t,style:{width:t.width},on:{click:function(){var r=e.$handle.api;t.click?t.click(r):r.submit()}},key:"".concat(this.key,"b1")},[t.innerText])}},ht={};function ft(e,t){return S.Boolean(e)?e={show:e}:S.Undef(e)||S.Object(e)||(e={show:t}),e}function pt(e,t){return R(e,{formEl:function(){return t.$manager.form()},wrapEl:function(e){var r=t.getFieldCtx(e);if(r)return t.vm.$refs[r.wrapRef]},validate:function(r){return new Promise((function(n,i){var o=e.children,a=[t.$manager.validate()];o.forEach((function(e){a.push(e.validate())})),Promise.all(a).then((function(){n(!0),r&&r(!0)})).catch((function(n){i(n),r&&r(!1,n),t.vm.$emit("validate-fail",n,{api:e})}))}))},validateField:function(r,n){return new Promise((function(i,o){var a=t.getFieldCtx(r);if(a){var s=t.subForm[a.id],l=[t.$manager.validateField(a.id)];_(s).forEach((function(e){l.push(e.validate().catch((function(){return Promise.reject("子表单验证未通过")})))})),Promise.all(l).then((function(){i(null),n&&n(null)})).catch((function(i){o(i),n&&n(i),t.vm.$emit("validate-field-fail",i,{field:r,api:e})}))}}))},clearValidateState:function(r){var n=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.helper.tidyFields(r).forEach((function(e){i&&n.clearSubValidateState(e),t.getCtxs(e).forEach((function(e){t.$manager.clearValidateState(e)}))}))},clearSubValidateState:function(r){e.helper.tidyFields(r).forEach((function(e){t.getCtxs(e).forEach((function(e){var r=t.subForm[e.id];r&&(Array.isArray(r)?r.forEach((function(e){e.clearValidateState()})):r&&r.clearValidateState())}))}))},btn:{loading:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.submitBtnProps({loading:!!t})},disabled:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.submitBtnProps({disabled:!!t})},show:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.submitBtnProps({show:!!t})}},resetBtn:{loading:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.resetBtnProps({loading:!!t})},disabled:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.resetBtnProps({disabled:!!t})},show:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.resetBtnProps({show:!!t})}},submitBtnProps:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=ft(t.options.submitBtn,!0);R(n,r),t.options.submitBtn=n,e.refreshOptions()},resetBtnProps:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=ft(t.options.resetBtn,!1);R(n,r),t.options.resetBtn=n,e.refreshOptions()},submit:function(r,n){var i=arguments,o=this;e.validate((function(a){if(a){var s=e.formData();S.Function(r)?fe((function(){return r(s,o)})):(S.Function(t.options.onSubmit)&&fe((function(){return t.options.onSubmit(s,o)})),t.vm.$emit("submit",s,o))}else S.Function(n)&&fe((function(){return n.apply(void 0,[o].concat(g(i)))}))}))}}),e}function mt(e){e.componentAlias(st),N.forEach((function(t){e.component(t.name,t)})),at.forEach((function(t){e.parser(t)})),Object.keys(ht).forEach((function(t){e.maker[t]=ht[t]}))}!function(e){["group","tree","switch","upload","autoComplete","checkbox","cascader","colorPicker","datePicker","frame","inputNumber","radio","rate"].forEach((function(t){e[t]=pe(t)})),e.auto=e.autoComplete,e.number=e.inputNumber,e.color=e.colorPicker}(ht),function(e){e.selectMultiple=pe("select",u({},"multiple",!0)),e.selectOne=pe("select",u({},"multiple",!1))}(ht),function(e){var t={treeSelected:"selected",treeChecked:"checked"};Object.keys(t).reduce((function(e,r){return e[r]=pe("tree",{type:t[r]}),e}),e)}(ht),function(e){var t={image:["image",0],file:["file",0],uploadFileOne:["file",1],uploadImageOne:["image",1]};Object.keys(t).reduce((function(e,r){return e[r]=pe("upload",(function(e){return e.props({uploadType:t[r][0],maxLength:t[r][1]})})),e}),e),e.uploadImage=e.image,e.uploadFile=e.file}(ht),function(e){var t={frameInputs:["input",0],frameFiles:["file",0],frameImages:["image",0],frameInputOne:["input",1],frameFileOne:["file",1],frameImageOne:["image",1]};Object.keys(t).reduce((function(e,r){return e[r]=pe("frame",(function(e){return e.props({type:t[r][0],maxLength:t[r][1]})})),e}),e),e.frameInput=e.frameInputs,e.frameFile=e.frameFiles,e.frameImage=e.frameImages}(ht),w(".form-create .form-create .el-form-item {\n margin-bottom: 22px;\n}\n\n.form-create .form-create .el-form-item .el-form-item {\n margin-bottom: 0px;\n}\n");var gt=rt({ui:"".concat("element-ui"),version:"".concat("2.5.35"),manager:dt,extendApi:pt,install:mt,attrs:{normal:["col","wrap"],array:["className"],key:["title","info"]}});"undefined"!=typeof window&&(window.formCreate=gt,window.Vue&>.install(window.Vue));var vt=gt.maker;e.default=gt,e.maker=vt,Object.defineProperty(e,"__esModule",{value:!0})}))},"30f1":function(e,t,r){"use strict";var n=r("b8e3"),i=r("63b6"),o=r("9138"),a=r("35e8"),s=r("481b"),l=r("8f60"),u=r("45f2"),c=r("53e2"),d=r("5168")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,r,v,y,b,_){l(r,t,v);var w,x,k,S=function(e){if(!h&&e in O)return O[e];switch(e){case p:return function(){return new r(this,e)};case m:return function(){return new r(this,e)}}return function(){return new r(this,e)}},M=t+" Iterator",C=y==m,T=!1,O=e.prototype,L=O[d]||O[f]||y&&O[y],A=L||S(y),D=y?C?S("entries"):A:void 0,E="Array"==t&&O.entries||L;if(E&&(k=c(E.call(new e)),k!==Object.prototype&&k.next&&(u(k,M,!0),n||"function"==typeof k[d]||a(k,d,g))),C&&L&&L.name!==m&&(T=!0,A=function(){return L.call(this)}),n&&!_||!h&&!T&&O[d]||a(O,d,A),s[t]=A,s[M]=g,y)if(w={values:C?A:S(m),keys:b?A:S(p),entries:D},_)for(x in w)x in O||o(O,x,w[x]);else i(i.P+i.F*(h||T),t,w);return w}},"313e":function(e,t,r){"use strict";var n={};r.r(n),r.d(n,"updateProps",(function(){return Ul})),r.d(n,"initProps",(function(){return Wl})),r.d(n,"removeElement",(function(){return Gl})),r.d(n,"removeElementWithFadeOut",(function(){return Xl})),r.d(n,"isElementRemoved",(function(){return $l})),r.d(n,"extendShape",(function(){return cg})),r.d(n,"extendPath",(function(){return hg})),r.d(n,"registerShape",(function(){return fg})),r.d(n,"getShapeClass",(function(){return pg})),r.d(n,"makePath",(function(){return mg})),r.d(n,"makeImage",(function(){return gg})),r.d(n,"mergePath",(function(){return yg})),r.d(n,"resizePath",(function(){return bg})),r.d(n,"subPixelOptimizeLine",(function(){return _g})),r.d(n,"subPixelOptimizeRect",(function(){return wg})),r.d(n,"subPixelOptimize",(function(){return xg})),r.d(n,"getTransform",(function(){return kg})),r.d(n,"applyTransform",(function(){return Sg})),r.d(n,"transformDirection",(function(){return Mg})),r.d(n,"groupTransition",(function(){return Og})),r.d(n,"clipPointsByRect",(function(){return Lg})),r.d(n,"clipRectByRect",(function(){return Ag})),r.d(n,"createIcon",(function(){return Dg})),r.d(n,"linePolygonIntersect",(function(){return Eg})),r.d(n,"lineLineIntersect",(function(){return Ig})),r.d(n,"setTooltipConfig",(function(){return Rg})),r.d(n,"traverseElements",(function(){return Bg})),r.d(n,"Group",(function(){return kn})),r.d(n,"Image",(function(){return Qa})),r.d(n,"Text",(function(){return Cs})),r.d(n,"Circle",(function(){return Qp})),r.d(n,"Ellipse",(function(){return rm})),r.d(n,"Sector",(function(){return _m})),r.d(n,"Ring",(function(){return km})),r.d(n,"Polygon",(function(){return Om})),r.d(n,"Polyline",(function(){return Dm})),r.d(n,"Rect",(function(){return ls})),r.d(n,"Line",(function(){return Pm})),r.d(n,"BezierCurve",(function(){return Fm})),r.d(n,"Arc",(function(){return Vm})),r.d(n,"IncrementalDisplayable",(function(){return ag})),r.d(n,"CompoundPath",(function(){return Wm})),r.d(n,"LinearGradient",(function(){return Xm})),r.d(n,"RadialGradient",(function(){return Zm})),r.d(n,"BoundingRect",(function(){return Oe})),r.d(n,"OrientedBoundingRect",(function(){return ng})),r.d(n,"Point",(function(){return ye})),r.d(n,"Path",(function(){return Wa}));var i={};r.r(i),r.d(i,"extendShape",(function(){return cg})),r.d(i,"extendPath",(function(){return hg})),r.d(i,"makePath",(function(){return mg})),r.d(i,"makeImage",(function(){return gg})),r.d(i,"mergePath",(function(){return yg})),r.d(i,"resizePath",(function(){return bg})),r.d(i,"createIcon",(function(){return Dg})),r.d(i,"updateProps",(function(){return Ul})),r.d(i,"initProps",(function(){return Wl})),r.d(i,"getTransform",(function(){return kg})),r.d(i,"clipPointsByRect",(function(){return Lg})),r.d(i,"clipRectByRect",(function(){return Ag})),r.d(i,"registerShape",(function(){return fg})),r.d(i,"getShapeClass",(function(){return pg})),r.d(i,"Group",(function(){return kn})),r.d(i,"Image",(function(){return Qa})),r.d(i,"Text",(function(){return Cs})),r.d(i,"Circle",(function(){return Qp})),r.d(i,"Ellipse",(function(){return rm})),r.d(i,"Sector",(function(){return _m})),r.d(i,"Ring",(function(){return km})),r.d(i,"Polygon",(function(){return Om})),r.d(i,"Polyline",(function(){return Dm})),r.d(i,"Rect",(function(){return ls})),r.d(i,"Line",(function(){return Pm})),r.d(i,"BezierCurve",(function(){return Fm})),r.d(i,"Arc",(function(){return Vm})),r.d(i,"IncrementalDisplayable",(function(){return ag})),r.d(i,"CompoundPath",(function(){return Wm})),r.d(i,"LinearGradient",(function(){return Xm})),r.d(i,"RadialGradient",(function(){return Zm})),r.d(i,"BoundingRect",(function(){return Oe}));
|
||
/*! *****************************************************************************
|
||
Copyright (c) Microsoft Corporation.
|
||
|
||
Permission to use, copy, modify, and/or distribute this software for any
|
||
purpose with or without fee is hereby granted.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
PERFORMANCE OF THIS SOFTWARE.
|
||
***************************************************************************** */
|
||
var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}Object.create;Object.create;var s=r("22d1"),l=r("6d8b");function u(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function c(e,t){return e[0]=t[0],e[1]=t[1],e}function d(e){return[e[0],e[1]]}function h(e,t,r){return e[0]=t,e[1]=r,e}function f(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function p(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e}function m(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function g(e){return Math.sqrt(v(e))}function v(e){return e[0]*e[0]+e[1]*e[1]}function y(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function b(e,t){var r=g(t);return 0===r?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function _(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var w=_;function x(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var k=x;function S(e,t,r,n){return e[0]=t[0]+n*(r[0]-t[0]),e[1]=t[1]+n*(r[1]-t[1]),e}function M(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[2]*i+r[4],e[1]=r[1]*n+r[3]*i+r[5],e}function C(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function T(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var O=function(){function e(e,t){this.target=e,this.topTarget=t&&t.topTarget}return e}(),L=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){var t=e.target;while(t&&!t.draggable)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new O(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var r=e.offsetX,n=e.offsetY,i=r-this._x,o=n-this._y;this._x=r,this._y=n,t.drift(i,o,e),this.handler.dispatchToElement(new O(t,e),"drag",e.event);var a=this.handler.findHover(r,n,t).target,s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.handler.dispatchToElement(new O(s,e),"dragleave",e.event),a&&a!==s&&this.handler.dispatchToElement(new O(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new O(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new O(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),A=L,D=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"===typeof t&&(n=r,r=t,t=null),!r||!e)return this;var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a<i[e].length;a++)if(i[e][a].h===r)return this;var s={h:r,query:t,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(t){if(r[e]){for(var n=[],i=0,o=r[e].length;i<o;i++)r[e][i].h!==t&&n.push(r[e][i]);r[e]=n}r[e]&&0===r[e].length&&delete r[e]}else delete r[e];return this},e.prototype.trigger=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var o=t.length,a=n.length,s=0;s<a;s++){var l=n[s];if(!i||!i.filter||null==l.query||i.filter(e,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var o=t.length,a=t[o-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!i||!i.filter||null==u.query||i.filter(e,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,t[0]);break;case 2:u.h.call(a,t[0],t[1]);break;default:u.h.apply(a,t.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e}(),E=D,I=Math.log(2);function j(e,t,r,n,i,o){var a=n+"-"+i,s=e.length;if(o.hasOwnProperty(a))return o[a];if(1===t){var l=Math.round(Math.log((1<<s)-1&~i)/I);return e[r][l]}var u=n|1<<r,c=r+1;while(n&1<<c)c++;for(var d=0,h=0,f=0;h<s;h++){var p=1<<h;p&i||(d+=(f%2?-1:1)*e[r][h]*j(e,t-1,c,u,i|p,o),f++)}return o[a]=d,d}function P(e,t){var r=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],n={},i=j(r,8,0,0,0,n);if(0!==i){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*j(r,7,0===a?1:0,1<<a,1<<s,n)/i*t[a];return function(e,t,r){var n=t*o[6]+r*o[7]+1;e[0]=(t*o[0]+r*o[1]+o[2])/n,e[1]=(t*o[3]+r*o[4]+o[5])/n}}}var R="___zrEVENTSAVED",N=[];function B(e,t,r,n,i){return Y(N,t,n,i,!0)&&Y(e,r,N[0],N[1])}function Y(e,t,r,n,i){if(t.getBoundingClientRect&&s["a"].domSupported&&!H(t)){var o=t[R]||(t[R]={}),a=F(t,o),l=z(a,o,i);if(l)return l(e,r,n),!0}return!1}function F(e,t){var r=t.markers;if(r)return r;r=t.markers=[];for(var n=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",i[u]+":0",n[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),r.push(a)}return r}function z(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],o=t.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),d=2*u,h=c.left,f=c.top;a.push(h,f),l=l&&o&&h===o[d]&&f===o[d+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=a,t[n]=r?P(s,a):P(a,s))}function H(e){return"CANVAS"===e.nodeName.toUpperCase()}var V=/([&<>"'])/g,U={"&":"&","<":"<",">":">",'"':""","'":"'"};function W(e){return null==e?"":(e+"").replace(V,(function(e,t){return U[t]}))}var $=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,G=[],q=s["a"].browser.firefox&&+s["a"].browser.version.split(".")[0]<39;function X(e,t,r,n){return r=r||{},n?K(e,t,r):q&&null!=t.layerX&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):null!=t.offsetX?(r.zrX=t.offsetX,r.zrY=t.offsetY):K(e,t,r),r}function K(e,t,r){if(s["a"].domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(H(e)){var o=e.getBoundingClientRect();return r.zrX=n-o.left,void(r.zrY=i-o.top)}if(Y(G,e,n,i))return r.zrX=G[0],void(r.zrY=G[1])}r.zrX=r.zrY=0}function Z(e){return e||window.event}function J(e,t,r){if(t=Z(t),null!=t.zrX)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o="touchend"!==n?t.targetTouches[0]:t.changedTouches[0];o&&X(e,o,t,r)}else{X(e,t,t,r);var a=Q(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return null==t.which&&void 0!==s&&$.test(t.type)&&(t.which=1&s?1:2&s?3:4&s?2:0),t}function Q(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(null==r||null==n)return t;var i=0!==n?Math.abs(n):Math.abs(r),o=n>0?-1:n<0?1:r>0?-1:1;return 3*i*o}function ee(e,t,r,n){e.addEventListener(t,r,n)}function te(e,t,r,n){e.removeEventListener(t,r,n)}var re=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function ne(e){return 2===e.which||3===e.which}var ie=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,r){return this._doTrack(e,t,r),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,r){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},o=0,a=n.length;o<a;o++){var s=n[o],l=X(r,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},e.prototype._recognize=function(e){for(var t in se)if(se.hasOwnProperty(t)){var r=se[t](this._track,e);if(r)return r}},e}();function oe(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function ae(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var se={pinch:function(e,t){var r=e.length;if(r){var n=(e[r-1]||{}).points,i=(e[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var o=oe(n)/oe(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=ae(n);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function le(){return[1,0,0,1,0,0]}function ue(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function ce(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function de(e,t,r){var n=t[0]*r[0]+t[2]*r[1],i=t[1]*r[0]+t[3]*r[1],o=t[0]*r[2]+t[2]*r[3],a=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],l=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function he(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function fe(e,t,r,n){void 0===n&&(n=[0,0]);var i=t[0],o=t[2],a=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(r),d=Math.cos(r);return e[0]=i*d+s*c,e[1]=-i*c+s*d,e[2]=o*d+l*c,e[3]=-o*c+d*l,e[4]=d*(a-n[0])+c*(u-n[1])+n[0],e[5]=d*(u-n[1])-c*(a-n[0])+n[1],e}function pe(e,t,r){var n=r[0],i=r[1];return e[0]=t[0]*n,e[1]=t[1]*i,e[2]=t[2]*n,e[3]=t[3]*i,e[4]=t[4]*n,e[5]=t[5]*i,e}function me(e,t){var r=t[0],n=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=r*a-o*n;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-n*l,e[3]=r*l,e[4]=(n*s-a*i)*l,e[5]=(o*i-r*s)*l,e):null}function ge(e){var t=le();return ce(t,e),t}var ve=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,r=this.y-e.y;return Math.sqrt(t*t+r*r)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,r=this.y-e.y;return t*t+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,r=this.y;return this.x=e[0]*t+e[2]*r+e[4],this.y=e[1]*t+e[3]*r+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,r){e.x=t,e.y=r},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,r){e.x=t.x+r.x,e.y=t.y+r.y},e.sub=function(e,t,r){e.x=t.x-r.x,e.y=t.y-r.y},e.scale=function(e,t,r){e.x=t.x*r,e.y=t.y*r},e.scaleAndAdd=function(e,t,r,n){e.x=t.x+r.x*n,e.y=t.y+r.y*n},e.lerp=function(e,t,r,n){var i=1-n;e.x=i*t.x+n*r.x,e.y=i*t.y+n*r.y},e}(),ye=ve,be=Math.min,_e=Math.max,we=new ye,xe=new ye,ke=new ye,Se=new ye,Me=new ye,Ce=new ye,Te=function(){function e(e,t,r,n){r<0&&(e+=r,r=-r),n<0&&(t+=n,n=-n),this.x=e,this.y=t,this.width=r,this.height=n}return e.prototype.union=function(e){var t=be(e.x,this.x),r=be(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=_e(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=_e(e.y+e.height,this.y+this.height)-r:this.height=e.height,this.x=t,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,r=e.width/t.width,n=e.height/t.height,i=le();return he(i,i,[-t.x,-t.y]),pe(i,i,[r,n]),he(i,i,[e.x,e.y]),i},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,i=n.x,o=n.x+n.width,a=n.y,s=n.y+n.height,l=t.x,u=t.x+t.width,c=t.y,d=t.y+t.height,h=!(o<l||u<i||s<c||d<a);if(r){var f=1/0,p=0,m=Math.abs(o-l),g=Math.abs(u-i),v=Math.abs(s-c),y=Math.abs(d-a),b=Math.min(m,g),_=Math.min(v,y);o<l||u<i?b>p&&(p=b,m<g?ye.set(Ce,-m,0):ye.set(Ce,g,0)):b<f&&(f=b,m<g?ye.set(Me,m,0):ye.set(Me,-g,0)),s<c||d<a?_>p&&(p=_,v<y?ye.set(Ce,0,-v):ye.set(Ce,0,y)):b<f&&(f=b,v<y?ye.set(Me,0,v):ye.set(Me,0,-y))}return r&&ye.copy(r,h?Me:Ce),h},e.prototype.contain=function(e,t){var r=this;return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,r,n){if(n){if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],o=n[3],a=n[4],s=n[5];return t.x=r.x*i+a,t.y=r.y*o+s,t.width=r.width*i,t.height=r.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}we.x=ke.x=r.x,we.y=Se.y=r.y,xe.x=Se.x=r.x+r.width,xe.y=ke.y=r.y+r.height,we.transform(n),Se.transform(n),xe.transform(n),ke.transform(n),t.x=be(we.x,xe.x,ke.x,Se.x),t.y=be(we.y,xe.y,ke.y,Se.y);var l=_e(we.x,xe.x,ke.x,Se.x),u=_e(we.y,xe.y,ke.y,Se.y);t.width=l-t.x,t.height=u-t.y}else t!==r&&e.copy(t,r)},e}(),Oe=Te,Le="silent";function Ae(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:De}}function De(){re(this.event)}var Ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return a(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(E),Ie=function(){function e(e,t){this.x=e,this.y=t}return e}(),je=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Pe=new Oe(0,0,0,0),Re=function(e){function t(t,r,n,i,o){var a=e.call(this)||this;return a._hovered=new Ie(0,0),a.storage=t,a.painter=r,a.painterRoot=i,a._pointerSize=o,n=n||new Ee,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new A(a),a}return a(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(l["k"](je,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,r=e.zrY,n=Ye(this,t,r),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=n?new Ie(t,r):this.findHover(t,r),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Ie(0,0)},t.prototype.dispatch=function(e,t){var r=this[e];r&&r.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,r){e=e||{};var n=e.target;if(!n||!n.silent){var i="on"+t,o=Ae(t,e,r);while(n)if(n[i]&&(o.cancelBubble=!!n[i].call(n,o)),n.trigger(t,o),n=n.__hostTarget?n.__hostTarget:n.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"===typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},t.prototype.findHover=function(e,t,r){var n=this.storage.getDisplayList(),i=new Ie(e,t);if(Be(n,i,e,t,r),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Oe(e-s,t-s,a,a),u=n.length-1;u>=0;u--){var c=n[u];c===r||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Pe.copy(c.getBoundingRect()),c.transform&&Pe.applyTransform(c.transform),Pe.intersect(l)&&o.push(c))}if(o.length)for(var d=4,h=Math.PI/12,f=2*Math.PI,p=0;p<s;p+=d)for(var m=0;m<f;m+=h){var g=e+p*Math.cos(m),v=t+p*Math.sin(m);if(Be(o,i,g,v,r),i.target)return i}}return i},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new ie);var r=this._gestureMgr;"start"===t&&r.clear();var n=r.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&r.clear(),n){var i=n.type;e.gestureEvent=i;var o=new Ie;o.target=n.target,this.dispatchToElement(o,i,n.event)}},t}(E);function Ne(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){var n=e,i=void 0,o=!1;while(n){if(n.ignoreClip&&(o=!0),!o){var a=n.getClipPath();if(a&&!a.contain(t,r))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s||n.parent}return!i||Le}return!1}function Be(e,t,r,n,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=Ne(a,r,n))&&(!t.topTarget&&(t.topTarget=a),s!==Le)){t.target=a;break}}}function Ye(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}l["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){Re.prototype[e]=function(t){var r,n,i=t.zrX,o=t.zrY,a=Ye(this,i,o);if("mouseup"===e&&a||(r=this.findHover(i,o),n=r.target),"mousedown"===e)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===e)this._upEl=n;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||w(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(r,e,t)}}));var Fe=Re,ze=32,He=7;function Ve(e){var t=0;while(e>=ze)t|=1&e,e>>=1;return e+t}function Ue(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){while(i<r&&n(e[i],e[i-1])<0)i++;We(e,t,i)}else while(i<r&&n(e[i],e[i-1])>=0)i++;return i-t}function We(e,t,r){r--;while(t<r){var n=e[t];e[t++]=e[r],e[r--]=n}}function $e(e,t,r,n,i){for(n===t&&n++;n<r;n++){var o,a=e[n],s=t,l=n;while(s<l)o=s+l>>>1,i(a,e[o])<0?l=o:s=o+1;var u=n-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=a}}function Ge(e,t,r,n,i,o){var a=0,s=0,l=1;if(o(e,t[r+i])>0){s=n-i;while(l<s&&o(e,t[r+i+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(l<s&&o(e,t[r+i-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[r+c])>0?a=c+1:l=c}return l}function qe(e,t,r,n,i,o){var a=0,s=0,l=1;if(o(e,t[r+i])<0){s=i+1;while(l<s&&o(e,t[r+i-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{s=n-i;while(l<s&&o(e,t[r+i+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[r+c])<0?l=c:a=c+1}return l}function Xe(e,t){var r,n,i=He,o=0,a=[];function s(e,t){r[o]=e,n[o]=t,o+=1}function l(){while(o>1){var e=o-2;if(e>=1&&n[e-1]<=n[e]+n[e+1]||e>=2&&n[e-2]<=n[e]+n[e-1])n[e-1]<n[e+1]&&e--;else if(n[e]>n[e+1])break;c(e)}}function u(){while(o>1){var e=o-2;e>0&&n[e-1]<n[e+1]&&e--,c(e)}}function c(i){var a=r[i],s=n[i],l=r[i+1],u=n[i+1];n[i]=s+u,i===o-3&&(r[i+1]=r[i+2],n[i+1]=n[i+2]),o--;var c=qe(e[l],e,a,s,0,t);a+=c,s-=c,0!==s&&(u=Ge(e[a+s-1],e,l,u,u-1,t),0!==u&&(s<=u?d(a,s,l,u):h(a,s,l,u)))}function d(r,n,o,s){var l=0;for(l=0;l<n;l++)a[l]=e[r+l];var u=0,c=o,d=r;if(e[d++]=e[c++],0!==--s)if(1!==n){var h,f,p,m=i;while(1){h=0,f=0,p=!1;do{if(t(e[c],a[u])<0){if(e[d++]=e[c++],f++,h=0,0===--s){p=!0;break}}else if(e[d++]=a[u++],h++,f=0,1===--n){p=!0;break}}while((h|f)<m);if(p)break;do{if(h=qe(e[c],a,u,n,0,t),0!==h){for(l=0;l<h;l++)e[d+l]=a[u+l];if(d+=h,u+=h,n-=h,n<=1){p=!0;break}}if(e[d++]=e[c++],0===--s){p=!0;break}if(f=Ge(a[u],e,c,s,0,t),0!==f){for(l=0;l<f;l++)e[d+l]=e[c+l];if(d+=f,c+=f,s-=f,0===s){p=!0;break}}if(e[d++]=a[u++],1===--n){p=!0;break}m--}while(h>=He||f>=He);if(p)break;m<0&&(m=0),m+=2}if(i=m,i<1&&(i=1),1===n){for(l=0;l<s;l++)e[d+l]=e[c+l];e[d+s]=a[u]}else{if(0===n)throw new Error;for(l=0;l<n;l++)e[d+l]=a[u+l]}}else{for(l=0;l<s;l++)e[d+l]=e[c+l];e[d+s]=a[u]}else for(l=0;l<n;l++)e[d+l]=a[u+l]}function h(r,n,o,s){var l=0;for(l=0;l<s;l++)a[l]=e[o+l];var u=r+n-1,c=s-1,d=o+s-1,h=0,f=0;if(e[d--]=e[u--],0!==--n)if(1!==s){var p=i;while(1){var m=0,g=0,v=!1;do{if(t(a[c],e[u])<0){if(e[d--]=e[u--],m++,g=0,0===--n){v=!0;break}}else if(e[d--]=a[c--],g++,m=0,1===--s){v=!0;break}}while((m|g)<p);if(v)break;do{if(m=n-qe(a[c],e,r,n,n-1,t),0!==m){for(d-=m,u-=m,n-=m,f=d+1,h=u+1,l=m-1;l>=0;l--)e[f+l]=e[h+l];if(0===n){v=!0;break}}if(e[d--]=a[c--],1===--s){v=!0;break}if(g=s-Ge(e[u],a,0,s,s-1,t),0!==g){for(d-=g,c-=g,s-=g,f=d+1,h=c+1,l=0;l<g;l++)e[f+l]=a[h+l];if(s<=1){v=!0;break}}if(e[d--]=e[u--],0===--n){v=!0;break}p--}while(m>=He||g>=He);if(v)break;p<0&&(p=0),p+=2}if(i=p,i<1&&(i=1),1===s){for(d-=n,u-=n,f=d+1,h=u+1,l=n-1;l>=0;l--)e[f+l]=e[h+l];e[d]=a[c]}else{if(0===s)throw new Error;for(h=d-(s-1),l=0;l<s;l++)e[h+l]=a[l]}}else{for(d-=n,u-=n,f=d+1,h=u+1,l=n-1;l>=0;l--)e[f+l]=e[h+l];e[d]=a[c]}else for(h=d-(s-1),l=0;l<s;l++)e[h+l]=a[l]}return r=[],n=[],{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function Ke(e,t,r,n){r||(r=0),n||(n=e.length);var i=n-r;if(!(i<2)){var o=0;if(i<ze)return o=Ue(e,r,n,t),void $e(e,r,n,r+o,t);var a=Xe(e,t),s=Ve(i);do{if(o=Ue(e,r,n,t),o<s){var l=i;l>s&&(l=s),$e(e,r,r+l,r+o,t),o=l}a.pushRun(r,o),a.mergeRuns(),i-=o,r+=o}while(0!==i);a.forceMergeRuns()}}var Ze=1,Je=2,Qe=4,et=!1;function tt(){et||(et=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function rt(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var nt,it=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=rt}return e.prototype.traverse=function(e,t){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(e,t)},e.prototype.getDisplayList=function(e,t){t=t||!1;var r=this._displayList;return!e&&r.length||this.updateDisplayList(t),r},e.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,r=this._displayList,n=0,i=t.length;n<i;n++)this._updateAndAddDisplayable(t[n],null,e);r.length=this._displayListLen,Ke(r,rt)},e.prototype._updateAndAddDisplayable=function(e,t,r){if(!e.ignore||r){e.beforeUpdate(),e.update(),e.afterUpdate();var n=e.getClipPath();if(e.ignoreClip)t=null;else if(n){t=t?t.slice():[];var i=n,o=e;while(i)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty|=Ze),this._updateAndAddDisplayable(l,t,r)}e.__dirty=0}else{var u=e;t&&t.length?u.__clipPaths=t:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(tt(),u.z=0),isNaN(u.z2)&&(tt(),u.z2=0),isNaN(u.zlevel)&&(tt(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,t,r);var d=e.getTextGuideLine();d&&this._updateAndAddDisplayable(d,t,r);var h=e.getTextContent();h&&this._updateAndAddDisplayable(h,t,r)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,r=e.length;t<r;t++)this.delRoot(e[t]);else{var n=l["r"](this._roots,e);n>=0&&this._roots.splice(n,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),ot=it;nt=s["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var at=nt,st={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return 0===e?0:1===e?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},elasticOut:function(e){var t,r=.1,n=.4;return 0===e?0:1===e?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return 0===e?0:1===e?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-st.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*st.bounceIn(2*e):.5*st.bounceOut(2*e-1)+.5}},lt=st,ut=Math.pow,ct=Math.sqrt,dt=1e-8,ht=1e-4,ft=ct(3),pt=1/3,mt=u(),gt=u(),vt=u();function yt(e){return e>-dt&&e<dt}function bt(e){return e>dt||e<-dt}function _t(e,t,r,n,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*n+3*o*r)}function wt(e,t,r,n,i){var o=1-i;return 3*(((t-e)*o+2*(r-t)*i)*o+(n-r)*i*i)}function xt(e,t,r,n,i,o){var a=n+3*(t-r)-e,s=3*(r-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,d=s*l-9*a*u,h=l*l-3*s*u,f=0;if(yt(c)&&yt(d))if(yt(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[f++]=p)}else{var m=d*d-4*c*h;if(yt(m)){var g=d/c,v=(p=-s/a+g,-g/2);p>=0&&p<=1&&(o[f++]=p),v>=0&&v<=1&&(o[f++]=v)}else if(m>0){var y=ct(m),b=c*s+1.5*a*(-d+y),_=c*s+1.5*a*(-d-y);b=b<0?-ut(-b,pt):ut(b,pt),_=_<0?-ut(-_,pt):ut(_,pt);p=(-s-(b+_))/(3*a);p>=0&&p<=1&&(o[f++]=p)}else{var w=(2*c*s-3*a*d)/(2*ct(c*c*c)),x=Math.acos(w)/3,k=ct(c),S=Math.cos(x),M=(p=(-s-2*k*S)/(3*a),v=(-s+k*(S+ft*Math.sin(x)))/(3*a),(-s+k*(S-ft*Math.sin(x)))/(3*a));p>=0&&p<=1&&(o[f++]=p),v>=0&&v<=1&&(o[f++]=v),M>=0&&M<=1&&(o[f++]=M)}}return f}function kt(e,t,r,n,i){var o=6*r-12*t+6*e,a=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(yt(a)){if(bt(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(yt(c))i[0]=-o/(2*a);else if(c>0){var d=ct(c),h=(u=(-o+d)/(2*a),(-o-d)/(2*a));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function St(e,t,r,n,i,o){var a=(t-e)*i+e,s=(r-t)*i+t,l=(n-r)*i+r,u=(s-a)*i+a,c=(l-s)*i+s,d=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=n}function Mt(e,t,r,n,i,o,a,s,l,u,c){var d,h,f,p,m,g=.005,v=1/0;mt[0]=l,mt[1]=u;for(var y=0;y<1;y+=.05)gt[0]=_t(e,r,i,a,y),gt[1]=_t(t,n,o,s,y),p=k(mt,gt),p<v&&(d=y,v=p);v=1/0;for(var b=0;b<32;b++){if(g<ht)break;h=d-g,f=d+g,gt[0]=_t(e,r,i,a,h),gt[1]=_t(t,n,o,s,h),p=k(gt,mt),h>=0&&p<v?(d=h,v=p):(vt[0]=_t(e,r,i,a,f),vt[1]=_t(t,n,o,s,f),m=k(vt,mt),f<=1&&m<v?(d=f,v=m):g*=.5)}return c&&(c[0]=_t(e,r,i,a,d),c[1]=_t(t,n,o,s,d)),ct(v)}function Ct(e,t,r,n,i,o,a,s,l){for(var u=e,c=t,d=0,h=1/l,f=1;f<=l;f++){var p=f*h,m=_t(e,r,i,a,p),g=_t(t,n,o,s,p),v=m-u,y=g-c;d+=Math.sqrt(v*v+y*y),u=m,c=g}return d}function Tt(e,t,r,n){var i=1-n;return i*(i*e+2*n*t)+n*n*r}function Ot(e,t,r,n){return 2*((1-n)*(t-e)+n*(r-t))}function Lt(e,t,r,n,i){var o=e-2*t+r,a=2*(t-e),s=e-n,l=0;if(yt(o)){if(bt(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(yt(c)){u=-a/(2*o);u>=0&&u<=1&&(i[l++]=u)}else if(c>0){var d=ct(c),h=(u=(-a+d)/(2*o),(-a-d)/(2*o));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function At(e,t,r){var n=e+r-2*t;return 0===n?.5:(e-t)/n}function Dt(e,t,r,n,i){var o=(t-e)*n+e,a=(r-t)*n+t,s=(a-o)*n+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=r}function Et(e,t,r,n,i,o,a,s,l){var u,c=.005,d=1/0;mt[0]=a,mt[1]=s;for(var h=0;h<1;h+=.05){gt[0]=Tt(e,r,i,h),gt[1]=Tt(t,n,o,h);var f=k(mt,gt);f<d&&(u=h,d=f)}d=1/0;for(var p=0;p<32;p++){if(c<ht)break;var m=u-c,g=u+c;gt[0]=Tt(e,r,i,m),gt[1]=Tt(t,n,o,m);f=k(gt,mt);if(m>=0&&f<d)u=m,d=f;else{vt[0]=Tt(e,r,i,g),vt[1]=Tt(t,n,o,g);var v=k(vt,mt);g<=1&&v<d?(u=g,d=v):c*=.5}}return l&&(l[0]=Tt(e,r,i,u),l[1]=Tt(t,n,o,u)),ct(d)}function It(e,t,r,n,i,o,a){for(var s=e,l=t,u=0,c=1/a,d=1;d<=a;d++){var h=d*c,f=Tt(e,r,i,h),p=Tt(t,n,o,h),m=f-s,g=p-l;u+=Math.sqrt(m*m+g*g),s=f,l=p}return u}var jt=/cubic-bezier\(([0-9,\.e ]+)\)/;function Pt(e){var t=e&&jt.exec(e);if(t){var r=t[1].split(","),n=+Object(l["T"])(r[0]),i=+Object(l["T"])(r[1]),o=+Object(l["T"])(r[2]),a=+Object(l["T"])(r[3]);if(isNaN(n+i+o+a))return;var s=[];return function(e){return e<=0?0:e>=1?1:xt(0,n,o,1,e,s)&&_t(0,i,a,1,s[0])}}}var Rt=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||l["L"],this.ondestroy=e.ondestroy||l["L"],this.onrestart=e.onrestart||l["L"],e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var r=this._life,n=e-this._startTime-this._pausedTime,i=n/r;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=n%r;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=Object(l["w"])(e)?e:lt[e]||Pt(e)},e}(),Nt=Rt,Bt=r("41ef"),Yt=r("7a29"),Ft=Array.prototype.slice;function zt(e,t,r){return(t-e)*r+e}function Ht(e,t,r,n){for(var i=t.length,o=0;o<i;o++)e[o]=zt(t[o],r[o],n);return e}function Vt(e,t,r,n){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=zt(t[a][s],r[a][s],n)}return e}function Ut(e,t,r,n){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+r[o]*n;return e}function Wt(e,t,r,n){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+r[a][s]*n}return e}function $t(e,t){for(var r=e.length,n=t.length,i=r>n?t:e,o=Math.min(r,n),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(r,n);s++)i.push({offset:a.offset,color:a.color.slice()})}function Gt(e,t,r){var n=e,i=t;if(n.push&&i.push){var o=n.length,a=i.length;if(o!==a){var s=o>a;if(s)n.length=a;else for(var l=o;l<a;l++)n.push(1===r?i[l]:Ft.call(i[l]))}var u=n[0]&&n[0].length;for(l=0;l<n.length;l++)if(1===r)isNaN(n[l])&&(n[l]=i[l]);else for(var c=0;c<u;c++)isNaN(n[l][c])&&(n[l][c]=i[l][c])}}function qt(e){if(Object(l["u"])(e)){var t=e.length;if(Object(l["u"])(e[0])){for(var r=[],n=0;n<t;n++)r.push(Ft.call(e[n]));return r}return Ft.call(e)}return e}function Xt(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}function Kt(e){return Object(l["u"])(e&&e[0])?2:1}var Zt=0,Jt=1,Qt=2,er=3,tr=4,rr=5,nr=6;function ir(e){return e===tr||e===rr}function or(e){return e===Jt||e===Qt}var ar=[0,0,0,0],sr=function(){function e(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,r){this._needsSort=!0;var n=this.keyframes,i=n.length,o=!1,a=nr,s=t;if(Object(l["u"])(t)){var u=Kt(t);a=u,(1===u&&!Object(l["z"])(t[0])||2===u&&!Object(l["z"])(t[0][0]))&&(o=!0)}else if(Object(l["z"])(t)&&!Object(l["l"])(t))a=Zt;else if(Object(l["C"])(t))if(isNaN(+t)){var c=Bt["h"](t);c&&(s=c,a=er)}else a=Zt;else if(Object(l["x"])(t)){var d=Object(l["m"])({},s);d.colorStops=Object(l["H"])(t.colorStops,(function(e){return{offset:e.offset,color:Bt["h"](e.color)}})),Object(Yt["m"])(t)?a=tr:Object(Yt["o"])(t)&&(a=rr),s=d}0===i?this.valType=a:a===this.valType&&a!==nr||(o=!0),this.discrete=this.discrete||o;var h={time:e,value:s,rawValue:t,percent:0};return r&&(h.easing=r,h.easingFunc=Object(l["w"])(r)?r:lt[r]||Pt(r)),n.push(h),h},e.prototype.prepare=function(e,t){var r=this.keyframes;this._needsSort&&r.sort((function(e,t){return e.time-t.time}));for(var n=this.valType,i=r.length,o=r[i-1],a=this.discrete,s=or(n),l=ir(n),u=0;u<i;u++){var c=r[u],d=c.value,h=o.value;c.percent=c.time/e,a||(s&&u!==i-1?Gt(d,h,n):l&&$t(d.colorStops,h.colorStops))}if(!a&&n!==rr&&t&&this.needsAnimate()&&t.needsAnimate()&&n===t.valType&&!t._finished){this._additiveTrack=t;var f=r[0].value;for(u=0;u<i;u++)n===Zt?r[u].additiveValue=r[u].value-f:n===er?r[u].additiveValue=Ut([],r[u].value,f,-1):or(n)&&(r[u].additiveValue=n===Jt?Ut([],r[u].value,f,-1):Wt([],r[u].value,f,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r,n,i,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,u=this.keyframes,c=u.length,d=this.propName,h=s===er,f=this._lastFr,p=Math.min;if(1===c)n=i=u[0];else{if(t<0)r=0;else if(t<this._lastFrP){var m=p(f+1,c-1);for(r=m;r>=0;r--)if(u[r].percent<=t)break;r=p(r,c-2)}else{for(r=f;r<c;r++)if(u[r].percent>t)break;r=p(r-1,c-2)}i=u[r+1],n=u[r]}if(n&&i){this._lastFr=r,this._lastFrP=t;var g=i.percent-n.percent,v=0===g?1:p((t-n.percent)/g,1);i.easingFunc&&(v=i.easingFunc(v));var y=o?this._additiveValue:h?ar:e[d];if(!or(s)&&!h||y||(y=this._additiveValue=[]),this.discrete)e[d]=v<1?n.rawValue:i.rawValue;else if(or(s))s===Jt?Ht(y,n[a],i[a],v):Vt(y,n[a],i[a],v);else if(ir(s)){var b=n[a],_=i[a],w=s===tr;e[d]={type:w?"linear":"radial",x:zt(b.x,_.x,v),y:zt(b.y,_.y,v),colorStops:Object(l["H"])(b.colorStops,(function(e,t){var r=_.colorStops[t];return{offset:zt(e.offset,r.offset,v),color:Xt(Ht([],e.color,r.color,v))}})),global:_.global},w?(e[d].x2=zt(b.x2,_.x2,v),e[d].y2=zt(b.y2,_.y2,v)):e[d].r=zt(b.r,_.r,v)}else if(h)Ht(y,n[a],i[a],v),o||(e[d]=Xt(y));else{var x=zt(n[a],i[a],v);o?this._additiveValue=x:e[d]=x}o&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,r=this.propName,n=this._additiveValue;t===Zt?e[r]=e[r]+n:t===er?(Bt["h"](e[r],ar),Ut(ar,ar,n,1),e[r]=Xt(ar)):t===Jt?Ut(e[r],e[r],n,1):t===Qt&&Wt(e[r],e[r],n,1)},e}(),lr=function(){function e(e,t,r,n){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n?Object(l["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=n,this._allowDiscrete=r)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,r){return this.whenWithKeys(e,t,Object(l["F"])(t),r)},e.prototype.whenWithKeys=function(e,t,r,n){for(var i=this._tracks,o=0;o<r.length;o++){var a=r[o],s=i[a];if(!s){s=i[a]=new sr(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,d=c[c.length-1];l=d&&d.value,u.valType===er&&l&&(l=Xt(l))}else l=this._target[a];if(null==l)continue;e>0&&s.addKeyframe(0,qt(l),n),this._trackKeys.push(a)}s.addKeyframe(e,qt(t[a]),n)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,r=0;r<t;r++)e[r].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var r=0;r<t.length;r++)t[r].call(this)},e.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,r=0;r<t.length;r++)e[t[r]].setFinished()},e.prototype._getAdditiveTrack=function(e){var t,r=this._additiveAnimators;if(r)for(var n=0;n<r.length;n++){var i=r[n].getTrack(e);i&&(t=i)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,r=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(n,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(t._target[a.propName]=c.rawValue),a.setFinished()}else r.push(a)}if(r.length||this._force){var d=new Nt({life:n,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var n=t._additiveAnimators;if(n){for(var i=!1,o=0;o<n.length;o++)if(n[o]._clip){i=!0;break}i||(t._additiveAnimators=null)}for(o=0;o<r.length;o++)r[o].step(t._target,e);var a=t._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),e&&d.setEasing(e)}else this._doneCallback();return this}},e.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},e.prototype.delay=function(e){return this._delay=e,this},e.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},e.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},e.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(e){return this._tracks[e]},e.prototype.getTracks=function(){var e=this;return Object(l["H"])(this._trackKeys,(function(t){return e._tracks[t]}))},e.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var r=this._tracks,n=this._trackKeys,i=0;i<e.length;i++){var o=r[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<n.length;i++)if(!r[n[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,r){if(e){t=t||this._trackKeys;for(var n=0;n<t.length;n++){var i=t[n],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[r?0:a.length-1];s&&(e[i]=qt(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||Object(l["F"])(e);for(var r=0;r<t.length;r++){var n=t[r],i=this._tracks[n];if(i){var o=i.keyframes;if(o.length>1){var a=o.pop();i.addKeyframe(a.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}(),ur=lr;function cr(){return(new Date).getTime()}var dr=function(e){function t(t){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,t=t||{},r.stage=t.stage||{},r}return a(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,r=e.next;t?t.next=r:this._head=r,r?r.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){var t=cr()-this._pausedTime,r=t-this._time,n=this._head;while(n){var i=n.next,o=n.step(t,r);o?(n.ondestroy(),this.removeClip(n),n=i):n=i}this._time=t,e||(this.trigger("frame",r),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;function t(){e._running&&(at(t),!e._paused&&e.update())}this._running=!0,at(t)},t.prototype.start=function(){this._running||(this._time=cr(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=cr(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=cr()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){var e=this._head;while(e){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var r=new ur(e,t.loop);return this.addAnimator(r),r},t}(E),hr=dr,fr=300,pr=s["a"].domSupported,mr=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=l["H"](e,(function(e){var t=e.replace("mouse","pointer");return r.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:n}}(),gr={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},vr=!1;function yr(e){var t=e.pointerType;return"pen"===t||"touch"===t}function br(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function _r(e){e&&(e.zrByTouch=!0)}function wr(e,t){return J(e.dom,new kr(e,t),!0)}function xr(e,t){var r=t,n=!1;while(r&&9!==r.nodeType&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot))r=r.parentNode;return n}var kr=function(){function e(e,t){this.stopPropagation=l["L"],this.stopImmediatePropagation=l["L"],this.preventDefault=l["L"],this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return e}(),Sr={mousedown:function(e){e=J(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=J(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=J(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=J(this.dom,e);var t=e.toElement||e.relatedTarget;xr(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){vr=!0,e=J(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){vr||(e=J(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=J(this.dom,e),_r(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Sr.mousemove.call(this,e),Sr.mousedown.call(this,e)},touchmove:function(e){e=J(this.dom,e),_r(e),this.handler.processGesture(e,"change"),Sr.mousemove.call(this,e)},touchend:function(e){e=J(this.dom,e),_r(e),this.handler.processGesture(e,"end"),Sr.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<fr&&Sr.click.call(this,e)},pointerdown:function(e){Sr.mousedown.call(this,e)},pointermove:function(e){yr(e)||Sr.mousemove.call(this,e)},pointerup:function(e){Sr.mouseup.call(this,e)},pointerout:function(e){yr(e)||Sr.mouseout.call(this,e)}};l["k"](["click","dblclick","contextmenu"],(function(e){Sr[e]=function(t){t=J(this.dom,t),this.trigger(e,t)}}));var Mr={pointermove:function(e){yr(e)||Mr.mousemove.call(this,e)},pointerup:function(e){Mr.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function Cr(e,t){var r=t.domHandlers;s["a"].pointerEventsSupported?l["k"](mr.pointer,(function(n){Or(t,n,(function(t){r[n].call(e,t)}))})):(s["a"].touchEventsSupported&&l["k"](mr.touch,(function(n){Or(t,n,(function(i){r[n].call(e,i),br(t)}))})),l["k"](mr.mouse,(function(n){Or(t,n,(function(i){i=Z(i),t.touching||r[n].call(e,i)}))})))}function Tr(e,t){function r(r){function n(n){n=Z(n),xr(e,n.target)||(n=wr(e,n),t.domHandlers[r].call(e,n))}Or(t,r,n,{capture:!0})}s["a"].pointerEventsSupported?l["k"](gr.pointer,r):s["a"].touchEventsSupported||l["k"](gr.mouse,r)}function Or(e,t,r,n){e.mounted[t]=r,e.listenerOpts[t]=n,ee(e.domTarget,t,r,n)}function Lr(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&te(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var Ar=function(){function e(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return e}(),Dr=function(e){function t(t,r){var n=e.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=r,n._localHandlerScope=new Ar(t,Sr),pr&&(n._globalHandlerScope=new Ar(document,Mr)),Cr(n,n._localHandlerScope),n}return a(t,e),t.prototype.dispose=function(){Lr(this._localHandlerScope),pr&&Lr(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,pr&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?Tr(this,t):Lr(t)}},t}(E),Er=Dr,Ir=1;s["a"].hasGlobalWindow&&(Ir=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var jr=Ir,Pr=.4,Rr="#333",Nr="#ccc",Br="#eee",Yr=ue,Fr=5e-5;function zr(e){return e>Fr||e<-Fr}var Hr=[],Vr=[],Ur=le(),Wr=Math.abs,$r=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return zr(this.rotation)||zr(this.x)||zr(this.y)||zr(this.scaleX-1)||zr(this.scaleY-1)||zr(this.skewX)||zr(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),r=this.transform;t||e?(r=r||le(),t?this.getLocalTransform(r):Yr(r),e&&(t?de(r,e,r):ce(r,e)),this.transform=r,this._resolveGlobalScaleRatio(r)):r&&(Yr(r),this.invTransform=null)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(Hr);var r=Hr[0]<0?-1:1,n=Hr[1]<0?-1:1,i=((Hr[0]-r)*t+r)/Hr[0]||0,o=((Hr[1]-n)*t+n)/Hr[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||le(),me(this.invTransform,e)},e.prototype.getComputedTransform=function(){var e=this,t=[];while(e)t.push(e),e=e.parent;while(e=t.pop())e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);r=Math.sqrt(r)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||le(),de(Vr,e.invTransform,t),t=Vr);var r=this.originX,n=this.originY;(r||n)&&(Ur[4]=r,Ur[5]=n,de(Vr,t,Ur),Vr[4]-=r,Vr[5]-=n,t=Vr),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var r=[e,t],n=this.invTransform;return n&&M(r,r,n),r},e.prototype.transformCoordToGlobal=function(e,t){var r=[e,t],n=this.transform;return n&&M(r,r,n),r},e.prototype.getLineScale=function(){var e=this.transform;return e&&Wr(e[0]-1)>1e-10&&Wr(e[3]-1)>1e-10?Math.sqrt(Wr(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){qr(this,e)},e.getLocalTransform=function(e,t){t=t||[];var r=e.originX||0,n=e.originY||0,i=e.scaleX,o=e.scaleY,a=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,c=e.y,d=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(r||n||a||s){var f=r+a,p=n+s;t[4]=-f*i-d*p*o,t[5]=-p*o-h*f*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=h*i,t[2]=d*o,l&&fe(t,t,l),t[4]+=r+u,t[5]+=n+c,t},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),Gr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function qr(e,t){for(var r=0;r<Gr.length;r++){var n=Gr[r];e[n]=t[n]}}var Xr=$r,Kr=r("d51b"),Zr=r("726e"),Jr={};function Qr(e,t){t=t||Zr["a"];var r=Jr[t];r||(r=Jr[t]=new Kr["a"](500));var n=r.get(e);return null==n&&(n=Zr["d"].measureText(e,t).width,r.put(e,n)),n}function en(e,t,r,n){var i=Qr(e,t),o=on(t),a=rn(0,i,r),s=nn(0,o,n),l=new Oe(a,s,i,o);return l}function tn(e,t,r,n){var i=((e||"")+"").split("\n"),o=i.length;if(1===o)return en(i[0],t,r,n);for(var a=new Oe(0,0,0,0),s=0;s<i.length;s++){var l=en(i[s],t,r,n);0===s?a.copy(l):a.union(l)}return a}function rn(e,t,r){return"right"===r?e-=t:"center"===r&&(e-=t/2),e}function nn(e,t,r){return"middle"===r?e-=t/2:"bottom"===r&&(e-=t),e}function on(e){return Qr("国",e)}function an(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function sn(e,t,r){var n=t.position||"inside",i=null!=t.distance?t.distance:5,o=r.height,a=r.width,s=o/2,l=r.x,u=r.y,c="left",d="top";if(n instanceof Array)l+=an(n[0],r.width),u+=an(n[1],r.height),c=null,d=null;else switch(n){case"left":l-=i,u+=s,c="right",d="middle";break;case"right":l+=i+a,u+=s,d="middle";break;case"top":l+=a/2,u-=i,c="center",d="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=i,u+=s,d="middle";break;case"insideRight":l+=a-i,u+=s,c="right",d="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,d="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",d="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=d,e}var ln="__zr_normal__",un=Gr.concat(["ignore"]),cn=Object(l["N"])(Gr,(function(e,t){return e[t]=!0,e}),{ignore:!1}),dn={},hn=new Oe(0,0,0,0),fn=function(){function e(e){this.id=Object(l["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,r){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,i=t.innerTransformable,o=void 0,a=void 0,s=!1;i.parent=n?this:null;var l=!1;if(i.copyTransform(t),null!=r.position){var u=hn;r.layoutRect?u.copy(r.layoutRect):u.copy(this.getBoundingRect()),n||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(dn,r,u):sn(dn,r,u),i.x=dn.x,i.y=dn.y,o=dn.align,a=dn.verticalAlign;var c=r.origin;if(c&&null!=r.rotation){var d=void 0,h=void 0;"center"===c?(d=.5*u.width,h=.5*u.height):(d=an(c[0],u.width),h=an(c[1],u.height)),l=!0,i.originX=-i.x+d+(n?0:u.x),i.originY=-i.y+h+(n?0:u.y)}}null!=r.rotation&&(i.rotation=r.rotation);var f=r.offset;f&&(i.x+=f[0],i.y+=f[1],l||(i.originX=-f[0],i.originY=-f[1]));var p=null==r.inside?"string"===typeof r.position&&r.position.indexOf("inside")>=0:r.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,v=void 0,y=void 0;p&&this.canBeInsideText()?(g=r.insideFill,v=r.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(g),y=!0)):(g=r.outsideFill,v=r.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(g),y=!0)),g=g||"#000",g===m.fill&&v===m.stroke&&y===m.autoStroke&&o===m.align&&a===m.verticalAlign||(s=!0,m.fill=g,m.stroke=v,m.autoStroke=y,m.align=o,m.verticalAlign=a,t.setDefaultTextStyle(m)),t.__dirty|=Ze,s&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Nr:Rr},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),r="string"===typeof t&&Object(Bt["h"])(t);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*n+(i?0:255)*(1-n);return r[3]=1,Object(Bt["i"])(r,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},Object(l["m"])(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(Object(l["A"])(e))for(var r=e,n=Object(l["F"])(r),i=0;i<n.length;i++){var o=n[i];this.attrKV(o,e[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],i=n.__fromStateTransition;if(!(n.getLoop()||i&&i!==ln)){var o=n.targetName,a=o?t[o]:t;n.saveTo(a)}}},e.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,un)},e.prototype._savePrimaryToNormal=function(e,t,r){for(var n=0;n<r.length;n++){var i=r[n];null==e[i]||i in t||(t[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(ln,!1,e)},e.prototype.useState=function(e,t,r,n){var i=e===ln,o=this.hasState();if(o||!i){var a=this.currentStates,s=this.stateTransition;if(!(Object(l["r"])(a,e)>=0)||!t&&1!==a.length){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),u||i){i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!r&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,h=this._textGuide;return d&&d.useState(e,t,r,c),h&&h.useState(e,t,r,c),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ze),u}Object(l["G"])("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,r){if(e.length){var n=[],i=this.currentStates,o=e.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(e[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&n.push(u)}var c=n[o-1],d=!!(c&&c.hoverLayer||r);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(n),f=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,m=this._textGuide;p&&p.useStates(e,t,d),m&&m.useStates(e,t,d),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ze)}else this.clearStates()},e.prototype.isSilent=function(){var e=this.silent,t=this.parent;while(!e&&t){if(t.silent){e=!0;break}t=t.parent}return e},e.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},e.prototype.removeState=function(e){var t=Object(l["r"])(this.currentStates,e);if(t>=0){var r=this.currentStates.slice();r.splice(t,1),this.useStates(r)}},e.prototype.replaceState=function(e,t,r){var n=this.currentStates.slice(),i=Object(l["r"])(n,e),o=Object(l["r"])(n,t)>=0;i>=0?o?n.splice(i,1):n[i]=t:r&&!o&&n.push(t),this.useStates(n)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,r={},n=0;n<e.length;n++){var i=e[n];Object(l["m"])(r,i),i.textConfig&&(t=t||{},Object(l["m"])(t,i.textConfig))}return t&&(r.textConfig=t),r},e.prototype._applyStateObj=function(e,t,r,n,i,o){var a=!(t&&n);t&&t.textConfig?(this.textConfig=Object(l["m"])({},n?this.textConfig:r.textConfig),Object(l["m"])(this.textConfig,t.textConfig)):a&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},u=!1,c=0;c<un.length;c++){var d=un[c],h=i&&cn[d];t&&null!=t[d]?h?(u=!0,s[d]=t[d]):this[d]=t[d]:a&&null!=r[d]&&(h?(u=!0,s[d]=r[d]):this[d]=r[d])}if(!i)for(c=0;c<this.animators.length;c++){var f=this.animators[c],p=f.targetName;f.getLoop()||f.__changeFinalValue(p?(t||r)[p]:t||r)}u&&this._transitionState(e,s,o)},e.prototype._attachComponent=function(e){if((!e.__zr||e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},e.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},e.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new Xr,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Object(l["m"])(this.textConfig,e),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Ze;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,r=this._textGuide;t&&(t.__inHover=e),r&&(r.__inHover=e)},e.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.addAnimator(t[r]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.removeAnimator(t[r]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},e.prototype.animate=function(e,t,r){var n=e?this[e]:this;var i=new ur(n,t,r);return e&&(i.targetName=e),this.addAnimator(i,e),i},e.prototype.addAnimator=function(e,t){var r=this.__zr,n=this;e.during((function(){n.updateDuringAnimation(t)})).done((function(){var t=n.animators,r=Object(l["r"])(t,e);r>=0&&t.splice(r,1)})),this.animators.push(e),r&&r.animation.addAnimator(e),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var r=this.animators,n=r.length,i=[],o=0;o<n;o++){var a=r[o];e&&e!==a.scope?i.push(a):a.stop(t)}return this.animators=i,this},e.prototype.animateTo=function(e,t,r){pn(this,e,t,r)},e.prototype.animateFrom=function(e,t,r){pn(this,e,t,r,!0)},e.prototype._transitionState=function(e,t,r,n){for(var i=pn(this,t,r,n),o=0;o<i.length;o++)i[o].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Ze;function r(e,r,n,i){function o(e,t){Object.defineProperty(t,0,{get:function(){return e[n]},set:function(t){e[n]=t}}),Object.defineProperty(t,1,{get:function(){return e[i]},set:function(t){e[i]=t}})}Object.defineProperty(t,e,{get:function(){if(!this[r]){var e=this[r]=[];o(this,e)}return this[r]},set:function(e){this[n]=e[0],this[i]=e[1],this[r]=e,o(this,e)}})}Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),e}();function pn(e,t,r,n,i){r=r||{};var o=[];_n(e,"",e,t,r,n,o,i);var a=o.length,s=!1,l=r.done,u=r.aborted,c=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},d=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&r.during&&o[0].during((function(e,t){r.during(t)}));for(var h=0;h<o.length;h++){var f=o[h];c&&f.done(c),d&&f.aborted(d),r.force&&f.duration(r.duration),f.start(r.easing)}return o}function mn(e,t,r){for(var n=0;n<r;n++)e[n]=t[n]}function gn(e){return Object(l["u"])(e[0])}function vn(e,t,r){if(Object(l["u"])(t[r]))if(Object(l["u"])(e[r])||(e[r]=[]),Object(l["E"])(t[r])){var n=t[r].length;e[r].length!==n&&(e[r]=new t[r].constructor(n),mn(e[r],t[r],n))}else{var i=t[r],o=e[r],a=i.length;if(gn(i))for(var s=i[0].length,u=0;u<a;u++)o[u]?mn(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else mn(o,i,a);o.length=i.length}else e[r]=t[r]}function yn(e,t){return e===t||Object(l["u"])(e)&&Object(l["u"])(t)&&bn(e,t)}function bn(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function _n(e,t,r,n,i,o,a,s){for(var u=Object(l["F"])(n),c=i.duration,d=i.delay,h=i.additive,f=i.setToFinal,p=!Object(l["A"])(o),m=e.animators,g=[],v=0;v<u.length;v++){var y=u[v],b=n[y];if(null!=b&&null!=r[y]&&(p||o[y]))if(!Object(l["A"])(b)||Object(l["u"])(b)||Object(l["x"])(b))g.push(y);else{if(t){s||(r[y]=b,e.updateDuringAnimation(t));continue}_n(e,y,r[y],b,i,o&&o[y],a,s)}else s||(r[y]=b,e.updateDuringAnimation(t),g.push(y))}var _=g.length;if(!h&&_)for(var w=0;w<m.length;w++){var x=m[w];if(x.targetName===t){var k=x.stopTracks(g);if(k){var S=Object(l["r"])(m,x);m.splice(S,1)}}}if(i.force||(g=Object(l["n"])(g,(function(e){return!yn(n[e],r[e])})),_=g.length),_>0||i.force&&!a.length){var M=void 0,C=void 0,T=void 0;if(s){C={},f&&(M={});for(w=0;w<_;w++){y=g[w];C[y]=r[y],f?M[y]=n[y]:r[y]=n[y]}}else if(f){T={};for(w=0;w<_;w++){y=g[w];T[y]=qt(r[y]),vn(r,n,y)}}x=new ur(r,!1,!1,h?Object(l["n"])(m,(function(e){return e.targetName===t})):null);x.targetName=t,i.scope&&(x.scope=i.scope),f&&M&&x.whenWithKeys(0,M,g),T&&x.whenWithKeys(0,T,g),x.whenWithKeys(null==c?500:c,s?C:n,g).delay(d||0),e.addAnimator(x,t),a.push(x)}}Object(l["K"])(fn,E),Object(l["K"])(fn,Xr);var wn=fn,xn=function(e){function t(t){var r=e.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(t),r}return a(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,r=0;r<t.length;r++)if(t[r].name===e)return t[r]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var r=this._children,n=r.indexOf(t);n>=0&&(r.splice(n,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var r=l["r"](this._children,e);return r>=0&&this.replaceAt(t,r),this},t.prototype.replaceAt=function(e,t){var r=this._children,n=r[t];if(e&&e!==this&&e.parent!==this&&e!==n){r[t]=e,n.parent=null;var i=this.__zr;i&&n.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,r=this._children,n=l["r"](r,e);return n<0||(r.splice(n,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,r=0;r<e.length;r++){var n=e[r];t&&n.removeSelfFromZr(t),n.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var r=this._children,n=0;n<r.length;n++){var i=r[n];e.call(t,i,n)}return this},t.prototype.traverse=function(e,t){for(var r=0;r<this._children.length;r++){var n=this._children[r],i=e.call(t,n);n.isGroup&&!i&&n.traverse(e,t)}return this},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.removeSelfFromZr(t)}},t.prototype.getBoundingRect=function(e){for(var t=new Oe(0,0,0,0),r=e||this._children,n=[],i=null,o=0;o<r.length;o++){var a=r[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(n);l?(Oe.applyTransform(t,s,l),i=i||t.clone(),i.union(t)):(i=i||s.clone(),i.union(s))}}return i||t},t}(wn);xn.prototype.type="group";var kn=xn,Sn={},Mn={};
|
||
/*!
|
||
* ZRender, a high performance 2d drawing library.
|
||
*
|
||
* Copyright (c) 2013, Baidu Inc.
|
||
* All rights reserved.
|
||
*
|
||
* LICENSE
|
||
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
||
*/function Cn(e){delete Mn[e]}function Tn(e){if(!e)return!1;if("string"===typeof e)return Object(Bt["e"])(e,1)<Pr;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=Object(Bt["e"])(t[i].color,1);return r/=n,r<Pr}return!1}var On,Ln=function(){function e(e,t,r){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=t,this.id=e;var i=new ot,o=r.renderer||"canvas";Sn[o]||(o=l["F"](Sn)[0]),r.useDirtyRect=null!=r.useDirtyRect&&r.useDirtyRect;var a=new Sn[o](t,i,r,e),u=r.ssr||a.ssrOnly;this.storage=i,this.painter=a;var c,d=s["a"].node||s["a"].worker||u?null:new Er(a.getViewportRoot(),a.root),h=r.useCoarsePointer,f=null==h||"auto"===h?s["a"].touchEventsSupported:!!h,p=44;f&&(c=l["P"](r.pointerSize,p)),this.handler=new Fe(i,a,d,a.root,c),this.animation=new hr({stage:{update:u?null:function(){return n._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(e){!this._disposed&&e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){!this._disposed&&e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},e.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=Tn(e))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(e){this._darkMode=e},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(e){var t,r=cr();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var n=cr();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},e.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},e.prototype.on=function(e,t,r){return this._disposed||this.handler.on(e,t,r),this},e.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},e.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},e.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof kn&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,Cn(this.id))},e}();function An(e,t){var r=new Ln(l["p"](),e,t);return Mn[r.id]=r,r}function Dn(e,t){Sn[e]=t}function En(e){if("function"===typeof On)return On(e)}function In(e){On=e}var jn=1e-4,Pn=20;function Rn(e){return e.replace(/^\s+|\s+$/g,"")}function Nn(e,t,r,n){var i=t[0],o=t[1],a=r[0],s=r[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(n)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function Bn(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return l["C"](e)?Rn(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function Yn(e,t,r){return null==t&&(t=10),t=Math.min(Math.max(0,t),Pn),e=(+e).toFixed(t),r?e:+e}function Fn(e){return e.sort((function(e,t){return e-t})),e}function zn(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r;return Hn(e)}function Hn(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-n)}function Vn(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),o=Math.round(r(Math.abs(t[1]-t[0]))/n),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function Un(e,t){var r=l["N"](e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===r)return[];var n=Math.pow(10,t),i=l["H"](e,(function(e){return(isNaN(e)?0:e)/r*n*100})),o=100*n,a=l["H"](i,(function(e){return Math.floor(e)})),s=l["N"](a,(function(e,t){return e+t}),0),u=l["H"](i,(function(e,t){return e-a[t]}));while(s<o){for(var c=Number.NEGATIVE_INFINITY,d=null,h=0,f=u.length;h<f;++h)u[h]>c&&(c=u[h],d=h);++a[d],u[d]=0,++s}return l["H"](a,(function(e){return e/n}))}function Wn(e,t){var r=Math.max(zn(e),zn(t)),n=e+t;return r>Pn?n:Yn(n,r)}var $n=9007199254740991;function Gn(e){var t=2*Math.PI;return(e%t+t)%t}function qn(e){return e>-jn&&e<jn}var Xn=/^(?:(\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 Kn(e){if(e instanceof Date)return e;if(l["C"](e)){var t=Xn.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function Zn(e){return Math.pow(10,Jn(e))}function Jn(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function Qn(e,t){var r,n=Jn(e),i=Math.pow(10,n),o=e/i;return r=t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,e=r*i,n>=-20?+e.toFixed(n<0?-n:0):e}function ei(e,t){var r=(e.length-1)*t+1,n=Math.floor(r),i=+e[n-1],o=r-n;return o?i+o*(e[n]-i):i}function ti(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,r=1,n=0;n<e.length;){for(var i=e[n].interval,o=e[n].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-r),t=i[a],r=o[a];i[0]===i[1]&&o[0]*o[1]!==1?e.splice(n,1):n++}return e;function s(e,t,r){return e.interval[r]<t.interval[r]||e.interval[r]===t.interval[r]&&(e.close[r]-t.close[r]===(r?-1:1)||!r&&s(e,t,1))}}function ri(e){var t=parseFloat(e);return t==e&&(0!==t||!l["C"](e)||e.indexOf("x")<=0)?t:NaN}function ni(e){return!isNaN(ri(e))}function ii(){return Math.round(9*Math.random())}function oi(e,t){return 0===t?e:oi(t,e%t)}function ai(e,t){return null==e?t:null==t?e:e*t/oi(e,t)}function si(e,t,r){return(t-e)*r+e}var li="series\0",ui="\0_ec_\0";function ci(e){return e instanceof Array?e:null==e?[]:[e]}function di(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,i=r.length;n<i;n++){var o=r[n];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var hi=["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 fi(e){return!Object(l["A"])(e)||Object(l["t"])(e)||e instanceof Date?e:e.value}function pi(e){return Object(l["A"])(e)&&!(e instanceof Array)}function mi(e,t,r){var n="normalMerge"===r,i="replaceMerge"===r,o="replaceAll"===r;e=e||[],t=(t||[]).slice();var a=Object(l["f"])();Object(l["k"])(t,(function(e,r){Object(l["A"])(e)||(t[r]=null)}));var s=gi(e,a,r);return(n||i)&&vi(s,e,a,t),n&&yi(s,t),n||i?bi(s,t,i):o&&_i(s,t),wi(s),s}function gi(e,t,r){var n=[];if("replaceAll"===r)return n;for(var i=0;i<e.length;i++){var o=e[i];o&&null!=o.id&&t.set(o.id,i),n.push({existing:"replaceMerge"===r||Ci(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return n}function vi(e,t,r,n){Object(l["k"])(n,(function(i,o){if(i&&null!=i.id){var a=ki(i.id),s=r.get(a);if(null!=s){var u=e[s];Object(l["b"])(!u.newOption,'Duplicated option on id "'+a+'".'),u.newOption=i,u.existing=t[s],n[o]=null}}}))}function yi(e,t){Object(l["k"])(t,(function(r,n){if(r&&null!=r.name)for(var i=0;i<e.length;i++){var o=e[i].existing;if(!e[i].newOption&&o&&(null==o.id||null==r.id)&&!Ci(r)&&!Ci(o)&&xi("name",o,r))return e[i].newOption=r,void(t[n]=null)}}))}function bi(e,t,r){Object(l["k"])(t,(function(t){if(t){var n,i=0;while((n=e[i])&&(n.newOption||Ci(n.existing)||n.existing&&null!=t.id&&!xi("id",t,n.existing)))i++;n?(n.newOption=t,n.brandNew=r):e.push({newOption:t,brandNew:r,existing:null,keyInfo:null}),i++}}))}function _i(e,t){Object(l["k"])(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}function wi(e){var t=Object(l["f"])();Object(l["k"])(e,(function(e){var r=e.existing;r&&t.set(r.id,e)})),Object(l["k"])(e,(function(e){var r=e.newOption;Object(l["b"])(!r||null==r.id||!t.get(r.id)||t.get(r.id)===e,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&t.set(r.id,e),!e.keyInfo&&(e.keyInfo={})})),Object(l["k"])(e,(function(e,r){var n=e.existing,i=e.newOption,o=e.keyInfo;if(Object(l["A"])(i)){if(o.name=null!=i.name?ki(i.name):n?n.name:li+r,n)o.id=ki(n.id);else if(null!=i.id)o.id=ki(i.id);else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(t.get(o.id))}t.set(o.id,e)}}))}function xi(e,t,r){var n=Si(t[e],null),i=Si(r[e],null);return null!=n&&null!=i&&n===i}function ki(e){return Si(e,"")}function Si(e,t){return null==e?t:Object(l["C"])(e)?e:Object(l["z"])(e)||Object(l["D"])(e)?e+"":t}function Mi(e){var t=e.name;return!(!t||!t.indexOf(li))}function Ci(e){return e&&null!=e.id&&0===ki(e.id).indexOf(ui)}function Ti(e){return ui+e}function Oi(e,t,r){Object(l["k"])(e,(function(e){var n=e.newOption;Object(l["A"])(n)&&(e.keyInfo.mainType=t,e.keyInfo.subType=Li(t,n,e.existing,r))}))}function Li(e,t,r,n){var i=t.type?t.type:r?r.subType:n.determineSubType(e,t);return i}function Ai(e,t){var r={},n={};return i(e||[],r),i(t||[],n,r),[o(r),o(n)];function i(e,t,r){for(var n=0,i=e.length;n<i;n++){var o=Si(e[n].seriesId,null);if(null==o)return;for(var a=ci(e[n].dataIndex),s=r&&r[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(t[o]||(t[o]={}))[c]=1}}}function o(e,t){var r=[];for(var n in e)if(e.hasOwnProperty(n)&&null!=e[n])if(t)r.push(+n);else{var i=o(e[n],!0);i.length&&r.push({seriesId:n,dataIndex:i})}return r}}function Di(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?Object(l["t"])(t.dataIndex)?Object(l["H"])(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?Object(l["t"])(t.name)?Object(l["H"])(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function Ei(){var e="__ec_inner_"+Ii++;return function(t){return t[e]||(t[e]={})}}var Ii=ii();function ji(e,t,r){var n=Pi(t,r),i=n.mainTypeSpecified,o=n.queryOptionMap,a=n.others,s=a,l=r?r.defaultMainType:null;return!i&&l&&o.set(l,{}),o.each((function(t,n){var i=Bi(e,n,t,{useDefault:l===n,enableAll:!r||null==r.enableAll||r.enableAll,enableNone:!r||null==r.enableNone||r.enableNone});s[n+"Models"]=i.models,s[n+"Model"]=i.models[0]})),s}function Pi(e,t){var r;if(Object(l["C"])(e)){var n={};n[e+"Index"]=0,r=n}else r=e;var i=Object(l["f"])(),o={},a=!1;return Object(l["k"])(r,(function(e,r){if("dataIndex"!==r&&"dataIndexInside"!==r){var n=r.match(/^(\w+)(Index|Id|Name)$/)||[],s=n[1],u=(n[2]||"").toLowerCase();if(s&&u&&!(t&&t.includeMainTypes&&Object(l["r"])(t.includeMainTypes,s)<0)){a=a||!!s;var c=i.get(s)||i.set(s,{});c[u]=e}}else o[r]=e})),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var Ri={useDefault:!0,enableAll:!1,enableNone:!1},Ni={useDefault:!1,enableAll:!0,enableNone:!0};function Bi(e,t,r,n){n=n||Ri;var i=r.index,o=r.id,a=r.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var u=void 0;return s.models=n.useDefault&&(u=e.getComponent(t))?[u]:[],s}return"none"===i||!1===i?(Object(l["b"])(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===i&&(Object(l["b"])(n.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=e.queryComponents({mainType:t,index:i,id:o,name:a}),s)}function Yi(e,t,r){e.setAttribute?e.setAttribute(t,r):e[t]=r}function Fi(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function zi(e){return"auto"===e?s["a"].domSupported?"html":"richText":e||"html"}function Hi(e,t){var r=Object(l["f"])(),n=[];return Object(l["k"])(e,(function(e){var i=t(e);(r.get(i)||(n.push(i),r.set(i,[]))).push(e)})),{keys:n,buckets:r}}function Vi(e,t,r,n,i){var o=null==t||"auto"===t;if(null==n)return n;if(Object(l["z"])(n)){var a=si(r||0,n,i);return Yn(a,o?Math.max(zn(r||0),zn(n)):t)}if(Object(l["C"])(n))return i<1?r:n;for(var s=[],u=r,c=n,d=Math.max(u?u.length:0,c.length),h=0;h<d;++h){var f=e.getDimensionInfo(h);if(f&&"ordinal"===f.type)s[h]=(i<1&&u?u:c)[h];else{var p=u&&u[h]?u[h]:0,m=c[h];a=si(p,m,i);s[h]=Yn(a,o?Math.max(zn(p),zn(m)):t)}}return s}var Ui=".",Wi="___EC__COMPONENT__CONTAINER___",$i="___EC__EXTENDED_CLASS___";function Gi(e){var t={main:"",sub:""};if(e){var r=e.split(Ui);t.main=r[0]||"",t.sub=r[1]||""}return t}function qi(e){l["b"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function Xi(e){return!(!e||!e[$i])}function Ki(e,t){e.$constructor=e,e.extend=function(e){var t,r=this;return Zi(r)?t=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(r):(t=function(){(e.$constructor||r).apply(this,arguments)},l["s"](t,this)),l["m"](t.prototype,e),t[$i]=!0,t.extend=this.extend,t.superCall=to,t.superApply=ro,t.superClass=r,t}}function Zi(e){return l["w"](e)&&/^class\s/.test(Function.prototype.toString.call(e))}function Ji(e,t){e.extend=t.extend}var Qi=Math.round(10*Math.random());function eo(e){var t=["__\0is_clz",Qi++].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function to(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[t].apply(e,r)}function ro(e,t,r){return this.superClass.prototype[t].apply(e,r)}function no(e){var t={};function r(e){var r=t[e.main];return r&&r[Wi]||(r=t[e.main]={},r[Wi]=!0),r}e.registerClass=function(e){var n=e.type||e.prototype.type;if(n){qi(n),e.prototype.type=n;var i=Gi(n);if(i.sub){if(i.sub!==Wi){var o=r(i);o[i.sub]=e}}else t[i.main]=e}return e},e.getClass=function(e,r,n){var i=t[e];if(i&&i[Wi]&&(i=r?i[r]:null),n&&!i)throw new Error(r?"Component "+e+"."+(r||"")+" is used but not imported.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){var r=Gi(e),n=[],i=t[r.main];return i&&i[Wi]?l["k"](i,(function(e,t){t!==Wi&&n.push(e)})):n.push(i),n},e.hasClass=function(e){var r=Gi(e);return!!t[r.main]},e.getAllClassMainTypes=function(){var e=[];return l["k"](t,(function(t,r){e.push(r)})),e},e.hasSubTypes=function(e){var r=Gi(e),n=t[r.main];return n&&n[Wi]}}function io(e,t){for(var r=0;r<e.length;r++)e[r][1]||(e[r][1]=e[r][0]);return t=t||!1,function(r,n,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(n&&l["r"](n,s)>=0||i&&l["r"](i,s)<0)){var u=r.getShallow(s,t);null!=u&&(o[e[a][0]]=u)}}return o}}var oo=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],ao=io(oo),so=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return ao(this,e,t)},e}(),lo=new Kr["a"](50);function uo(e){if("string"===typeof e){var t=lo.get(e);return t&&t.image}return e}function co(e,t,r,n,i){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!r)return t;var o=lo.get(e),a={hostEl:r,cb:n,cbPayload:i};return o?(t=o.image,!fo(t)&&o.pending.push(a)):(t=Zr["d"].loadImage(e,ho,ho),t.__zrImageSrc=e,lo.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}return e}return t}function ho(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var r=e.pending[t],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}e.pending.length=0}function fo(e){return e&&e.width&&e.height}var po=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function mo(e,t,r,n,i){if(!t)return"";var o=(e+"").split("\n");i=go(t,r,n,i);for(var a=0,s=o.length;a<s;a++)o[a]=vo(o[a],i);return o.join("\n")}function go(e,t,r,n){n=n||{};var i=Object(l["m"])({},n);i.font=t,r=Object(l["P"])(r,"..."),i.maxIterations=Object(l["P"])(n.maxIterations,2);var o=i.minChar=Object(l["P"])(n.minChar,0);i.cnCharWidth=Qr("国",t);var a=i.ascCharWidth=Qr("a",t);i.placeholder=Object(l["P"])(n.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<o&&s>=a;u++)s-=a;var c=Qr(r,t);return c>s&&(r="",c=0),s=e-c,i.ellipsis=r,i.ellipsisWidth=c,i.contentWidth=s,i.containerWidth=e,i}function vo(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var o=Qr(e,n);if(o<=r)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?yo(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,s),o=Qr(e,n)}return""===e&&(e=t.placeholder),e}function yo(e,t,r,n){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?r:n}return o}function bo(e,t){null!=e&&(e+="");var r,n=t.overflow,i=t.padding,o=t.font,a="truncate"===n,s=on(o),u=Object(l["P"])(t.lineHeight,s),c=!!t.backgroundColor,d="truncate"===t.lineOverflow,h=t.width;r=null==h||"break"!==n&&"breakAll"!==n?e?e.split("\n"):[]:e?Oo(e,t.font,h,"breakAll"===n,0).lines:[];var f=r.length*u,p=Object(l["P"])(t.height,f);if(f>p&&d){var m=Math.floor(p/u);r=r.slice(0,m)}if(e&&a&&null!=h)for(var g=go(h,o,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),v=0;v<r.length;v++)r[v]=vo(r[v],g);var y=p,b=0;for(v=0;v<r.length;v++)b=Math.max(Qr(r[v],o),b);null==h&&(h=b);var _=b;return i&&(y+=i[0]+i[2],_+=i[1]+i[3],h+=i[1]+i[3]),c&&(_=h),{lines:r,height:p,outerWidth:_,outerHeight:y,lineHeight:u,calculatedLineHeight:s,contentWidth:b,contentHeight:f,width:h}}var _o=function(){function e(){}return e}(),wo=function(){function e(e){this.tokens=[],e&&(this.tokens=e)}return e}(),xo=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function ko(e,t){var r=new xo;if(null!=e&&(e+=""),!e)return r;var n,i=t.width,o=t.height,a=t.overflow,s="break"!==a&&"breakAll"!==a||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===a},u=po.lastIndex=0;while(null!=(n=po.exec(e))){var c=n.index;c>u&&So(r,e.substring(u,c),t,s),So(r,n[2],t,s,n[1]),u=po.lastIndex}u<e.length&&So(r,e.substring(u,e.length),t,s);var d=[],h=0,f=0,p=t.padding,m="truncate"===a,g="truncate"===t.lineOverflow;function v(e,t,r){e.width=t,e.lineHeight=r,h+=r,f=Math.max(f,t)}e:for(var y=0;y<r.lines.length;y++){for(var b=r.lines[y],_=0,w=0,x=0;x<b.tokens.length;x++){var k=b.tokens[x],S=k.styleName&&t.rich[k.styleName]||{},M=k.textPadding=S.padding,C=M?M[1]+M[3]:0,T=k.font=S.font||t.font;k.contentHeight=on(T);var O=Object(l["P"])(S.height,k.contentHeight);if(k.innerHeight=O,M&&(O+=M[0]+M[2]),k.height=O,k.lineHeight=Object(l["Q"])(S.lineHeight,t.lineHeight,O),k.align=S&&S.align||t.align,k.verticalAlign=S&&S.verticalAlign||"middle",g&&null!=o&&h+k.lineHeight>o){x>0?(b.tokens=b.tokens.slice(0,x),v(b,w,_),r.lines=r.lines.slice(0,y+1)):r.lines=r.lines.slice(0,y);break e}var L=S.width,A=null==L||"auto"===L;if("string"===typeof L&&"%"===L.charAt(L.length-1))k.percentWidth=L,d.push(k),k.contentWidth=Qr(k.text,T);else{if(A){var D=S.backgroundColor,E=D&&D.image;E&&(E=uo(E),fo(E)&&(k.width=Math.max(k.width,E.width*O/E.height)))}var I=m&&null!=i?i-w:null;null!=I&&I<k.width?!A||I<C?(k.text="",k.width=k.contentWidth=0):(k.text=mo(k.text,I-C,T,t.ellipsis,{minChar:t.truncateMinChar}),k.width=k.contentWidth=Qr(k.text,T)):k.contentWidth=Qr(k.text,T)}k.width+=C,w+=k.width,S&&(_=Math.max(_,k.lineHeight))}v(b,w,_)}r.outerWidth=r.width=Object(l["P"])(i,f),r.outerHeight=r.height=Object(l["P"])(o,h),r.contentHeight=h,r.contentWidth=f,p&&(r.outerWidth+=p[1]+p[3],r.outerHeight+=p[0]+p[2]);for(y=0;y<d.length;y++){k=d[y];var j=k.percentWidth;k.width=parseInt(j,10)/100*r.width}return r}function So(e,t,r,n,i){var o,a,s=""===t,l=i&&r.rich[i]||{},u=e.lines,c=l.font||r.font,d=!1;if(n){var h=l.padding,f=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var p=an(l.width,n.width)+f;u.length>0&&p+n.accumWidth>n.width&&(o=t.split("\n"),d=!0),n.accumWidth=p}else{var m=Oo(t,c,n.width,n.breakAll,n.accumWidth);n.accumWidth=m.accumWidth+f,a=m.linesWidths,o=m.lines}}else o=t.split("\n");for(var g=0;g<o.length;g++){var v=o[g],y=new _o;if(y.styleName=i,y.text=v,y.isLineHolder=!v&&!s,"number"===typeof l.width?y.width=l.width:y.width=a?a[g]:Qr(v,c),g||d)u.push(new wo([y]));else{var b=(u[u.length-1]||(u[0]=new wo)).tokens,_=b.length;1===_&&b[0].isLineHolder?b[0]=y:(v||!_||s)&&b.push(y)}}}function Mo(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Co=Object(l["N"])(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function To(e){return!Mo(e)||!!Co[e]}function Oo(e,t,r,n,i){for(var o=[],a=[],s="",l="",u=0,c=0,d=0;d<e.length;d++){var h=e.charAt(d);if("\n"!==h){var f=Qr(h,t),p=!n&&!To(h);(o.length?c+f>r:i+c+f>r)?c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=h,u+=f,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=f)):p?(o.push(l),a.push(u),l=h,u=f):(o.push(h),a.push(f)):(c+=f,p?(l+=h,u+=f):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var Lo="__zr_style_"+Math.round(10*Math.random()),Ao={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Do={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ao[Lo]=!0;var Eo=["z","z2","invisible"],Io=["invisible"],jo=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype._init=function(t){for(var r=Object(l["F"])(t),n=0;n<r.length;n++){var i=r[n];"style"===i?this.useStyle(t[i]):e.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,t,r,n){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&No(this,e,t)||i&&!i[0]&&!i[3])return!1;if(r&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(n&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},t.prototype.contain=function(e,t){return this.rectContain(e,t)},t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.rectContain=function(e,t){var r=this.transformCoordToLocal(e,t),n=this.getBoundingRect();return n.contain(r[0],r[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,r=this.getBoundingRect(),n=this.style,i=n.shadowBlur||0,o=n.shadowOffsetX||0,a=n.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new Oe(0,0,0,0)),t?Oe.applyTransform(e,r,t):e.copy(r),(i||o||a)&&(e.width+=2*i+Math.abs(o),e.height+=2*i+Math.abs(a),e.x=Math.min(e.x,e.x+o-i),e.y=Math.min(e.y,e.y+a-i));var s=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-s),e.y=Math.floor(e.y-s),e.width=Math.ceil(e.width+1+2*s),e.height=Math.ceil(e.height+1+2*s))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new Oe(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(t,r){"style"!==t?e.prototype.attrKV.call(this,t,r):this.style?this.setStyle(r):this.useStyle(r)},t.prototype.setStyle=function(e,t){return"string"===typeof e?this.style[e]=t:Object(l["m"])(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=Je,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Je)},t.prototype.styleUpdated=function(){this.__dirty&=~Je},t.prototype.createStyle=function(e){return Object(l["g"])(Ao,e)},t.prototype.useStyle=function(e){e[Lo]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[Lo]},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,r,Eo)},t.prototype._applyStateObj=function(t,r,n,i,o,a){e.prototype._applyStateObj.call(this,t,r,n,i,o,a);var s,u=!(r&&i);if(r&&r.style?o?i?s=r.style:(s=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(s,r.style)):(s=this._mergeStyle(this.createStyle(),i?this.style:n.style),this._mergeStyle(s,r.style)):u&&(s=n.style),s)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var d=Object(l["F"])(c),h=0;h<d.length;h++){var f=d[h];f in s&&(s[f]=s[f],this.style[f]=c[f])}var p=Object(l["F"])(s);for(h=0;h<p.length;h++){f=p[h];this.style[f]=this.style[f]}this._transitionState(t,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var m=this.__inHover?Io:Eo;for(h=0;h<m.length;h++){f=m[h];r&&null!=r[f]?this[f]=r[f]:u&&null!=n[f]&&(this[f]=n[f])}},t.prototype._mergeStates=function(t){for(var r,n=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.style&&(r=r||{},this._mergeStyle(r,o.style))}return r&&(n.style=r),n},t.prototype._mergeStyle=function(e,t){return Object(l["m"])(e,t),e},t.prototype.getAnimationStyleProps=function(){return Do},t.initDefaultProps=function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=Ze|Je}(),t}(wn),Po=new Oe(0,0,0,0),Ro=new Oe(0,0,0,0);function No(e,t,r){return Po.copy(e.getBoundingRect()),e.transform&&Po.applyTransform(e.transform),Ro.width=t,Ro.height=r,!Po.intersect(Ro)}var Bo=jo,Yo=Math.min,Fo=Math.max,zo=Math.sin,Ho=Math.cos,Vo=2*Math.PI,Uo=u(),Wo=u(),$o=u();function Go(e,t,r){if(0!==e.length){for(var n=e[0],i=n[0],o=n[0],a=n[1],s=n[1],l=1;l<e.length;l++)n=e[l],i=Yo(i,n[0]),o=Fo(o,n[0]),a=Yo(a,n[1]),s=Fo(s,n[1]);t[0]=i,t[1]=a,r[0]=o,r[1]=s}}function qo(e,t,r,n,i,o){i[0]=Yo(e,r),i[1]=Yo(t,n),o[0]=Fo(e,r),o[1]=Fo(t,n)}var Xo=[],Ko=[];function Zo(e,t,r,n,i,o,a,s,l,u){var c=kt,d=_t,h=c(e,r,i,a,Xo);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<h;f++){var p=d(e,r,i,a,Xo[f]);l[0]=Yo(p,l[0]),u[0]=Fo(p,u[0])}h=c(t,n,o,s,Ko);for(f=0;f<h;f++){var m=d(t,n,o,s,Ko[f]);l[1]=Yo(m,l[1]),u[1]=Fo(m,u[1])}l[0]=Yo(e,l[0]),u[0]=Fo(e,u[0]),l[0]=Yo(a,l[0]),u[0]=Fo(a,u[0]),l[1]=Yo(t,l[1]),u[1]=Fo(t,u[1]),l[1]=Yo(s,l[1]),u[1]=Fo(s,u[1])}function Jo(e,t,r,n,i,o,a,s){var l=At,u=Tt,c=Fo(Yo(l(e,r,i),1),0),d=Fo(Yo(l(t,n,o),1),0),h=u(e,r,i,c),f=u(t,n,o,d);a[0]=Yo(e,i,h),a[1]=Yo(t,o,f),s[0]=Fo(e,i,h),s[1]=Fo(t,o,f)}function Qo(e,t,r,n,i,o,a,s,l){var u=C,c=T,d=Math.abs(i-o);if(d%Vo<1e-4&&d>1e-4)return s[0]=e-r,s[1]=t-n,l[0]=e+r,void(l[1]=t+n);if(Uo[0]=Ho(i)*r+e,Uo[1]=zo(i)*n+t,Wo[0]=Ho(o)*r+e,Wo[1]=zo(o)*n+t,u(s,Uo,Wo),c(l,Uo,Wo),i%=Vo,i<0&&(i+=Vo),o%=Vo,o<0&&(o+=Vo),i>o&&!a?o+=Vo:i<o&&a&&(i+=Vo),a){var h=o;o=i,i=h}for(var f=0;f<o;f+=Math.PI/2)f>i&&($o[0]=Ho(f)*r+e,$o[1]=zo(f)*n+t,u(s,$o,s),c(l,$o,l))}var ea={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ta=[],ra=[],na=[],ia=[],oa=[],aa=[],sa=Math.min,la=Math.max,ua=Math.cos,ca=Math.sin,da=Math.abs,ha=Math.PI,fa=2*ha,pa="undefined"!==typeof Float32Array,ma=[];function ga(e){var t=Math.round(e/ha*1e8)/1e8;return t%2*ha}function va(e,t){var r=ga(e[0]);r<0&&(r+=fa);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=fa?i=r+fa:t&&r-i>=fa?i=r-fa:!t&&r>i?i=r+(fa-ga(r-i)):t&&r<i&&(i=r-(fa-ga(i-r))),e[0]=r,e[1]=i}var ya=function(){function e(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(e,t,r){r=r||0,r>0&&(this._ux=da(r/jr/e)||0,this._uy=da(r/jr/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(ea.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var r=da(e-this._xi),n=da(t-this._yi),i=r>this._ux||n>this._uy;if(this.addData(ea.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=r*r+n*n;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,r,n,i,o){return this._drawPendingPt(),this.addData(ea.C,e,t,r,n,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,r,n,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,r,n){return this._drawPendingPt(),this.addData(ea.Q,e,t,r,n),this._ctx&&this._ctx.quadraticCurveTo(e,t,r,n),this._xi=r,this._yi=n,this},e.prototype.arc=function(e,t,r,n,i,o){this._drawPendingPt(),ma[0]=n,ma[1]=i,va(ma,o),n=ma[0],i=ma[1];var a=i-n;return this.addData(ea.A,e,t,r,r,n,a,0,o?0:1),this._ctx&&this._ctx.arc(e,t,r,n,i,o),this._xi=ua(i)*r+e,this._yi=ca(i)*r+t,this},e.prototype.arcTo=function(e,t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,r,n,i),this},e.prototype.rect=function(e,t,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,r,n),this.addData(ea.R,e,t,r,n),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(ea.Z);var e=this._ctx,t=this._x0,r=this._y0;return e&&e.closePath(),this._xi=t,this._yi=r,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!pa||(this.data=new Float32Array(t));for(var r=0;r<t;r++)this.data[r]=e[r];this._len=t},e.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var t=e.length,r=0,n=this._len,i=0;i<t;i++)r+=e[i].len();pa&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+r));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[n++]=o[a];this._len=n},e.prototype.addData=function(e,t,r,n,i,o,a,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]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,pa&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){na[0]=na[1]=oa[0]=oa[1]=Number.MAX_VALUE,ia[0]=ia[1]=aa[0]=aa[1]=-Number.MAX_VALUE;var e,t=this.data,r=0,n=0,i=0,o=0;for(e=0;e<this._len;){var a=t[e++],s=1===e;switch(s&&(r=t[e],n=t[e+1],i=r,o=n),a){case ea.M:r=i=t[e++],n=o=t[e++],oa[0]=i,oa[1]=o,aa[0]=i,aa[1]=o;break;case ea.L:qo(r,n,t[e],t[e+1],oa,aa),r=t[e++],n=t[e++];break;case ea.C:Zo(r,n,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],oa,aa),r=t[e++],n=t[e++];break;case ea.Q:Jo(r,n,t[e++],t[e++],t[e],t[e+1],oa,aa),r=t[e++],n=t[e++];break;case ea.A:var l=t[e++],u=t[e++],c=t[e++],d=t[e++],h=t[e++],f=t[e++]+h;e+=1;var p=!t[e++];s&&(i=ua(h)*c+l,o=ca(h)*d+u),Qo(l,u,c,d,h,f,p,oa,aa),r=ua(f)*c+l,n=ca(f)*d+u;break;case ea.R:i=r=t[e++],o=n=t[e++];var m=t[e++],g=t[e++];qo(i,o,i+m,o+g,oa,aa);break;case ea.Z:r=i,n=o;break}C(na,na,oa),T(ia,ia,aa)}return 0===e&&(na[0]=na[1]=ia[0]=ia[1]=0),new Oe(na[0],na[1],ia[0]-na[0],ia[1]-na[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,r=this._ux,n=this._uy,i=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,d=0;d<t;){var h=e[d++],f=1===d;f&&(i=e[d],o=e[d+1],a=i,s=o);var p=-1;switch(h){case ea.M:i=a=e[d++],o=s=e[d++];break;case ea.L:var m=e[d++],g=e[d++],v=m-i,y=g-o;(da(v)>r||da(y)>n||d===t-1)&&(p=Math.sqrt(v*v+y*y),i=m,o=g);break;case ea.C:var b=e[d++],_=e[d++],w=(m=e[d++],g=e[d++],e[d++]),x=e[d++];p=Ct(i,o,b,_,m,g,w,x,10),i=w,o=x;break;case ea.Q:b=e[d++],_=e[d++],m=e[d++],g=e[d++];p=It(i,o,b,_,m,g,10),i=m,o=g;break;case ea.A:var k=e[d++],S=e[d++],M=e[d++],C=e[d++],T=e[d++],O=e[d++],L=O+T;d+=1,f&&(a=ua(T)*M+k,s=ca(T)*C+S),p=la(M,C)*sa(fa,Math.abs(O)),i=ua(L)*M+k,o=ca(L)*C+S;break;case ea.R:a=i=e[d++],s=o=e[d++];var A=e[d++],D=e[d++];p=2*A+2*D;break;case ea.Z:v=a-i,y=s-o;p=Math.sqrt(v*v+y*y),i=a,o=s;break}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},e.prototype.rebuildPath=function(e,t){var r,n,i,o,a,s,l,u,c,d,h,f=this.data,p=this._ux,m=this._uy,g=this._len,v=t<1,y=0,b=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,c=t*u,c))e:for(var w=0;w<g;){var x=f[w++],k=1===w;switch(k&&(i=f[w],o=f[w+1],r=i,n=o),x!==ea.L&&_>0&&(e.lineTo(d,h),_=0),x){case ea.M:r=i=f[w++],n=o=f[w++],e.moveTo(i,o);break;case ea.L:a=f[w++],s=f[w++];var S=da(a-i),M=da(s-o);if(S>p||M>m){if(v){var C=l[b++];if(y+C>c){var T=(c-y)/C;e.lineTo(i*(1-T)+a*T,o*(1-T)+s*T);break e}y+=C}e.lineTo(a,s),i=a,o=s,_=0}else{var O=S*S+M*M;O>_&&(d=a,h=s,_=O)}break;case ea.C:var L=f[w++],A=f[w++],D=f[w++],E=f[w++],I=f[w++],j=f[w++];if(v){C=l[b++];if(y+C>c){T=(c-y)/C;St(i,L,D,I,T,ta),St(o,A,E,j,T,ra),e.bezierCurveTo(ta[1],ra[1],ta[2],ra[2],ta[3],ra[3]);break e}y+=C}e.bezierCurveTo(L,A,D,E,I,j),i=I,o=j;break;case ea.Q:L=f[w++],A=f[w++],D=f[w++],E=f[w++];if(v){C=l[b++];if(y+C>c){T=(c-y)/C;Dt(i,L,D,T,ta),Dt(o,A,E,T,ra),e.quadraticCurveTo(ta[1],ra[1],ta[2],ra[2]);break e}y+=C}e.quadraticCurveTo(L,A,D,E),i=D,o=E;break;case ea.A:var P=f[w++],R=f[w++],N=f[w++],B=f[w++],Y=f[w++],F=f[w++],z=f[w++],H=!f[w++],V=N>B?N:B,U=da(N-B)>.001,W=Y+F,$=!1;if(v){C=l[b++];y+C>c&&(W=Y+F*(c-y)/C,$=!0),y+=C}if(U&&e.ellipse?e.ellipse(P,R,N,B,z,Y,W,H):e.arc(P,R,V,Y,W,H),$)break e;k&&(r=ua(Y)*N+P,n=ca(Y)*B+R),i=ua(W)*N+P,o=ca(W)*B+R;break;case ea.R:r=i=f[w],n=o=f[w+1],a=f[w++],s=f[w++];var G=f[w++],q=f[w++];if(v){C=l[b++];if(y+C>c){var X=c-y;e.moveTo(a,s),e.lineTo(a+sa(X,G),s),X-=G,X>0&&e.lineTo(a+G,s+sa(X,q)),X-=q,X>0&&e.lineTo(a+la(G-X,0),s+q),X-=G,X>0&&e.lineTo(a,s+la(q-X,0));break e}y+=C}e.rect(a,s,G,q);break;case ea.Z:if(v){C=l[b++];if(y+C>c){T=(c-y)/C;e.lineTo(i*(1-T)+r*T,o*(1-T)+n*T);break e}y+=C}e.closePath(),i=r,o=n}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=ea,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}(),ba=ya;function _a(e,t,r,n,i,o,a){if(0===i)return!1;var s=i,l=0,u=e;if(a>t+s&&a>n+s||a<t-s&&a<n-s||o>e+s&&o>r+s||o<e-s&&o<r-s)return!1;if(e===r)return Math.abs(o-e)<=s/2;l=(t-n)/(e-r),u=(e*n-r*t)/(e-r);var c=l*o-a+u,d=c*c/(l*l+1);return d<=s/2*s/2}function wa(e,t,r,n,i,o,a,s,l,u,c){if(0===l)return!1;var d=l;if(c>t+d&&c>n+d&&c>o+d&&c>s+d||c<t-d&&c<n-d&&c<o-d&&c<s-d||u>e+d&&u>r+d&&u>i+d&&u>a+d||u<e-d&&u<r-d&&u<i-d&&u<a-d)return!1;var h=Mt(e,t,r,n,i,o,a,s,u,c,null);return h<=d/2}function xa(e,t,r,n,i,o,a,s,l){if(0===a)return!1;var u=a;if(l>t+u&&l>n+u&&l>o+u||l<t-u&&l<n-u&&l<o-u||s>e+u&&s>r+u&&s>i+u||s<e-u&&s<r-u&&s<i-u)return!1;var c=Et(e,t,r,n,i,o,s,l,null);return c<=u/2}var ka=2*Math.PI;function Sa(e){return e%=ka,e<0&&(e+=ka),e}var Ma=2*Math.PI;function Ca(e,t,r,n,i,o,a,s,l){if(0===a)return!1;var u=a;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>r||c+u<r)return!1;if(Math.abs(n-i)%Ma<1e-4)return!0;if(o){var d=n;n=Sa(i),i=Sa(d)}else n=Sa(n),i=Sa(i);n>i&&(i+=Ma);var h=Math.atan2(l,s);return h<0&&(h+=Ma),h>=n&&h<=i||h+Ma>=n&&h+Ma<=i}function Ta(e,t,r,n,i,o){if(o>t&&o>n||o<t&&o<n)return 0;if(n===t)return 0;var a=(o-t)/(n-t),s=n<t?1:-1;1!==a&&0!==a||(s=n<t?.5:-.5);var l=a*(r-e)+e;return l===i?1/0:l>i?s:0}var Oa=ba.CMD,La=2*Math.PI,Aa=1e-4;function Da(e,t){return Math.abs(e-t)<Aa}var Ea=[-1,-1,-1],Ia=[-1,-1];function ja(){var e=Ia[0];Ia[0]=Ia[1],Ia[1]=e}function Pa(e,t,r,n,i,o,a,s,l,u){if(u>t&&u>n&&u>o&&u>s||u<t&&u<n&&u<o&&u<s)return 0;var c=xt(t,n,o,s,u,Ea);if(0===c)return 0;for(var d=0,h=-1,f=void 0,p=void 0,m=0;m<c;m++){var g=Ea[m],v=0===g||1===g?.5:1,y=_t(e,r,i,a,g);y<l||(h<0&&(h=kt(t,n,o,s,Ia),Ia[1]<Ia[0]&&h>1&&ja(),f=_t(t,n,o,s,Ia[0]),h>1&&(p=_t(t,n,o,s,Ia[1]))),2===h?g<Ia[0]?d+=f<t?v:-v:g<Ia[1]?d+=p<f?v:-v:d+=s<p?v:-v:g<Ia[0]?d+=f<t?v:-v:d+=s<f?v:-v)}return d}function Ra(e,t,r,n,i,o,a,s){if(s>t&&s>n&&s>o||s<t&&s<n&&s<o)return 0;var l=Lt(t,n,o,s,Ea);if(0===l)return 0;var u=At(t,n,o);if(u>=0&&u<=1){for(var c=0,d=Tt(t,n,o,u),h=0;h<l;h++){var f=0===Ea[h]||1===Ea[h]?.5:1,p=Tt(e,r,i,Ea[h]);p<a||(Ea[h]<u?c+=d<t?f:-f:c+=o<d?f:-f)}return c}f=0===Ea[0]||1===Ea[0]?.5:1,p=Tt(e,r,i,Ea[0]);return p<a?0:o<t?f:-f}function Na(e,t,r,n,i,o,a,s){if(s-=t,s>r||s<-r)return 0;var l=Math.sqrt(r*r-s*s);Ea[0]=-l,Ea[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=La-1e-4){n=0,i=La;var c=o?1:-1;return a>=Ea[0]+e&&a<=Ea[1]+e?c:0}if(n>i){var d=n;n=i,i=d}n<0&&(n+=La,i+=La);for(var h=0,f=0;f<2;f++){var p=Ea[f];if(p+e>a){var m=Math.atan2(s,p);c=o?1:-1;m<0&&(m=La+m),(m>=n&&m<=i||m+La>=n&&m+La<=i)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),h+=c)}}return h}function Ba(e,t,r,n,i){for(var o,a,s=e.data,l=e.len(),u=0,c=0,d=0,h=0,f=0,p=0;p<l;){var m=s[p++],g=1===p;switch(m===Oa.M&&p>1&&(r||(u+=Ta(c,d,h,f,n,i))),g&&(c=s[p],d=s[p+1],h=c,f=d),m){case Oa.M:h=s[p++],f=s[p++],c=h,d=f;break;case Oa.L:if(r){if(_a(c,d,s[p],s[p+1],t,n,i))return!0}else u+=Ta(c,d,s[p],s[p+1],n,i)||0;c=s[p++],d=s[p++];break;case Oa.C:if(r){if(wa(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],t,n,i))return!0}else u+=Pa(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],n,i)||0;c=s[p++],d=s[p++];break;case Oa.Q:if(r){if(xa(c,d,s[p++],s[p++],s[p],s[p+1],t,n,i))return!0}else u+=Ra(c,d,s[p++],s[p++],s[p],s[p+1],n,i)||0;c=s[p++],d=s[p++];break;case Oa.A:var v=s[p++],y=s[p++],b=s[p++],_=s[p++],w=s[p++],x=s[p++];p+=1;var k=!!(1-s[p++]);o=Math.cos(w)*b+v,a=Math.sin(w)*_+y,g?(h=o,f=a):u+=Ta(c,d,o,a,n,i);var S=(n-v)*_/b+v;if(r){if(Ca(v,y,_,w,w+x,k,t,S,i))return!0}else u+=Na(v,y,_,w,w+x,k,S,i);c=Math.cos(w+x)*b+v,d=Math.sin(w+x)*_+y;break;case Oa.R:h=c=s[p++],f=d=s[p++];var M=s[p++],C=s[p++];if(o=h+M,a=f+C,r){if(_a(h,f,o,f,t,n,i)||_a(o,f,o,a,t,n,i)||_a(o,a,h,a,t,n,i)||_a(h,a,h,f,t,n,i))return!0}else u+=Ta(o,f,o,a,n,i),u+=Ta(h,a,h,f,n,i);break;case Oa.Z:if(r){if(_a(c,d,h,f,t,n,i))return!0}else u+=Ta(c,d,h,f,n,i);c=h,d=f;break}}return r||Da(d,f)||(u+=Ta(c,d,h,f,n,i)||0),0!==u}function Ya(e,t,r){return Ba(e,0,!1,t,r)}function Fa(e,t,r,n){return Ba(e,t,!0,r,n)}var za=Object(l["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ao),Ha={style:Object(l["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Do.style)},Va=Gr.concat(["invisible","culling","z","z2","zlevel","parent"]),Ua=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){r.buildPath(e,r.shape)}),i.silent=!0;var o=i.style;for(var a in n)o[a]!==n[a]&&(o[a]=n[a]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var s=0;s<Va.length;++s)i[Va[s]]=this[Va[s]];i.__dirty|=Ze}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var r=Object(l["F"])(t);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var o=r[i],a=t[o];"style"===o?this.style?Object(l["m"])(this.style,a):this.useStyle(a):"shape"===o?Object(l["m"])(this.shape,a):e.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if(Object(l["C"])(e)){var t=Object(Bt["e"])(e,0);return t>.5?Rr:t>.2?Br:Nr}if(e)return Nr}return Rr},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(Object(l["C"])(t)){var r=this.__zr,n=!(!r||!r.isDarkMode()),i=Object(Bt["e"])(e,0)<Pr;if(n===i)return t}},t.prototype.buildPath=function(e,t,r){},t.prototype.pathUpdated=function(){this.__dirty&=~Qe},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new ba(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,r=!e;if(r){var n=!1;this.path||(n=!0,this.createPathProxy());var i=this.path;(n||this.__dirty&Qe)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||r){o.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return e},t.prototype.contain=function(e,t){var r=this.transformCoordToLocal(e,t),n=this.getBoundingRect(),i=this.style;if(e=r[0],t=r[1],n.contain(e,t)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),Fa(o,a/s,e,t)))return!0}if(this.hasFill())return Ya(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Qe,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,r){"shape"===t?this.setShape(r):e.prototype.attrKV.call(this,t,r)},t.prototype.setShape=function(e,t){var r=this.shape;return r||(r=this.shape={}),"string"===typeof e?r[e]=t:Object(l["m"])(r,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Qe)},t.prototype.createStyle=function(e){return Object(l["g"])(za,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.shape&&!r.shape&&(r.shape=Object(l["m"])({},this.shape))},t.prototype._applyStateObj=function(t,r,n,i,o,a){e.prototype._applyStateObj.call(this,t,r,n,i,o,a);var s,u=!(r&&i);if(r&&r.shape?o?i?s=r.shape:(s=Object(l["m"])({},n.shape),Object(l["m"])(s,r.shape)):(s=Object(l["m"])({},i?this.shape:n.shape),Object(l["m"])(s,r.shape)):u&&(s=n.shape),s)if(o){this.shape=Object(l["m"])({},this.shape);for(var c={},d=Object(l["F"])(s),h=0;h<d.length;h++){var f=d[h];"object"===typeof s[f]?this.shape[f]=s[f]:c[f]=s[f]}this._transitionState(t,{shape:c},a)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var r,n=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.shape&&(r=r||{},this._mergeStyle(r,o.shape))}return r&&(n.shape=r),n},t.prototype.getAnimationStyleProps=function(){return Ha},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var r=function(t){function r(r){var n=t.call(this,r)||this;return e.init&&e.init.call(n,r),n}return a(r,t),r.prototype.getDefaultStyle=function(){return Object(l["d"])(e.style)},r.prototype.getDefaultShape=function(){return Object(l["d"])(e.shape)},r}(t);for(var n in e)"function"===typeof e[n]&&(r.prototype[n]=e[n]);return r},t.initDefaultProps=function(){var e=t.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=Ze|Je|Qe}(),t}(Bo),Wa=Ua,$a=Object(l["i"])({strokeFirst:!0,font:Zr["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},za),Ga=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.createStyle=function(e){return Object(l["g"])($a,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var r=tn(t,e.font,e.textAlign,e.textBaseline);if(r.x+=e.x||0,r.y+=e.y||0,this.hasStroke()){var n=e.lineWidth;r.x-=n/2,r.y-=n/2,r.width+=n,r.height+=n}this._rect=r}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(Bo);Ga.prototype.type="tspan";var qa=Ga,Xa=Object(l["i"])({x:0,y:0},Ao),Ka={style:Object(l["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Do.style)};function Za(e){return!!(e&&"string"!==typeof e&&e.width&&e.height)}var Ja=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.createStyle=function(e){return Object(l["g"])(Xa,e)},t.prototype._getSize=function(e){var t=this.style,r=t[e];if(null!=r)return r;var n=Za(t.image)?t.image:this.__image;if(!n)return 0;var i="width"===e?"height":"width",o=t[i];return null==o?n[e]:n[e]/n[i]*o},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Ka},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new Oe(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Bo);Ja.prototype.type="image";var Qa=Ja;function es(e,t){var r,n,i,o,a,s=t.x,l=t.y,u=t.width,c=t.height,d=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof d?r=n=i=o=d:d instanceof Array?1===d.length?r=n=i=o=d[0]:2===d.length?(r=i=d[0],n=o=d[1]):3===d.length?(r=d[0],n=o=d[1],i=d[2]):(r=d[0],n=d[1],i=d[2],o=d[3]):r=n=i=o=0,r+n>u&&(a=r+n,r*=u/a,n*=u/a),i+o>u&&(a=i+o,i*=u/a,o*=u/a),n+i>c&&(a=n+i,n*=c/a,i*=c/a),r+o>c&&(a=r+o,r*=c/a,o*=c/a),e.moveTo(s+r,l),e.lineTo(s+u-n,l),0!==n&&e.arc(s+u-n,l+n,n,-Math.PI/2,0),e.lineTo(s+u,l+c-i),0!==i&&e.arc(s+u-i,l+c-i,i,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+r),0!==r&&e.arc(s+r,l+r,r,Math.PI,1.5*Math.PI)}var ts=Math.round;function rs(e,t,r){if(t){var n=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=n,e.x2=i,e.y1=o,e.y2=a;var s=r&&r.lineWidth;return s?(ts(2*n)===ts(2*i)&&(e.x1=e.x2=is(n,s,!0)),ts(2*o)===ts(2*a)&&(e.y1=e.y2=is(o,s,!0)),e):e}}function ns(e,t,r){if(t){var n=t.x,i=t.y,o=t.width,a=t.height;e.x=n,e.y=i,e.width=o,e.height=a;var s=r&&r.lineWidth;return s?(e.x=is(n,s,!0),e.y=is(i,s,!0),e.width=Math.max(is(n+o,s,!1)-e.x,0===o?0:1),e.height=Math.max(is(i+a,s,!1)-e.y,0===a?0:1),e):e}}function is(e,t,r){if(!t)return e;var n=ts(2*e);return(n+ts(t))%2===0?n/2:(n+(r?1:-1))/2}var os=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),as={},ss=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new os},t.prototype.buildPath=function(e,t){var r,n,i,o;if(this.subPixelOptimize){var a=ns(as,t,this.style);r=a.x,n=a.y,i=a.width,o=a.height,a.r=t.r,t=a}else r=t.x,n=t.y,i=t.width,o=t.height;t.r?es(e,t):e.rect(r,n,i,o)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Wa);ss.prototype.type="rect";var ls=ss,us={fill:"#000"},cs=2,ds={style:Object(l["i"])({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},Do.style)},hs=function(e){function t(t){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=us,r.attr(t),r}return a(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var r=this._children[t];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},t.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(t){var r=this.innerTransformable;return r?r.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,bs(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=t},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new Oe(0,0,0,0),t=this._children,r=[],n=null,i=0;i<t.length;i++){var o=t[i],a=o.getBoundingRect(),s=o.getLocalTransform(r);s?(e.copy(a),e.applyTransform(s),n=n||e.clone(),n.union(e)):(n=n||a.clone(),n.union(a))}this._rect=n||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||us},t.prototype.setTextContent=function(e){0},t.prototype._mergeStyle=function(e,t){if(!t)return e;var r=t.rich,n=e.rich||r&&{};return Object(l["m"])(e,t),r&&n?(this._mergeRich(n,r),e.rich=n):n&&(e.rich=n),e},t.prototype._mergeRich=function(e,t){for(var r=Object(l["F"])(t),n=0;n<r.length;n++){var i=r[n];e[i]=e[i]||{},Object(l["m"])(e[i],t[i])}},t.prototype.getAnimationStyleProps=function(){return ds},t.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),this._children[this._childCursor++]=t,t.__zr=this.__zr,t.parent=this,t},t.prototype._updatePlainTexts=function(){var e=this.style,t=e.font||Zr["a"],r=e.padding,n=Ss(e),i=bo(n,e),o=Ms(e),a=!!e.backgroundColor,s=i.outerHeight,l=i.outerWidth,u=i.contentWidth,c=i.lines,d=i.lineHeight,h=this._defaultStyle,f=e.x||0,p=e.y||0,m=e.align||h.align||"left",g=e.verticalAlign||h.verticalAlign||"top",v=f,y=nn(p,i.contentHeight,g);if(o||r){var b=rn(f,l,m),_=nn(p,s,g);o&&this._renderBackground(e,e,b,_,l,s)}y+=d/2,r&&(v=ks(f,m,r),"top"===g?y+=r[0]:"bottom"===g&&(y-=r[2]));for(var w=0,x=!1,k=(xs("fill"in e?e.fill:(x=!0,h.fill))),S=(ws("stroke"in e?e.stroke:a||h.autoStroke&&!x?null:(w=cs,h.stroke))),M=e.textShadowBlur>0,C=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),T=i.calculatedLineHeight,O=0;O<c.length;O++){var L=this._getOrCreateChild(qa),A=L.createStyle();L.useStyle(A),A.text=c[O],A.x=v,A.y=y,m&&(A.textAlign=m),A.textBaseline="middle",A.opacity=e.opacity,A.strokeFirst=!0,M&&(A.shadowBlur=e.textShadowBlur||0,A.shadowColor=e.textShadowColor||"transparent",A.shadowOffsetX=e.textShadowOffsetX||0,A.shadowOffsetY=e.textShadowOffsetY||0),A.stroke=S,A.fill=k,S&&(A.lineWidth=e.lineWidth||w,A.lineDash=e.lineDash,A.lineDashOffset=e.lineDashOffset||0),A.font=t,vs(A,e),y+=d,C&&L.setBoundingRect(new Oe(rn(A.x,e.width,A.textAlign),nn(A.y,T,A.textBaseline),u,T))}},t.prototype._updateRichTexts=function(){var e=this.style,t=Ss(e),r=ko(t,e),n=r.width,i=r.outerWidth,o=r.outerHeight,a=e.padding,s=e.x||0,l=e.y||0,u=this._defaultStyle,c=e.align||u.align,d=e.verticalAlign||u.verticalAlign,h=rn(s,i,c),f=nn(l,o,d),p=h,m=f;a&&(p+=a[3],m+=a[0]);var g=p+n;Ms(e)&&this._renderBackground(e,e,h,f,i,o);for(var v=!!e.backgroundColor,y=0;y<r.lines.length;y++){var b=r.lines[y],_=b.tokens,w=_.length,x=b.lineHeight,k=b.width,S=0,M=p,C=g,T=w-1,O=void 0;while(S<w&&(O=_[S],!O.align||"left"===O.align))this._placeToken(O,e,x,m,M,"left",v),k-=O.width,M+=O.width,S++;while(T>=0&&(O=_[T],"right"===O.align))this._placeToken(O,e,x,m,C,"right",v),k-=O.width,C-=O.width,T--;M+=(n-(M-p)-(g-C)-k)/2;while(S<=T)O=_[S],this._placeToken(O,e,x,m,M+O.width/2,"center",v),M+=O.width,S++;m+=x}},t.prototype._placeToken=function(e,t,r,n,i,o,a){var s=t.rich[e.styleName]||{};s.text=e.text;var u=e.verticalAlign,c=n+r/2;"top"===u?c=n+e.height/2:"bottom"===u&&(c=n+r-e.height/2);var d=!e.isLineHolder&&Ms(s);d&&this._renderBackground(s,t,"right"===o?i-e.width:"center"===o?i-e.width/2:i,c-e.height/2,e.width,e.height);var h=!!s.backgroundColor,f=e.textPadding;f&&(i=ks(i,o,f),c-=e.height/2-f[0]-e.innerHeight/2);var p=this._getOrCreateChild(qa),m=p.createStyle();p.useStyle(m);var g=this._defaultStyle,v=!1,y=0,b=xs("fill"in s?s.fill:"fill"in t?t.fill:(v=!0,g.fill)),_=ws("stroke"in s?s.stroke:"stroke"in t?t.stroke:h||a||g.autoStroke&&!v?null:(y=cs,g.stroke)),w=s.textShadowBlur>0||t.textShadowBlur>0;m.text=e.text,m.x=i,m.y=c,w&&(m.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,m.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",m.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,m.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),m.textAlign=o,m.textBaseline="middle",m.font=e.font||Zr["a"],m.opacity=Object(l["Q"])(s.opacity,t.opacity,1),vs(m,s),_&&(m.lineWidth=Object(l["Q"])(s.lineWidth,t.lineWidth,y),m.lineDash=Object(l["P"])(s.lineDash,t.lineDash),m.lineDashOffset=t.lineDashOffset||0,m.stroke=_),b&&(m.fill=b);var x=e.contentWidth,k=e.contentHeight;p.setBoundingRect(new Oe(rn(m.x,x,m.textAlign),nn(m.y,k,m.textBaseline),x,k))},t.prototype._renderBackground=function(e,t,r,n,i,o){var a,s,u=e.backgroundColor,c=e.borderWidth,d=e.borderColor,h=u&&u.image,f=u&&!h,p=e.borderRadius,m=this;if(f||e.lineHeight||c&&d){a=this._getOrCreateChild(ls),a.useStyle(a.createStyle()),a.style.fill=null;var g=a.shape;g.x=r,g.y=n,g.width=i,g.height=o,g.r=p,a.dirtyShape()}if(f){var v=a.style;v.fill=u||null,v.fillOpacity=Object(l["P"])(e.fillOpacity,1)}else if(h){s=this._getOrCreateChild(Qa),s.onload=function(){m.dirtyStyle()};var y=s.style;y.image=u.image,y.x=r,y.y=n,y.width=i,y.height=o}if(c&&d){v=a.style;v.lineWidth=c,v.stroke=d,v.strokeOpacity=Object(l["P"])(e.strokeOpacity,1),v.lineDash=e.borderDash,v.lineDashOffset=e.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(v.strokeFirst=!0,v.lineWidth*=2)}var b=(a||s).style;b.shadowBlur=e.shadowBlur||0,b.shadowColor=e.shadowColor||"transparent",b.shadowOffsetX=e.shadowOffsetX||0,b.shadowOffsetY=e.shadowOffsetY||0,b.opacity=Object(l["Q"])(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return ys(e)&&(t=[e.fontStyle,e.fontWeight,gs(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(l["T"])(t)||e.textFont||e.font},t}(Bo),fs={left:!0,right:1,center:1},ps={top:1,bottom:1,middle:1},ms=["fontStyle","fontWeight","fontSize","fontFamily"];function gs(e){return"string"!==typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?Zr["c"]+"px":e+"px":e}function vs(e,t){for(var r=0;r<ms.length;r++){var n=ms[r],i=t[n];null!=i&&(e[n]=i)}}function ys(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function bs(e){return _s(e),Object(l["k"])(e.rich,_s),e}function _s(e){if(e){e.font=hs.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||fs[t]?t:"left";var r=e.verticalAlign;"center"===r&&(r="middle"),e.verticalAlign=null==r||ps[r]?r:"top";var n=e.padding;n&&(e.padding=Object(l["M"])(e.padding))}}function ws(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function xs(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function ks(e,t,r){return"right"===t?e-r[1]:"center"===t?e+r[3]/2-r[1]/2:e+r[3]}function Ss(e){var t=e.text;return null!=t&&(t+=""),t}function Ms(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var Cs=hs,Ts=Ei(),Os=function(e,t,r,n){if(n){var i=Ts(n);i.dataIndex=r,i.dataType=t,i.seriesIndex=e,i.ssrType="chart","group"===n.type&&n.traverse((function(n){var i=Ts(n);i.seriesIndex=e,i.dataIndex=r,i.dataType=t,i.ssrType="chart"}))}},Ls=1,As={},Ds=Ei(),Es=Ei(),Is=0,js=1,Ps=2,Rs=["emphasis","blur","select"],Ns=["normal","emphasis","blur","select"],Bs=10,Ys=9,Fs="highlight",zs="downplay",Hs="select",Vs="unselect",Us="toggleSelect";function Ws(e){return null!=e&&"none"!==e}function $s(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function Gs(e){$s(e,"emphasis",Ps)}function qs(e){e.hoverState===Ps&&$s(e,"normal",Is)}function Xs(e){$s(e,"blur",js)}function Ks(e){e.hoverState===js&&$s(e,"normal",Is)}function Zs(e){e.selected=!0}function Js(e){e.selected=!1}function Qs(e,t,r){t(e,r)}function el(e,t,r){Qs(e,t,r),e.isGroup&&e.traverse((function(e){Qs(e,t,r)}))}function tl(e,t){switch(t){case"emphasis":e.hoverState=Ps;break;case"normal":e.hoverState=Is;break;case"blur":e.hoverState=js;break;case"select":e.selected=!0}}function rl(e,t,r,n){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],l=i[s];o[s]=null==l?n&&n[s]:l}for(a=0;a<e.animators.length;a++){var u=e.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(r)<0&&"style"===u.targetName&&u.saveTo(o,t)}return o}function nl(e,t,r,n){var i=r&&Object(l["r"])(r,"select")>=0,o=!1;if(e instanceof Wa){var a=Ds(e),s=i&&a.selectFill||a.normalFill,u=i&&a.selectStroke||a.normalStroke;if(Ws(s)||Ws(u)){n=n||{};var c=n.style||{};"inherit"===c.fill?(o=!0,n=Object(l["m"])({},n),c=Object(l["m"])({},c),c.fill=s):!Ws(c.fill)&&Ws(s)?(o=!0,n=Object(l["m"])({},n),c=Object(l["m"])({},c),c.fill=Object(Bt["d"])(s)):!Ws(c.stroke)&&Ws(u)&&(o||(n=Object(l["m"])({},n),c=Object(l["m"])({},c)),c.stroke=Object(Bt["d"])(u)),n.style=c}}if(n&&null==n.z2){o||(n=Object(l["m"])({},n));var d=e.z2EmphasisLift;n.z2=e.z2+(null!=d?d:Bs)}return n}function il(e,t,r){if(r&&null==r.z2){r=Object(l["m"])({},r);var n=e.z2SelectLift;r.z2=e.z2+(null!=n?n:Ys)}return r}function ol(e,t,r){var n=Object(l["r"])(e.currentStates,t)>=0,i=e.style.opacity,o=n?null:rl(e,["opacity"],t,{opacity:1});r=r||{};var a=r.style||{};return null==a.opacity&&(r=Object(l["m"])({},r),a=Object(l["m"])({opacity:n?i:.1*o.opacity},a),r.style=a),r}function al(e,t){var r=this.states[e];if(this.style){if("emphasis"===e)return nl(this,e,t,r);if("blur"===e)return ol(this,e,r);if("select"===e)return il(this,e,r)}return r}function sl(e){e.stateProxy=al;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=al),r&&(r.stateProxy=al)}function ll(e,t){!gl(e,t)&&!e.__highByOuter&&el(e,Gs)}function ul(e,t){!gl(e,t)&&!e.__highByOuter&&el(e,qs)}function cl(e,t){e.__highByOuter|=1<<(t||0),el(e,Gs)}function dl(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&el(e,qs)}function hl(e){el(e,Xs)}function fl(e){el(e,Ks)}function pl(e){el(e,Zs)}function ml(e){el(e,Js)}function gl(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function vl(e){var t=e.getModel(),r=[],n=[];t.eachComponent((function(t,i){var o=Es(i),a="series"===t,s=a?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!a&&n.push(s),o.isBlured&&(s.group.traverse((function(e){Ks(e)})),a&&r.push(i)),o.isBlured=!1})),Object(l["k"])(n,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(r,!1,t)}))}function yl(e,t,r,n){var i=n.getModel();function o(e,t){for(var r=0;r<t.length;r++){var n=e.getItemGraphicEl(t[r]);n&&fl(n)}}if(r=r||"coordinateSystem",null!=e&&t&&"none"!==t){var a=i.getSeriesByIndex(e),s=a.coordinateSystem;s&&s.master&&(s=s.master);var u=[];i.eachSeries((function(e){var i=a===e,c=e.coordinateSystem;c&&c.master&&(c=c.master);var d=c&&s?c===s:i;if(!("series"===r&&!i||"coordinateSystem"===r&&!d||"series"===t&&i)){var h=n.getViewOfSeriesModel(e);if(h.group.traverse((function(e){e.__highByOuter&&i&&"self"===t||Xs(e)})),Object(l["u"])(t))o(e.getData(),t);else if(Object(l["A"])(t))for(var f=Object(l["F"])(t),p=0;p<f.length;p++)o(e.getData(f[p]),t[f[p]]);u.push(e),Es(e).isBlured=!0}})),i.eachComponent((function(e,t){if("series"!==e){var r=n.getViewOfComponentModel(t);r&&r.toggleBlurSeries&&r.toggleBlurSeries(u,!0,i)}}))}}function bl(e,t,r){if(null!=e&&null!=t){var n=r.getModel().getComponent(e,t);if(n){Es(n).isBlured=!0;var i=r.getViewOfComponentModel(n);i&&i.focusBlurEnabled&&i.group.traverse((function(e){Xs(e)}))}}}function _l(e,t,r){var n=e.seriesIndex,i=e.getData(t.dataType);if(i){var o=Di(i,t);o=(Object(l["t"])(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a){var s=i.count(),u=0;while(!a&&u<s)a=i.getItemGraphicEl(u++)}if(a){var c=Ts(a);yl(n,c.focus,c.blurScope,r)}else{var d=e.get(["emphasis","focus"]),h=e.get(["emphasis","blurScope"]);null!=d&&yl(n,d,h,r)}}}function wl(e,t,r,n){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==r)return i;var o=n.getModel().getComponent(e,t);if(!o)return i;var a=n.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s,l=a.findHighDownDispatchers(r),u=0;u<l.length;u++)if("self"===Ts(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function xl(e,t,r){var n=Ts(e),i=wl(n.componentMainType,n.componentIndex,n.componentHighDownName,r),o=i.dispatchers,a=i.focusSelf;o?(a&&bl(n.componentMainType,n.componentIndex,r),Object(l["k"])(o,(function(e){return ll(e,t)}))):(yl(n.seriesIndex,n.focus,n.blurScope,r),"self"===n.focus&&bl(n.componentMainType,n.componentIndex,r),ll(e,t))}function kl(e,t,r){vl(r);var n=Ts(e),i=wl(n.componentMainType,n.componentIndex,n.componentHighDownName,r).dispatchers;i?Object(l["k"])(i,(function(e){return ul(e,t)})):ul(e,t)}function Sl(e,t,r){if(Bl(t)){var n=t.dataType,i=e.getData(n),o=Di(i,t);Object(l["t"])(o)||(o=[o]),e[t.type===Us?"toggleSelect":t.type===Hs?"select":"unselect"](o,n)}}function Ml(e){var t=e.getAllData();Object(l["k"])(t,(function(t){var r=t.data,n=t.type;r.eachItemGraphicEl((function(t,r){e.isSelected(r,n)?pl(t):ml(t)}))}))}function Cl(e){var t=[];return e.eachSeries((function(e){var r=e.getAllData();Object(l["k"])(r,(function(r){r.data;var n=r.type,i=e.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=n&&(o.dataType=n),t.push(o)}}))})),t}function Tl(e,t,r){jl(e,!0),el(e,sl),Al(e,t,r)}function Ol(e){jl(e,!1)}function Ll(e,t,r,n){n?Ol(e):Tl(e,t,r)}function Al(e,t,r){var n=Ts(e);null!=t?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var Dl=["emphasis","blur","select"],El={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Il(e,t,r,n){r=r||"itemStyle";for(var i=0;i<Dl.length;i++){var o=Dl[i],a=t.getModel([o,r]),s=e.ensureState(o);s.style=n?n(a):a[El[r]]()}}function jl(e,t){var r=!1===t,n=e;e.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=e.highDownSilentOnTouch),r&&!n.__highDownDispatcher||(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!r)}function Pl(e){return!(!e||!e.__highDownDispatcher)}function Rl(e,t,r){var n=Ts(e);n.componentMainType=t.mainType,n.componentIndex=t.componentIndex,n.componentHighDownName=r}function Nl(e){var t=As[e];return null==t&&Ls<=32&&(t=As[e]=Ls++),t}function Bl(e){var t=e.type;return t===Hs||t===Vs||t===Us}function Yl(e){var t=e.type;return t===Fs||t===zs}function Fl(e){var t=Ds(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var r=e.states.select||{};t.selectFill=r.style&&r.style.fill||null,t.selectStroke=r.style&&r.style.stroke||null}var zl=Ei();function Hl(e,t,r,n,i){var o;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();o=a&&a.animation}var s=t&&t.isAnimationEnabled(),u="update"===e;if(s){var c=void 0,d=void 0,h=void 0;n?(c=Object(l["P"])(n.duration,200),d=Object(l["P"])(n.easing,"cubicOut"),h=0):(c=t.getShallow(u?"animationDurationUpdate":"animationDuration"),d=t.getShallow(u?"animationEasingUpdate":"animationEasing"),h=t.getShallow(u?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(c=o.duration),null!=o.easing&&(d=o.easing),null!=o.delay&&(h=o.delay)),Object(l["w"])(h)&&(h=h(r,i)),Object(l["w"])(c)&&(c=c(r));var f={duration:c||0,delay:h,easing:d};return f}return null}function Vl(e,t,r,n,i,o,a){var s,u=!1;Object(l["w"])(i)?(a=o,o=i,i=null):Object(l["A"])(i)&&(o=i.cb,a=i.during,u=i.isFrom,s=i.removeOpt,i=i.dataIndex);var c="leave"===e;c||t.stopAnimation("leave");var d=Hl(e,n,i,c?s||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,i):null);if(d&&d.duration>0){var h=d.duration,f=d.delay,p=d.easing,m={duration:h,delay:f||0,easing:p,done:o,force:!!o||!!a,setToFinal:!c,scope:e,during:a};u?t.animateFrom(r,m):t.animateTo(r,m)}else t.stopAnimation(),!u&&t.attr(r),a&&a(1),o&&o()}function Ul(e,t,r,n,i,o){Vl("update",e,t,r,n,i,o)}function Wl(e,t,r,n,i,o){Vl("enter",e,t,r,n,i,o)}function $l(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var r=e.animators[t];if("leave"===r.scope)return!0}return!1}function Gl(e,t,r,n,i,o){$l(e)||Vl("leave",e,t,r,n,i,o)}function ql(e,t,r,n){e.removeTextContent(),e.removeTextGuideLine(),Gl(e,{style:{opacity:0}},t,r,n)}function Xl(e,t,r){function n(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||ql(e,t,r,n)})):ql(e,t,r,n)}function Kl(e){zl(e).oldStyle=e.style}function Zl(e){return zl(e).oldStyle}var Jl={};function Ql(e,t){for(var r=0;r<Rs.length;r++){var n=Rs[r],i=t[n],o=e.ensureState(n);o.style=o.style||{},o.style.text=i}var a=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(a,!0)}function eu(e,t,r){var n,i=e.labelFetcher,o=e.labelDataIndex,a=e.labelDimIndex,s=t.normal;i&&(n=i.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=r?{interpolatedValue:r}:null)),null==n&&(n=Object(l["w"])(e.defaultText)?e.defaultText(o,e,r):e.defaultText);for(var u={normal:n},c=0;c<Rs.length;c++){var d=Rs[c],h=t[d];u[d]=Object(l["P"])(i?i.getFormattedLabel(o,d,null,a,h&&h.get("formatter")):null,n)}return u}function tu(e,t,r,n){r=r||Jl;for(var i=e instanceof Cs,o=!1,a=0;a<Ns.length;a++){var s=t[Ns[a]];if(s&&s.getShallow("show")){o=!0;break}}var u=i?e:e.getTextContent();if(o){i||(u||(u=new Cs,e.setTextContent(u)),e.stateProxy&&(u.stateProxy=e.stateProxy));var c=eu(r,t),d=t.normal,h=!!d.getShallow("show"),f=nu(d,n&&n.normal,r,!1,!i);f.text=c.normal,i||e.setTextConfig(iu(d,r,!1));for(a=0;a<Rs.length;a++){var p=Rs[a];s=t[p];if(s){var m=u.ensureState(p),g=!!Object(l["P"])(s.getShallow("show"),h);if(g!==h&&(m.ignore=!g),m.style=nu(s,n&&n[p],r,!0,!i),m.style.text=c[p],!i){var v=e.ensureState(p);v.textConfig=iu(s,r,!0)}}}u.silent=!!d.getShallow("silent"),null!=u.style.x&&(f.x=u.style.x),null!=u.style.y&&(f.y=u.style.y),u.ignore=!h,u.useStyle(f),u.dirty(),r.enableTextSetter&&(hu(u).setLabelText=function(e){var n=eu(r,t,e);Ql(u,n)})}else u&&(u.ignore=!0);e.dirty()}function ru(e,t){t=t||"label";for(var r={normal:e.getModel(t)},n=0;n<Rs.length;n++){var i=Rs[n];r[i]=e.getModel([i,t])}return r}function nu(e,t,r,n,i){var o={};return ou(o,e,r,n,i),t&&Object(l["m"])(o,t),o}function iu(e,t,r){t=t||{};var n,i={},o=e.getShallow("rotate"),a=Object(l["P"])(e.getShallow("distance"),r?null:5),s=e.getShallow("offset");return n=e.getShallow("position")||(r?null:"inside"),"outside"===n&&(n=t.defaultOutsidePosition||"top"),null!=n&&(i.position=n),null!=s&&(i.offset=s),null!=o&&(o*=Math.PI/180,i.rotation=o),null!=a&&(i.distance=a),i.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",i}function ou(e,t,r,n,i){r=r||Jl;var o,a=t.ecModel,s=a&&a.option.textStyle,l=au(t);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=t.getModel(["rich",u]);cu(o[u]={},c,s,r,n,i,!1,!0)}o&&(e.rich=o);var d=t.get("overflow");d&&(e.overflow=d);var h=t.get("minMargin");null!=h&&(e.margin=h),cu(e,t,s,r,n,i,!0,!1)}function au(e){var t;while(e&&e!==e.ecModel){var r=(e.option||Jl).rich;if(r){t=t||{};for(var n=Object(l["F"])(r),i=0;i<n.length;i++){var o=n[i];t[o]=1}}e=e.parentModel}return t}var su=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],lu=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],uu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function cu(e,t,r,n,i,o,a,s){r=!i&&r||Jl;var u=n&&n.inheritColor,c=t.getShallow("color"),d=t.getShallow("textBorderColor"),h=Object(l["P"])(t.getShallow("opacity"),r.opacity);"inherit"!==c&&"auto"!==c||(c=u||null),"inherit"!==d&&"auto"!==d||(d=u||null),o||(c=c||r.color,d=d||r.textBorderColor),null!=c&&(e.fill=c),null!=d&&(e.stroke=d);var f=Object(l["P"])(t.getShallow("textBorderWidth"),r.textBorderWidth);null!=f&&(e.lineWidth=f);var p=Object(l["P"])(t.getShallow("textBorderType"),r.textBorderType);null!=p&&(e.lineDash=p);var m=Object(l["P"])(t.getShallow("textBorderDashOffset"),r.textBorderDashOffset);null!=m&&(e.lineDashOffset=m),i||null!=h||s||(h=n&&n.defaultOpacity),null!=h&&(e.opacity=h),i||o||null==e.fill&&n.inheritColor&&(e.fill=n.inheritColor);for(var g=0;g<su.length;g++){var v=su[g],y=Object(l["P"])(t.getShallow(v),r[v]);null!=y&&(e[v]=y)}for(g=0;g<lu.length;g++){v=lu[g],y=t.getShallow(v);null!=y&&(e[v]=y)}if(null==e.verticalAlign){var b=t.getShallow("baseline");null!=b&&(e.verticalAlign=b)}if(!a||!n.disableBox){for(g=0;g<uu.length;g++){v=uu[g],y=t.getShallow(v);null!=y&&(e[v]=y)}var _=t.getShallow("borderType");null!=_&&(e.borderDash=_),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!u||(e.backgroundColor=u),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!u||(e.borderColor=u)}}function du(e,t){var r=t&&t.getModel("textStyle");return Object(l["T"])([e.fontStyle||r&&r.getShallow("fontStyle")||"",e.fontWeight||r&&r.getShallow("fontWeight")||"",(e.fontSize||r&&r.getShallow("fontSize")||12)+"px",e.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))}var hu=Ei();function fu(e,t,r,n){if(e){var i=hu(e);i.prevValue=i.value,i.value=r;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=n,i.statesModels=t)}}function pu(e,t,r,n,i){var o=hu(e);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=Object(l["P"])(o.interpolatedValue,o.prevValue),u=o.value;e.percent=0,(null==o.prevValue?Wl:Ul)(e,{percent:1},n,t,null,c)}function c(n){var l=Vi(r,o.precision,s,u,n);o.interpolatedValue=1===n?null:l;var c=eu({labelDataIndex:t,labelFetcher:i,defaultText:a?a(l):l+""},o.statesModels,l);Ql(e,c)}}var mu=["textStyle","color"],gu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],vu=new Cs,yu=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(mu):null)},e.prototype.getFont=function(){return du({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<gu.length;r++)t[gu[r]]=this.getShallow(gu[r]);return vu.useStyle(t),vu.update(),vu.getBoundingRect()},e}(),bu=yu,_u=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],wu=io(_u),xu=function(){function e(){}return e.prototype.getLineStyle=function(e){return wu(this,e)},e}(),ku=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Su=io(ku),Mu=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return Su(this,e,t)},e}(),Cu=function(){function e(e,t,r){this.parentModel=t,this.ecModel=r,this.option=e}return e.prototype.init=function(e,t,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i]},e.prototype.mergeOption=function(e,t){Object(l["I"])(this.option,e,!0)},e.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},e.prototype.getShallow=function(e,t){var r=this.option,n=null==r?r:r[e];if(null==n&&!t){var i=this.parentModel;i&&(n=i.getShallow(e))}return n},e.prototype.getModel=function(t,r){var n=null!=t,i=n?this.parsePath(t):null,o=n?this._doGet(i):this.option;return r=r||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(o,r,this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){var e=this.constructor;return new e(Object(l["d"])(this.option))},e.prototype.parsePath=function(e){return"string"===typeof e?e.split("."):e},e.prototype.resolveParentPath=function(e){return e},e.prototype.isAnimationEnabled=function(){if(!s["a"].node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(e,t){var r=this.option;if(!e)return r;for(var n=0;n<e.length;n++)if(e[n]&&(r=r&&"object"===typeof r?r[e[n]]:null,null==r))break;return null==r&&t&&(r=t._doGet(this.resolveParentPath(e),t.parentModel)),r},e}();Ki(Cu),eo(Cu),Object(l["K"])(Cu,xu),Object(l["K"])(Cu,Mu),Object(l["K"])(Cu,so),Object(l["K"])(Cu,bu);var Tu=Cu,Ou=Math.round(10*Math.random());function Lu(e){return[e||"",Ou++].join("_")}function Au(e){var t={};e.registerSubTypeDefaulter=function(e,r){var n=Gi(e);t[n.main]=r},e.determineSubType=function(r,n){var i=n.type;if(!i){var o=Gi(r).main;e.hasSubTypes(r)&&t[o]&&(i=t[o](n))}return i}}function Du(e,t){function r(e){var r={},o=[];return l["k"](e,(function(a){var s=n(r,a),u=s.originalDeps=t(a),c=i(u,e);s.entryCount=c.length,0===s.entryCount&&o.push(a),l["k"](c,(function(e){l["r"](s.predecessor,e)<0&&s.predecessor.push(e);var t=n(r,e);l["r"](t.successor,e)<0&&t.successor.push(a)}))})),{graph:r,noEntryList:o}}function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function i(e,t){var r=[];return l["k"](e,(function(e){l["r"](t,e)>=0&&r.push(e)})),r}e.topologicalTravel=function(e,t,n,i){if(e.length){var o=r(t),a=o.graph,s=o.noEntryList,u={};l["k"](e,(function(e){u[e]=!0}));while(s.length){var c=s.pop(),d=a[c],h=!!u[c];h&&(n.call(i,c,d.originalDeps.slice()),delete u[c]),l["k"](d.successor,h?p:f)}l["k"](u,(function(){var e="";throw new Error(e)}))}function f(e){a[e].entryCount--,0===a[e].entryCount&&s.push(e)}function p(e){u[e]=!0,f(e)}}}function Eu(e,t){return l["I"](l["I"]({},e,!0),t,!0)}var Iu={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",custom:"Custom chart",chart:"Chart"}},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:". "}}}},ju={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:"旭日图",custom:"自定义图表",chart:"图表"}},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:""}}}},Pu="ZH",Ru="EN",Nu=Ru,Bu={},Yu={},Fu=s["a"].domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Nu).toUpperCase();return e.indexOf(Pu)>-1?Pu:Nu}():Nu;function zu(e,t){e=e.toUpperCase(),Yu[e]=new Tu(t),Bu[e]=t}function Hu(e){if(Object(l["C"])(e)){var t=Bu[e.toUpperCase()]||{};return e===Pu||e===Ru?Object(l["d"])(t):Object(l["I"])(Object(l["d"])(t),Object(l["d"])(Bu[Nu]),!1)}return Object(l["I"])(Object(l["d"])(e),Object(l["d"])(Bu[Nu]),!1)}function Vu(e){return Yu[e]}function Uu(){return Yu[Nu]}zu(Ru,Iu),zu(Pu,ju);var Wu=1e3,$u=60*Wu,Gu=60*$u,qu=24*Gu,Xu=365*qu,Ku={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}"},Zu="{yyyy}-{MM}-{dd}",Ju={year:"{yyyy}",month:"{yyyy}-{MM}",day:Zu,hour:Zu+" "+Ku.hour,minute:Zu+" "+Ku.minute,second:Zu+" "+Ku.second,millisecond:Ku.none},Qu=["year","month","day","hour","minute","second","millisecond"],ec=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function tc(e,t){return e+="","0000".substr(0,t-e.length)+e}function rc(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function nc(e){return e===rc(e)}function ic(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function oc(e,t,r,n){var i=Kn(e),o=i[uc(r)](),a=i[cc(r)]()+1,s=Math.floor((a-1)/3)+1,l=i[dc(r)](),u=i["get"+(r?"UTC":"")+"Day"](),c=i[hc(r)](),d=(c-1)%12+1,h=i[fc(r)](),f=i[pc(r)](),p=i[mc(r)](),m=n instanceof Tu?n:Vu(n||Fu)||Uu(),g=m.getModel("time"),v=g.get("month"),y=g.get("monthAbbr"),b=g.get("dayOfWeek"),_=g.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,tc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,tc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,tc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,tc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,tc(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,tc(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,tc(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,tc(p,3)).replace(/{S}/g,p+"")}function ac(e,t,r,n,i){var o=null;if(l["C"](r))o=r;else if(l["w"](r))o=r(e.value,t,{level:e.level});else{var a=l["m"]({},Ku);if(e.level>0)for(var s=0;s<Qu.length;++s)a[Qu[s]]="{primary|"+a[Qu[s]]+"}";var u=r?!1===r.inherit?r:l["i"](r,a):a,c=sc(e.value,i);if(u[c])o=u[c];else if(u.inherit){var d=ec.indexOf(c);for(s=d-1;s>=0;--s)if(u[c]){o=u[c];break}o=o||a.none}if(l["t"](o)){var h=null==e.level?0:e.level>=0?e.level:o.length+e.level;h=Math.min(h,o.length-1),o=o[h]}}return oc(new Date(e.value),o,i,n)}function sc(e,t){var r=Kn(e),n=r[cc(t)]()+1,i=r[dc(t)](),o=r[hc(t)](),a=r[fc(t)](),s=r[pc(t)](),l=r[mc(t)](),u=0===l,c=u&&0===s,d=c&&0===a,h=d&&0===o,f=h&&1===i,p=f&&1===n;return p?"year":f?"month":h?"day":d?"hour":c?"minute":u?"second":"millisecond"}function lc(e,t,r){var n=l["z"](e)?Kn(e):e;switch(t=t||sc(e,r),t){case"year":return n[uc(r)]();case"half-year":return n[cc(r)]()>=6?1:0;case"quarter":return Math.floor((n[cc(r)]()+1)/4);case"month":return n[cc(r)]();case"day":return n[dc(r)]();case"half-day":return n[hc(r)]()/24;case"hour":return n[hc(r)]();case"minute":return n[fc(r)]();case"second":return n[pc(r)]();case"millisecond":return n[mc(r)]()}}function uc(e){return e?"getUTCFullYear":"getFullYear"}function cc(e){return e?"getUTCMonth":"getMonth"}function dc(e){return e?"getUTCDate":"getDate"}function hc(e){return e?"getUTCHours":"getHours"}function fc(e){return e?"getUTCMinutes":"getMinutes"}function pc(e){return e?"getUTCSeconds":"getSeconds"}function mc(e){return e?"getUTCMilliseconds":"getMilliseconds"}function gc(e){return e?"setUTCFullYear":"setFullYear"}function vc(e){return e?"setUTCMonth":"setMonth"}function yc(e){return e?"setUTCDate":"setDate"}function bc(e){return e?"setUTCHours":"setHours"}function _c(e){return e?"setUTCMinutes":"setMinutes"}function wc(e){return e?"setUTCSeconds":"setSeconds"}function xc(e){return e?"setUTCMilliseconds":"setMilliseconds"}function kc(e){if(!ni(e))return l["C"](e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Sc(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Mc=l["M"];function Cc(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(e){return e&&l["T"](e)?e:"-"}function o(e){return!(null==e||isNaN(e)||!isFinite(e))}var a="time"===t,s=e instanceof Date;if(a||s){var u=a?Kn(e):e;if(!isNaN(+u))return oc(u,n,r);if(s)return"-"}if("ordinal"===t)return l["D"](e)?i(e):l["z"](e)&&o(e)?e+"":"-";var c=ri(e);return o(c)?kc(c):l["D"](e)?i(e):"boolean"===typeof e?e+"":"-"}var Tc=["a","b","c","d","e","f","g"],Oc=function(e,t){return"{"+e+(null==t?"":t)+"}"};function Lc(e,t,r){l["t"](t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=Tc[o];e=e.replace(Oc(a),Oc(a,0))}for(var s=0;s<n;s++)for(var u=0;u<i.length;u++){var c=t[s][i[u]];e=e.replace(Oc(Tc[u],s),r?W(c):c)}return e}function Ac(e,t,r){return l["k"](t,(function(t,n){e=e.replace("{"+n+"}",r?W(t):t)})),e}function Dc(e,t){var r=l["C"](e)?{color:e,extraCssText:t}:e||{},n=r.color,i=r.type;t=r.extraCssText;var o=r.renderMode||"html";if(!n)return"";if("html"===o)return"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+W(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+W(n)+";"+(t||"")+'"></span>';var a=r.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function Ec(e,t){return t=t||"transparent",l["C"](e)?e:l["A"](e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Ic(e,t){if("_blank"===t||"blank"===t){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var jc=l["k"],Pc=["left","right","top","bottom","width","height"],Rc=[["width","left","right"],["height","top","bottom"]];function Nc(e,t,r,n,i){var o=0,a=0;null==n&&(n=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,d,h=l.getBoundingRect(),f=t.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===e){var m=h.width+(p?-p.x+h.x:0);c=o+m,c>n||l.newline?(o=0,c=m,a+=s+r,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(p?-p.y+h.y:0);d=a+g,d>i||l.newline?(o+=s+r,a=0,d=g,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+r:a=d+r)}))}var Bc=Nc;l["h"](Nc,"vertical"),l["h"](Nc,"horizontal");function Yc(e,t,r){var n=t.width,i=t.height,o=Bn(e.left,n),a=Bn(e.top,i),s=Bn(e.right,n),l=Bn(e.bottom,i);return(isNaN(o)||isNaN(parseFloat(e.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=n),(isNaN(a)||isNaN(parseFloat(e.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(e.bottom)))&&(l=i),r=Mc(r||0),{width:Math.max(s-o-r[1]-r[3],0),height:Math.max(l-a-r[0]-r[2],0)}}function Fc(e,t,r){r=Mc(r||0);var n=t.width,i=t.height,o=Bn(e.left,n),a=Bn(e.top,i),s=Bn(e.right,n),l=Bn(e.bottom,i),u=Bn(e.width,n),c=Bn(e.height,i),d=r[2]+r[0],h=r[1]+r[3],f=e.aspect;switch(isNaN(u)&&(u=n-s-h-o),isNaN(c)&&(c=i-l-d-a),null!=f&&(isNaN(u)&&isNaN(c)&&(f>n/i?u=.8*n:c=.8*i),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(o)&&(o=n-s-u-h),isNaN(a)&&(a=i-l-c-d),e.left||e.right){case"center":o=n/2-u/2-r[3];break;case"right":o=n-u-h;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-r[0];break;case"bottom":a=i-c-d;break}o=o||0,a=a||0,isNaN(u)&&(u=n-h-o-(s||0)),isNaN(c)&&(c=i-d-a-(l||0));var p=new Oe(o+r[3],a+r[0],u,c);return p.margin=r,p}function zc(e,t,r,n,i,o){var a,s=!i||!i.hv||i.hv[0],u=!i||!i.hv||i.hv[1],c=i&&i.boundingMode||"all";if(o=o||e,o.x=e.x,o.y=e.y,!s&&!u)return!1;if("raw"===c)a="group"===e.type?new Oe(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(a=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();a=a.clone(),a.applyTransform(d)}var h=Fc(l["i"]({width:a.width,height:a.height},t),r,n),f=s?h.x-a.x:0,p=u?h.y-a.y:0;return"raw"===c?(o.x=f,o.y=p):(o.x+=f,o.y+=p),o===e&&e.markRedraw(),!0}function Hc(e,t){return null!=e[Rc[t][0]]||null!=e[Rc[t][1]]&&null!=e[Rc[t][2]]}function Vc(e){var t=e.layoutMode||e.constructor.layoutMode;return l["A"](t)?t:t?{type:t}:null}function Uc(e,t,r){var n=r&&r.ignoreSize;!l["t"](n)&&(n=[n,n]);var i=a(Rc[0],0),o=a(Rc[1],1);function a(r,i){var o={},a=0,l={},c=0,d=2;if(jc(r,(function(t){l[t]=e[t]})),jc(r,(function(e){s(t,e)&&(o[e]=l[e]=t[e]),u(o,e)&&a++,u(l,e)&&c++})),n[i])return u(t,r[1])?l[r[2]]=null:u(t,r[2])&&(l[r[1]]=null),l;if(c!==d&&a){if(a>=d)return o;for(var h=0;h<r.length;h++){var f=r[h];if(!s(o,f)&&s(e,f)){o[f]=e[f];break}}return o}return l}function s(e,t){return e.hasOwnProperty(t)}function u(e,t){return null!=e[t]&&"auto"!==e[t]}function c(e,t,r){jc(e,(function(e){t[e]=r[e]}))}c(Rc[0],e,i),c(Rc[1],e,o)}function Wc(e){return $c({},e)}function $c(e,t){return t&&e&&jc(Pc,(function(r){t.hasOwnProperty(r)&&(e[r]=t[r])})),e}var Gc=Ei(),qc=function(e){function t(t,r,n){var i=e.call(this,t,r,n)||this;return i.uid=Lu("ec_cpt_model"),i}return a(t,e),t.prototype.init=function(e,t,r){this.mergeDefaultAndTheme(e,r)},t.prototype.mergeDefaultAndTheme=function(e,t){var r=Vc(this),n=r?Wc(e):{},i=t.getTheme();l["I"](e,i.get(this.mainType)),l["I"](e,this.getDefaultOption()),r&&Uc(e,n,r)},t.prototype.mergeOption=function(e,t){l["I"](this.option,e,!0);var r=Vc(this);r&&Uc(this.option,e,r)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!Xi(e))return e.defaultOption;var t=Gc(this);if(!t.defaultOption){var r=[],n=e;while(n){var i=n.prototype.defaultOption;i&&r.push(i),n=n.superClass}for(var o={},a=r.length-1;a>=0;a--)o=l["I"](o,r[a],!0);t.defaultOption=o}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var r=e+"Index",n=e+"Id";return Bi(this.ecModel,e,{index:this.get(r,!0),id:this.get(n,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Tu);function Xc(e){var t=[];return l["k"](qc.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=l["H"](t,(function(e){return Gi(e).main})),"dataset"!==e&&l["r"](t,"dataset")<=0&&t.unshift("dataset"),t}Ji(qc,Tu),no(qc),Au(qc),Du(qc,Xc);var Kc=qc,Zc="";"undefined"!==typeof navigator&&(Zc=navigator.platform||"");var Jc="rgba(0, 0, 0, 0.2)",Qc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Jc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Jc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Jc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Jc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Jc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Jc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zc.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},ed=Object(l["f"])(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),td="original",rd="arrayRows",nd="objectRows",id="keyedColumns",od="typedArray",ad="unknown",sd="column",ld="row",ud={Must:1,Might:2,Not:3},cd=Ei();function dd(e){cd(e).datasetMap=Object(l["f"])()}function hd(e,t,r){var n={},i=pd(t);if(!i||!e)return n;var o,a,s=[],u=[],c=t.ecModel,d=cd(c).datasetMap,h=i.uid+"_"+r.seriesLayoutBy;e=e.slice(),Object(l["k"])(e,(function(t,r){var i=Object(l["A"])(t)?t:e[r]={name:t};"ordinal"===i.type&&null==o&&(o=r,a=m(i)),n[i.name]=[]}));var f=d.get(h)||d.set(h,{categoryWayDim:a,valueWayDim:0});function p(e,t,r){for(var n=0;n<r;n++)e.push(t+n)}function m(e){var t=e.dimsDef;return t?t.length:1}return Object(l["k"])(e,(function(e,t){var r=e.name,i=m(e);if(null==o){var a=f.valueWayDim;p(n[r],a,i),p(u,a,i),f.valueWayDim+=i}else if(o===t)p(n[r],0,i),p(s,0,i);else{a=f.categoryWayDim;p(n[r],a,i),p(u,a,i),f.categoryWayDim+=i}})),s.length&&(n.itemName=s),u.length&&(n.seriesName=u),n}function fd(e,t,r){var n={},i=pd(e);if(!i)return n;var o,a=t.sourceFormat,s=t.dimensionsDefine;a!==nd&&a!==id||Object(l["k"])(s,(function(e,t){"name"===(Object(l["A"])(e)?e.name:e)&&(o=t)}));var u=function(){for(var e={},n={},i=[],l=0,u=Math.min(5,r);l<u;l++){var c=vd(t.data,a,t.seriesLayoutBy,s,t.startIndex,l);i.push(c);var d=c===ud.Not;if(d&&null==e.v&&l!==o&&(e.v=l),(null==e.n||e.n===e.v||!d&&i[e.n]===ud.Not)&&(e.n=l),h(e)&&i[e.n]!==ud.Not)return e;d||(c===ud.Might&&null==n.v&&l!==o&&(n.v=l),null!=n.n&&n.n!==n.v||(n.n=l))}function h(e){return null!=e.v&&null!=e.n}return h(e)?e:h(n)?n:null}();if(u){n.value=[u.v];var c=null!=o?o:u.n;n.itemName=[c],n.seriesName=[c]}return n}function pd(e){var t=e.get("data",!0);if(!t)return Bi(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},Ri).models[0]}function md(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?Bi(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},Ri).models:[]}function gd(e,t){return vd(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function vd(e,t,r,n,i,o){var a,s,u,c=5;if(Object(l["E"])(e))return ud.Not;if(n){var d=n[o];Object(l["A"])(d)?(s=d.name,u=d.type):Object(l["C"])(d)&&(s=d)}if(null!=u)return"ordinal"===u?ud.Must:ud.Not;if(t===rd){var h=e;if(r===ld){for(var f=h[o],p=0;p<(f||[]).length&&p<c;p++)if(null!=(a=w(f[i+p])))return a}else for(p=0;p<h.length&&p<c;p++){var m=h[i+p];if(m&&null!=(a=w(m[o])))return a}}else if(t===nd){var g=e;if(!s)return ud.Not;for(p=0;p<g.length&&p<c;p++){var v=g[p];if(v&&null!=(a=w(v[s])))return a}}else if(t===id){var y=e;if(!s)return ud.Not;f=y[s];if(!f||Object(l["E"])(f))return ud.Not;for(p=0;p<f.length&&p<c;p++)if(null!=(a=w(f[p])))return a}else if(t===td){var b=e;for(p=0;p<b.length&&p<c;p++){v=b[p];var _=fi(v);if(!Object(l["t"])(_))return ud.Not;if(null!=(a=w(_[o])))return a}}function w(e){var t=Object(l["C"])(e);return null!=e&&isFinite(e)&&""!==e?t?ud.Might:ud.Not:t&&"-"!==e?ud.Must:void 0}return ud.Not}var yd=Object(l["f"])();function bd(e,t){Object(l["b"])(null==yd.get(e)&&t),yd.set(e,t)}function _d(e,t,r){var n=yd.get(t);if(!n)return r;var i=n(e);return i?r.concat(i):r}var wd=Ei(),xd=Ei(),kd=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,r){var n=ci(this.get("color",!0)),i=this.get("colorLayer",!0);return Cd(this,wd,n,i,e,t,r)},e.prototype.clearColorPalette=function(){Td(this,wd)},e}();function Sd(e,t,r,n){var i=ci(e.get(["aria","decal","decals"]));return Cd(e,xd,i,null,t,r,n)}function Md(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n].length>t)return e[n];return e[r-1]}function Cd(e,t,r,n,i,o,a){o=o||e;var s=t(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&n?Md(n,a):r;if(c=c||r,c&&c.length){var d=c[l];return i&&(u[i]=d),s.paletteIdx=(l+1)%c.length,d}}function Td(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Od,Ld,Ad;"undefined"!==typeof console&&console.warn&&console.log;function Dd(e){0}function Ed(e){throw new Error(e)}var Id="\0_ec_inner",jd=1;var Pd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(e,t,r,n,i,o){n=n||{},this.option=null,this._theme=new Tu(n),this._locale=new Tu(i),this._optionManager=o},t.prototype.setOption=function(e,t,r){var n=Fd(t);this._optionManager.setOption(e,r,n),this._resetOption(null,n)},t.prototype.resetOption=function(e,t){return this._resetOption(e,Fd(t))},t.prototype._resetOption=function(e,t){var r=!1,n=this._optionManager;if(!e||"recreate"===e){var i=n.mountOption("recreate"===e);0,this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(i,t)):Ad(this,i),r=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=n.getTimelineOption(this);o&&(r=!0,this._mergeOption(o,t))}if(!e||"recreate"===e||"media"===e){var a=n.getMediaOption(this);a.length&&Object(l["k"])(a,(function(e){r=!0,this._mergeOption(e,t)}),this)}return r},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var r=this.option,n=this._componentsMap,i=this._componentsCount,o=[],a=Object(l["f"])(),s=t&&t.replaceMergeMainTypeMap;function u(t){var o=_d(this,t,ci(e[t])),a=n.get(t),u=a?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll",c=mi(a,o,u);Oi(c,t,Kc),r[t]=null,n.set(t,null),i.set(t,0);var d,h=[],f=[],p=0;Object(l["k"])(c,(function(e,r){var n=e.existing,i=e.newOption;if(i){var o="series"===t,a=Kc.getClass(t,e.keyInfo.subType,!o);if(!a)return;if("tooltip"===t){if(d)return void 0;d=!0}if(n&&n.constructor===a)n.name=e.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1);else{var s=Object(l["m"])({componentIndex:r},e.keyInfo);n=new a(i,this,this,s),Object(l["m"])(n,s),e.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0)}}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(h.push(n.option),f.push(n),p++):(h.push(void 0),f.push(void 0))}),this),r[t]=h,n.set(t,f),i.set(t,p),"series"===t&&Od(this)}dd(this),Object(l["k"])(e,(function(e,t){null!=e&&(Kc.hasClass(t)?t&&(o.push(t),a.set(t,!0)):r[t]=null==r[t]?Object(l["d"])(e):Object(l["I"])(r[t],e,!0))})),s&&s.each((function(e,t){Kc.hasClass(t)&&!a.get(t)&&(o.push(t),a.set(t,!0))})),Kc.topologicalTravel(o,Kc.getAllClassMainTypes(),u,this),this._seriesIndices||Od(this)},t.prototype.getOption=function(){var e=Object(l["d"])(this.option);return Object(l["k"])(e,(function(t,r){if(Kc.hasClass(r)){for(var n=ci(t),i=n.length,o=!1,a=i-1;a>=0;a--)n[a]&&!Ci(n[a])?o=!0:(n[a]=null,!o&&i--);n.length=i,e[r]=n}})),delete e[Id],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var r=this._componentsMap.get(e);if(r){var n=r[t||0];if(n)return n;if(null==t)for(var i=0;i<r.length;i++)if(r[i])return r[i]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var r,n=e.index,i=e.id,o=e.name,a=this._componentsMap.get(t);return a&&a.length?(null!=n?(r=[],Object(l["k"])(ci(n),(function(e){a[e]&&r.push(a[e])}))):r=null!=i?Bd("id",i,a):null!=o?Bd("name",o,a):Object(l["n"])(a,(function(e){return!!e})),Yd(r,e)):[]},t.prototype.findComponents=function(e){var t=e.query,r=e.mainType,n=o(t),i=n?this.queryComponents(n):Object(l["n"])(this._componentsMap.get(r),(function(e){return!!e}));return a(Yd(i,e));function o(e){var t=r+"Index",n=r+"Id",i=r+"Name";return!e||null==e[t]&&null==e[n]&&null==e[i]?null:{mainType:r,index:e[t],id:e[n],name:e[i]}}function a(t){return e.filter?Object(l["n"])(t,e.filter):t}},t.prototype.eachComponent=function(e,t,r){var n=this._componentsMap;if(Object(l["w"])(e)){var i=t,o=e;n.each((function(e,t){for(var r=0;e&&r<e.length;r++){var n=e[r];n&&o.call(i,t,n,n.componentIndex)}}))}else for(var a=Object(l["C"])(e)?n.get(e):Object(l["A"])(e)?this.findComponents(e):null,s=0;a&&s<a.length;s++){var u=a[s];u&&t.call(r,u,u.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=Si(e,null);return Object(l["n"])(this._componentsMap.get("series"),(function(e){return!!e&&null!=t&&e.name===t}))},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return Object(l["n"])(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return Object(l["n"])(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){Ld(this),Object(l["k"])(this._seriesIndices,(function(r){var n=this._componentsMap.get("series")[r];e.call(t,n,r)}),this)},t.prototype.eachRawSeries=function(e,t){Object(l["k"])(this._componentsMap.get("series"),(function(r){r&&e.call(t,r,r.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,r){Ld(this),Object(l["k"])(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];i.subType===e&&t.call(r,i,n)}),this)},t.prototype.eachRawSeriesByType=function(e,t,r){return Object(l["k"])(this.getSeriesByType(e),t,r)},t.prototype.isSeriesFiltered=function(e){return Ld(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){Ld(this);var r=[];Object(l["k"])(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)&&r.push(n)}),this),this._seriesIndices=r,this._seriesIndicesMap=Object(l["f"])(r)},t.prototype.restoreData=function(e){Od(this);var t=this._componentsMap,r=[];t.each((function(e,t){Kc.hasClass(t)&&r.push(t)})),Kc.topologicalTravel(r,Kc.getAllClassMainTypes(),(function(r){Object(l["k"])(t.get(r),(function(t){!t||"series"===r&&Rd(t,e)||t.restoreData()}))}))},t.internalField=function(){Od=function(e){var t=e._seriesIndices=[];Object(l["k"])(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=Object(l["f"])(t)},Ld=function(e){0},Ad=function(e,t){e.option={},e.option[Id]=jd,e._componentsMap=Object(l["f"])({series:[]}),e._componentsCount=Object(l["f"])();var r=t.aria;Object(l["A"])(r)&&null==r.enabled&&(r.enabled=!0),Nd(t,e._theme.option),Object(l["I"])(t,Qc,!1),e._mergeOption(t,null)}}(),t}(Tu);function Rd(e,t){if(t){var r=t.seriesIndex,n=t.seriesId,i=t.seriesName;return null!=r&&e.componentIndex!==r||null!=n&&e.id!==n||null!=i&&e.name!==i}}function Nd(e,t){var r=e.color&&!e.colorLayer;Object(l["k"])(t,(function(t,n){"colorLayer"===n&&r||Kc.hasClass(n)||("object"===typeof t?e[n]=e[n]?Object(l["I"])(e[n],t,!1):Object(l["d"])(t):null==e[n]&&(e[n]=t))}))}function Bd(e,t,r){if(Object(l["t"])(t)){var n=Object(l["f"])();return Object(l["k"])(t,(function(e){if(null!=e){var t=Si(e,null);null!=t&&n.set(e,!0)}})),Object(l["n"])(r,(function(t){return t&&n.get(t[e])}))}var i=Si(t,null);return Object(l["n"])(r,(function(t){return t&&null!=i&&t[e]===i}))}function Yd(e,t){return t.hasOwnProperty("subType")?Object(l["n"])(e,(function(e){return e&&e.subType===t.subType})):e}function Fd(e){var t=Object(l["f"])();return e&&Object(l["k"])(ci(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}Object(l["K"])(Pd,kd);var zd=Pd,Hd=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Vd=function(){function e(e){l["k"](Hd,(function(t){this[t]=l["c"](e[t],e)}),this)}return e}(),Ud=Vd,Wd={},$d=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var r=[];l["k"](Wd,(function(n,i){var o=n.create(e,t);r=r.concat(o||[])})),this._coordinateSystems=r},e.prototype.update=function(e,t){l["k"](this._coordinateSystems,(function(r){r.update&&r.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){Wd[e]=t},e.get=function(e){return Wd[e]},e}(),Gd=$d,qd=/^(min|max)?(.+)$/,Xd=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,r){e&&(Object(l["k"])(ci(e.series),(function(e){e&&e.data&&Object(l["E"])(e.data)&&Object(l["R"])(e.data)})),Object(l["k"])(ci(e.dataset),(function(e){e&&e.source&&Object(l["E"])(e.source)&&Object(l["R"])(e.source)}))),e=Object(l["d"])(e);var n=this._optionBackup,i=Kd(e,t,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],Object(l["d"])(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,r=this._timelineOptions;if(r.length){var n=e.getComponent("timeline");n&&(t=Object(l["d"])(r[n.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t=this._api.getWidth(),r=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,o=[],a=[];if(!n.length&&!i)return a;for(var s=0,u=n.length;s<u;s++)Zd(n[s].query,t,r)&&o.push(s);return!o.length&&i&&(o=[-1]),o.length&&!Qd(o,this._currentMediaIndices)&&(a=Object(l["H"])(o,(function(e){return Object(l["d"])(-1===e?i.option:n[e].option)}))),this._currentMediaIndices=o,a},e}();function Kd(e,t,r){var n,i,o=[],a=e.baseOption,s=e.timeline,u=e.options,c=e.media,d=!!e.media,h=!!(u||s||a&&a.timeline);function f(e){Object(l["k"])(t,(function(t){t(e,r)}))}return a?(i=a,i.timeline||(i.timeline=s)):((h||d)&&(e.options=e.media=null),i=e),d&&Object(l["t"])(c)&&Object(l["k"])(c,(function(e){e&&e.option&&(e.query?o.push(e):n||(n=e))})),f(i),Object(l["k"])(u,(function(e){return f(e)})),Object(l["k"])(o,(function(e){return f(e.option)})),{baseOption:i,timelineOptions:u||[],mediaDefault:n,mediaList:o}}function Zd(e,t,r){var n={width:t,height:r,aspectratio:t/r},i=!0;return Object(l["k"])(e,(function(e,t){var r=t.match(qd);if(r&&r[1]&&r[2]){var o=r[1],a=r[2].toLowerCase();Jd(n[a],e,o)||(i=!1)}})),i}function Jd(e,t,r){return"min"===r?e>=t:"max"===r?e<=t:e===t}function Qd(e,t){return e.join(",")===t.join(",")}var eh=Xd,th=l["k"],rh=l["A"],nh=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ih(e){var t=e&&e.itemStyle;if(t)for(var r=0,n=nh.length;r<n;r++){var i=nh[r],o=t.normal,a=t.emphasis;o&&o[i]&&(e[i]=e[i]||{},e[i].normal?l["I"](e[i].normal,o[i]):e[i].normal=o[i],o[i]=null),a&&a[i]&&(e[i]=e[i]||{},e[i].emphasis?l["I"](e[i].emphasis,a[i]):e[i].emphasis=a[i],a[i]=null)}}function oh(e,t,r){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var n=e[t].normal,i=e[t].emphasis;n&&(r?(e[t].normal=e[t].emphasis=null,l["i"](e[t],n)):e[t]=n),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function ah(e){oh(e,"itemStyle"),oh(e,"lineStyle"),oh(e,"areaStyle"),oh(e,"label"),oh(e,"labelLine"),oh(e,"upperLabel"),oh(e,"edgeLabel")}function sh(e,t){var r=rh(e)&&e[t],n=rh(r)&&r.textStyle;if(n){0;for(var i=0,o=hi.length;i<o;i++){var a=hi[i];n.hasOwnProperty(a)&&(r[a]=n[a])}}}function lh(e){e&&(ah(e),sh(e,"label"),e.emphasis&&sh(e.emphasis,"label"))}function uh(e){if(rh(e)){ih(e),ah(e),sh(e,"label"),sh(e,"upperLabel"),sh(e,"edgeLabel"),e.emphasis&&(sh(e.emphasis,"label"),sh(e.emphasis,"upperLabel"),sh(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(ih(t),lh(t));var r=e.markLine;r&&(ih(r),lh(r));var n=e.markArea;n&&lh(n);var i=e.data;if("graph"===e.type){i=i||e.nodes;var o=e.links||e.edges;if(o&&!l["E"](o))for(var a=0;a<o.length;a++)lh(o[a]);l["k"](e.categories,(function(e){ah(e)}))}if(i&&!l["E"](i))for(a=0;a<i.length;a++)lh(i[a]);if(t=e.markPoint,t&&t.data){var s=t.data;for(a=0;a<s.length;a++)lh(s[a])}if(r=e.markLine,r&&r.data){var u=r.data;for(a=0;a<u.length;a++)l["t"](u[a])?(lh(u[a][0]),lh(u[a][1])):lh(u[a])}"gauge"===e.type?(sh(e,"axisLabel"),sh(e,"title"),sh(e,"detail")):"treemap"===e.type?(oh(e.breadcrumb,"itemStyle"),l["k"](e.levels,(function(e){ah(e)}))):"tree"===e.type&&ah(e.leaves)}}function ch(e){return l["t"](e)?e:e?[e]:[]}function dh(e){return(l["t"](e)?e[0]:e)||{}}function hh(e,t){th(ch(e.series),(function(e){rh(e)&&uh(e)}));var r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),th(r,(function(t){th(ch(e[t]),(function(e){e&&(sh(e,"axisLabel"),sh(e.axisPointer,"label"))}))})),th(ch(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;sh(t,"axisLabel"),sh(t&&t.axisPointer,"label")})),th(ch(e.calendar),(function(e){oh(e,"itemStyle"),sh(e,"dayLabel"),sh(e,"monthLabel"),sh(e,"yearLabel")})),th(ch(e.radar),(function(e){sh(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)})),th(ch(e.geo),(function(e){rh(e)&&(lh(e),th(ch(e.regions),(function(e){lh(e)})))})),th(ch(e.timeline),(function(e){lh(e),oh(e,"label"),oh(e,"itemStyle"),oh(e,"controlStyle",!0);var t=e.data;l["t"](t)&&l["k"](t,(function(e){l["A"](e)&&(oh(e,"label"),oh(e,"itemStyle"))}))})),th(ch(e.toolbox),(function(e){oh(e,"iconStyle"),th(e.feature,(function(e){oh(e,"iconStyle")}))})),sh(dh(e.axisPointer),"label"),sh(dh(e.tooltip).axisPointer,"label")}function fh(e,t){for(var r=t.split(","),n=e,i=0;i<r.length;i++)if(n=n&&n[r[i]],null==n)break;return n}function ph(e,t,r,n){for(var i,o=t.split(","),a=e,s=0;s<o.length-1;s++)i=o[s],null==a[i]&&(a[i]={}),a=a[i];(n||null==a[o[s]])&&(a[o[s]]=r)}function mh(e){e&&Object(l["k"])(gh,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var gh=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],vh=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],yh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function bh(e){var t=e&&e.itemStyle;if(t)for(var r=0;r<yh.length;r++){var n=yh[r][1],i=yh[r][0];null!=t[n]&&(t[i]=t[n])}}function _h(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function wh(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function xh(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}function kh(e,t){if(e)for(var r=0;r<e.length;r++)t(e[r]),e[r]&&kh(e[r].children,t)}function Sh(e,t){hh(e,t),e.series=ci(e.series),Object(l["k"])(e.series,(function(e){if(Object(l["A"])(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t){null!=e.clockWise&&(e.clockwise=e.clockWise),_h(e.label);var r=e.data;if(r&&!Object(l["E"])(r))for(var n=0;n<r.length;n++)_h(r[n]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var i=fh(e,"pointer.color");null!=i&&ph(e,"itemStyle.color",i)}else if("bar"===t){bh(e),bh(e.backgroundStyle),bh(e.emphasis);r=e.data;if(r&&!Object(l["E"])(r))for(n=0;n<r.length;n++)"object"===typeof r[n]&&(bh(r[n]),bh(r[n]&&r[n].emphasis))}else if("sunburst"===t){var o=e.highlightPolicy;o&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=o)),wh(e),kh(e.data,wh)}else"graph"===t||"sankey"===t?xh(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&Object(l["i"])(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),mh(e)}})),e.dataRange&&(e.visualMap=e.dataRange),Object(l["k"])(vh,(function(t){var r=e[t];r&&(Object(l["t"])(r)||(r=[r]),Object(l["k"])(r,(function(e){mh(e)})))}))}function Mh(e){var t=Object(l["f"])();e.eachSeries((function(e){var r=e.get("stack");if(r){var n=t.get(r)||t.set(r,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;n.length&&i.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}})),t.each(Ch)}function Ch(e){Object(l["k"])(e,(function(t,r){var n=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var d,h,f=a.get(t.stackedDimension,c);if(isNaN(f))return i;s?h=a.getRawIndex(c):d=a.get(t.stackedByDimension,c);for(var p=NaN,m=r-1;m>=0;m--){var g=e[m];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,d)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=Wn(f,v),p=v;break}}}return n[0]=f,n[1]=p,n}))}))}var Th,Oh,Lh,Ah,Dh,Eh=function(){function e(e){this.data=e.data||(e.sourceFormat===id?{}:[]),this.sourceFormat=e.sourceFormat||ad,this.seriesLayoutBy=e.seriesLayoutBy||sd,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var r=0;r<t.length;r++){var n=t[r];null==n.type&&gd(this,r)===ud.Must&&(n.type="ordinal")}}return e}();function Ih(e){return e instanceof Eh}function jh(e,t,r){r=r||Nh(e);var n=t.seriesLayoutBy,i=Bh(e,r,n,t.sourceHeader,t.dimensions),o=new Eh({data:e,sourceFormat:r,seriesLayoutBy:n,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Object(l["d"])(t)});return o}function Ph(e){return new Eh({data:e,sourceFormat:Object(l["E"])(e)?od:td})}function Rh(e){return new Eh({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:Object(l["d"])(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function Nh(e){var t=ad;if(Object(l["E"])(e))t=od;else if(Object(l["t"])(e)){0===e.length&&(t=rd);for(var r=0,n=e.length;r<n;r++){var i=e[r];if(null!=i){if(Object(l["t"])(i)||Object(l["E"])(i)){t=rd;break}if(Object(l["A"])(i)){t=nd;break}}}}else if(Object(l["A"])(e))for(var o in e)if(Object(l["q"])(e,o)&&Object(l["u"])(e[o])){t=id;break}return t}function Bh(e,t,r,n,i){var o,a;if(!e)return{dimensionsDefine:Fh(i),startIndex:a,dimensionsDetectedCount:o};if(t===rd){var s=e;"auto"===n||null==n?zh((function(e){null!=e&&"-"!==e&&(Object(l["C"])(e)?null==a&&(a=1):a=0)}),r,s,10):a=Object(l["z"])(n)?n:n?1:0,i||1!==a||(i=[],zh((function(e,t){i[t]=null!=e?e+"":""}),r,s,1/0)),o=i?i.length:r===ld?s.length:s[0]?s[0].length:null}else if(t===nd)i||(i=Yh(e));else if(t===id)i||(i=[],Object(l["k"])(e,(function(e,t){i.push(t)})));else if(t===td){var u=fi(e[0]);o=Object(l["t"])(u)&&u.length||1}return{startIndex:a,dimensionsDefine:Fh(i),dimensionsDetectedCount:o}}function Yh(e){var t,r=0;while(r<e.length&&!(t=e[r++]));if(t)return Object(l["F"])(t)}function Fh(e){if(e){var t=Object(l["f"])();return Object(l["H"])(e,(function(e,r){e=Object(l["A"])(e)?e:{name:e};var n={name:e.name,displayName:e.displayName,type:e.type};if(null==n.name)return n;n.name+="",null==n.displayName&&(n.displayName=n.name);var i=t.get(n.name);return i?n.name+="-"+i.count++:t.set(n.name,{count:1}),n}))}}function zh(e,t,r,n){if(t===ld)for(var i=0;i<r.length&&i<n;i++)e(r[i]?r[i][0]:null,i);else{var o=r[0]||[];for(i=0;i<o.length&&i<n;i++)e(o[i],i)}}function Hh(e){var t=e.sourceFormat;return t===nd||t===id}var Vh=function(){function e(e,t){var r=Ih(e)?e:Ph(e);this._source=r;var n=this._data=r.data;r.sourceFormat===od&&(this._offset=0,this._dimSize=t,this._data=n),Dh(this,n,r)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;Dh=function(e,i,o){var a=o.sourceFormat,s=o.seriesLayoutBy,u=o.startIndex,c=o.dimensionsDefine,d=Ah[Qh(a,s)];if(Object(l["m"])(e,d),a===od)e.getItem=t,e.count=n,e.fillStorage=r;else{var h=$h(a,s);e.getItem=Object(l["c"])(h,null,i,u,c);var f=Xh(a,s);e.count=Object(l["c"])(f,null,i,u,c)}};var t=function(e,t){e-=this._offset,t=t||[];for(var r=this._data,n=this._dimSize,i=n*e,o=0;o<n;o++)t[o]=r[i+o];return t},r=function(e,t,r,n){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=n[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=t-e,d=r[a],h=0;h<c;h++){var f=i[h*o+a];d[e+h]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},n=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}e={},e[rd+"_"+sd]={pure:!0,appendData:i},e[rd+"_"+ld]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[nd]={pure:!0,appendData:i},e[id]={pure:!0,appendData:function(e){var t=this._data;Object(l["k"])(e,(function(e,r){for(var n=t[r]||(t[r]=[]),i=0;i<(e||[]).length;i++)n.push(e[i])}))}},e[td]={appendData:i},e[od]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},Ah=e}(),e}(),Uh=function(e,t,r,n){return e[n]},Wh=(Th={},Th[rd+"_"+sd]=function(e,t,r,n){return e[n+t]},Th[rd+"_"+ld]=function(e,t,r,n,i){n+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[n]:null}return o},Th[nd]=Uh,Th[id]=function(e,t,r,n,i){for(var o=i||[],a=0;a<r.length;a++){var s=r[a].name;0;var l=e[s];o[a]=l?l[n]:null}return o},Th[td]=Uh,Th);function $h(e,t){var r=Wh[Qh(e,t)];return r}var Gh=function(e,t,r){return e.length},qh=(Oh={},Oh[rd+"_"+sd]=function(e,t,r){return Math.max(0,e.length-t)},Oh[rd+"_"+ld]=function(e,t,r){var n=e[0];return n?Math.max(0,n.length-t):0},Oh[nd]=Gh,Oh[id]=function(e,t,r){var n=r[0].name;var i=e[n];return i?i.length:0},Oh[td]=Gh,Oh);function Xh(e,t){var r=qh[Qh(e,t)];return r}var Kh=function(e,t,r){return e[t]},Zh=(Lh={},Lh[rd]=Kh,Lh[nd]=function(e,t,r){return e[r]},Lh[id]=Kh,Lh[td]=function(e,t,r){var n=fi(e);return n instanceof Array?n[t]:n},Lh[od]=Kh,Lh);function Jh(e){var t=Zh[e];return t}function Qh(e,t){return e===rd?e+"_"+t:e}function ef(e,t,r){if(e){var n=e.getRawDataItem(t);if(null!=n){var i=e.getStore(),o=i.getSource().sourceFormat;if(null!=r){var a=e.getDimensionIndex(r),s=i.getDimensionProperty(a);return Jh(o)(n,a,s)}var l=n;return o===td&&(l=fi(n)),l}}}var tf=/\{@(.+?)\}/g,rf=function(){function e(){}return e.prototype.getDataParams=function(e,t){var r=this.getData(t),n=this.getRawValue(e,t),i=r.getRawIndex(e),o=r.getName(e),a=r.getRawDataItem(e),s=r.getItemVisual(e,"style"),l=s&&s[r.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,h=r.userOutput&&r.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:o,dataIndex:i,data:a,dataType:t,value:n,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,r,n,i,o){t=t||"normal";var a=this.getData(r),s=this.getDataParams(e,r);if(o&&(s.value=o.interpolatedValue),null!=n&&l["t"](s.value)&&(s.value=s.value[n]),!i){var u=a.getItemModel(e);i=u.get("normal"===t?["label","formatter"]:[t,"label","formatter"])}if(l["w"](i))return s.status=t,s.dimensionIndex=n,i(s);if(l["C"](i)){var c=Lc(i,s);return c.replace(tf,(function(t,r){var n=r.length,i=r;"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1));var s=ef(a,e,i);if(o&&l["t"](o.interpolatedValue)){var u=a.getDimensionIndex(i);u>=0&&(s=o.interpolatedValue[u])}return null!=s?s+"":""}))}},e.prototype.getRawValue=function(e,t){return ef(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,r){},e}();function nf(e){var t,r;return l["A"](e)?e.type&&(r=e):t=e,{text:t,frag:r}}function of(e){return new af(e)}var af=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,r=this._upstream,n=e&&e.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(t=this._plan(this.context));var o,a=d(this._modBy),s=this._modDataCount||0,u=d(e&&e.modBy),c=e&&e.modDataCount||0;function d(e){return!(e>=1)&&(e=1),e}a===u&&s===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(n)),this._modBy=u,this._modDataCount=c;var h=e&&e.step;if(this._dueEnd=r?r._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(o||f<p)){var m=this._progress;if(Object(l["t"])(m))for(var g=0;g<m.length;g++)this._doProgress(m[g],f,p,u,c);else this._doProgress(m,f,p,u,c)}this._dueIndex=p;var v=null!=this._settedOutputEnd?this._settedOutputEnd:p;0,this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(e,t,r,n,i){sf.reset(t,r,n,i),this._callingProgress=e,this._callingProgress({start:t,end:r,count:r-t,next:sf.next},this.context)},e.prototype._doReset=function(e){var t,r;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(r=t.forceFirstProgress,t=t.progress),Object(l["t"])(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),r},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},e}(),sf=function(){var e,t,r,n,i,o={reset:function(l,u,c,d){t=l,e=u,r=c,n=d,i=Math.ceil(n/r),o.next=r>1&&n>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*r+Math.ceil(t/i),a=t>=e?null:o<n?o:t;return t++,a}}();function lf(e,t){var r=t&&t.type;return"ordinal"===r?e:("time"!==r||Object(l["z"])(e)||null==e||"-"===e||(e=+Kn(e)),null==e||""===e?NaN:+e)}var uf=Object(l["f"])({number:function(e){return parseFloat(e)},time:function(e){return+Kn(e)},trim:function(e){return Object(l["C"])(e)?Object(l["T"])(e):e}});function cf(e){return uf.get(e)}var df={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},hf=function(){function e(e,t){if(!Object(l["z"])(t)){var r="";0,Ed(r)}this._opFn=df[e],this._rvalFloat=ri(t)}return e.prototype.evaluate=function(e){return Object(l["z"])(e)?this._opFn(e,this._rvalFloat):this._opFn(ri(e),this._rvalFloat)},e}(),ff=function(){function e(e,t){var r="desc"===e;this._resultLT=r?1:-1,null==t&&(t=r?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var r=Object(l["z"])(e)?e:ri(e),n=Object(l["z"])(t)?t:ri(t),i=isNaN(r),o=isNaN(n);if(i&&(r=this._incomparable),o&&(n=this._incomparable),i&&o){var a=Object(l["C"])(e),s=Object(l["C"])(t);a&&(r=s?e:0),s&&(n=a?t:0)}return r<n?this._resultLT:r>n?-this._resultLT:0},e}(),pf=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=ri(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var r=typeof e;r===this._rvalTypeof||"number"!==r&&"number"!==this._rvalTypeof||(t=ri(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function mf(e,t){return"eq"===e||"ne"===e?new pf("eq"===e,t):Object(l["q"])(df,e)?new hf(e,t):null}var gf=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return lf(e,t)},e}();function vf(e,t){var r=new gf,n=e.data,i=r.sourceFormat=e.sourceFormat,o=e.startIndex,a="";e.seriesLayoutBy!==sd&&Ed(a);var s=[],u={},c=e.dimensionsDefine;if(c)Object(l["k"])(c,(function(e,t){var r=e.name,n={index:t,name:r,displayName:e.displayName};if(s.push(n),null!=r){var i="";Object(l["q"])(u,r)&&Ed(i),u[r]=n}}));else for(var d=0;d<e.dimensionsDetectedCount;d++)s.push({index:d});var h=$h(i,sd);t.__isBuiltIn&&(r.getRawDataItem=function(e){return h(n,o,s,e)},r.getRawData=Object(l["c"])(yf,null,e)),r.cloneRawData=Object(l["c"])(bf,null,e);var f=Xh(i,sd);r.count=Object(l["c"])(f,null,n,o,s);var p=Jh(i);r.retrieveValue=function(e,t){var r=h(n,o,s,e);return m(r,t)};var m=r.retrieveValueFromItem=function(e,t){if(null!=e){var r=s[t];return r?p(e,t,r.name):void 0}};return r.getDimensionInfo=Object(l["c"])(_f,null,s,u),r.cloneAllDimensionInfo=Object(l["c"])(wf,null,s),r}function yf(e){var t=e.sourceFormat;if(!Cf(t)){var r="";0,Ed(r)}return e.data}function bf(e){var t=e.sourceFormat,r=e.data;if(!Cf(t)){var n="";0,Ed(n)}if(t===rd){for(var i=[],o=0,a=r.length;o<a;o++)i.push(r[o].slice());return i}if(t===nd){for(i=[],o=0,a=r.length;o<a;o++)i.push(Object(l["m"])({},r[o]));return i}}function _f(e,t,r){if(null!=r)return Object(l["z"])(r)||!isNaN(r)&&!Object(l["q"])(t,r)?e[r]:Object(l["q"])(t,r)?t[r]:void 0}function wf(e){return Object(l["d"])(e)}var xf=Object(l["f"])();function kf(e){e=Object(l["d"])(e);var t=e.type,r="";t||Ed(r);var n=t.split(":");2!==n.length&&Ed(r);var i=!1;"echarts"===n[0]&&(t=n[1],i=!0),e.__isBuiltIn=i,xf.set(t,e)}function Sf(e,t,r){var n=ci(e),i=n.length,o="";i||Ed(o);for(var a=0,s=i;a<s;a++){var l=n[a];t=Mf(l,t,r,1===i?null:a),a!==s-1&&(t.length=Math.max(t.length,1))}return t}function Mf(e,t,r,n){var i="";t.length||Ed(i),Object(l["A"])(e)||Ed(i);var o=e.type,a=xf.get(o);a||Ed(i);var s=Object(l["H"])(t,(function(e){return vf(e,a)})),u=ci(a.transform({upstream:s[0],upstreamList:s,config:Object(l["d"])(e.config)}));return Object(l["H"])(u,(function(e,r){var n="";Object(l["A"])(e)||Ed(n),e.data||Ed(n);var i,o=Nh(e.data);Cf(o)||Ed(n);var a=t[0];if(a&&0===r&&!e.dimensions){var s=a.startIndex;s&&(e.data=a.data.slice(0,s).concat(e.data)),i={seriesLayoutBy:sd,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:sd,sourceHeader:0,dimensions:e.dimensions};return jh(e.data,i,null)}))}function Cf(e){return e===rd||e===nd}var Tf,Of="undefined",Lf=typeof Uint32Array===Of?Array:Uint32Array,Af=typeof Uint16Array===Of?Array:Uint16Array,Df=typeof Int32Array===Of?Array:Int32Array,Ef=typeof Float64Array===Of?Array:Float64Array,If={float:Ef,int:Df,ordinal:Array,number:Array,time:Ef};function jf(e){return e>65535?Lf:Af}function Pf(){return[1/0,-1/0]}function Rf(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function Nf(e,t,r,n,i){var o=If[r||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==n){for(var l=new o(n),u=0;u<s;u++)l[u]=a[u];e[t]=l}}else e[t]=new o(n)}var Bf=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(l["f"])()}return e.prototype.initData=function(e,t,r){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=e.getSource(),i=this.defaultDimValueGetter=Tf[n.sourceFormat];this._dimValueGetter=r||i,this._rawExtent=[];Hh(n);this._dimensions=Object(l["H"])(t,(function(e){return{type:e.type,property:e.property}})),this._initDataFromProvider(0,e.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(e,t){var r=this._calcDimNameToIdx,n=this._dimensions,i=r.get(e);if(null!=i){if(n[i].type===t)return i}else i=n.length;return n[i]={type:t},r.set(e,i),this._chunks[i]=new If[t||"float"](this._rawCount),this._rawExtent[i]=Pf(),i},e.prototype.collectOrdinalMeta=function(e,t){var r=this._chunks[e],n=this._dimensions[e],i=this._rawExtent,o=n.ordinalOffset||0,a=r.length;0===o&&(i[e]=Pf());for(var s=i[e],l=o;l<a;l++){var u=r[l]=t.parseAndCollect(r[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=t,n.ordinalOffset=a,n.type="ordinal"},e.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],r=t.ordinalMeta;return r},e.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},e.prototype.appendData=function(e){var t=this._provider,r=this.count();t.appendData(e);var n=t.count();return t.persistent||(n+=r),r<n&&this._initDataFromProvider(r,n,!0),[r,n]},e.prototype.appendValues=function(e,t){for(var r=this._chunks,n=this._dimensions,i=n.length,o=this._rawExtent,a=this.count(),s=a+Math.max(e.length,t||0),l=0;l<i;l++){var u=n[l];Nf(r,l,u.type,s,!0)}for(var c=[],d=a;d<s;d++)for(var h=d-a,f=0;f<i;f++){u=n[f];var p=Tf.arrayRows.call(this,e[h]||c,u.property,h,f);r[f][d]=p;var m=o[f];p<m[0]&&(m[0]=p),p>m[1]&&(m[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},e.prototype._initDataFromProvider=function(e,t,r){for(var n=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,u=Object(l["H"])(o,(function(e){return e.property})),c=0;c<a;c++){var d=o[c];s[c]||(s[c]=Pf()),Nf(i,c,d.type,t,r)}if(n.fillStorage)n.fillStorage(e,t,i,s);else for(var h=[],f=e;f<t;f++){h=n.getItem(f,h);for(var p=0;p<a;p++){var m=i[p],g=this._dimValueGetter(h,u[p],f,p);m[f]=g;var v=s[p];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var r=this._chunks[e];return r?r[this.getRawIndex(t)]:NaN},e.prototype.getValues=function(e,t){var r=[],n=[];if(null==t){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=e;i=0;for(var o=n.length;i<o;i++)r.push(this.get(n[i],t));return r},e.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var r=this._chunks[e];return r?r[t]:NaN},e.prototype.getSum=function(e){var t=this._chunks[e],r=0;if(t)for(var n=0,i=this.count();n<i;n++){var o=this.get(e,n);isNaN(o)||(r+=o)}return r},e.prototype.getMedian=function(e){var t=[];this.each([e],(function(e){isNaN(e)||t.push(e)}));var r=t.sort((function(e,t){return e-t})),n=this.count();return 0===n?0:n%2===1?r[(n-1)/2]:(r[n/2]+r[n/2-1])/2},e.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,r=t[e];if(null!=r&&r<this._count&&r===e)return e;var n=0,i=this._count-1;while(n<=i){var o=(n+i)/2|0;if(t[o]<e)n=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,r){var n=this._chunks,i=n[e],o=[];if(!i)return o;null==r&&(r=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var d=this.getRawIndex(u),h=t-i[d],f=Math.abs(h);f<=r&&((f<a||f===a&&h>=0&&s<0)&&(a=f,s=h,l=0),h===s&&(o[l++]=u))}return o.length=l,o},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var r=t.constructor,n=this._count;if(r===Array){e=new r(n);for(var i=0;i<n;i++)e[i]=t[i]}else e=new r(t.buffer,0,n)}else{r=jf(this._rawCount);e=new r(this.count());for(i=0;i<e.length;i++)e[i]=i}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var r=this.clone(),n=r.count(),i=jf(r._rawCount),o=new i(n),a=[],s=e.length,l=0,u=e[0],c=r._chunks,d=0;d<n;d++){var h=void 0,f=r.getRawIndex(d);if(0===s)h=t(d);else if(1===s){var p=c[u][f];h=t(p,d)}else{for(var m=0;m<s;m++)a[m]=c[e[m]][f];a[m]=d,h=t.apply(null,a)}h&&(o[l++]=f)}return l<n&&(r._indices=o),r._count=l,r._extent=[],r._updateGetRawIdx(),r},e.prototype.selectRange=function(e){var t=this.clone(),r=t._count;if(!r)return this;var n=Object(l["F"])(e),i=n.length;if(!i)return this;var o=t.count(),a=jf(t._rawCount),s=new a(o),u=0,c=n[0],d=e[c][0],h=e[c][1],f=t._chunks,p=!1;if(!t._indices){var m=0;if(1===i){for(var g=f[n[0]],v=0;v<r;v++){var y=g[v];(y>=d&&y<=h||isNaN(y))&&(s[u++]=m),m++}p=!0}else if(2===i){g=f[n[0]];var b=f[n[1]],_=e[n[1]][0],w=e[n[1]][1];for(v=0;v<r;v++){y=g[v];var x=b[v];(y>=d&&y<=h||isNaN(y))&&(x>=_&&x<=w||isNaN(x))&&(s[u++]=m),m++}p=!0}}if(!p)if(1===i)for(v=0;v<o;v++){var k=t.getRawIndex(v);y=f[n[0]][k];(y>=d&&y<=h||isNaN(y))&&(s[u++]=k)}else for(v=0;v<o;v++){for(var S=!0,M=(k=t.getRawIndex(v),0);M<i;M++){var C=n[M];y=f[C][k];(y<e[C][0]||y>e[C][1])&&(S=!1)}S&&(s[u++]=t.getRawIndex(v))}return u<o&&(t._indices=s),t._count=u,t._extent=[],t._updateGetRawIdx(),t},e.prototype.map=function(e,t){var r=this.clone(e);return this._updateDims(r,e,t),r},e.prototype.modify=function(e,t){this._updateDims(this,e,t)},e.prototype._updateDims=function(e,t,r){for(var n=e._chunks,i=[],o=t.length,a=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=Pf();for(var c=0;c<a;c++){for(var d=e.getRawIndex(c),h=0;h<o;h++)s[h]=n[t[h]][d];s[o]=c;var f=r&&r.apply(null,s);if(null!=f){"object"!==typeof f&&(i[0]=f,f=i);for(u=0;u<f.length;u++){var p=t[u],m=f[u],g=l[p],v=n[p];v&&(v[d]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var r,n,i,o=this.clone([e],!0),a=o._chunks,s=a[e],l=this.count(),u=0,c=Math.floor(1/t),d=this.getRawIndex(0),h=new(jf(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));h[u++]=d;for(var f=1;f<l-1;f+=c){for(var p=Math.min(f+c,l-1),m=Math.min(f+2*c,l),g=(m+p)/2,v=0,y=p;y<m;y++){var b=this.getRawIndex(y),_=s[b];isNaN(_)||(v+=_)}v/=m-p;var w=f,x=Math.min(f+c,l),k=f-1,S=s[d];r=-1,i=w;var M=-1,C=0;for(y=w;y<x;y++){b=this.getRawIndex(y),_=s[b];isNaN(_)?(C++,M<0&&(M=b)):(n=Math.abs((k-g)*(_-S)-(k-y)*(v-S)),n>r&&(r=n,i=b))}C>0&&C<x-w&&(h[u++]=Math.min(M,i),i=Math.max(M,i)),h[u++]=i,d=i}return h[u++]=this.getRawIndex(l-1),o._count=u,o._indices=h,o.getRawIndex=this._getRawIdx,o},e.prototype.downSample=function(e,t,r,n){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=i._rawExtent[e]=Pf(),d=new(jf(this._rawCount))(Math.ceil(u/s)),h=0,f=0;f<u;f+=s){s>u-f&&(s=u-f,a.length=s);for(var p=0;p<s;p++){var m=this.getRawIndex(f+p);a[p]=l[m]}var g=r(a),v=this.getRawIndex(Math.min(f+n(a,g)||0,u-1));l[v]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),d[h++]=v}return i._count=h,i._indices=d,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var r=e.length,n=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(r){case 0:t(i);break;case 1:t(n[e[0]][a],i);break;case 2:t(n[e[0]][a],n[e[1]][a],i);break;default:for(var s=0,l=[];s<r;s++)l[s]=n[e[s]][a];l[s]=i,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],r=Pf();if(!t)return r;var n,i=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(n=this._extent[e],n)return n.slice();n=r;for(var a=n[0],s=n[1],l=0;l<i;l++){var u=this.getRawIndex(l),c=t[u];c<a&&(a=c),c>s&&(s=c)}return n=[a,s],this._extent[e]=n,n},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var r=[],n=this._chunks,i=0;i<n.length;i++)r.push(n[i][t]);return r},e.prototype.clone=function(t,r){var n=new e,i=this._chunks,o=t&&Object(l["N"])(t,(function(e,t){return e[t]=!0,e}),{});if(o)for(var a=0;a<i.length;a++)n._chunks[a]=o[a]?Rf(i[a]):i[a];else n._chunks=i;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Object(l["d"])(this._extent),e._rawExtent=Object(l["d"])(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var r=this._indices.length;t=new e(r);for(var n=0;n<r;n++)t[n]=this._indices[n]}else t=new e(this._indices);return t}return null},e.prototype._getRawIdxIdentity=function(e){return e},e.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,r,n){return lf(e[n],this._dimensions[n])}Tf={arrayRows:e,objectRows:function(e,t,r,n){return lf(e[t],this._dimensions[n])},keyedColumns:e,original:function(e,t,r,n){var i=e&&(null==e.value?e:e.value);return lf(i instanceof Array?i[n]:i,this._dimensions[n])},typedArray:function(e,t,r,n){return e[n]}}}(),e}(),Yf=Bf,Ff=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,r=this._sourceHost,n=this._getUpstreamSourceManagers(),i=!!n.length;if(Hf(r)){var o=r,a=void 0,s=void 0,u=void 0;if(i){var c=n[0];c.prepareSource(),u=c.getSource(),a=u.data,s=u.sourceFormat,t=[c._getVersionSign()]}else a=o.get("data",!0),s=Object(l["E"])(a)?od:td,t=[];var d=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},f=Object(l["P"])(d.seriesLayoutBy,h.seriesLayoutBy)||null,p=Object(l["P"])(d.sourceHeader,h.sourceHeader),m=Object(l["P"])(d.dimensions,h.dimensions),g=f!==h.seriesLayoutBy||!!p!==!!h.sourceHeader||m;e=g?[jh(a,{seriesLayoutBy:f,sourceHeader:p,dimensions:m},s)]:[]}else{var v=r;if(i){var y=this._applyTransform(n);e=y.sourceList,t=y.upstreamSignList}else{var b=v.get("source",!0);e=[jh(b,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(null!=i){var o="";1!==e.length&&Vf(o)}var a=[],s=[];return Object(l["k"])(e,(function(e){e.prepareSource();var t=e.getSource(i||0),r="";null==i||t||Vf(r),a.push(t),s.push(e._getVersionSign())})),n?t=Sf(n,a,{datasetIndex:r.componentIndex}):null!=i&&(t=[Rh(a[0])]),{sourceList:t,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var r=e[t];if(r._isDirty()||this._upstreamSignList[t]!==r._getVersionSign())return!0}},e.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(e)}return t},e.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},e.prototype._innerGetDataStore=function(e,t,r){var n=0,i=this._storeList,o=i[n];o||(o=i[n]={});var a=o[r];if(!a){var s=this._getUpstreamSourceManagers()[0];Hf(this._sourceHost)&&s?a=s._innerGetDataStore(e,t,r):(a=new Yf,a.initData(new Vh(t,e.length),e)),o[r]=a}return a},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Hf(e)){var t=pd(e);return t?[t.getSourceManager()]:[]}return Object(l["H"])(md(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,r,n=this._sourceHost;if(Hf(n))e=n.get("seriesLayoutBy",!0),t=n.get("sourceHeader",!0),r=n.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=n;e=i.get("seriesLayoutBy",!0),t=i.get("sourceHeader",!0),r=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:r}},e}();function zf(e){var t=e.option.transform;t&&Object(l["R"])(e.option.transform)}function Hf(e){return"series"===e.mainType}function Vf(e){throw new Error(e)}var Uf="line-height:1";function Wf(e,t){var r=e.color||"#6e7079",n=e.fontSize||12,i=e.fontWeight||"400",o=e.color||"#464646",a=e.fontSize||14,s=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+W(n+"")+"px;color:"+W(r)+";font-weight:"+W(i+""),valueStyle:"font-size:"+W(a+"")+"px;color:"+W(o)+";font-weight:"+W(s+"")}:{nameStyle:{fontSize:n,fill:r,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var $f=[0,10,20,30],Gf=["","\n","\n\n","\n\n\n"];function qf(e,t){return t.type=e,t}function Xf(e){return"section"===e.type}function Kf(e){return Xf(e)?Jf:Qf}function Zf(e){if(Xf(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return Object(l["k"])(e.blocks,(function(e){var r=Zf(e);r>=t&&(t=r+ +(n&&(!r||Xf(e)&&!e.noHeader)))})),t}return 0}function Jf(e,t,r,n){var i=t.noHeader,o=tp(Zf(t)),a=[],s=t.blocks||[];Object(l["b"])(!s||Object(l["t"])(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Object(l["q"])(c,u)){var d=new ff(c[u],null);s.sort((function(e,t){return d.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===u&&s.reverse()}Object(l["k"])(s,(function(r,i){var s=t.valueFormatter,u=Kf(r)(s?Object(l["m"])(Object(l["m"])({},e),{valueFormatter:s}):e,r,i>0?o.html:0,n);null!=u&&a.push(u)}));var h="richText"===e.renderMode?a.join(o.richText):rp(a.join(""),i?r:o.html);if(i)return h;var f=Cc(t.header,"ordinal",e.useUTC),p=Wf(n,e.renderMode).nameStyle;return"richText"===e.renderMode?op(e,f,p)+o.richText+h:rp('<div style="'+p+";"+Uf+';">'+W(f)+"</div>"+h,r)}function Qf(e,t,r,n){var i=e.renderMode,o=t.noName,a=t.noValue,s=!t.markerType,u=t.name,c=e.useUTC,d=t.valueFormatter||e.valueFormatter||function(e){return e=Object(l["t"])(e)?e:[e],Object(l["H"])(e,(function(e,t){return Cc(e,Object(l["t"])(p)?p[t]:p,c)}))};if(!o||!a){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),f=o?"":Cc(u,"ordinal",c),p=t.valueType,m=a?[]:d(t.value,t.dataIndex),g=!s||!o,v=!s&&o,y=Wf(n,i),b=y.nameStyle,_=y.valueStyle;return"richText"===i?(s?"":h)+(o?"":op(e,f,b))+(a?"":ap(e,m,g,v,_)):rp((s?"":h)+(o?"":np(f,!s,b))+(a?"":ip(m,g,v,_)),r)}}function ep(e,t,r,n,i,o){if(e){var a=Kf(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(s,e,0,o)}}function tp(e){return{html:$f[e],richText:Gf[e]}}function rp(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+Uf+';">'+e+r+"</div>"}function np(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+W(e)+"</span>"}function ip(e,t,r,n){var i=r?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return e=Object(l["t"])(e)?e:[e],'<span style="'+o+";"+n+'">'+Object(l["H"])(e,(function(e){return W(e)})).join(" ")+"</span>"}function op(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function ap(e,t,r,n,i){var o=[i],a=n?10:20;return r&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(l["t"])(t)?t.join(" "):t,o)}function sp(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return Ec(n)}function lp(e,t){var r=e.get("padding");return null!=r?r:"richText"===t?[8,10]:10}var up=function(){function e(){this.richTextStyles={},this._nextStyleNameId=ii()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,r){var n="richText"===r?this._generateStyleName():null,i=Dc({color:t,type:e,renderMode:r,markerId:n});return Object(l["C"])(i)?i:(this.richTextStyles[n]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(e,t){var r={};Object(l["t"])(t)?Object(l["k"])(t,(function(e){return Object(l["m"])(r,e)})):Object(l["m"])(r,t);var n=this._generateStyleName();return this.richTextStyles[n]=r,"{"+n+"|"+e+"}"},e}();function cp(e){var t,r,n,i,o=e.series,a=e.dataIndex,s=e.multipleSeries,u=o.getData(),c=u.mapDimensionsAll("defaultedTooltip"),d=c.length,h=o.getRawValue(a),f=Object(l["t"])(h),p=sp(o,a);if(d>1||f&&!d){var m=dp(h,o,a,c,p);t=m.inlineValues,r=m.inlineValueTypes,n=m.blocks,i=m.inlineValues[0]}else if(d){var g=u.getDimensionInfo(c[0]);i=t=ef(u,a,c[0]),r=g.type}else i=t=f?h[0]:h;var v=Mi(o),y=v&&o.name||"",b=u.getName(a),_=s?y:b;return qf("section",{header:y,noHeader:s||!v,sortParam:i,blocks:[qf("nameValue",{markerType:"item",markerColor:p,name:_,noName:!Object(l["T"])(_),value:t,valueType:r,dataIndex:a})].concat(n||[])})}function dp(e,t,r,n,i){var o=t.getData(),a=Object(l["N"])(e,(function(e,t,r){var n=o.getDimensionInfo(r);return e||n&&!1!==n.tooltip&&null!=n.displayName}),!1),s=[],u=[],c=[];function d(e,t){var r=o.getDimensionInfo(t);r&&!1!==r.otherDims.tooltip&&(a?c.push(qf("nameValue",{markerType:"subItem",markerColor:i,name:r.displayName,value:e,valueType:r.type})):(s.push(e),u.push(r.type)))}return n.length?Object(l["k"])(n,(function(e){d(ef(o,r,e),e)})):Object(l["k"])(e,d),{inlineValues:s,inlineValueTypes:u,blocks:c}}var hp=Ei();function fp(e,t){return e.getName(t)||e.getId(t)}var pp="__universalTransitionEnabled",mp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return a(t,e),t.prototype.init=function(e,t,r){this.seriesIndex=this.componentIndex,this.dataTask=of({count:yp,reset:bp}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,r);var n=hp(this).sourceManager=new Ff(this);n.prepareSource();var i=this.getInitialData(e,r);wp(i,this),this.dataTask.context.data=i,hp(this).dataBeforeProcessed=i,gp(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(e,t){var r=Vc(this),n=r?Wc(e):{},i=this.subType;Kc.hasClass(i)&&(i+="Series"),l["I"](e,t.getTheme().get(this.subType)),l["I"](e,this.getDefaultOption()),di(e,"label",["show"]),this.fillDataTextStyle(e.data),r&&Uc(e,n,r)},t.prototype.mergeOption=function(e,t){e=l["I"](this.option,e,!0),this.fillDataTextStyle(e.data);var r=Vc(this);r&&Uc(this.option,e,r);var n=hp(this).sourceManager;n.dirty(),n.prepareSource();var i=this.getInitialData(e,t);wp(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,hp(this).dataBeforeProcessed=i,gp(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!l["E"](e))for(var t=["show"],r=0;r<e.length;r++)e[r]&&e[r].label&&di(e[r],"label",t)},t.prototype.getInitialData=function(e,t){},t.prototype.appendData=function(e){var t=this.getRawData();t.appendData(e.data)},t.prototype.getData=function(e){var t=kp(this);if(t){var r=t.context.data;return null==e?r:r.getLinkedData(e)}return hp(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var t=kp(this);if(t){var r=t.context;r.outputData=e,t!==this.dataTask&&(r.data=e)}hp(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return l["f"](e)},t.prototype.getSourceManager=function(){return hp(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return hp(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,t,r){return cp({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(s["a"].node&&(!e||!e.ssr))return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,r){var n=this.ecModel,i=kd.prototype.getColorFromPalette.call(this,e,t,r);return i||(i=n.getColorFromPalette(e,t,r)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var r=this.option.selectedMap;if(r){var n=this.option.selectedMode,i=this.getData(t);if("series"===n||"all"===r)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<e.length;o++){var a=e[o],s=fp(i,a);r[s]=!1,this._selectedDataIndicesMap[s]=-1}}},t.prototype.toggleSelect=function(e,t){for(var r=[],n=0;n<e.length;n++)r[0]=e[n],this.isSelected(e[n],t)?this.unselect(r,t):this.select(r,t)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=l["F"](e),r=[],n=0;n<t.length;n++){var i=e[t[n]];i>=0&&r.push(i)}return r},t.prototype.isSelected=function(e,t){var r=this.option.selectedMap;if(!r)return!1;var n=this.getData(t);return("all"===r||r[fp(n,e)])&&!n.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[pp])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var r,n,i=this.option,o=i.selectedMode,a=t.length;if(o&&a)if("series"===o)i.selectedMap="all";else if("multiple"===o){l["A"](i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,u=0;u<a;u++){var c=t[u],d=fp(e,c);s[d]=!0,this._selectedDataIndicesMap[d]=e.getRawIndex(c)}}else if("single"===o||!0===o){var h=t[a-1];d=fp(e,h);i.selectedMap=(r={},r[d]=!0,r),this._selectedDataIndicesMap=(n={},n[d]=e.getRawIndex(h),n)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(r){var n=e.getRawDataItem(r);n&&n.selected&&t.push(r)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return Kc.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(Kc);function gp(e){var t=e.name;Mi(e)||(e.name=vp(e)||t)}function vp(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return l["k"](r,(function(e){var r=t.getDimensionInfo(e);r.displayName&&n.push(r.displayName)})),n.join(" ")}function yp(e){return e.model.getRawData().count()}function bp(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),_p}function _p(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function wp(e,t){l["k"](l["e"](e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(r){e.wrapMethod(r,l["h"](xp,t))}))}function xp(e,t){var r=kp(e);return r&&r.setOutputEnd((t||this).count()),t}function kp(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(e.uid))}return n}}l["K"](mp,rf),l["K"](mp,kd),Ji(mp,Kc);var Sp=mp,Mp=function(){function e(){this.group=new kn,this.uid=Lu("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,r,n){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,r,n){},e.prototype.updateLayout=function(e,t,r,n){},e.prototype.updateVisual=function(e,t,r,n){},e.prototype.toggleBlurSeries=function(e,t,r){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();Ki(Mp),no(Mp);var Cp=Mp;function Tp(){var e=Ei();return function(t){var r=e(t),n=t.pipelineContext,i=!!r.large,o=!!r.progressiveRender,a=r.large=!(!n||!n.large),s=r.progressiveRender=!(!n||!n.progressiveRender);return!(i===a&&o===s)&&"reset"}}var Op=ba.CMD,Lp=[[],[],[]],Ap=Math.sqrt,Dp=Math.atan2;function Ep(e,t){if(t){var r,n,i,o,a,s,l=e.data,u=e.len(),c=Op.M,d=Op.C,h=Op.L,f=Op.R,p=Op.A,m=Op.Q;for(i=0,o=0;i<u;){switch(r=l[i++],o=i,n=0,r){case c:n=1;break;case h:n=1;break;case d:n=3;break;case m:n=2;break;case p:var g=t[4],v=t[5],y=Ap(t[0]*t[0]+t[1]*t[1]),b=Ap(t[2]*t[2]+t[3]*t[3]),_=Dp(-t[1]/b,t[0]/y);l[i]*=y,l[i++]+=g,l[i]*=b,l[i++]+=v,l[i++]*=y,l[i++]*=b,l[i++]+=_,l[i++]+=_,i+=2,o=i;break;case f:s[0]=l[i++],s[1]=l[i++],M(s,s,t),l[o++]=s[0],l[o++]=s[1],s[0]+=l[i++],s[1]+=l[i++],M(s,s,t),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<n;a++){var w=Lp[a];w[0]=l[i++],w[1]=l[i++],M(w,w,t),l[o++]=w[0],l[o++]=w[1]}}e.increaseVersion()}}var Ip=Math.sqrt,jp=Math.sin,Pp=Math.cos,Rp=Math.PI;function Np(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Bp(e,t){return(e[0]*t[0]+e[1]*t[1])/(Np(e)*Np(t))}function Yp(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Bp(e,t))}function Fp(e,t,r,n,i,o,a,s,l,u,c){var d=l*(Rp/180),h=Pp(d)*(e-r)/2+jp(d)*(t-n)/2,f=-1*jp(d)*(e-r)/2+Pp(d)*(t-n)/2,p=h*h/(a*a)+f*f/(s*s);p>1&&(a*=Ip(p),s*=Ip(p));var m=(i===o?-1:1)*Ip((a*a*(s*s)-a*a*(f*f)-s*s*(h*h))/(a*a*(f*f)+s*s*(h*h)))||0,g=m*a*f/s,v=m*-s*h/a,y=(e+r)/2+Pp(d)*g-jp(d)*v,b=(t+n)/2+jp(d)*g+Pp(d)*v,_=Yp([1,0],[(h-g)/a,(f-v)/s]),w=[(h-g)/a,(f-v)/s],x=[(-1*h-g)/a,(-1*f-v)/s],k=Yp(w,x);if(Bp(w,x)<=-1&&(k=Rp),Bp(w,x)>=1&&(k=0),k<0){var S=Math.round(k/Rp*1e6)/1e6;k=2*Rp+S%2*Rp}c.addData(u,y,b,a,s,_,k,d,o)}var zp=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Hp=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Vp(e){var t=new ba;if(!e)return t;var r,n=0,i=0,o=n,a=i,s=ba.CMD,l=e.match(zp);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],d=c.charAt(0),h=void 0,f=c.match(Hp)||[],p=f.length,m=0;m<p;m++)f[m]=parseFloat(f[m]);var g=0;while(g<p){var v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,k=void 0,S=n,M=i,C=void 0,T=void 0;switch(d){case"l":n+=f[g++],i+=f[g++],h=s.L,t.addData(h,n,i);break;case"L":n=f[g++],i=f[g++],h=s.L,t.addData(h,n,i);break;case"m":n+=f[g++],i+=f[g++],h=s.M,t.addData(h,n,i),o=n,a=i,d="l";break;case"M":n=f[g++],i=f[g++],h=s.M,t.addData(h,n,i),o=n,a=i,d="L";break;case"h":n+=f[g++],h=s.L,t.addData(h,n,i);break;case"H":n=f[g++],h=s.L,t.addData(h,n,i);break;case"v":i+=f[g++],h=s.L,t.addData(h,n,i);break;case"V":i=f[g++],h=s.L,t.addData(h,n,i);break;case"C":h=s.C,t.addData(h,f[g++],f[g++],f[g++],f[g++],f[g++],f[g++]),n=f[g-2],i=f[g-1];break;case"c":h=s.C,t.addData(h,f[g++]+n,f[g++]+i,f[g++]+n,f[g++]+i,f[g++]+n,f[g++]+i),n+=f[g-2],i+=f[g-1];break;case"S":v=n,y=i,C=t.len(),T=t.data,r===s.C&&(v+=n-T[C-4],y+=i-T[C-3]),h=s.C,S=f[g++],M=f[g++],n=f[g++],i=f[g++],t.addData(h,v,y,S,M,n,i);break;case"s":v=n,y=i,C=t.len(),T=t.data,r===s.C&&(v+=n-T[C-4],y+=i-T[C-3]),h=s.C,S=n+f[g++],M=i+f[g++],n+=f[g++],i+=f[g++],t.addData(h,v,y,S,M,n,i);break;case"Q":S=f[g++],M=f[g++],n=f[g++],i=f[g++],h=s.Q,t.addData(h,S,M,n,i);break;case"q":S=f[g++]+n,M=f[g++]+i,n+=f[g++],i+=f[g++],h=s.Q,t.addData(h,S,M,n,i);break;case"T":v=n,y=i,C=t.len(),T=t.data,r===s.Q&&(v+=n-T[C-4],y+=i-T[C-3]),n=f[g++],i=f[g++],h=s.Q,t.addData(h,v,y,n,i);break;case"t":v=n,y=i,C=t.len(),T=t.data,r===s.Q&&(v+=n-T[C-4],y+=i-T[C-3]),n+=f[g++],i+=f[g++],h=s.Q,t.addData(h,v,y,n,i);break;case"A":b=f[g++],_=f[g++],w=f[g++],x=f[g++],k=f[g++],S=n,M=i,n=f[g++],i=f[g++],h=s.A,Fp(S,M,n,i,x,k,b,_,w,h,t);break;case"a":b=f[g++],_=f[g++],w=f[g++],x=f[g++],k=f[g++],S=n,M=i,n+=f[g++],i+=f[g++],h=s.A,Fp(S,M,n,i,x,k,b,_,w,h,t);break}}"z"!==d&&"Z"!==d||(h=s.Z,t.addData(h),n=o,i=a),r=h}return t.toStatic(),t}var Up=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.applyTransform=function(e){},t}(Wa);function Wp(e){return null!=e.setData}function $p(e,t){var r=Vp(e),n=Object(l["m"])({},t);return n.buildPath=function(e){if(Wp(e)){e.setData(r.data);var t=e.getContext();t&&e.rebuildPath(t,1)}else{t=e;r.rebuildPath(t,1)}},n.applyTransform=function(e){Ep(r,e),this.dirtyShape()},n}function Gp(e,t){return new Up($p(e,t))}function qp(e,t){var r=$p(e,t),n=function(e){function t(t){var n=e.call(this,t)||this;return n.applyTransform=r.applyTransform,n.buildPath=r.buildPath,n}return a(t,e),t}(Up);return n}function Xp(e,t){for(var r=[],n=e.length,i=0;i<n;i++){var o=e[i];r.push(o.getUpdatedPathProxy(!0))}var a=new Wa(t);return a.createPathProxy(),a.buildPath=function(e){if(Wp(e)){e.appendPath(r);var t=e.getContext();t&&e.rebuildPath(t,1)}},a}function Kp(e,t){t=t||{};var r=new Wa;return e.shape&&r.setShape(e.shape),r.setStyle(e.style),t.bakeTransform?Ep(r.path,e.getComputedTransform()):t.toLocal?r.setLocalTransform(e.getComputedTransform()):r.copyTransform(e),r.buildPath=e.buildPath,r.applyTransform=r.applyTransform,r.z=e.z,r.z2=e.z2,r.zlevel=e.zlevel,r}var Zp=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),Jp=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new Zp},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}(Wa);Jp.prototype.type="circle";var Qp=Jp,em=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),tm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new em},t.prototype.buildPath=function(e,t){var r=.5522848,n=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*r,l=a*r;e.moveTo(n-o,i),e.bezierCurveTo(n-o,i-l,n-s,i-a,n,i-a),e.bezierCurveTo(n+s,i-a,n+o,i-l,n+o,i),e.bezierCurveTo(n+o,i+l,n+s,i+a,n,i+a),e.bezierCurveTo(n-s,i+a,n-o,i+l,n-o,i),e.closePath()},t}(Wa);tm.prototype.type="ellipse";var rm=tm,nm=Math.PI,im=2*nm,om=Math.sin,am=Math.cos,sm=Math.acos,lm=Math.atan2,um=Math.abs,cm=Math.sqrt,dm=Math.max,hm=Math.min,fm=1e-4;function pm(e,t,r,n,i,o,a,s){var l=r-e,u=n-t,c=a-i,d=s-o,h=d*l-c*u;if(!(h*h<fm))return h=(c*(t-o)-d*(e-i))/h,[e+h*l,t+h*u]}function mm(e,t,r,n,i,o,a){var s=e-r,l=t-n,u=(a?o:-o)/cm(s*s+l*l),c=u*l,d=-u*s,h=e+c,f=t+d,p=r+c,m=n+d,g=(h+p)/2,v=(f+m)/2,y=p-h,b=m-f,_=y*y+b*b,w=i-o,x=h*m-p*f,k=(b<0?-1:1)*cm(dm(0,w*w*_-x*x)),S=(x*b-y*k)/_,M=(-x*y-b*k)/_,C=(x*b+y*k)/_,T=(-x*y+b*k)/_,O=S-g,L=M-v,A=C-g,D=T-v;return O*O+L*L>A*A+D*D&&(S=C,M=T),{cx:S,cy:M,x0:-c,y0:-d,x1:S*(i/w-1),y1:M*(i/w-1)}}function gm(e){var t;if(Object(l["t"])(e)){var r=e.length;if(!r)return e;t=1===r?[e[0],e[0],0,0]:2===r?[e[0],e[0],e[1],e[1]]:3===r?e.concat(e[2]):e}else t=[e,e,e,e];return t}function vm(e,t){var r,n=dm(t.r,0),i=dm(t.r0||0,0),o=n>0,a=i>0;if(o||a){if(o||(n=i,i=0),i>n){var s=n;n=i,i=s}var l=t.startAngle,u=t.endAngle;if(!isNaN(l)&&!isNaN(u)){var c=t.cx,d=t.cy,h=!!t.clockwise,f=um(u-l),p=f>im&&f%im;if(p>fm&&(f=p),n>fm)if(f>im-fm)e.moveTo(c+n*am(l),d+n*om(l)),e.arc(c,d,n,l,u,!h),i>fm&&(e.moveTo(c+i*am(u),d+i*om(u)),e.arc(c,d,i,u,l,h));else{var m=void 0,g=void 0,v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,k=void 0,S=void 0,M=void 0,C=void 0,T=void 0,O=void 0,L=void 0,A=void 0,D=n*am(l),E=n*om(l),I=i*am(u),j=i*om(u),P=f>fm;if(P){var R=t.cornerRadius;R&&(r=gm(R),m=r[0],g=r[1],v=r[2],y=r[3]);var N=um(n-i)/2;if(b=hm(N,v),_=hm(N,y),w=hm(N,m),x=hm(N,g),M=k=dm(b,_),C=S=dm(w,x),(k>fm||S>fm)&&(T=n*am(u),O=n*om(u),L=i*am(l),A=i*om(l),f<nm)){var B=pm(D,E,L,A,T,O,I,j);if(B){var Y=D-B[0],F=E-B[1],z=T-B[0],H=O-B[1],V=1/om(sm((Y*z+F*H)/(cm(Y*Y+F*F)*cm(z*z+H*H)))/2),U=cm(B[0]*B[0]+B[1]*B[1]);M=hm(k,(n-U)/(V+1)),C=hm(S,(i-U)/(V-1))}}}if(P)if(M>fm){var W=hm(v,M),$=hm(y,M),G=mm(L,A,D,E,n,W,h),q=mm(T,O,I,j,n,$,h);e.moveTo(c+G.cx+G.x0,d+G.cy+G.y0),M<k&&W===$?e.arc(c+G.cx,d+G.cy,M,lm(G.y0,G.x0),lm(q.y0,q.x0),!h):(W>0&&e.arc(c+G.cx,d+G.cy,W,lm(G.y0,G.x0),lm(G.y1,G.x1),!h),e.arc(c,d,n,lm(G.cy+G.y1,G.cx+G.x1),lm(q.cy+q.y1,q.cx+q.x1),!h),$>0&&e.arc(c+q.cx,d+q.cy,$,lm(q.y1,q.x1),lm(q.y0,q.x0),!h))}else e.moveTo(c+D,d+E),e.arc(c,d,n,l,u,!h);else e.moveTo(c+D,d+E);if(i>fm&&P)if(C>fm){W=hm(m,C),$=hm(g,C),G=mm(I,j,T,O,i,-$,h),q=mm(D,E,L,A,i,-W,h);e.lineTo(c+G.cx+G.x0,d+G.cy+G.y0),C<S&&W===$?e.arc(c+G.cx,d+G.cy,C,lm(G.y0,G.x0),lm(q.y0,q.x0),!h):($>0&&e.arc(c+G.cx,d+G.cy,$,lm(G.y0,G.x0),lm(G.y1,G.x1),!h),e.arc(c,d,i,lm(G.cy+G.y1,G.cx+G.x1),lm(q.cy+q.y1,q.cx+q.x1),h),W>0&&e.arc(c+q.cx,d+q.cy,W,lm(q.y1,q.x1),lm(q.y0,q.x0),!h))}else e.lineTo(c+I,d+j),e.arc(c,d,i,u,l,h);else e.lineTo(c+I,d+j)}else e.moveTo(c,d);e.closePath()}}}var ym=function(){function e(){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 e}(),bm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new ym},t.prototype.buildPath=function(e,t){vm(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Wa);bm.prototype.type="sector";var _m=bm,wm=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),xm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new wm},t.prototype.buildPath=function(e,t){var r=t.cx,n=t.cy,i=2*Math.PI;e.moveTo(r+t.r,n),e.arc(r,n,t.r,0,i,!1),e.moveTo(r+t.r0,n),e.arc(r,n,t.r0,0,i,!0)},t}(Wa);xm.prototype.type="ring";var km=xm;function Sm(e,t,r,n){var i,o,a,s,l=[],u=[],c=[],h=[];if(n){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,g=e.length;p<g;p++)C(a,a,e[p]),T(s,s,e[p]);C(a,a,n[0]),T(s,s,n[1])}for(p=0,g=e.length;p<g;p++){var v=e[p];if(r)i=e[p?p-1:g-1],o=e[(p+1)%g];else{if(0===p||p===g-1){l.push(d(e[p]));continue}i=e[p-1],o=e[p+1]}m(u,o,i),y(u,u,t);var b=_(v,i),w=_(v,o),x=b+w;0!==x&&(b/=x,w/=x),y(c,u,-b),y(h,u,w);var k=f([],v,c),S=f([],v,h);n&&(T(k,k,a),C(k,k,s),T(S,S,a),C(S,S,s)),l.push(k),l.push(S)}return r&&l.push(l.shift()),l}function Mm(e,t,r){var n=t.smooth,i=t.points;if(i&&i.length>=2){if(n){var o=Sm(i,n,r,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(r?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);s=1;for(var d=i.length;s<d;s++)e.lineTo(i[s][0],i[s][1])}r&&e.closePath()}}var Cm=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),Tm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new Cm},t.prototype.buildPath=function(e,t){Mm(e,t,!0)},t}(Wa);Tm.prototype.type="polygon";var Om=Tm,Lm=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),Am=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lm},t.prototype.buildPath=function(e,t){Mm(e,t,!1)},t}(Wa);Am.prototype.type="polyline";var Dm=Am,Em={},Im=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),jm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Im},t.prototype.buildPath=function(e,t){var r,n,i,o;if(this.subPixelOptimize){var a=rs(Em,t,this.style);r=a.x1,n=a.y1,i=a.x2,o=a.y2}else r=t.x1,n=t.y1,i=t.x2,o=t.y2;var s=t.percent;0!==s&&(e.moveTo(r,n),s<1&&(i=r*(1-s)+i*s,o=n*(1-s)+o*s),e.lineTo(i,o))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(Wa);jm.prototype.type="line";var Pm=jm,Rm=[],Nm=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function Bm(e,t,r){var n=e.cpx2,i=e.cpy2;return null!=n||null!=i?[(r?wt:_t)(e.x1,e.cpx1,e.cpx2,e.x2,t),(r?wt:_t)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(r?Ot:Tt)(e.x1,e.cpx1,e.x2,t),(r?Ot:Tt)(e.y1,e.cpy1,e.y2,t)]}var Ym=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Nm},t.prototype.buildPath=function(e,t){var r=t.x1,n=t.y1,i=t.x2,o=t.y2,a=t.cpx1,s=t.cpy1,l=t.cpx2,u=t.cpy2,c=t.percent;0!==c&&(e.moveTo(r,n),null==l||null==u?(c<1&&(Dt(r,a,i,c,Rm),a=Rm[1],i=Rm[2],Dt(n,s,o,c,Rm),s=Rm[1],o=Rm[2]),e.quadraticCurveTo(a,s,i,o)):(c<1&&(St(r,a,l,i,c,Rm),a=Rm[1],l=Rm[2],i=Rm[3],St(n,s,u,o,c,Rm),s=Rm[1],u=Rm[2],o=Rm[3]),e.bezierCurveTo(a,s,l,u,i,o)))},t.prototype.pointAt=function(e){return Bm(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=Bm(this.shape,e,!0);return b(t,t)},t}(Wa);Ym.prototype.type="bezier-curve";var Fm=Ym,zm=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),Hm=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new zm},t.prototype.buildPath=function(e,t){var r=t.cx,n=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*i+r,u*i+n),e.arc(r,n,i,o,a,!s)},t}(Wa);Hm.prototype.type="arc";var Vm=Hm,Um=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return a(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),r=0;r<e.length;r++)t=t||e[r].shapeChanged();t&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),r=0;r<e.length;r++)e[r].path||e[r].createPathProxy(),e[r].path.setScale(t[0],t[1],e[r].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,t){for(var r=t.paths||[],n=0;n<r.length;n++)r[n].buildPath(e,r[n].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Wa.prototype.getBoundingRect.call(this)},t}(Wa),Wm=Um,$m=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}(),Gm=$m,qm=function(e){function t(t,r,n,i,o,a){var s=e.call(this,o)||this;return s.x=null==t?0:t,s.y=null==r?0:r,s.x2=null==n?1:n,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return a(t,e),t}(Gm),Xm=qm,Km=function(e){function t(t,r,n,i,o){var a=e.call(this,i)||this;return a.x=null==t?.5:t,a.y=null==r?.5:r,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return a(t,e),t}(Gm),Zm=Km,Jm=[0,0],Qm=[0,0],eg=new ye,tg=new ye,rg=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new ye;for(r=0;r<2;r++)this._axes[r]=new ye;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var r=this._corners,n=this._axes,i=e.x,o=e.y,a=i+e.width,s=o+e.height;if(r[0].set(i,o),r[1].set(a,o),r[2].set(a,s),r[3].set(i,s),t)for(var l=0;l<4;l++)r[l].transform(t);ye.sub(n[0],r[1],r[0]),ye.sub(n[1],r[3],r[0]),n[0].normalize(),n[1].normalize();for(l=0;l<2;l++)this._origin[l]=n[l].dot(r[0])},e.prototype.intersect=function(e,t){var r=!0,n=!t;return eg.set(1/0,1/0),tg.set(0,0),!this._intersectCheckOneSide(this,e,eg,tg,n,1)&&(r=!1,n)||!this._intersectCheckOneSide(e,this,eg,tg,n,-1)&&(r=!1,n)||n||ye.copy(t,r?eg:tg),r},e.prototype._intersectCheckOneSide=function(e,t,r,n,i,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,Jm),this._getProjMinMaxOnAxis(s,t._corners,Qm),Jm[1]<Qm[0]||Jm[0]>Qm[1]){if(a=!1,i)return a;var u=Math.abs(Qm[0]-Jm[1]),c=Math.abs(Jm[0]-Qm[1]);Math.min(u,c)>n.len()&&(u<c?ye.scale(n,l,-u*o):ye.scale(n,l,c*o))}else if(r){u=Math.abs(Qm[0]-Jm[1]),c=Math.abs(Jm[0]-Qm[1]);Math.min(u,c)<r.len()&&(u<c?ye.scale(r,l,u*o):ye.scale(r,l,-c*o))}}return a},e.prototype._getProjMinMaxOnAxis=function(e,t,r){for(var n=this._axes[e],i=this._origin,o=t[0].dot(n)+i[e],a=o,s=o,l=1;l<t.length;l++){var u=t[l].dot(n)+i[e];a=Math.min(u,a),s=Math.max(u,s)}r[0]=a,r[1]=s},e}(),ng=rg,ig=[],og=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return a(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var r=0;r<e.length;r++)this.addDisplayable(e[r],t)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new Oe(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var r=this._displayables[t],n=r.getBoundingRect().clone();r.needLocalTransform()&&n.applyTransform(r.getLocalTransform(ig)),e.union(n)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var r=this.transformCoordToLocal(e,t),n=this.getBoundingRect();if(n.contain(r[0],r[1]))for(var i=0;i<this._displayables.length;i++){var o=this._displayables[i];if(o.contain(e,t))return!0}return!1},t}(Bo),ag=og,sg=Math.max,lg=Math.min,ug={};function cg(e){return Wa.extend(e)}var dg=qp;function hg(e,t){return dg(e,t)}function fg(e,t){ug[e]=t}function pg(e){if(ug.hasOwnProperty(e))return ug[e]}function mg(e,t,r,n){var i=Gp(e,t);return r&&("center"===n&&(r=vg(r,i.getBoundingRect())),bg(i,r)),i}function gg(e,t,r){var n=new Qa({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===r){var i={width:e.width,height:e.height};n.setStyle(vg(t,i))}}});return n}function vg(e,t){var r,n=t.width/t.height,i=e.height*n;i<=e.width?r=e.height:(i=e.width,r=i/n);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-r/2,width:i,height:r}}var yg=Xp;function bg(e,t){if(e.applyTransform){var r=e.getBoundingRect(),n=r.calculateTransform(t);e.applyTransform(n)}}function _g(e,t){return rs(e,e,{lineWidth:t}),e}function wg(e){return ns(e.shape,e.shape,e.style),e}var xg=is;function kg(e,t){var r=ue([]);while(e&&e!==t)de(r,e.getLocalTransform(),r),e=e.parent;return r}function Sg(e,t,r){return t&&!Object(l["u"])(t)&&(t=Xr.getLocalTransform(t)),r&&(t=me([],t)),M([],e,t)}function Mg(e,t,r){var n=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-n:"right"===e?n:0,"top"===e?-i:"bottom"===e?i:0];return o=Sg(o,t,r),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Cg(e){return!e.isGroup}function Tg(e){return null!=e.shape}function Og(e,t,r){if(e&&t){var n=i(e);t.traverse((function(e){if(Cg(e)&&e.anid){var t=n[e.anid];if(t){var i=o(e);e.attr(o(t)),Ul(e,i,r,Ts(e).dataIndex)}}}))}function i(e){var t={};return e.traverse((function(e){Cg(e)&&e.anid&&(t[e.anid]=e)})),t}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return Tg(e)&&(t.shape=Object(l["m"])({},e.shape)),t}}function Lg(e,t){return Object(l["H"])(e,(function(e){var r=e[0];r=sg(r,t.x),r=lg(r,t.x+t.width);var n=e[1];return n=sg(n,t.y),n=lg(n,t.y+t.height),[r,n]}))}function Ag(e,t){var r=sg(e.x,t.x),n=lg(e.x+e.width,t.x+t.width),i=sg(e.y,t.y),o=lg(e.y+e.height,t.y+t.height);if(n>=r&&o>=i)return{x:r,y:i,width:n-r,height:o-i}}function Dg(e,t,r){var n=Object(l["m"])({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(l["i"])(i,r),new Qa(n)):mg(e.replace("path://",""),n,r,"center")}function Eg(e,t,r,n,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(Ig(e,t,r,n,s[0],s[1],a[0],a[1]))return!0;a=s}}function Ig(e,t,r,n,i,o,a,s){var l=r-e,u=n-t,c=a-i,d=s-o,h=jg(c,d,l,u);if(Pg(h))return!1;var f=e-i,p=t-o,m=jg(f,p,l,u)/h;if(m<0||m>1)return!1;var g=jg(f,p,c,d)/h;return!(g<0||g>1)}function jg(e,t,r,n){return e*n-r*t}function Pg(e){return e<=1e-6&&e>=-1e-6}function Rg(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=Object(l["C"])(t)?{formatter:t}:t,o=r.mainType,a=r.componentIndex,s={componentType:o,name:n,$vars:["name"]};s[o+"Index"]=a;var u=e.formatterParamsExtra;u&&Object(l["k"])(Object(l["F"])(u),(function(e){Object(l["q"])(s,e)||(s[e]=u[e],s.$vars.push(e))}));var c=Ts(e.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:n,option:Object(l["i"])({content:n,formatterParams:s},i)}}function Ng(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function Bg(e,t){if(e)if(Object(l["t"])(e))for(var r=0;r<e.length;r++)Ng(e[r],t);else Ng(e,t)}fg("circle",Qp),fg("ellipse",rm),fg("sector",_m),fg("ring",km),fg("polygon",Om),fg("polyline",Dm),fg("rect",ls),fg("line",Pm),fg("bezierCurve",Fm),fg("arc",Vm);var Yg=Ei(),Fg=Tp(),zg=function(){function e(){this.group=new kn,this.uid=Lu("viewChart"),this.renderTask=of({plan:Ug,reset:Wg}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,r,n){0},e.prototype.highlight=function(e,t,r,n){var i=e.getData(n&&n.dataType);i&&Vg(i,n,"emphasis")},e.prototype.downplay=function(e,t,r,n){var i=e.getData(n&&n.dataType);i&&Vg(i,n,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,r,n){this.render(e,t,r,n)},e.prototype.updateLayout=function(e,t,r,n){this.render(e,t,r,n)},e.prototype.updateVisual=function(e,t,r,n){this.render(e,t,r,n)},e.prototype.eachRendered=function(e){Bg(this.group,e)},e.markUpdateMethod=function(e,t){Yg(e).updateMethod=t},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function Hg(e,t,r){e&&Pl(e)&&("emphasis"===t?cl:dl)(e,r)}function Vg(e,t,r){var n=Di(e,t),i=t&&null!=t.highlightKey?Nl(t.highlightKey):null;null!=n?Object(l["k"])(ci(n),(function(t){Hg(e.getItemGraphicEl(t),r,i)})):e.eachItemGraphicEl((function(e){Hg(e,r,i)}))}function Ug(e){return Fg(e.model)}function Wg(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&Yg(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,r,n,i),$g[l]}Ki(zg,["dispose"]),no(zg);var $g={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Gg=zg,qg="\0__throttleOriginMethod",Xg="\0__throttleRate",Kg="\0__throttleType";function Zg(e,t,r){var n,i,o,a,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var h=function(){for(var e=[],h=0;h<arguments.length;h++)e[h]=arguments[h];n=(new Date).getTime(),o=this,a=e;var f=s||t,p=s||r;s=null,i=n-(p?l:u)-f,clearTimeout(c),p?c=setTimeout(d,f):i>=0?d():c=setTimeout(d,-i),l=n};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}function Jg(e,t,r,n){var i=e[t];if(i){var o=i[qg]||i,a=i[Kg],s=i[Xg];if(s!==r||a!==n){if(null==r||!n)return e[t]=o;i=e[t]=Zg(o,r,"debounce"===n),i[qg]=o,i[Kg]=n,i[Xg]=r}return i}}function Qg(e,t){var r=e[t];r&&r[qg]&&(r.clear&&r.clear(),e[t]=r[qg])}var ev=Ei(),tv={itemStyle:io(ku,!0),lineStyle:io(_u,!0)},rv={lineStyle:"stroke",itemStyle:"fill"};function nv(e,t){var r=e.visualStyleMapper||tv[t];return r||(console.warn("Unknown style type '"+t+"'."),tv.itemStyle)}function iv(e,t){var r=e.visualDrawType||rv[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var ov={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),o=nv(e,n),a=o(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var u=iv(e,n),c=a[u],d=Object(l["w"])(c)?c:null,h="auto"===a.fill||"auto"===a.stroke;if(!a[u]||d||h){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[u]||(a[u]=f,r.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||Object(l["w"])(a.fill)?f:a.fill,a.stroke="auto"===a.stroke||Object(l["w"])(a.stroke)?f:a.stroke}if(r.setVisual("style",a),r.setVisual("drawType",u),!t.isSeriesFiltered(e)&&d)return r.setVisual("colorFromPalette",!1),{dataEach:function(t,r){var n=e.getDataParams(r),i=Object(l["m"])({},a);i[u]=d(n),t.setItemVisual(r,"style",i)}}}},av=new Tu,sv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=nv(e,n),o=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(e,t){var r=e.getRawDataItem(t);if(r&&r[n]){av.option=r[n];var a=i(av),s=e.ensureUniqueItemVisual(t,"style");Object(l["m"])(s,a),av.option.decal&&(e.setItemVisual(t,"decal",av.option.decal),av.option.decal.dirty=!0),o in a&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},lv={performRawSeries:!0,overallReset:function(e){var t=Object(l["f"])();e.eachSeries((function(e){var r=e.getColorBy();if(!e.isColorBySeries()){var n=e.type+"-"+r,i=t.get(n);i||(i={},t.set(n,i)),ev(e).scope=i}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var r=t.getRawData(),n={},i=t.getData(),o=ev(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=iv(t,a);i.each((function(e){var t=i.getRawIndex(e);n[t]=e})),r.each((function(e){var a=n[e],l=i.getItemVisual(a,"colorFromPalette");if(l){var u=i.ensureUniqueItemVisual(a,"style"),c=r.getName(e)||e+"",d=r.count();u[s]=t.getColorFromPalette(c,o,d)}}))}}))}},uv=Math.PI;function cv(e,t){t=t||{},l["i"](t,{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 r=new kn,n=new ls({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i,o=new Cs({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new ls({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return r.add(a),t.showSpinner&&(i=new Vm({shape:{startAngle:-uv/2,endAngle:-uv/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*uv/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*uv/2}).delay(300).start("circularInOut"),r.add(i)),r.resize=function(){var r=o.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*s-(t.showSpinner&&r?10:0)-r)/2-(t.showSpinner&&r?0:5+r/2)+(t.showSpinner?0:r/2)+(r?0:s),u=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r}var dv=function(){function e(e,t,r,n){this._stageTaskMap=Object(l["f"])(),this.ecInstance=e,this.api=t,r=this._dataProcessorHandlers=r.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=r.concat(n)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var r=this._pipelineMap.get(e.__pipeline.id),n=r.context,i=!t&&r.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>r.blockIndex,o=i?r.step:null,a=n&&n.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var r=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),o=r.progressiveEnabled&&t.incrementalPrepareRender&&i>=r.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=r.context={progressiveRender:o,modDataCount:s,large:a}},e.prototype.restorePipelines=function(e){var t=this,r=t._pipelineMap=Object(l["f"])();e.eachSeries((function(e){var n=e.getProgressive(),i=e.uid;r.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:n&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),r=this.api;Object(l["k"])(this._allHandlers,(function(n){var i=e.get(n.uid)||e.set(n.uid,{}),o="";Object(l["b"])(!(n.reset&&n.overallReset),o),n.reset&&this._createSeriesStageTask(n,i,t,r),n.overallReset&&this._createOverallStageTask(n,i,t,r)}),this)},e.prototype.prepareView=function(e,t,r,n){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=r,o.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,r){this._performStageTasks(this._visualHandlers,e,t,r)},e.prototype._performStageTasks=function(e,t,r,n){n=n||{};var i=!1,o=this;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(l["k"])(e,(function(e,s){if(!n.visualType||n.visualType===e.visualType){var l=o._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(e){a(n,e)&&(e.dirty(),d=!0)})),d&&c.dirty(),o.updatePayload(c,r);var f=o.getPerformArgs(c,n.block);h.each((function(e){e.perform(f)})),c.perform(f)&&(i=!0)}else u&&u.each((function(s,l){a(n,s)&&s.dirty();var u=o.getPerformArgs(s,n.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),o.updatePayload(s,r),s.perform(u)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,r,n){var i=this,o=t.seriesTaskMap,a=t.seriesTaskMap=Object(l["f"])(),s=e.seriesType,u=e.getTargetSeries;function c(t){var s=t.uid,l=a.set(s,o&&o.get(s)||of({plan:gv,reset:vv,count:_v}));l.context={model:t,ecModel:r,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?r.eachRawSeries(c):s?r.eachRawSeriesByType(s,c):u&&u(r,n).each(c)},e.prototype._createOverallStageTask=function(e,t,r,n){var i=this,o=t.overallTask=t.overallTask||of({reset:hv});o.context={ecModel:r,api:n,overallReset:e.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=Object(l["f"])(),u=e.seriesType,c=e.getTargetSeries,d=!0,h=!1,f="";function p(e){var t=e.uid,r=s.set(t,a&&a.get(t)||(h=!0,of({reset:fv,onDirty:mv})));r.context={model:e,overallProgress:d},r.agent=o,r.__block=d,i._pipe(e,r)}Object(l["b"])(!e.createOnAllSeries,f),u?r.eachRawSeriesByType(u,p):c?c(r,n).each(p):(d=!1,Object(l["k"])(r.getSeries(),p)),h&&o.dirty()},e.prototype._pipe=function(e,t){var r=e.uid,n=this._pipelineMap.get(r);!n.head&&(n.head=t),n.tail&&n.tail.pipe(t),n.tail=t,t.__idxInPipeline=n.count++,t.__pipeline=n},e.wrapStageHandler=function(e,t){return Object(l["w"])(e)&&(e={overallReset:e,seriesType:wv(e)}),e.uid=Lu("stageHandler"),t&&(e.visualType=t),e},e}();function hv(e){e.overallReset(e.ecModel,e.api,e.payload)}function fv(e){return e.overallProgress&&pv}function pv(){this.agent.dirty(),this.getDownstream().dirty()}function mv(){this.agent&&this.agent.dirty()}function gv(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function vv(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=ci(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(l["H"])(t,(function(e,t){return bv(t)})):yv}var yv=bv(0);function bv(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(n,o);else i&&i.progress&&i.progress(t,n)}}function _v(e){return e.data.count()}function wv(e){xv=null;try{e(kv,Sv)}catch(t){}return xv}var xv,kv={},Sv={};function Mv(e,t){for(var r in t.prototype)e[r]=l["L"]}Mv(kv,zd),Mv(Sv,Ud),kv.eachSeriesByType=kv.eachRawSeriesByType=function(e){xv=e},kv.eachComponent=function(e){"series"===e.mainType&&e.subType&&(xv=e.subType)};var Cv=dv,Tv=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Ov={color:Tv,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Tv]},Lv="#B9B8CE",Av="#100C2A",Dv=function(){return{axisLine:{lineStyle:{color:Lv}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Ev=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Iv={darkMode:!0,color:Ev,backgroundColor:Av,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Lv}},textStyle:{color:Lv},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Lv}},dataZoom:{borderColor:"#71708A",textStyle:{color:Lv},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:Lv}},timeline:{lineStyle:{color:Lv},label:{color:Lv},controlStyle:{color:Lv,borderColor:Lv}},calendar:{itemStyle:{color:Av},dayLabel:{color:Lv},monthLabel:{color:Lv},yearLabel:{color:Lv}},timeAxis:Dv(),logAxis:Dv(),valueAxis:Dv(),categoryAxis:Dv(),line:{symbol:"circle"},graph:{color:Ev},gauge:{title:{color:Lv},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Lv},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Iv.categoryAxis.splitLine.show=!1;var jv=Iv,Pv=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},r={},n={};if(l["C"](e)){var i=Gi(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};l["k"](e,(function(e,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var d=i.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,s=!0)}}a.hasOwnProperty(i)&&(r[i]=e,s=!0),s||(n[i]=e)}))}return{cptQuery:t,dataQuery:r,otherQuery:n}},e.prototype.filter=function(e,t){var r=this.eventInfo;if(!r)return!0;var n=r.targetEl,i=r.packedEvent,o=r.model,a=r.view;if(!o||!a)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,n,i));function u(e,t,r,n){return null==e[r]||t[n||r]===e[r]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),Rv=["symbol","symbolSize","symbolRotate","symbolOffset"],Nv=Rv.concat(["symbolKeepAspect"]),Bv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var n={},i={},o=!1,a=0;a<Rv.length;a++){var s=Rv[a],u=e.get(s);Object(l["w"])(u)?(o=!0,i[s]=u):n[s]=u}if(n.symbol=n.symbol||e.defaultSymbol,r.setVisual(Object(l["m"])({legendIcon:e.legendIcon||n.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},n)),!t.isSeriesFiltered(e)){var c=Object(l["F"])(i);return{dataEach:o?d:null}}}function d(t,r){for(var n=e.getRawValue(r),o=e.getDataParams(r),a=0;a<c.length;a++){var s=c[a];t.setItemVisual(r,s,i[s](n,o))}}}},Yv={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e)){var r=e.getData();return{dataEach:r.hasItemOption?n:null}}function n(e,t){for(var r=e.getItemModel(t),n=0;n<Nv.length;n++){var i=Nv[n],o=r.getShallow(i,!0);null!=o&&e.setItemVisual(t,i,o)}}}};function Fv(e,t,r){switch(r){case"color":var n=e.getItemVisual(t,"style");return n[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,r);default:0}}function zv(e,t){switch(t){case"color":var r=e.getVisual("style");return r[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}function Hv(e,t,r,n){switch(r){case"color":var i=e.ensureUniqueItemVisual(t,"style");i[e.getVisual("drawType")]=n,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,r,n);break;default:0}}function Vv(e,t){function r(t,r){var n=[];return t.eachComponent({mainType:"series",subType:e,query:r},(function(e){n.push(e.seriesIndex)})),n}Object(l["k"])([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],(function(e){t(e[0],(function(t,n,i){t=Object(l["m"])({},t),i.dispatchAction(Object(l["m"])(t,{type:e[1],seriesIndex:r(n,t)}))}))}))}function Uv(e,t,r,n,i){var o=e+t;r.isSilent(o)||n.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,n=e.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===t){var u=e.getData(),c=Di(u,i.fromActionPayload);r.trigger(o,{type:o,seriesId:e.id,name:Object(l["t"])(c)?u.getName(c[0]):u.getName(c),selected:Object(l["C"])(n)?n:Object(l["m"])({},n)})}}))}function Wv(e,t,r){e.on("selectchanged",(function(e){var n=r.getModel();e.isFromClick?(Uv("map","selectchanged",t,n,e),Uv("pie","selectchanged",t,n,e)):"select"===e.fromAction?(Uv("map","selected",t,n,e),Uv("pie","selected",t,n,e)):"unselect"===e.fromAction&&(Uv("map","unselected",t,n,e),Uv("pie","unselected",t,n,e))}))}function $v(e,t,r){var n;while(e){if(t(e)&&(n=e,r))break;e=e.__hostTarget||e.parent}return n}var Gv=Math.round(9*Math.random()),qv="function"===typeof Object.defineProperty,Xv=function(){function e(){this._id="__ec_inner_"+Gv++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var r=this._guard(e);return qv?Object.defineProperty(r,this._id,{value:t,enumerable:!1,configurable:!0}):r[this._id]=t,this},e.prototype["delete"]=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},e.prototype.has=function(e){return!!this._guard(e)[this._id]},e.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},e}(),Kv=Xv,Zv=Wa.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,o=t.height/2;e.moveTo(r,n-o),e.lineTo(r+i,n+o),e.lineTo(r-i,n+o),e.closePath()}}),Jv=Wa.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,o=t.height/2;e.moveTo(r,n-o),e.lineTo(r+i,n),e.lineTo(r,n+o),e.lineTo(r-i,n),e.closePath()}}),Qv=Wa.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.x,n=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=n-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,d=Math.sin(u),h=Math.cos(u),f=.6*a,p=.7*a;e.moveTo(r-c,l+s),e.arc(r,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(r+c-d*f,l+s+h*f,r,n-p,r,n),e.bezierCurveTo(r,n-p,r-c+d*f,l+s+h*f,r-c,l+s),e.closePath()}}),ey=Wa.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.height,n=t.width,i=t.x,o=t.y,a=n/3*2;e.moveTo(i,o),e.lineTo(i+a,o+r),e.lineTo(i,o+r/4*3),e.lineTo(i-a,o+r),e.lineTo(i,o),e.closePath()}}),ty={line:Pm,rect:ls,roundRect:ls,square:ls,circle:Qp,diamond:Jv,pin:Qv,arrow:ey,triangle:Zv},ry={line:function(e,t,r,n,i){i.x1=e,i.y1=t+n/2,i.x2=e+r,i.y2=t+n/2},rect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n},roundRect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n,i.r=Math.min(r,n)/4},square:function(e,t,r,n,i){var o=Math.min(r,n);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.r=Math.min(r,n)/2},diamond:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n},pin:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},arrow:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},triangle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n}},ny={};Object(l["k"])(ty,(function(e,t){ny[t]=new e}));var iy=Wa.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,r){var n=sn(e,t,r),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.position&&(n.y=r.y+.4*r.height),n},buildPath:function(e,t,r){var n=t.symbolType;if("none"!==n){var i=ny[n];i||(n="rect",i=ny[n]),ry[n](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,r)}}});function oy(e,t){if("image"!==this.type){var r=this.style;this.__isEmptyBrush?(r.stroke=e,r.fill=t||"#fff",r.lineWidth=2):"line"===this.shape.symbolType?r.stroke=e:r.fill=e,this.markRedraw()}}function ay(e,t,r,n,i,o,a){var s,l=0===e.indexOf("empty");return l&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),s=0===e.indexOf("image://")?gg(e.slice(8),new Oe(t,r,n,i),a?"center":"cover"):0===e.indexOf("path://")?mg(e.slice(7),{},new Oe(t,r,n,i),a?"center":"cover"):new iy({shape:{symbolType:e,x:t,y:r,width:n,height:i}}),s.__isEmptyBrush=l,s.setColor=oy,o&&s.setColor(o),s}function sy(e){return Object(l["t"])(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function ly(e,t){if(null!=e)return Object(l["t"])(e)||(e=[e,e]),[Bn(e[0],t[0])||0,Bn(Object(l["P"])(e[1],e[0]),t[1])||0]}function uy(e){return isFinite(e)}function cy(e,t,r){var n=null==t.x?0:t.x,i=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;t.global||(n=n*r.width+r.x,i=i*r.width+r.x,o=o*r.height+r.y,a=a*r.height+r.y),n=uy(n)?n:0,i=uy(i)?i:1,o=uy(o)?o:0,a=uy(a)?a:0;var s=e.createLinearGradient(n,o,i,a);return s}function dy(e,t,r){var n=r.width,i=r.height,o=Math.min(n,i),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(a=a*n+r.x,s=s*i+r.y,l*=o),a=uy(a)?a:.5,s=uy(s)?s:.5,l=l>=0&&uy(l)?l:.5;var u=e.createRadialGradient(a,s,0,a,s,l);return u}function hy(e,t,r){for(var n="radial"===t.type?dy(e,t,r):cy(e,t,r),i=t.colorStops,o=0;o<i.length;o++)n.addColorStop(i[o].offset,i[o].color);return n}function fy(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!0;return!1}function py(e){return parseInt(e,10)}function my(e,t,r){var n=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=r[n]&&"auto"!==r[n])return parseFloat(r[n]);var s=document.defaultView.getComputedStyle(e);return(e[i]||py(s[n])||py(e.style[n]))-(py(s[o])||0)-(py(s[a])||0)|0}function gy(e,t){return e&&"solid"!==e&&t>0?"dashed"===e?[4*t,2*t]:"dotted"===e?[t]:Object(l["z"])(e)?[e]:Object(l["t"])(e)?e:null:null}function vy(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&gy(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&1!==i&&(r=Object(l["H"])(r,(function(e){return e/i})),n/=i)}return[r,n]}var yy=new ba(!0);function by(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function _y(e){return"string"===typeof e&&"none"!==e}function wy(e){var t=e.fill;return null!=t&&"none"!==t}function xy(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function ky(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function Sy(e,t,r){var n=co(t.image,t.__image,r);if(fo(n)){var i=e.createPattern(n,t.repeat||"repeat");if("function"===typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*l["a"]),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function My(e,t,r,n){var i,o=by(r),a=wy(r),s=r.strokePercent,l=s<1,u=!t.path;t.silent&&!l||!u||t.createPathProxy();var c=t.path||yy,d=t.__dirty;if(!n){var h=r.fill,f=r.stroke,p=a&&!!h.colorStops,m=o&&!!f.colorStops,g=a&&!!h.image,v=o&&!!f.image,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0;(p||m)&&(x=t.getBoundingRect()),p&&(y=d?hy(e,h,x):t.__canvasFillGradient,t.__canvasFillGradient=y),m&&(b=d?hy(e,f,x):t.__canvasStrokeGradient,t.__canvasStrokeGradient=b),g&&(_=d||!t.__canvasFillPattern?Sy(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=_),v&&(w=d||!t.__canvasStrokePattern?Sy(e,f,t):t.__canvasStrokePattern,t.__canvasStrokePattern=_),p?e.fillStyle=y:g&&(_?e.fillStyle=_:a=!1),m?e.strokeStyle=b:v&&(w?e.strokeStyle=w:o=!1)}var k,S,M=t.getGlobalScale();c.setScale(M[0],M[1],t.segmentIgnoreThreshold),e.setLineDash&&r.lineDash&&(i=vy(t),k=i[0],S=i[1]);var C=!0;(u||d&Qe)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),C=!1),c.reset(),t.buildPath(c,t.shape,n),c.toStatic(),t.pathUpdated()),C&&c.rebuildPath(e,l?s:1),k&&(e.setLineDash(k),e.lineDashOffset=S),n||(r.strokeFirst?(o&&ky(e,r),a&&xy(e,r)):(a&&xy(e,r),o&&ky(e,r))),k&&e.setLineDash([])}function Cy(e,t,r){var n=t.__image=co(r.image,t.__image,t,t.onload);if(n&&fo(n)){var i=r.x||0,o=r.y||0,a=t.getWidth(),s=t.getHeight(),l=n.width/n.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=n.width,s=n.height),r.sWidth&&r.sHeight){var u=r.sx||0,c=r.sy||0;e.drawImage(n,u,c,r.sWidth,r.sHeight,i,o,a,s)}else if(r.sx&&r.sy){u=r.sx,c=r.sy;var d=a-u,h=s-c;e.drawImage(n,u,c,d,h,i,o,a,s)}else e.drawImage(n,i,o,a,s)}}function Ty(e,t,r){var n,i=r.text;if(null!=i&&(i+=""),i){e.font=r.font||Zr["a"],e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var o=void 0,a=void 0;e.setLineDash&&r.lineDash&&(n=vy(t),o=n[0],a=n[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),r.strokeFirst?(by(r)&&e.strokeText(i,r.x,r.y),wy(r)&&e.fillText(i,r.x,r.y)):(wy(r)&&e.fillText(i,r.x,r.y),by(r)&&e.strokeText(i,r.x,r.y)),o&&e.setLineDash([])}}var Oy=["shadowBlur","shadowOffsetX","shadowOffsetY"],Ly=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Ay(e,t,r,n,i){var o=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){zy(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?Ao.opacity:a}(n||t.blend!==r.blend)&&(o||(zy(e,i),o=!0),e.globalCompositeOperation=t.blend||Ao.blend);for(var s=0;s<Oy.length;s++){var l=Oy[s];(n||t[l]!==r[l])&&(o||(zy(e,i),o=!0),e[l]=e.dpr*(t[l]||0))}return(n||t.shadowColor!==r.shadowColor)&&(o||(zy(e,i),o=!0),e.shadowColor=t.shadowColor||Ao.shadowColor),o}function Dy(e,t,r,n,i){var o=Hy(t,i.inHover),a=n?null:r&&Hy(r,i.inHover)||{};if(o===a)return!1;var s=Ay(e,o,a,n,i);if((n||o.fill!==a.fill)&&(s||(zy(e,i),s=!0),_y(o.fill)&&(e.fillStyle=o.fill)),(n||o.stroke!==a.stroke)&&(s||(zy(e,i),s=!0),_y(o.stroke)&&(e.strokeStyle=o.stroke)),(n||o.opacity!==a.opacity)&&(s||(zy(e,i),s=!0),e.globalAlpha=null==o.opacity?1:o.opacity),t.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(zy(e,i),s=!0),e.lineWidth=u)}for(var c=0;c<Ly.length;c++){var d=Ly[c],h=d[0];(n||o[h]!==a[h])&&(s||(zy(e,i),s=!0),e[h]=o[h]||d[1])}return s}function Ey(e,t,r,n,i){return Ay(e,Hy(t,i.inHover),r&&Hy(r,i.inHover),n,i)}function Iy(e,t){var r=t.transform,n=e.dpr||1;r?e.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):e.setTransform(n,0,0,n,0,0)}function jy(e,t,r){for(var n=!1,i=0;i<e.length;i++){var o=e[i];n=n||o.isZeroArea(),Iy(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}r.allClipped=n}function Py(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var Ry=1,Ny=2,By=3,Yy=4;function Fy(e){var t=wy(e),r=by(e);return!(e.lineDash||!(+t^+r)||t&&"string"!==typeof e.fill||r&&"string"!==typeof e.stroke||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function zy(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function Hy(e,t){return t&&e.__hoverStyle||e.style}function Vy(e,t){Uy(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Uy(e,t,r,n){var i=t.transform;if(!t.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1))return t.__dirty&=~Ze,void(t.__isRendered=!1);var o=t.__clipPaths,a=r.prevElClipPaths,s=!1,l=!1;if(a&&!fy(o,a)||(a&&a.length&&(zy(e,r),e.restore(),l=s=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),o&&o.length&&(zy(e,r),e.save(),jy(o,e,r),s=!0),r.prevElClipPaths=o),r.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=r.prevEl;u||(l=s=!0);var c=t instanceof Wa&&t.autoBatch&&Fy(t.style);s||Py(i,u.transform)?(zy(e,r),Iy(e,t)):c||zy(e,r);var d=Hy(t,r.inHover);t instanceof Wa?(r.lastDrawType!==Ry&&(l=!0,r.lastDrawType=Ry),Dy(e,t,u,l,r),c&&(r.batchFill||r.batchStroke)||e.beginPath(),My(e,t,d,c),c&&(r.batchFill=d.fill||"",r.batchStroke=d.stroke||"")):t instanceof qa?(r.lastDrawType!==By&&(l=!0,r.lastDrawType=By),Dy(e,t,u,l,r),Ty(e,t,d)):t instanceof Qa?(r.lastDrawType!==Ny&&(l=!0,r.lastDrawType=Ny),Ey(e,t,u,l,r),Cy(e,t,d)):t.getTemporalDisplayables&&(r.lastDrawType!==Yy&&(l=!0,r.lastDrawType=Yy),Wy(e,t,r)),c&&n&&zy(e,r),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),r.prevEl=t,t.__dirty=0,t.__isRendered=!0}}function Wy(e,t,r){var n=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover};for(o=t.getCursor(),a=n.length;o<a;o++){var l=n[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Uy(e,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=i.length;u<c;u++){l=i[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Uy(e,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var $y=new Kv,Gy=new Kr["a"](100),qy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Xy(e,t){if("none"===e)return null;var r=t.getDevicePixelRatio(),n=t.getZr(),i="svg"===n.painter.type;e.dirty&&$y["delete"](e);var o=$y.get(e);if(o)return o;var a=Object(l["i"])(e,{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"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return u(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/r,$y.set(e,s),e.dirty=!1,s;function u(e){for(var t,o=[r],s=!0,u=0;u<qy.length;++u){var c=a[qy[u]];if(null!=c&&!Object(l["t"])(c)&&!Object(l["C"])(c)&&!Object(l["z"])(c)&&"boolean"!==typeof c){s=!1;break}o.push(c)}if(s){t=o.join(",")+(i?"-svg":"");var d=Gy.get(t);d&&(i?e.svgElement=d:e.image=d)}var h,f=Zy(a.dashArrayX),p=Jy(a.dashArrayY),m=Ky(a.symbol),g=Qy(f),v=eb(p),y=!i&&Zr["d"].createCanvas(),b=i&&{tag:"g",attrs:{},key:"dcl",children:[]},_=w();function w(){for(var e=1,t=0,r=g.length;t<r;++t)e=ai(e,g[t]);var n=1;for(t=0,r=m.length;t<r;++t)n=ai(n,m[t].length);e*=n;var i=v*g.length*m.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}function x(){h&&(h.clearRect(0,0,y.width,y.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,y.width,y.height)));for(var e=0,t=0;t<p.length;++t)e+=p[t];if(!(e<=0)){var o=-v,s=0,l=0,u=0;while(o<_.height){if(s%2===0){var c=l/2%m.length,d=0,g=0,w=0;while(d<2*_.width){var x=0;for(t=0;t<f[u].length;++t)x+=f[u][t];if(x<=0)break;if(g%2===0){var k=.5*(1-a.symbolSize),S=d+f[u][g]*k,M=o+p[s]*k,C=f[u][g]*a.symbolSize,T=p[s]*a.symbolSize,O=w/2%m[c].length;L(S,M,C,T,m[c][O])}d+=f[u][g],++w,++g,g===f[u].length&&(g=0)}++u,u===f.length&&(u=0)}o+=p[s],++l,++s,s===p.length&&(s=0)}}function L(e,t,o,s,l){var u=i?1:r,c=ay(l,e*u,t*u,o*u,s*u,a.color,a.symbolKeepAspect);if(i){var d=n.painter.renderOneToVNode(c);d&&b.children.push(d)}else Vy(h,c)}}y&&(y.width=_.width*r,y.height=_.height*r,h=y.getContext("2d")),x(),s&&Gy.put(t,y||b),e.image=y,e.svgElement=b,e.svgWidth=_.width,e.svgHeight=_.height}}function Ky(e){if(!e||0===e.length)return[["rect"]];if(Object(l["C"])(e))return[[e]];for(var t=!0,r=0;r<e.length;++r)if(!Object(l["C"])(e[r])){t=!1;break}if(t)return Ky([e]);var n=[];for(r=0;r<e.length;++r)Object(l["C"])(e[r])?n.push([e[r]]):n.push(e[r]);return n}function Zy(e){if(!e||0===e.length)return[[0,0]];if(Object(l["z"])(e)){var t=Math.ceil(e);return[[t,t]]}for(var r=!0,n=0;n<e.length;++n)if(!Object(l["z"])(e[n])){r=!1;break}if(r)return Zy([e]);var i=[];for(n=0;n<e.length;++n)if(Object(l["z"])(e[n])){t=Math.ceil(e[n]);i.push([t,t])}else{t=Object(l["H"])(e[n],(function(e){return Math.ceil(e)}));t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function Jy(e){if(!e||"object"===typeof e&&0===e.length)return[0,0];if(Object(l["z"])(e)){var t=Math.ceil(e);return[t,t]}var r=Object(l["H"])(e,(function(e){return Math.ceil(e)}));return e.length%2?r.concat(r):r}function Qy(e){return Object(l["H"])(e,(function(e){return eb(e)}))}function eb(e){for(var t=0,r=0;r<e.length;++r)t+=e[r];return e.length%2===1?2*t:t}function tb(e,t){e.eachRawSeries((function(r){if(!e.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each((function(e){var r=n.getItemVisual(e,"decal");if(r){var i=n.ensureUniqueItemVisual(e,"style");i.decal=Xy(r,t)}}));var i=n.getVisual("decal");if(i){var o=n.getVisual("style");o.decal=Xy(i,t)}}}))}var rb=new E,nb=rb,ib={};function ob(e,t){ib[e]=t}function ab(e){return ib[e]}var sb=1,lb=800,ub=900,cb=1e3,db=2e3,hb=5e3,fb=1e3,pb=1100,mb=2e3,gb=3e3,vb=4e3,yb=4500,bb=4600,_b=5e3,wb=6e3,xb=7e3,kb={PROCESSOR:{FILTER:cb,SERIES_FILTER:lb,STATISTIC:hb},VISUAL:{LAYOUT:fb,PROGRESSIVE_LAYOUT:pb,GLOBAL:mb,CHART:gb,POST_CHART_LAYOUT:bb,COMPONENT:vb,BRUSH:_b,CHART_ITEM:yb,ARIA:wb,DECAL:xb}},Sb="__flagInMainProcess",Mb="__pendingUpdate",Cb="__needsUpdateStatus",Tb=/^[a-zA-Z0-9_]+$/,Ob="__connectUpdateStatus",Lb=0,Ab=1,Db=2;function Eb(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(!this.isDisposed())return jb(this,e,t);i_(this.id)}}function Ib(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return jb(this,e,t)}}function jb(e,t,r){return r[0]=r[0]&&r[0].toLowerCase(),E.prototype[t].apply(e,r)}var Pb,Rb,Nb,Bb,Yb,Fb,zb,Hb,Vb,Ub,Wb,$b,Gb,qb,Xb,Kb,Zb,Jb,Qb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(E),e_=Qb.prototype;e_.on=Ib("on"),e_.off=Ib("off");var t_=function(e){function t(t,r,n){var i=e.call(this,new Pv)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},Object(l["C"])(r)&&(r=c_[r]),i._dom=t;var o="canvas",a="auto",s=!1;n.ssr&&In((function(e){var t=Ts(e),r=t.dataIndex;if(null!=r){var n=Object(l["f"])();return n.set("series_index",t.seriesIndex),n.set("data_index",r),t.ssrType&&n.set("ssr_type",t.ssrType),n}}));var u=i._zr=An(t,{renderer:n.renderer||o,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:Object(l["P"])(n.useDirtyRect,s),useCoarsePointer:Object(l["P"])(n.useCoarsePointer,a),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=Zg(Object(l["c"])(u.flush,u),17),r=Object(l["d"])(r),r&&Sh(r,!0),i._theme=r,i._locale=Hu(n.locale||Fu),i._coordSysMgr=new Gd;var c=i._api=Xb(i);function d(e,t){return e.__prio-t.__prio}return Ke(u_,d),Ke(s_,d),i._scheduler=new Cv(i,c,s_,u_),i._messageCenter=new Qb,i._initEvents(),i.resize=Object(l["c"])(i.resize,i),u.animation.on("frame",i._onframe,i),Ub(u,i),Wb(u,i),Object(l["R"])(i),i}return a(t,e),t.prototype._onframe=function(){if(!this._disposed){Jb(this);var e=this._scheduler;if(this[Mb]){var t=this[Mb].silent;this[Sb]=!0;try{Pb(this),Bb.update.call(this,null,this[Mb].updateParams)}catch(a){throw this[Sb]=!1,this[Mb]=null,a}this._zr.flush(),this[Sb]=!1,this[Mb]=null,Hb.call(this,t),Vb.call(this,t)}else if(e.unfinished){var r=sb,n=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(n),e.performDataProcessorTasks(n),Fb(this,n),e.performVisualTasks(n),qb(this,this._model,i,"remain",{}),r-=+new Date-o}while(r>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,r){if(!this[Sb])if(this._disposed)i_(this.id);else{var n,i,o;if(Object(l["A"])(t)&&(r=t.lazyUpdate,n=t.silent,i=t.replaceMerge,o=t.transition,t=t.notMerge),this[Sb]=!0,!this._model||t){var a=new eh(this._api),s=this._theme,u=this._model=new zd;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,a)}this._model.setOption(e,{replaceMerge:i},l_);var c={seriesTransition:o,optionChanged:!0};if(r)this[Mb]={silent:n,updateParams:c},this[Sb]=!1,this.getZr().wakeUp();else{try{Pb(this),Bb.update.call(this,null,c)}catch(d){throw this[Mb]=null,this[Sb]=!1,d}this._ssr||this._zr.flush(),this[Mb]=null,this[Sb]=!1,Hb.call(this,n),Vb.call(this,n)}}},t.prototype.setTheme=function(){Dd("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||s["a"].hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var t=this._zr.painter;return t.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var t=this._zr.painter;return t.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(s["a"].svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(l["k"])(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,r=this._model,n=[],i=this;Object(l["k"])(t,(function(e){r.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(l["k"])(n,(function(e){e.group.ignore=!1})),o}i_(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,r=this.group,n=Math.min,i=Math.max,o=1/0;if(f_[r]){var a=o,s=o,u=-o,c=-o,d=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();Object(l["k"])(h_,(function(o,h){if(o.group===r){var f=t?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Object(l["d"])(e)),p=o.getDom().getBoundingClientRect();a=n(p.left,a),s=n(p.top,s),u=i(p.right,u),c=i(p.bottom,c),d.push({dom:f,left:p.left,top:p.top})}})),a*=h,s*=h,u*=h,c*=h;var f=u-a,p=c-s,m=Zr["d"].createCanvas(),g=An(m,{renderer:t?"svg":"canvas"});if(g.resize({width:f,height:p}),t){var v="";return Object(l["k"])(d,(function(e){var t=e.left-a,r=e.top-s;v+='<g transform="translate('+t+","+r+')">'+e.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=v,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return e.connectedBackgroundColor&&g.add(new ls({shape:{x:0,y:0,width:f,height:p},style:{fill:e.connectedBackgroundColor}})),Object(l["k"])(d,(function(e){var t=new Qa({style:{x:e.left*h-a,y:e.top*h-s,image:e.dom}});g.add(t)})),g.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}i_(this.id)},t.prototype.convertToPixel=function(e,t){return Yb(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return Yb(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var r,n=this._model,i=ji(n,e);return Object(l["k"])(i,(function(e,n){n.indexOf("Models")>=0&&Object(l["k"])(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)r=r||!!i.containPoint(t);else if("seriesModels"===n){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(r=r||o.containPoint(t,e))}else 0}),this)}),this),!!r}i_(this.id)},t.prototype.getVisual=function(e,t){var r=this._model,n=ji(r,e,{defaultMainType:"series"}),i=n.seriesModel;var o=i.getData(),a=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?o.indexOfRawIndex(n.dataIndex):null;return null!=a?Fv(o,a,t):zv(o,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Object(l["k"])(n_,(function(t){var r=function(r){var n,i=e.getModel(),o=r.target,a="globalout"===t;if(a?n={}:o&&$v(o,(function(e){var t=Ts(e);if(t&&null!=t.dataIndex){var r=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return n=r&&r.getDataParams(t.dataIndex,t.dataType,o)||{},!0}if(t.eventData)return n=Object(l["m"])({},t.eventData),!0}),!0),n){var s=n.componentType,u=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",u=n.seriesIndex);var c=s&&null!=u&&i.getComponent(s,u),d=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,n.event=r,n.type=t,e._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:c,view:d},e.trigger(t,n)}};r.zrEventfulCallAtLast=!0,e._zr.on(t,r,e)})),Object(l["k"])(a_,(function(t,r){e._messageCenter.on(r,(function(e){this.trigger(r,e)}),e)})),Object(l["k"])(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),Wv(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?i_(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)i_(this.id);else{this._disposed=!0;var e=this.getDom();e&&Yi(this.getDom(),m_,"");var t=this,r=t._api,n=t._model;Object(l["k"])(t._componentsViews,(function(e){e.dispose(n,r)})),Object(l["k"])(t._chartsViews,(function(e){e.dispose(n,r)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete h_[t.id]}},t.prototype.resize=function(e){if(!this[Sb])if(this._disposed)i_(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var r=t.resetOption("media"),n=e&&e.silent;this[Mb]&&(null==n&&(n=this[Mb].silent),r=!0,this[Mb]=null),this[Sb]=!0;try{r&&Pb(this),Bb.update.call(this,{type:"resize",animation:Object(l["m"])({duration:0},e&&e.animation)})}catch(i){throw this[Sb]=!1,i}this[Sb]=!1,Hb.call(this,n),Vb.call(this,n)}}},t.prototype.showLoading=function(e,t){if(this._disposed)i_(this.id);else if(Object(l["A"])(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),d_[e]){var r=d_[e](this._api,t),n=this._zr;this._loadingFX=r,n.add(r)}},t.prototype.hideLoading=function(){this._disposed?i_(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(l["m"])({},e);return t.type=a_[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)i_(this.id);else if(Object(l["A"])(t)||(t={silent:!!t}),o_[e.type]&&this._model)if(this[Sb])this._pendingActions.push(e);else{var r=t.silent;zb.call(this,e,r);var n=t.flush;n?this._zr.flush():!1!==n&&s["a"].browser.weChat&&this._throttledZrFlush(),Hb.call(this,r),Vb.call(this,r)}},t.prototype.updateLabelLayout=function(){nb.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)i_(this.id);else{var t=e.seriesIndex,r=this.getModel(),n=r.getSeriesByIndex(t);0,n.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){var t=[],r=[],n=!1;if(e.eachComponent((function(e,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();n=n||!!s,("series"===e?r:t).push({zlevel:o,z:a,idx:i.componentIndex,type:e,key:s})})),n){var i,o,a=t.concat(r);Ke(a,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),Object(l["k"])(a,(function(t){var r=e.getComponent(t.type,t.idx),n=t.zlevel,a=t.key;null!=i&&(n=Math.max(i,n)),a?(n===i&&a!==o&&n++,o=a):o&&(n===i&&n++,o=""),i=n,r.setZLevel(n)}))}}function r(e){for(var t=[],r=e.currentStates,n=0;n<r.length;n++){var i=r[n];"emphasis"!==i&&"blur"!==i&&"select"!==i&&t.push(i)}e.selected&&e.states.select&&t.push("select"),e.hoverState===Ps&&e.states.emphasis?t.push("emphasis"):e.hoverState===js&&e.states.blur&&t.push("blur"),e.useStates(t)}function n(e,t){var r=e._zr,n=r.storage,i=0;n.traverse((function(e){e.isGroup||i++})),i>t.get("hoverLayerThreshold")&&!s["a"].node&&!s["a"].worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var r=e._chartsMap[t.__viewId];r.__alive&&r.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}function i(e,t){var r=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=r)}))}function o(e,t){if(!e.preventAutoZ){var r=e.get("z")||0,n=e.get("zlevel")||0;t.eachRendered((function(e){return u(e,r,n,-1/0),!0}))}}function u(e,t,r,n){var i=e.getTextContent(),o=e.getTextGuideLine(),a=e.isGroup;if(a)for(var s=e.childrenRef(),l=0;l<s.length;l++)n=Math.max(u(s[l],t,r,n),n);else e.z=t,e.zlevel=r,n=Math.max(e.z2,n);if(i&&(i.z=t,i.zlevel=r,isFinite(n)&&(i.z2=n+2)),o){var c=e.textGuideLineConfig;o.z=t,o.zlevel=r,isFinite(n)&&(o.z2=n+(c&&c.showAbove?1:-1))}return n}function c(e,t){t.eachRendered((function(e){if(!$l(e)){var t=e.getTextContent(),r=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),r&&r.stateTransition&&(r.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}}))}function d(e,t){var n=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),o=n.get("duration"),a=o>0?{duration:o,delay:n.get("delay"),easing:n.get("easing")}:null;t.eachRendered((function(e){if(e.states&&e.states.emphasis){if($l(e))return;if(e instanceof Wa&&Fl(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(i){e.stateTransition=a;var n=e.getTextContent(),o=e.getTextGuideLine();n&&(n.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&r(e)}}))}Pb=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),Rb(e,!0),Rb(e,!1),t.plan()},Rb=function(e,t){for(var r=e._model,n=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(e){var l=e.__requireNewView;e.__requireNewView=!1;var u="_ec_"+e.id+"_"+e.type,c=!l&&o[u];if(!c){var d=Gi(e.type),h=t?Cp.getClass(d.main,d.sub):Gg.getClass(d.sub);0,c=new h,c.init(r,s),o[u]=c,i.push(c),a.add(c.group)}e.__viewId=c.__id=u,c.__alive=!0,c.__model=e,c.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&n.prepareView(c,e,r,s)}t?r.eachComponent((function(e,t){"series"!==e&&u(t)})):r.eachSeries(u);for(l=0;l<i.length;){var c=i[l];c.__alive?l++:(!t&&c.renderTask.dispose(),a.remove(c.group),c.dispose(r,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},Nb=function(e,t,r,n,i){var o=e._model;if(o.setUpdatePayload(r),n){var a={};a[n+"Id"]=r[n+"Id"],a[n+"Index"]=r[n+"Index"],a[n+"Name"]=r[n+"Name"];var s={mainType:n,query:a};i&&(s.subType=i);var u,c=r.excludeSeriesId;null!=c&&(u=Object(l["f"])(),Object(l["k"])(ci(c),(function(e){var t=Si(e,null);null!=t&&u.set(t,!0)}))),o&&o.eachComponent(s,(function(t){var n=u&&null!=u.get(t.id);if(!n)if(Yl(r))if(t instanceof Sp)r.type!==Fs||r.notBlur||t.get(["emphasis","disabled"])||_l(t,r,e._api);else{var i=wl(t.mainType,t.componentIndex,r.name,e._api),o=i.focusSelf,a=i.dispatchers;r.type===Fs&&o&&!r.notBlur&&bl(t.mainType,t.componentIndex,e._api),a&&Object(l["k"])(a,(function(e){r.type===Fs?cl(e):dl(e)}))}else Bl(r)&&t instanceof Sp&&(Sl(t,r,e._api),Ml(t),Zb(e))}),e),o&&o.eachComponent(s,(function(t){var r=u&&null!=u.get(t.id);r||d(e["series"===n?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else Object(l["k"])([].concat(e._componentsViews).concat(e._chartsViews),d);function d(n){n&&n.__alive&&n[t]&&n[t](n.__model,o,e._api,r)}},Bb={prepareAndUpdate:function(e){Pb(this),Bb.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,r){var n=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(n){n.setUpdatePayload(t),s.restoreData(n,t),s.performSeriesTasks(n),a.create(n,i),s.performDataProcessorTasks(n,t),Fb(this,n),a.update(n,i),e(n),s.performVisualTasks(n,t),$b(this,n,i,t,r);var l=n.get("backgroundColor")||"transparent",u=n.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),nb.trigger("afterupdate",n,i)}},updateTransform:function(t){var r=this,n=this._model,i=this._api;if(n){n.setUpdatePayload(t);var o=[];n.eachComponent((function(e,a){if("series"!==e){var s=r.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,n,i,t);l&&l.update&&o.push(s)}else o.push(s)}}));var a=Object(l["f"])();n.eachSeries((function(e){var o=r._chartsMap[e.__viewId];if(o.updateTransform){var s=o.updateTransform(e,n,i,t);s&&s.update&&a.set(e.uid,1)}else a.set(e.uid,1)})),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0,dirtyMap:a}),qb(this,n,i,t,{},a),nb.trigger("afterupdate",n,i)}},updateView:function(t){var r=this._model;r&&(r.setUpdatePayload(t),Gg.markUpdateMethod(t,"updateView"),e(r),this._scheduler.performVisualTasks(r,t,{setDirty:!0}),$b(this,r,this._api,t,{}),nb.trigger("afterupdate",r,this._api))},updateVisual:function(t){var r=this,n=this._model;n&&(n.setUpdatePayload(t),n.eachSeries((function(e){e.getData().clearAllVisual()})),Gg.markUpdateMethod(t,"updateVisual"),e(n),this._scheduler.performVisualTasks(n,t,{visualType:"visual",setDirty:!0}),n.eachComponent((function(e,i){if("series"!==e){var o=r.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,n,r._api,t)}})),n.eachSeries((function(e){var i=r._chartsMap[e.__viewId];i.updateVisual(e,n,r._api,t)})),nb.trigger("afterupdate",n,this._api))},updateLayout:function(e){Bb.update.call(this,e)}},Yb=function(e,t,r,n){if(e._disposed)i_(e.id);else{for(var i,o=e._model,a=e._coordSysMgr.getCoordinateSystems(),s=ji(o,r),l=0;l<a.length;l++){var u=a[l];if(u[t]&&null!=(i=u[t](o,s,n)))return i}0}},Fb=function(e,t){var r=e._chartsMap,n=e._scheduler;t.eachSeries((function(e){n.updateStreamModes(e,r[e.__viewId])}))},zb=function(e,t){var r=this,n=this.getModel(),i=e.type,o=e.escapeConnect,a=o_[i],s=a.actionInfo,u=(s.update||"update").split(":"),c=u.pop(),d=null!=u[0]&&Gi(u[0]);this[Sb]=!0;var h=[e],f=!1;e.batch&&(f=!0,h=Object(l["H"])(e.batch,(function(t){return t=Object(l["i"])(Object(l["m"])({},t),e),t.batch=null,t})));var p,m=[],g=Bl(e),v=Yl(e);if(v&&vl(this._api),Object(l["k"])(h,(function(t){if(p=a.action(t,r._model,r._api),p=p||Object(l["m"])({},t),p.type=s.event||p.type,m.push(p),v){var n=Pi(e),i=n.queryOptionMap,o=n.mainTypeSpecified,u=o?i.keys()[0]:"series";Nb(r,c,t,u),Zb(r)}else g?(Nb(r,c,t,"series"),Zb(r)):d&&Nb(r,c,t,d.main,d.sub)})),"none"!==c&&!v&&!g&&!d)try{this[Mb]?(Pb(this),Bb.update.call(this,e),this[Mb]=null):Bb[c].call(this,e)}catch(_){throw this[Sb]=!1,_}if(p=f?{type:s.event||i,escapeConnect:o,batch:m}:m[0],this[Sb]=!1,!t){var y=this._messageCenter;if(y.trigger(p.type,p),g){var b={type:"selectchanged",escapeConnect:o,selected:Cl(n),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};y.trigger(b.type,b)}}},Hb=function(e){var t=this._pendingActions;while(t.length){var r=t.shift();zb.call(this,r,e)}},Vb=function(e){!e&&this.trigger("updated")},Ub=function(e,t){e.on("rendered",(function(r){t.trigger("rendered",r),!e.animation.isFinished()||t[Mb]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},Wb=function(e,t){e.on("mouseover",(function(e){var r=e.target,n=$v(r,Pl);n&&(xl(n,e,t._api),Zb(t))})).on("mouseout",(function(e){var r=e.target,n=$v(r,Pl);n&&(kl(n,e,t._api),Zb(t))})).on("click",(function(e){var r=e.target,n=$v(r,(function(e){return null!=Ts(e).dataIndex}),!0);if(n){var i=n.selected?"unselect":"select",o=Ts(n);t._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},$b=function(e,r,n,i,o){t(r),Gb(e,r,n,i,o),Object(l["k"])(e._chartsViews,(function(e){e.__alive=!1})),qb(e,r,n,i,o),Object(l["k"])(e._chartsViews,(function(e){e.__alive||e.remove(r,n)}))},Gb=function(e,t,r,n,i,a){Object(l["k"])(a||e._componentsViews,(function(e){var i=e.__model;c(i,e),e.render(i,t,r,n),o(i,e),d(i,e)}))},qb=function(e,t,r,a,s,u){var h=e._scheduler;s=Object(l["m"])(s||{},{updatedSeries:t.getSeries()}),nb.trigger("series:beforeupdate",t,r,s);var f=!1;t.eachSeries((function(t){var r=e._chartsMap[t.__viewId];r.__alive=!0;var n=r.renderTask;h.updatePayload(n,a),c(t,r),u&&u.get(t.uid)&&n.dirty(),n.perform(h.getPerformArgs(n))&&(f=!0),r.group.silent=!!t.get("silent"),i(t,r),Ml(t)})),h.unfinished=f||h.unfinished,nb.trigger("series:layoutlabels",t,r,s),nb.trigger("series:transition",t,r,s),t.eachSeries((function(t){var r=e._chartsMap[t.__viewId];o(t,r),d(t,r)})),n(e,t),nb.trigger("series:afterupdate",t,r,s)},Zb=function(e){e[Cb]=!0,e.getZr().wakeUp()},Jb=function(e){e[Cb]&&(e.getZr().storage.traverse((function(e){$l(e)||r(e)})),e[Cb]=!1)},Xb=function(e){return new(function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return a(r,t),r.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},r.prototype.getComponentByElement=function(t){while(t){var r=t.__ecComponentInfo;if(null!=r)return e._model.getComponent(r.mainType,r.index);t=t.parent}},r.prototype.enterEmphasis=function(t,r){cl(t,r),Zb(e)},r.prototype.leaveEmphasis=function(t,r){dl(t,r),Zb(e)},r.prototype.enterBlur=function(t){hl(t),Zb(e)},r.prototype.leaveBlur=function(t){fl(t),Zb(e)},r.prototype.enterSelect=function(t){pl(t),Zb(e)},r.prototype.leaveSelect=function(t){ml(t),Zb(e)},r.prototype.getModel=function(){return e.getModel()},r.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},r.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},r}(Ud))(e)},Kb=function(e){function t(e,t){for(var r=0;r<e.length;r++){var n=e[r];n[Ob]=t}}Object(l["k"])(a_,(function(r,n){e._messageCenter.on(n,(function(r){if(f_[e.group]&&e[Ob]!==Lb){if(r&&r.escapeConnect)return;var n=e.makeActionFromEvent(r),i=[];Object(l["k"])(h_,(function(t){t!==e&&t.group===e.group&&i.push(t)})),t(i,Lb),Object(l["k"])(i,(function(e){e[Ob]!==Ab&&e.dispatchAction(n)})),t(i,Db)}}))}))}}(),t}(E),r_=t_.prototype;r_.on=Eb("on"),r_.off=Eb("off"),r_.one=function(e,t,r){var n=this;function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];t&&t.apply&&t.apply(this,r),n.off(e,i)}Dd("ECharts#one is deprecated."),this.on.call(this,e,i,r)};var n_=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function i_(e){0}var o_={},a_={},s_=[],l_=[],u_=[],c_={},d_={},h_={},f_={},p_=+new Date-0,m_=(new Date,"_echarts_instance_");function g_(e,t,r){var n=!(r&&r.ssr);if(n){0;var i=v_(e);if(i)return i;0}var o=new t_(e,t,r);return o.id="ec_"+p_++,h_[o.id]=o,n&&Yi(e,m_,o.id),Kb(o),nb.trigger("afterinit",o),o}function v_(e){return h_[Fi(e,m_)]}function y_(e,t){c_[e]=t}function b_(e){Object(l["r"])(l_,e)<0&&l_.push(e)}function __(e,t){L_(s_,e,t,db)}function w_(e){k_("afterinit",e)}function x_(e){k_("afterupdate",e)}function k_(e,t){nb.on(e,t)}function S_(e,t,r){Object(l["w"])(t)&&(r=t,t="");var n=Object(l["A"])(e)?e.type:[e,e={event:t}][0];e.event=(e.event||n).toLowerCase(),t=e.event,a_[t]||(Object(l["b"])(Tb.test(n)&&Tb.test(t)),o_[n]||(o_[n]={action:r,actionInfo:e}),a_[t]=n)}function M_(e,t){Gd.register(e,t)}function C_(e,t){L_(u_,e,t,fb,"layout")}function T_(e,t){L_(u_,e,t,gb,"visual")}var O_=[];function L_(e,t,r,n,i){if((Object(l["w"])(t)||Object(l["A"])(t))&&(r=t,t=n),!(Object(l["r"])(O_,r)>=0)){O_.push(r);var o=Cv.wrapStageHandler(r,i);o.__prio=t,o.__raw=r,e.push(o)}}function A_(e,t){d_[e]=t}function D_(e,t,r){var n=ab("registerMap");n&&n(e,t,r)}function E_(e){var t=ab("getMap");return t&&t(e)}var I_=kf;T_(mb,ov),T_(yb,sv),T_(yb,lv),T_(mb,Bv),T_(yb,Yv),T_(xb,tb),b_(Sh),__(ub,Mh),A_("default",cv),S_({type:Fs,event:Fs,update:Fs},l["L"]),S_({type:zs,event:zs,update:zs},l["L"]),S_({type:Hs,event:Hs,update:Hs},l["L"]),S_({type:Vs,event:Vs,update:Vs},l["L"]),S_({type:Us,event:Us,update:Us},l["L"]),y_("light",Ov),y_("dark",jv);var j_=[],P_={registerPreprocessor:b_,registerProcessor:__,registerPostInit:w_,registerPostUpdate:x_,registerUpdateLifecycle:k_,registerAction:S_,registerCoordinateSystem:M_,registerLayout:C_,registerVisual:T_,registerTransform:I_,registerLoading:A_,registerMap:D_,registerImpl:ob,PRIORITY:kb,ComponentModel:Kc,ComponentView:Cp,SeriesModel:Sp,ChartView:Gg,registerComponentModel:function(e){Kc.registerClass(e)},registerComponentView:function(e){Cp.registerClass(e)},registerSeriesModel:function(e){Sp.registerClass(e)},registerChartView:function(e){Gg.registerClass(e)},registerSubTypeDefaulter:function(e,t){Kc.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Dn(e,t)}};function R_(e){Object(l["t"])(e)?Object(l["k"])(e,(function(e){R_(e)})):Object(l["r"])(j_,e)>=0||(j_.push(e),Object(l["w"])(e)&&(e={install:e}),e.install(P_))}var N_=2*Math.PI,B_=ba.CMD,Y_=["top","right","bottom","left"];function F_(e,t,r,n,i){var o=r.width,a=r.height;switch(e){case"top":n.set(r.x+o/2,r.y-t),i.set(0,-1);break;case"bottom":n.set(r.x+o/2,r.y+a+t),i.set(0,1);break;case"left":n.set(r.x-t,r.y+a/2),i.set(-1,0);break;case"right":n.set(r.x+o+t,r.y+a/2),i.set(1,0);break}}function z_(e,t,r,n,i,o,a,s,l){a-=e,s-=t;var u=Math.sqrt(a*a+s*s);a/=u,s/=u;var c=a*r+e,d=s*r+t;if(Math.abs(n-i)%N_<1e-4)return l[0]=c,l[1]=d,u-r;if(o){var h=n;n=Sa(i),i=Sa(h)}else n=Sa(n),i=Sa(i);n>i&&(i+=N_);var f=Math.atan2(s,a);if(f<0&&(f+=N_),f>=n&&f<=i||f+N_>=n&&f+N_<=i)return l[0]=c,l[1]=d,u-r;var p=r*Math.cos(n)+e,m=r*Math.sin(n)+t,g=r*Math.cos(i)+e,v=r*Math.sin(i)+t,y=(p-a)*(p-a)+(m-s)*(m-s),b=(g-a)*(g-a)+(v-s)*(v-s);return y<b?(l[0]=p,l[1]=m,Math.sqrt(y)):(l[0]=g,l[1]=v,Math.sqrt(b))}function H_(e,t,r,n,i,o,a,s){var l=i-e,u=o-t,c=r-e,d=n-t,h=Math.sqrt(c*c+d*d);c/=h,d/=h;var f=l*c+u*d,p=f/h;s&&(p=Math.min(Math.max(p,0),1)),p*=h;var m=a[0]=e+p*c,g=a[1]=t+p*d;return Math.sqrt((m-i)*(m-i)+(g-o)*(g-o))}function V_(e,t,r,n,i,o,a){r<0&&(e+=r,r=-r),n<0&&(t+=n,n=-n);var s=e+r,l=t+n,u=a[0]=Math.min(Math.max(i,e),s),c=a[1]=Math.min(Math.max(o,t),l);return Math.sqrt((u-i)*(u-i)+(c-o)*(c-o))}var U_=[];function W_(e,t,r){var n=V_(t.x,t.y,t.width,t.height,e.x,e.y,U_);return r.set(U_[0],U_[1]),n}function $_(e,t,r){for(var n,i,o=0,a=0,s=0,l=0,u=1/0,c=t.data,d=e.x,h=e.y,f=0;f<c.length;){var p=c[f++];1===f&&(o=c[f],a=c[f+1],s=o,l=a);var m=u;switch(p){case B_.M:s=c[f++],l=c[f++],o=s,a=l;break;case B_.L:m=H_(o,a,c[f],c[f+1],d,h,U_,!0),o=c[f++],a=c[f++];break;case B_.C:m=Mt(o,a,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],d,h,U_),o=c[f++],a=c[f++];break;case B_.Q:m=Et(o,a,c[f++],c[f++],c[f],c[f+1],d,h,U_),o=c[f++],a=c[f++];break;case B_.A:var g=c[f++],v=c[f++],y=c[f++],b=c[f++],_=c[f++],w=c[f++];f+=1;var x=!!(1-c[f++]);n=Math.cos(_)*y+g,i=Math.sin(_)*b+v,f<=1&&(s=n,l=i);var k=(d-g)*b/y+g;m=z_(g,v,b,_,_+w,x,k,h,U_),o=Math.cos(_+w)*y+g,a=Math.sin(_+w)*b+v;break;case B_.R:s=o=c[f++],l=a=c[f++];var S=c[f++],M=c[f++];m=V_(s,l,S,M,d,h,U_);break;case B_.Z:m=H_(o,a,s,l,d,h,U_,!0),o=s,a=l;break}m<u&&(u=m,r.set(U_[0],U_[1]))}return u}var G_=new ye,q_=new ye,X_=new ye,K_=new ye,Z_=new ye;function J_(e,t){if(e){var r=e.getTextGuideLine(),n=e.getTextContent();if(n&&r){var i=e.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||Y_,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var l=1/0,u=i.anchor,c=e.getComputedTransform(),d=c&&me([],c),h=t.get("length2")||0;u&&X_.copy(u);for(var f=0;f<a.length;f++){var p=a[f];F_(p,0,s,G_,K_),ye.scaleAndAdd(q_,G_,K_,h),q_.transform(d);var m=e.getBoundingRect(),g=u?u.distance(q_):e instanceof Wa?$_(q_,e.path,X_):W_(q_,m,X_);g<l&&(l=g,q_.transform(c),X_.transform(c),X_.toArray(o[0]),q_.toArray(o[1]),G_.toArray(o[2]))}tw(o,t.get("minTurnAngle")),r.setShape({points:o})}}}var Q_=[],ew=new ye;function tw(e,t){if(t<=180&&t>0){t=t/180*Math.PI,G_.fromArray(e[0]),q_.fromArray(e[1]),X_.fromArray(e[2]),ye.sub(K_,G_,q_),ye.sub(Z_,X_,q_);var r=K_.len(),n=Z_.len();if(!(r<.001||n<.001)){K_.scale(1/r),Z_.scale(1/n);var i=K_.dot(Z_),o=Math.cos(t);if(o<i){var a=H_(q_.x,q_.y,X_.x,X_.y,G_.x,G_.y,Q_,!1);ew.fromArray(Q_),ew.scaleAndAdd(Z_,a/Math.tan(Math.PI-t));var s=X_.x!==q_.x?(ew.x-q_.x)/(X_.x-q_.x):(ew.y-q_.y)/(X_.y-q_.y);if(isNaN(s))return;s<0?ye.copy(ew,q_):s>1&&ye.copy(ew,X_),ew.toArray(e[1])}}}}function rw(e,t,r){if(r<=180&&r>0){r=r/180*Math.PI,G_.fromArray(e[0]),q_.fromArray(e[1]),X_.fromArray(e[2]),ye.sub(K_,q_,G_),ye.sub(Z_,X_,q_);var n=K_.len(),i=Z_.len();if(!(n<.001||i<.001)){K_.scale(1/n),Z_.scale(1/i);var o=K_.dot(t),a=Math.cos(r);if(o<a){var s=H_(q_.x,q_.y,X_.x,X_.y,G_.x,G_.y,Q_,!1);ew.fromArray(Q_);var l=Math.PI/2,u=Math.acos(Z_.dot(t)),c=l+u-r;if(c>=l)ye.copy(ew,X_);else{ew.scaleAndAdd(Z_,s/Math.tan(Math.PI/2-c));var d=X_.x!==q_.x?(ew.x-q_.x)/(X_.x-q_.x):(ew.y-q_.y)/(X_.y-q_.y);if(isNaN(d))return;d<0?ye.copy(ew,q_):d>1&&ye.copy(ew,X_)}ew.toArray(e[1])}}}}function nw(e,t,r,n){var i="normal"===r,o=i?e:e.ensureState(r);o.ignore=t;var a=n.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=n.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function iw(e,t){var r=t.smooth,n=t.points;if(n)if(e.moveTo(n[0][0],n[0][1]),r>0&&n.length>=3){var i=w(n[0],n[1]),o=w(n[1],n[2]);if(!i||!o)return e.lineTo(n[1][0],n[1][1]),void e.lineTo(n[2][0],n[2][1]);var a=Math.min(i,o)*r,s=S([],n[1],n[0],a/i),l=S([],n[1],n[2],a/o),u=S([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)e.lineTo(n[c][0],n[c][1])}function ow(e,t,r){var n=e.getTextGuideLine(),i=e.getTextContent();if(i){for(var o=t.normal,a=o.get("show"),s=i.ignore,u=0;u<Ns.length;u++){var c=Ns[u],d=t[c],h="normal"===c;if(d){var f=d.get("show"),p=h?s:Object(l["P"])(i.states[c]&&i.states[c].ignore,s);if(p||!Object(l["P"])(f,a)){var m=h?n:n&&n.states[c];m&&(m.ignore=!0),n&&nw(n,!0,c,d);continue}n||(n=new Dm,e.setTextGuideLine(n),h||!s&&a||nw(n,!0,"normal",t.normal),e.stateProxy&&(n.stateProxy=e.stateProxy)),nw(n,!1,c,d)}}if(n){Object(l["i"])(n.style,r),n.style.fill=null;var g=o.get("showAbove"),v=e.textGuideLineConfig=e.textGuideLineConfig||{};v.showAbove=g||!1,n.buildPath=iw}}else n&&e.removeTextGuideLine()}function aw(e,t){t=t||"labelLine";for(var r={normal:e.getModel(t)},n=0;n<Rs.length;n++){var i=Rs[n];r[i]=e.getModel([i,t])}return r}function sw(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(!n.defaultAttr.ignore){var i=n.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new ng(a,o):null;t.push({label:i,labelLine:n.labelLine,rect:u,localRect:a,obb:c,priority:n.priority,defaultAttr:n.defaultAttr,layoutOption:n.computedLayoutOption,axisAligned:s,transform:o})}}return t}function lw(e,t,r,n,i,o){var a=e.length;if(!(a<2)){e.sort((function(e,r){return e.rect[t]-r.rect[t]}));for(var s,l=0,u=!1,c=[],d=0,h=0;h<a;h++){var f=e[h],p=f.rect;s=p[t]-l,s<0&&(p[t]-=s,f.label[t]-=s,u=!0);var m=Math.max(-s,0);c.push(m),d+=m,l=p[t]+p[r]}d>0&&o&&x(-d/a,0,a);var g,v,y=e[0],b=e[a-1];return _(),g<0&&k(-g,.8),v<0&&k(v,.8),_(),w(g,v,1),w(v,g,-1),_(),g<0&&S(-g),v<0&&S(v),u}function _(){g=y.rect[t]-n,v=i-b.rect[t]-b.rect[r]}function w(e,t,r){if(e<0){var n=Math.min(t,-e);if(n>0){x(n*r,0,a);var i=n+e;i<0&&k(-i*r,1)}else k(-e*r,1)}}function x(r,n,i){0!==r&&(u=!0);for(var o=n;o<i;o++){var a=e[o],s=a.rect;s[t]+=r,a.label[t]+=r}}function k(n,i){for(var o=[],s=0,l=1;l<a;l++){var u=e[l-1].rect,c=Math.max(e[l].rect[t]-u[t]-u[r],0);o.push(c),s+=c}if(s){var d=Math.min(Math.abs(n)/s,i);if(n>0)for(l=0;l<a-1;l++){var h=o[l]*d;x(h,0,l+1)}else for(l=a-1;l>0;l--){h=o[l-1]*d;x(-h,l,a)}}}function S(e){var t=e<0?-1:1;e=Math.abs(e);for(var r=Math.ceil(e/(a-1)),n=0;n<a-1;n++)if(t>0?x(r,0,n+1):x(-r,a-n-1,a),e-=r,e<=0)return}}function uw(e,t,r,n){return lw(e,"x","width",t,r,n)}function cw(e,t,r,n){return lw(e,"y","height",t,r,n)}function dw(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var r=new Oe(0,0,0,0);function n(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var i=0;i<e.length;i++){var o=e[i],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;r.copy(o.rect),r.width-=.1,r.height-=.1,r.x+=.05,r.y+=.05;for(var d=o.obb,h=!1,f=0;f<t.length;f++){var p=t[f];if(r.intersect(p.rect)){if(a&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new ng(p.localRect,p.transform)),d||(d=new ng(s,l)),d.intersect(p.obb)){h=!0;break}}}h?(n(u),c&&n(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}function hw(e){if(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].slice());return t}}function fw(e,t){var r=e.label,n=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:r.style.align,verticalAlign:r.style.verticalAlign,labelLinePoints:hw(n&&n.shape.points)}}var pw=["align","verticalAlign","width","height","fontSize"],mw=new Xr,gw=Ei(),vw=Ei();function yw(e,t,r){for(var n=0;n<r.length;n++){var i=r[n];null!=t[i]&&(e[i]=t[i])}}var bw=["x","y","rotation"],_w=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,r,n,i){var o=n.style,a=n.__hostTarget,s=a.textConfig||{},l=n.getComputedTransform(),u=n.getBoundingRect().plain();Oe.applyTransform(u,u,l),l?mw.setLocalTransform(l):(mw.x=mw.y=mw.rotation=mw.originX=mw.originY=0,mw.scaleX=mw.scaleY=1),mw.rotation=Sa(mw.rotation);var c,d=n.__hostTarget;if(d){c=d.getBoundingRect().plain();var h=d.getComputedTransform();Oe.applyTransform(c,c,h)}var f=c&&d.getTextGuideLine();this._labelList.push({label:n,labelLine:f,seriesModel:r,dataIndex:e,dataType:t,layoutOption:i,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:f&&f.ignore,x:mw.x,y:mw.y,scaleX:mw.scaleX,scaleY:mw.scaleY,rotation:mw.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:n.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var r=e.__model,n=r.get("labelLayout");(Object(l["w"])(n)||Object(l["F"])(n).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var i=e.getTextContent(),o=Ts(e);i&&!i.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,r,i,n)}))},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),r=e.getHeight();function n(e,t){return function(){J_(e,t)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],a=o.label,s=a.__hostTarget,u=o.defaultAttr,c=void 0;c=Object(l["w"])(o.layoutOption)?o.layoutOption(fw(o,s)):o.layoutOption,c=c||{},o.computedLayoutOption=c;var d=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:u.attachedPos,rotation:null!=c.rotate?c.rotate*d:u.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(null!=c.x?(a.x=Bn(c.x,t),a.setStyle("x",0),h=!0):(a.x=u.x,a.setStyle("x",u.style.x)),null!=c.y?(a.y=Bn(c.y,r),a.setStyle("y",0),h=!0):(a.y=u.y,a.setStyle("y",u.style.y)),c.labelLinePoints){var f=s.getTextGuideLine();f&&(f.setShape({points:c.labelLinePoints}),h=!1)}var p=gw(a);p.needsUpdateLabelLine=h,a.rotation=null!=c.rotate?c.rotate*d:u.rotation,a.scaleX=u.scaleX,a.scaleY=u.scaleY;for(var m=0;m<pw.length;m++){var g=pw[m];a.setStyle(g,null!=c[g]?c[g]:u.style[g])}if(c.draggable){if(a.draggable=!0,a.cursor="move",s){var v=o.seriesModel;if(null!=o.dataIndex){var y=o.seriesModel.getData(o.dataType);v=y.getItemModel(o.dataIndex)}a.on("drag",n(s,v.getModel("labelLine")))}}else a.off("drag"),a.cursor=u.cursor}},e.prototype.layout=function(e){var t=e.getWidth(),r=e.getHeight(),n=sw(this._labelList),i=Object(l["n"])(n,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),o=Object(l["n"])(n,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));uw(i,0,t),cw(o,0,r);var a=Object(l["n"])(n,(function(e){return e.layoutOption.hideOverlap}));dw(a)},e.prototype.processLabelsOverall=function(){var e=this;Object(l["k"])(this._chartViewList,(function(t){var r=t.__model,n=t.ignoreLabelLineUpdate,i=r.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var o=!n,a=t.getTextContent();!o&&a&&(o=gw(a).needsUpdateLabelLine),o&&e._updateLabelLine(t,r),i&&e._animateLabels(t,r)}))}))},e.prototype._updateLabelLine=function(e,t){var r=e.getTextContent(),n=Ts(e),i=n.dataIndex;if(r&&null!=i){var o=t.getData(n.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var c=a.getModel("labelLine");ow(e,aw(a),s),J_(e,c)}},e.prototype._animateLabels=function(e,t){var r=e.getTextContent(),n=e.getTextGuideLine();if(r&&(e.forceLabelAnimation||!r.ignore&&!r.invisible&&!e.disableLabelAnimation&&!$l(e))){var i=gw(r),o=i.oldLayout,a=Ts(e),s=a.dataIndex,u={x:r.x,y:r.y,rotation:r.rotation},c=t.getData(a.dataType);if(o){r.attr(o);var d=e.prevStates;d&&(Object(l["r"])(d,"select")>=0&&r.attr(i.oldLayoutSelect),Object(l["r"])(d,"emphasis")>=0&&r.attr(i.oldLayoutEmphasis)),Ul(r,u,t,s)}else if(r.attr(u),!hu(r).valueAnimation){var h=Object(l["P"])(r.style.opacity,1);r.style.opacity=0,Wl(r,{style:{opacity:h}},t,s)}if(i.oldLayout=u,r.states.select){var f=i.oldLayoutSelect={};yw(f,u,bw),yw(f,r.states.select,bw)}if(r.states.emphasis){var p=i.oldLayoutEmphasis={};yw(p,u,bw),yw(p,r.states.emphasis,bw)}pu(r,s,c,t,t)}if(n&&!n.ignore&&!n.invisible){i=vw(n),o=i.oldLayout;var m={points:n.shape.points};o?(n.attr({shape:o}),Ul(n,{shape:m},t)):(n.setShape(m),n.style.strokePercent=0,Wl(n,{style:{strokePercent:1}},t)),i.oldLayout=m}},e}(),ww=_w,xw=Ei();function kw(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,r){var n=xw(t).labelManager;n||(n=xw(t).labelManager=new ww),n.clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,r){var n=xw(t).labelManager;r.updatedSeries.forEach((function(e){n.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),n.updateLayoutConfig(t),n.layout(t),n.processLabelsOverall()}))}function Sw(e,t,r){var n=Zr["d"].createCanvas(),i=t.getWidth(),o=t.getHeight(),a=n.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",n.setAttribute("data-zr-dom-id",e)),n.width=i*r,n.height=o*r,n}R_(kw);var Mw=function(e){function t(t,r,n){var i,o=e.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,n=n||jr,"string"===typeof t?i=Sw(t,r,n):l["A"](t)&&(i=t,t=i.id),o.id=t,o.dom=i;var a=i.style;return a&&(l["j"](i),i.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=r,o.dpr=n,o}return a(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=Sw("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,r,n){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new Oe(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===o.length){var t=new Oe(0,0,0,0);t.copy(e),o.push(t)}else{for(var r=!1,n=1/0,i=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(e)){var d=new Oe(0,0,0,0);d.copy(c),d.union(e),o[u]=d,r=!0;break}if(s){l.copy(e),l.union(c);var h=e.width*e.height,f=c.width*c.height,p=l.width*l.height,m=p-h-f;m<n&&(n=m,i=u)}}if(s&&(o[i].union(e),r=!0),!r){t=new Oe(0,0,0,0);t.copy(e),o.push(t)}s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var d=e[c];if(d){var h=d.shouldBePainted(r,n,!0,!0),f=d.__isRendered&&(d.__dirty&Ze||!h)?d.getPrevPaintRect():null;f&&u(f);var p=h&&(d.__dirty&Ze||!d.__isRendered)?d.getPaintRect():null;p&&u(p)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){d=t[c],h=d&&d.shouldBePainted(r,n,!0,!0);if(d&&(!h||!d.__zr)&&d.__isRendered){f=d.getPrevPaintRect();f&&u(f)}}do{i=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var m=c+1;m<o.length;)o[c].intersect(o[m])?(i=!0,o[c].union(o[m]),o.splice(m,1)):m++;c++}}while(i);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var r=this.dpr,n=this.dom,i=n.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),n.width=e*r,n.height=t*r,o&&(o.width=e*r,o.height=t*r,1!==r&&this.ctxBack.scale(r,r))},t.prototype.clear=function(e,t,r){var n=this.dom,i=this.ctx,o=n.width,a=n.height;t=t||this.clearColor;var s=this.motionBlur&&!e,u=this.lastFrameAlpha,c=this.dpr,d=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,o/c,a/c));var h=this.domBack;function f(e,r,n,o){if(i.clearRect(e,r,n,o),t&&"transparent"!==t){var a=void 0;if(l["x"](t)){var f=t.global||t.__width===n&&t.__height===o;a=f&&t.__canvasGradient||hy(i,t,{x:0,y:0,width:n,height:o}),t.__canvasGradient=a,t.__width=n,t.__height=o}else l["y"](t)&&(t.scaleX=t.scaleX||c,t.scaleY=t.scaleY||c,a=Sy(i,t,{dirty:function(){d.setUnpainted(),d.painter.refresh()}}));i.save(),i.fillStyle=a||t,i.fillRect(e,r,n,o),i.restore()}s&&(i.save(),i.globalAlpha=u,i.drawImage(h,e,r,n,o),i.restore())}!r||s?f(0,0,o,a):r.length&&l["k"](r,(function(e){f(e.x*c,e.y*c,e.width*c,e.height*c)}))},t}(E),Cw=Mw,Tw=1e5,Ow=314159,Lw=.01,Aw=.001;function Dw(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}function Ew(e,t){var r=document.createElement("div");return r.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",r}var Iw=function(){function e(e,t,r,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=r=l["m"]({},r||{}),this.dpr=r.devicePixelRatio||jr,this._singleCanvas=i,this.root=e;var o=e.style;o&&(l["j"](e),e.innerHTML=""),this.storage=t;var a=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var u=e,c=u.width,d=u.height;null!=r.width&&(c=r.width),null!=r.height&&(d=r.height),this.dpr=r.devicePixelRatio||1,u.width=c*this.dpr,u.height=d*this.dpr,this._width=c,this._height=d;var h=new Cw(u,this,this.dpr);h.__builtin__=!0,h.initContext(),s[Ow]=h,h.zlevel=Ow,a.push(Ow),this._domRoot=e}else{this._width=my(e,0,r),this._height=my(e,1,r);var f=this._domRoot=Ew(this._width,this._height);e.appendChild(f)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),r=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,r,e,this._redrawId);for(var i=0;i<n.length;i++){var o=n[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(e){var t=e.length,r=this._hoverlayer;if(r&&r.clear(),t){for(var n,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<t;o++){var a=e[o];a.__inHover&&(r||(r=this._hoverlayer=this.getLayer(Tw)),n||(n=r.ctx,n.save()),Uy(n,a,i,o===t-1))}n&&n.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(Tw)},e.prototype.paintOne=function(e,t){Vy(e,t)},e.prototype._paintList=function(e,t,r,n){if(this._redrawId===n){r=r||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,r),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),o)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var s=this;at((function(){s._paintList(e,t,r,n)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(Ow).ctx,t=this._domRoot.width,r=this._domRoot.height;e.clearRect(0,0,t,r),this.eachBuiltinLayer((function(n){n.virtual&&e.drawImage(n.dom,0,0,t,r)}))},e.prototype._doPaintList=function(e,t,r){for(var n=this,i=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var u=this._zlevelList[a],c=this._layers[u];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||r)&&i.push(c)}for(var d=!0,h=!1,f=function(a){var s,l=i[a],u=l.ctx,c=o&&l.createRepaintRects(e,t,p._width,p._height),f=r?l.__startIndex:l.__drawIndex,m=!r&&l.incremental&&Date.now,g=m&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,c);else if(f===l.__startIndex){var y=e[f];y.incremental&&y.notClear&&!r||l.clear(!1,v,c)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var b=function(t){var r={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(s=f;s<l.__endIndex;s++){var i=e[s];if(i.__inHover&&(h=!0),n._doPaintEl(i,l,o,t,r,s===l.__endIndex-1),m){var a=Date.now()-g;if(a>15)break}}r.prevElClipPaths&&u.restore()};if(c)if(0===c.length)s=l.__endIndex;else for(var _=p.dpr,w=0;w<c.length;++w){var x=c[w];u.save(),u.beginPath(),u.rect(x.x*_,x.y*_,x.width*_,x.height*_),u.clip(),b(x),u.restore()}else u.save(),b(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(d=!1)},p=this,m=0;m<i.length;m++)f(m);return s["a"].wxa&&l["k"](this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:d,needsRefreshHover:h}},e.prototype._doPaintEl=function(e,t,r,n,i,o){var a=t.ctx;if(r){var s=e.getPaintRect();(!n||s&&s.intersect(n))&&(Uy(a,e,i,o),e.setPrevPaintRect(s))}else Uy(a,e,i,o)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Ow);var r=this._layers[e];return r||(r=new Cw("zr_"+e,this,this.dpr),r.zlevel=e,r.__builtin__=!0,this._layerConfig[e]?l["I"](r,this._layerConfig[e],!0):this._layerConfig[e-Lw]&&l["I"](r,this._layerConfig[e-Lw],!0),t&&(r.virtual=t),this.insertLayer(e,r),r.initContext()),r},e.prototype.insertLayer=function(e,t){var r=this._layers,n=this._zlevelList,i=n.length,o=this._domRoot,a=null,s=-1;if(!r[e]&&Dw(t)){if(i>0&&e>n[0]){for(s=0;s<i-1;s++)if(n[s]<e&&n[s+1]>e)break;a=r[n[s]]}if(n.splice(s+1,0,e),r[e]=t,!t.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(t.dom,l.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.painter||(t.painter=this)}},e.prototype.eachLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n];e.call(t,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],o=this._layers[i];o.__builtin__&&e.call(t,o,i)}},e.prototype.eachOtherLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],o=this._layers[i];o.__builtin__||e.call(t,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){a&&(a.__endIndex!==e&&(a.__dirty=!0),a.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var r=1;r<e.length;r++){var n=e[r];if(n.zlevel!==e[r-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var i,o,a=null,s=0;for(o=0;o<e.length;o++){n=e[o];var u=n.zlevel,c=void 0;i!==u&&(i=u,s=0),n.incremental?(c=this.getLayer(u+Aw,this._needsManuallyCompositing),c.incremental=!0,s=1):c=this.getLayer(u+(s>0?Lw:0),this._needsManuallyCompositing),c.__builtin__||l["G"]("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,t(o),a=c),n.__dirty&Ze&&!n.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}t(o),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,l["k"](this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var r=this._layerConfig;r[e]?l["I"](r[e],t,!0):r[e]=t;for(var n=0;n<this._zlevelList.length;n++){var i=this._zlevelList[n];if(i===e||i===e+Lw){var o=this._layers[i];l["I"](o,r[e],!0)}}}},e.prototype.delLayer=function(e){var t=this._layers,r=this._zlevelList,n=t[e];n&&(n.dom.parentNode.removeChild(n.dom),delete t[e],r.splice(l["r"](r,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var n=this._opts,i=this.root;if(null!=e&&(n.width=e),null!=t&&(n.height=t),e=my(i,0,n),t=my(i,1,n),r.style.display="",this._width!==e||t!==this._height){for(var o in r.style.width=e+"px",r.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(Ow).resize(e,t)}return this},e.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[Ow].dom;var t=new Cw("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var r=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,i=t.dom.height;this.eachLayer((function(e){e.__builtin__?r.drawImage(e.dom,0,0,n,i):e.renderToCanvas&&(r.save(),e.renderToCanvas(r),r.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Uy(r,u,o,s===l-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}(),jw=Iw;function Pw(e){e.registerPainter("canvas",jw)}var Rw=Math.sin,Nw=Math.cos,Bw=Math.PI,Yw=2*Math.PI,Fw=180/Bw,zw=function(){function e(){}return e.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},e.prototype.moveTo=function(e,t){this._add("M",e,t)},e.prototype.lineTo=function(e,t){this._add("L",e,t)},e.prototype.bezierCurveTo=function(e,t,r,n,i,o){this._add("C",e,t,r,n,i,o)},e.prototype.quadraticCurveTo=function(e,t,r,n){this._add("Q",e,t,r,n)},e.prototype.arc=function(e,t,r,n,i,o){this.ellipse(e,t,r,r,0,n,i,o)},e.prototype.ellipse=function(e,t,r,n,i,o,a,s){var l=a-o,u=!s,c=Math.abs(l),d=Object(Yt["j"])(c-Yw)||(u?l>=Yw:-l>=Yw),h=l>0?l%Yw:l%Yw+Yw,f=!1;f=!!d||!Object(Yt["j"])(c)&&h>=Bw===!!u;var p=e+r*Nw(o),m=t+n*Rw(o);this._start&&this._add("M",p,m);var g=Math.round(i*Fw);if(d){var v=1/this._p,y=(u?1:-1)*(Yw-v);this._add("A",r,n,g,1,+u,e+r*Nw(o+y),t+n*Rw(o+y)),v>.01&&this._add("A",r,n,g,0,+u,p,m)}else{var b=e+r*Nw(a),_=t+n*Rw(a);this._add("A",r,n,g,+f,+u,b,_)}},e.prototype.rect=function(e,t,r,n){this._add("M",e,t),this._add("l",r,0),this._add("l",0,n),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,r,n,i,o,a,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(e+u.join(" ")),this._start="Z"===e},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}(),Hw=zw,Vw="none",Uw=Math.round;function Ww(e){var t=e.fill;return null!=t&&t!==Vw}function $w(e){var t=e.stroke;return null!=t&&t!==Vw}var Gw=["lineCap","miterLimit","lineJoin"],qw=Object(l["H"])(Gw,(function(e){return"stroke-"+e.toLowerCase()}));function Xw(e,t,r,n){var i=null==t.opacity?1:t.opacity;if(r instanceof Qa)e("opacity",i);else{if(Ww(t)){var o=Object(Yt["p"])(t.fill);e("fill",o.color);var a=null!=t.fillOpacity?t.fillOpacity*o.opacity*i:o.opacity*i;(n||a<1)&&e("fill-opacity",a)}else e("fill",Vw);if($w(t)){var s=Object(Yt["p"])(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?r.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=null!=t.strokeOpacity?t.strokeOpacity*s.opacity*i:s.opacity*i,d=t.strokeFirst;if((n||1!==u)&&e("stroke-width",u),(n||d)&&e("paint-order",d?"stroke":"fill"),(n||c<1)&&e("stroke-opacity",c),t.lineDash){var h=vy(r),f=h[0],p=h[1];f&&(p=Uw(p||0),e("stroke-dasharray",f.join(",")),(p||n)&&e("stroke-dashoffset",p))}else n&&e("stroke-dasharray",Vw);for(var m=0;m<Gw.length;m++){var g=Gw[m];if(n||t[g]!==za[g]){var v=t[g]||za[g];v&&e(qw[m],v)}}}else n&&e("stroke",Vw)}}var Kw="http://www.w3.org/2000/svg",Zw="http://www.w3.org/1999/xlink",Jw="http://www.w3.org/2000/xmlns/",Qw="http://www.w3.org/XML/1998/namespace",ex="ecmeta_";function tx(e){return document.createElementNS(Kw,e)}function rx(e,t,r,n,i){return{tag:e,attrs:r||{},children:n,text:i,key:t}}function nx(e,t){var r=[];if(t)for(var n in t){var i=t[n],o=n;!1!==i&&(!0!==i&&null!=i&&(o+='="'+i+'"'),r.push(o))}return"<"+e+" "+r.join(" ")+">"}function ix(e){return"</"+e+">"}function ox(e,t){t=t||{};var r=t.newline?"\n":"";function n(e){var t=e.children,i=e.tag,o=e.attrs,a=e.text;return nx(i,o)+("style"!==i?W(a):a||"")+(t?""+r+Object(l["H"])(t,(function(e){return n(e)})).join(r)+r:"")+ix(i)}return n(e)}function ax(e,t,r){r=r||{};var n=r.newline?"\n":"",i=" {"+n,o=n+"}",a=Object(l["H"])(Object(l["F"])(e),(function(t){return t+i+Object(l["H"])(Object(l["F"])(e[t]),(function(r){return r+":"+e[t][r]+";"})).join(n)+o})).join(n),s=Object(l["H"])(Object(l["F"])(t),(function(e){return"@keyframes "+e+i+Object(l["H"])(Object(l["F"])(t[e]),(function(r){return r+i+Object(l["H"])(Object(l["F"])(t[e][r]),(function(n){var i=t[e][r][n];return"d"===n&&(i='path("'+i+'")'),n+":"+i+";"})).join(n)+o})).join(n)+o})).join(n);return a||s?["<![CDATA[",a,s,"]]>"].join(n):""}function sx(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function lx(e,t,r,n){return rx("svg","root",{width:e,height:t,xmlns:Kw,"xmlns:xlink":Zw,version:"1.1",baseProfile:"full",viewBox:!!n&&"0 0 "+e+" "+t},r)}var ux=0;function cx(){return ux++}var dx={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"},hx="transform-origin";function fx(e,t,r){var n=Object(l["m"])({},e.shape);Object(l["m"])(n,t),e.buildPath(r,n);var i=new Hw;return i.reset(Object(Yt["f"])(e)),r.rebuildPath(i,1),i.generateStr(),i.getStr()}function px(e,t){var r=t.originX,n=t.originY;(r||n)&&(e[hx]=r+"px "+n+"px")}var mx={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function gx(e,t){var r=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[r]=e,r}function vx(e,t,r){var n,i,o=e.shape.paths,a={};if(Object(l["k"])(o,(function(e){var t=sx(r.zrId);t.animation=!0,bx(e,{},t,!0);var o=t.cssAnims,s=t.cssNodes,u=Object(l["F"])(o),c=u.length;if(c){i=u[c-1];var d=o[i];for(var h in d){var f=d[h];a[h]=a[h]||{d:""},a[h].d+=f.d||""}for(var p in s){var m=s[p].animation;m.indexOf(i)>=0&&(n=m)}}})),n){t.d=!1;var s=gx(a,r);return n.replace(i,s)}}function yx(e){return Object(l["C"])(e)?dx[e]?"cubic-bezier("+dx[e]+")":Pt(e)?e:"":""}function bx(e,t,r,n){var i=e.animators,o=i.length,a=[];if(e instanceof Wm){var s=vx(e,t,r);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var u={},c=0;c<o;c++){var d=i[c],h=[d.getMaxTime()/1e3+"s"],f=yx(d.getClip().easing),p=d.getDelay();f?h.push(f):h.push("linear"),p&&h.push(p/1e3+"s"),d.getLoop()&&h.push("infinite");var m=h.join(" ");u[m]=u[m]||[m,[]],u[m][1].push(d)}function g(i){var o,a=i[1],s=a.length,u={},c={},d={},h="animation-timing-function";function f(e,t,r){for(var n=e.getTracks(),i=e.getMaxTime(),o=0;o<n.length;o++){var a=n[o];if(a.needsAnimate()){var s=a.keyframes,u=a.propName;if(r&&(u=r(u)),u)for(var c=0;c<s.length;c++){var d=s[c],f=Math.round(d.time/i*100)+"%",p=yx(d.easing),m=d.rawValue;(Object(l["C"])(m)||Object(l["z"])(m))&&(t[f]=t[f]||{},t[f][u]=d.rawValue,p&&(t[f][h]=p))}}}}for(var p=0;p<s;p++){var m=a[p],g=m.targetName;g?"shape"===g&&f(m,c):!n&&f(m,u)}for(var v in u){var y={};qr(y,e),Object(l["m"])(y,u[v]);var b=Object(Yt["g"])(y),_=u[v][h];d[v]=b?{transform:b}:{},px(d[v],y),_&&(d[v][h]=_)}var w=!0;for(var v in c){d[v]=d[v]||{};var x=!o;_=c[v][h];x&&(o=new ba);var k=o.len();o.reset(),d[v].d=fx(e,c[v],o);var S=o.len();if(!x&&k!==S){w=!1;break}_&&(d[v][h]=_)}if(!w)for(var v in d)delete d[v].d;if(!n)for(p=0;p<s;p++){m=a[p],g=m.targetName;"style"===g&&f(m,d,(function(e){return mx[e]}))}var M,C=Object(l["F"])(d),T=!0;for(p=1;p<C.length;p++){var O=C[p-1],L=C[p];if(d[O][hx]!==d[L][hx]){T=!1;break}M=d[O][hx]}if(T&&M){for(var v in d)d[v][hx]&&delete d[v][hx];t[hx]=M}if(Object(l["n"])(C,(function(e){return Object(l["F"])(d[e]).length>0})).length){var A=gx(d,r);return A+" "+i[0]+" both"}}for(var v in u){s=g(u[v]);s&&a.push(s)}if(a.length){var y=r.zrId+"-cls-"+cx();r.cssNodes["."+y]={animation:a.join(",")},t["class"]=y}}function _x(e,t,r){if(!e.ignore)if(e.isSilent()){var n={"pointer-events":"none"};wx(n,t,r,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&s||a;l&&(o=Object(Bt["d"])(l))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u/=c}n={cursor:"pointer"};o&&(n.fill=o),i.stroke&&(n.stroke=i.stroke),u&&(n["stroke-width"]=u),wx(n,t,r,!0)}}function wx(e,t,r,n){var i=JSON.stringify(e),o=r.cssStyleCache[i];o||(o=r.zrId+"-cls-"+cx(),r.cssStyleCache[i]=o,r.cssNodes["."+o+(n?":hover":"")]=e),t["class"]=t["class"]?t["class"]+" "+o:o}var xx=Math.round;function kx(e){return e&&Object(l["C"])(e.src)}function Sx(e){return e&&Object(l["w"])(e.toDataURL)}function Mx(e,t,r,n){Xw((function(i,o){var a="fill"===i||"stroke"===i;a&&Object(Yt["k"])(o)?Fx(t,e,i,n):a&&Object(Yt["n"])(o)?zx(r,e,i,n):e[i]=a&&"none"===o?"transparent":o}),t,r,!1),Yx(r,e,n)}function Cx(e,t){var r=En(t);r&&(r.each((function(t,r){null!=t&&(e[(ex+r).toLowerCase()]=t+"")})),t.isSilent()&&(e[ex+"silent"]="true"))}function Tx(e){return Object(Yt["j"])(e[0]-1)&&Object(Yt["j"])(e[1])&&Object(Yt["j"])(e[2])&&Object(Yt["j"])(e[3]-1)}function Ox(e){return Object(Yt["j"])(e[4])&&Object(Yt["j"])(e[5])}function Lx(e,t,r){if(t&&(!Ox(t)||!Tx(t))){var n=r?10:1e4;e.transform=Tx(t)?"translate("+xx(t[4]*n)/n+" "+xx(t[5]*n)/n+")":Object(Yt["e"])(t)}}function Ax(e,t,r){for(var n=e.points,i=[],o=0;o<n.length;o++)i.push(xx(n[o][0]*r)/r),i.push(xx(n[o][1]*r)/r);t.points=i.join(" ")}function Dx(e){return!e.smooth}function Ex(e){var t=Object(l["H"])(e,(function(e){return"string"===typeof e?[e,e]:e}));return function(e,r,n){for(var i=0;i<t.length;i++){var o=t[i],a=e[o[0]];null!=a&&(r[o[1]]=xx(a*n)/n)}}}var Ix={circle:[Ex(["cx","cy","r"])],polyline:[Ax,Dx],polygon:[Ax,Dx]};function jx(e){for(var t=e.animators,r=0;r<t.length;r++)if("shape"===t[r].targetName)return!0;return!1}function Px(e,t){var r=e.style,n=e.shape,i=Ix[e.type],o={},a=t.animation,s="path",l=e.style.strokePercent,u=t.compress&&Object(Yt["f"])(e)||4;if(!i||t.willUpdate||i[1]&&!i[1](n)||a&&jx(e)||l<1){var c=!e.path||e.shapeChanged();e.path||e.createPathProxy();var d=e.path;c&&(d.beginPath(),e.buildPath(d,e.shape),e.pathUpdated());var h=d.getVersion(),f=e,p=f.__svgPathBuilder;f.__svgPathVersion===h&&p&&l===f.__svgPathStrokePercent||(p||(p=f.__svgPathBuilder=new Hw),p.reset(u),d.rebuildPath(p,l),p.generateStr(),f.__svgPathVersion=h,f.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=e.type;var m=Math.pow(10,u);i[0](n,o,m)}return Lx(o,e.transform),Mx(o,r,e,t),Cx(o,e),t.animation&&bx(e,o,t),t.emphasis&&_x(e,o,t),rx(s,e.id+"",o)}function Rx(e,t){var r=e.style,n=r.image;if(n&&!Object(l["C"])(n)&&(kx(n)?n=n.src:Sx(n)&&(n=n.toDataURL())),n){var i=r.x||0,o=r.y||0,a=r.width,s=r.height,u={href:n,width:a,height:s};return i&&(u.x=i),o&&(u.y=o),Lx(u,e.transform),Mx(u,r,e,t),Cx(u,e),t.animation&&bx(e,u,t),rx("image",e.id+"",u)}}function Nx(e,t){var r=e.style,n=r.text;if(null!=n&&(n+=""),n&&!isNaN(r.x)&&!isNaN(r.y)){var i=r.font||Zr["a"],o=r.x||0,a=Object(Yt["b"])(r.y||0,on(i),r.textBaseline),s=Yt["a"][r.textAlign]||r.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(ys(r)){var u="",c=r.fontStyle,d=gs(r.fontSize);if(!parseFloat(d))return;var h=r.fontFamily||Zr["b"],f=r.fontWeight;u+="font-size:"+d+";font-family:"+h+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),f&&"normal"!==f&&(u+="font-weight:"+f+";"),l.style=u}else l.style="font: "+i;return n.match(/\s/)&&(l["xml:space"]="preserve"),o&&(l.x=o),a&&(l.y=a),Lx(l,e.transform),Mx(l,r,e,t),Cx(l,e),t.animation&&bx(e,l,t),rx("text",e.id+"",l,void 0,n)}}function Bx(e,t){return e instanceof Wa?Px(e,t):e instanceof Qa?Rx(e,t):e instanceof qa?Nx(e,t):void 0}function Yx(e,t,r){var n=e.style;if(Object(Yt["i"])(n)){var i=Object(Yt["h"])(e),o=r.shadowCache,a=o[i];if(!a){var s=e.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=n.shadowOffsetX||0,d=n.shadowOffsetY||0,h=n.shadowBlur,f=Object(Yt["p"])(n.shadowColor),p=f.opacity,m=f.color,g=h/2/l,v=h/2/u,y=g+" "+v;a=r.zrId+"-s"+r.shadowIdx++,r.defs[a]=rx("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[rx("feDropShadow","",{dx:c/l,dy:d/u,stdDeviation:y,"flood-color":m,"flood-opacity":p})]),o[i]=a}t.filter=Object(Yt["d"])(a)}}function Fx(e,t,r,n){var i,o=e[r],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(Yt["m"])(o))i="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(Yt["o"])(o))return void 0;i="radialGradient",a.cx=Object(l["P"])(o.x,.5),a.cy=Object(l["P"])(o.y,.5),a.r=Object(l["P"])(o.r,.5)}for(var s=o.colorStops,u=[],c=0,d=s.length;c<d;++c){var h=100*Object(Yt["q"])(s[c].offset)+"%",f=s[c].color,p=Object(Yt["p"])(f),m=p.color,g=p.opacity,v={offset:h};v["stop-color"]=m,g<1&&(v["stop-opacity"]=g),u.push(rx("stop",c+"",v))}var y=rx(i,"",a,u),b=ox(y),_=n.gradientCache,w=_[b];w||(w=n.zrId+"-g"+n.gradientIdx++,_[b]=w,a.id=w,n.defs[w]=rx(i,w,a,u)),t[r]=Object(Yt["d"])(w)}function zx(e,t,r,n){var i,o=e.style[r],a=e.getBoundingRect(),s={},u=o.repeat,c="no-repeat"===u,d="repeat-x"===u,h="repeat-y"===u;if(Object(Yt["l"])(o)){var f=o.imageWidth,p=o.imageHeight,m=void 0,g=o.image;if(Object(l["C"])(g)?m=g:kx(g)?m=g.src:Sx(g)&&(m=g.toDataURL()),"undefined"===typeof Image){var v="Image width/height must been given explictly in svg-ssr renderer.";Object(l["b"])(f,v),Object(l["b"])(p,v)}else if(null==f||null==p){var y=function(e,t){if(e){var r=e.elm,n=f||t.width,i=p||t.height;"pattern"===e.tag&&(d?(i=1,n/=a.width):h&&(n=1,i/=a.height)),e.attrs.width=n,e.attrs.height=i,r&&(r.setAttribute("width",n),r.setAttribute("height",i))}},b=co(m,null,e,(function(e){c||y(k,e),y(i,e)}));b&&b.width&&b.height&&(f=f||b.width,p=p||b.height)}i=rx("image","img",{href:m,width:f,height:p}),s.width=f,s.height=p}else o.svgElement&&(i=Object(l["d"])(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(i){var _,w;c?_=w=1:d?(w=1,_=s.width/a.width):h?(_=1,w=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==w||isNaN(w)||(s.height=w);var x=Object(Yt["g"])(o);x&&(s.patternTransform=x);var k=rx("pattern","",s,[i]),S=ox(k),M=n.patternCache,C=M[S];C||(C=n.zrId+"-p"+n.patternIdx++,M[S]=C,s.id=C,k=n.defs[C]=rx("pattern",C,s,[i])),t[r]=Object(Yt["d"])(C)}}function Hx(e,t,r){var n=r.clipPathCache,i=r.defs,o=n[e.id];if(!o){o=r.zrId+"-c"+r.clipPathIdx++;var a={id:o};n[e.id]=o,i[o]=rx("clipPath",o,a,[Px(e,r)])}t["clip-path"]=Object(Yt["d"])(o)}function Vx(e){return document.createTextNode(e)}function Ux(e,t,r){e.insertBefore(t,r)}function Wx(e,t){e.removeChild(t)}function $x(e,t){e.appendChild(t)}function Gx(e){return e.parentNode}function qx(e){return e.nextSibling}function Xx(e,t){e.textContent=t}var Kx=58,Zx=120,Jx=rx("","");function Qx(e){return void 0===e}function ek(e){return void 0!==e}function tk(e,t,r){for(var n={},i=t;i<=r;++i){var o=e[i].key;void 0!==o&&(n[o]=i)}return n}function rk(e,t){var r=e.key===t.key,n=e.tag===t.tag;return n&&r}function nk(e){var t,r=e.children,n=e.tag;if(ek(n)){var i=e.elm=tx(n);if(ak(Jx,e),Object(l["t"])(r))for(t=0;t<r.length;++t){var o=r[t];null!=o&&$x(i,nk(o))}else ek(e.text)&&!Object(l["A"])(e.text)&&$x(i,Vx(e.text))}else e.elm=Vx(e.text);return e.elm}function ik(e,t,r,n,i){for(;n<=i;++n){var o=r[n];null!=o&&Ux(e,nk(o),t)}}function ok(e,t,r,n){for(;r<=n;++r){var i=t[r];if(null!=i)if(ek(i.tag)){var o=Gx(i.elm);Wx(o,i.elm)}else Wx(e,i.elm)}}function ak(e,t){var r,n=t.elm,i=e&&e.attrs||{},o=t.attrs||{};if(i!==o){for(r in o){var a=o[r],s=i[r];s!==a&&(!0===a?n.setAttribute(r,""):!1===a?n.removeAttribute(r):"style"===r?n.style.cssText=a:r.charCodeAt(0)!==Zx?n.setAttribute(r,a):"xmlns:xlink"===r||"xmlns"===r?n.setAttributeNS(Jw,r,a):r.charCodeAt(3)===Kx?n.setAttributeNS(Qw,r,a):r.charCodeAt(5)===Kx?n.setAttributeNS(Zw,r,a):n.setAttribute(r,a))}for(r in i)r in o||n.removeAttribute(r)}}function sk(e,t,r){var n,i,o,a,s=0,l=0,u=t.length-1,c=t[0],d=t[u],h=r.length-1,f=r[0],p=r[h];while(s<=u&&l<=h)null==c?c=t[++s]:null==d?d=t[--u]:null==f?f=r[++l]:null==p?p=r[--h]:rk(c,f)?(lk(c,f),c=t[++s],f=r[++l]):rk(d,p)?(lk(d,p),d=t[--u],p=r[--h]):rk(c,p)?(lk(c,p),Ux(e,c.elm,qx(d.elm)),c=t[++s],p=r[--h]):rk(d,f)?(lk(d,f),Ux(e,d.elm,c.elm),d=t[--u],f=r[++l]):(Qx(n)&&(n=tk(t,s,u)),i=n[f.key],Qx(i)?Ux(e,nk(f),c.elm):(o=t[i],o.tag!==f.tag?Ux(e,nk(f),c.elm):(lk(o,f),t[i]=void 0,Ux(e,o.elm,c.elm))),f=r[++l]);(s<=u||l<=h)&&(s>u?(a=null==r[h+1]?null:r[h+1].elm,ik(e,a,r,l,h)):ok(e,t,s,u))}function lk(e,t){var r=t.elm=e.elm,n=e.children,i=t.children;e!==t&&(ak(e,t),Qx(t.text)?ek(n)&&ek(i)?n!==i&&sk(r,n,i):ek(i)?(ek(e.text)&&Xx(r,""),ik(r,null,i,0,i.length-1)):ek(n)?ok(r,n,0,n.length-1):ek(e.text)&&Xx(r,""):e.text!==t.text&&(ek(n)&&ok(r,n,0,n.length-1),Xx(r,t.text)))}function uk(e,t){if(rk(e,t))lk(e,t);else{var r=e.elm,n=Gx(r);nk(t),null!==n&&(Ux(n,t.elm,qx(r)),ok(n,[e],0,0))}return t}var ck=0,dk=function(){function e(e,t,r){if(this.type="svg",this.refreshHover=hk("refreshHover"),this.configLayer=hk("configLayer"),this.storage=t,this._opts=r=Object(l["m"])({},r),this.root=e,this._id="zr"+ck++,this._oldVNode=lx(r.width,r.height),e&&!r.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=tx("svg");ak(null,this._oldVNode),n.appendChild(i),e.appendChild(n)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",uk(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return Bx(e,sx(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),r=this._width,n=this._height,i=sx(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress,i.emphasis=e.emphasis;var o=[],a=this._bgVNode=fk(r,n,this._backgroundColor,i);a&&o.push(a);var s=e.compress?null:this._mainVNode=rx("g","main",{},[]);this._paintList(t,i,s?s.children:o),s&&o.push(s);var u=Object(l["H"])(Object(l["F"])(i.defs),(function(e){return i.defs[e]}));if(u.length&&o.push(rx("defs","defs",{},u)),e.animation){var c=ax(i.cssNodes,i.cssAnims,{newline:!0});if(c){var d=rx("style","stl",{},[],c);o.push(d)}}return lx(r,n,o,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},ox(this.renderToVNode({animation:Object(l["P"])(e.cssAnimation,!0),emphasis:Object(l["P"])(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Object(l["P"])(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,r){for(var n,i,o=e.length,a=[],s=0,l=0,u=0;u<o;u++){var c=e[u];if(!c.invisible){var d=c.__clipPaths,h=d&&d.length||0,f=i&&i.length||0,p=void 0;for(p=Math.max(h-1,f-1);p>=0;p--)if(d&&i&&d[p]===i[p])break;for(var m=f-1;m>p;m--)s--,n=a[s-1];for(var g=p+1;g<h;g++){var v={};Hx(d[g],v,t);var y=rx("g","clip-g-"+l++,v,[]);(n?n.children:r).push(y),a[s++]=y,n=y}i=d;var b=Bx(c,t);b&&(n?n.children:r).push(b)}}},e.prototype.resize=function(e,t){var r=this._opts,n=this.root,i=this._viewport;if(null!=e&&(r.width=e),null!=t&&(r.height=t),n&&i&&(i.style.display="none",e=my(n,0,r),t=my(n,1,r),i.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,i){var o=i.style;o.width=e+"px",o.height=t+"px"}if(Object(Yt["n"])(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",e),a.setAttribute("height",t));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",e),s.setAttribute("height",t))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(e){var t=this.renderToString(),r="data:image/svg+xml;";return e?(t=Object(Yt["c"])(t),t&&r+"base64,"+t):r+"charset=UTF-8,"+encodeURIComponent(t)},e}();function hk(e){return function(){0}}function fk(e,t,r,n){var i;if(r&&"none"!==r)if(i=rx("rect","bg",{width:e,height:t,x:"0",y:"0"}),Object(Yt["k"])(r))Fx({fill:r},i.attrs,"fill",n);else if(Object(Yt["n"])(r))zx({style:{fill:r},dirty:l["L"],getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",n);else{var o=Object(Yt["p"])(r),a=o.color,s=o.opacity;i.attrs.fill=a,s<1&&(i.attrs["fill-opacity"]=s)}return i}var pk=dk;function mk(e){e.registerPainter("svg",pk)}function gk(e){return null==e?0:e.length||1}function vk(e){return e}var yk=function(){function e(e,t,r,n,i,o){this._old=e,this._new=t,this._oldKeyGetter=r||vk,this._newKeyGetter=n||vk,this.context=i,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,r={},n=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,n,"_oldKeyGetter"),this._initIndexMap(t,r,i,"_newKeyGetter");for(var o=0;o<e.length;o++){var a=n[o],s=r[a],l=gk(s);if(l>1){var u=s.shift();1===s.length&&(r[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(r[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,r)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,r={},n={},i=[],o=[];this._initIndexMap(e,r,i,"_oldKeyGetter"),this._initIndexMap(t,n,o,"_newKeyGetter");for(var a=0;a<i.length;a++){var s=i[a],l=r[s],u=n[s],c=gk(l),d=gk(u);if(c>1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,l),n[s]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(u,l),n[s]=null;else if(1===c&&1===d)this._update&&this._update(u,l),n[s]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,l),n[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(o,n)},e.prototype._performRestAdd=function(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=t[n],o=gk(i);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(i[a]);else 1===o&&this._add&&this._add(i);t[n]=null}},e.prototype._initIndexMap=function(e,t,r,n){for(var i=this._diffModeMultiple,o=0;o<e.length;o++){var a="_ec_"+this[n](e[o],o);if(i||(r[o]=a),t){var s=t[a],l=gk(s);0===l?(t[a]=o,i&&r.push(a)):1===l?t[a]=[s,o]:s.push(o)}}},e}(),bk=yk,_k=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function wk(e,t){var r={},n=r.encode={},i=Object(l["f"])(),o=[],a=[],s={};Object(l["k"])(e.dimensions,(function(t){var r=e.getDimensionInfo(t),l=r.coordDim;if(l){0;var u=r.coordDimIndex;xk(n,l)[u]=t,r.isExtraCoord||(i.set(l,1),Sk(r.type)&&(o[0]=t),xk(s,l)[u]=e.getDimensionIndex(r.name)),r.defaultTooltip&&a.push(t)}ed.each((function(e,t){var i=xk(n,t),o=r.otherDims[t];null!=o&&!1!==o&&(i[o]=r.name)}))}));var u=[],c={};i.each((function(e,t){var r=n[t];c[t]=r[0],u=u.concat(r)})),r.dataDimsOnCoord=u,r.dataDimIndicesOnCoord=Object(l["H"])(u,(function(t){return e.getDimensionInfo(t).storeDimIndex})),r.encodeFirstDimNotExtra=c;var d=n.label;d&&d.length&&(o=d.slice());var h=n.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),n.defaultedLabel=o,n.defaultedTooltip=a,r.userOutput=new _k(s,t),r}function xk(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function kk(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function Sk(e){return!("ordinal"===e||"time"===e)}var Mk=function(){function e(e){this.otherDims={},null!=e&&l["m"](this,e)}return e}(),Ck=Mk,Tk=Ei(),Ok={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Lk=function(){function e(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=Ek(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return Object(l["P"])(this._dimNameMap.get(e),-1)},e.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},e.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=Hh(this.source),r=!Ik(e),n="",i=[],o=0,a=0;o<e;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=t?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var d=this.getSourceDimension(o);d&&(s=t?d.name:null,l=d.type)}i.push({property:s,type:l,ordinalMeta:u}),!t||null==s||c&&c.isCalculationCoord||(n+=r?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),n+="$",n+=Ok[l]||"f",u&&(n+=u.uid),n+="$"}var h=this.source,f=[h.seriesLayoutBy,h.startIndex,n].join("$$");return{dimensions:i,hash:f}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,r=0;t<this._fullDimCount;t++){var n=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(n=i.name),r++;else{var o=this.getSourceDimension(t);o&&(n=o.name)}e.push(n)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function Ak(e){return e instanceof Lk}function Dk(e){for(var t=Object(l["f"])(),r=0;r<(e||[]).length;r++){var n=e[r],i=Object(l["A"])(n)?n.name:n;null!=i&&null==t.get(i)&&t.set(i,r)}return t}function Ek(e){var t=Tk(e);return t.dimNameMap||(t.dimNameMap=Dk(e.dimensionsDefine))}function Ik(e){return e>30}var jk,Pk,Rk,Nk,Bk,Yk,Fk,zk=l["A"],Hk=l["H"],Vk="undefined"===typeof Int32Array?Array:Int32Array,Uk="e\0\0",Wk=-1,$k=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Gk=["_approximateExtent"],qk=function(){function e(e,t){var r;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 n=!1;Ak(e)?(r=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,r=e),r=r||["x","y"];for(var i={},o=[],a={},s=!1,u={},c=0;c<r.length;c++){var d=r[c],h=l["C"](d)?new Ck({name:d}):d instanceof Ck?d:new Ck(d),f=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=f,h.coordDimIndex=0);var p=h.otherDims=h.otherDims||{};o.push(f),i[f]=h,null!=u[f]&&(s=!0),h.createInvertedIndices&&(a[f]=[]),0===p.itemName&&(this._nameDimIdx=c),0===p.itemId&&(this._idDimIdx=c),n&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var m=this._dimIdxToName=l["f"]();l["k"](o,(function(e){m.set(i[e].storeDimIndex,e)}))}}return e.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(null==t)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var r=this._dimIdxToName.get(t);if(null!=r)return r;var n=this._schema.getSourceDimension(t);return n?n.name:void 0},e.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(null!=t)return t;if(null==e)return-1;var r=this._getDimInfo(e);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},e.prototype._recognizeDimIndex=function(e){if(l["z"](e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);return t},e.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},e.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(e,t){var r=this._dimSummary;if(null==t)return r.encodeFirstDimNotExtra[e];var n=r.encode[e];return n?n[t]:null},e.prototype.mapDimensionsAll=function(e){var t=this._dimSummary,r=t.encode[e];return(r||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(e,t,r){var n,i=this;if(e instanceof Yf&&(n=e),!n){var o=this.dimensions,a=Ih(e)||l["u"](e)?new Vh(e,o.length):e;n=new Yf;var s=Hk(o,(function(e){return{type:i._dimInfos[e].type,property:e}}));n.initData(a,s,r)}this._store=n,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,n.count()),this._dimSummary=wk(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},e.prototype.appendValues=function(e,t){var r=this._store.appendValues(e,t.length),n=r.start,i=r.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=n;a<i;a++){var s=a-n;this._nameList[a]=t[s],o&&Fk(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,r=0;r<t.length;r++){var n=this._dimInfos[t[r]];n.ordinalMeta&&e.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==od&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var r=this._store,n=r.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,a=n.getSource().sourceFormat,s=a===td;if(s&&!n.pure)for(var l=[],u=e;u<t;u++){var c=n.getItem(u,l);if(!this.hasItemOption&&pi(c)&&(this.hasItemOption=!0),c){var d=c.name;null==i[u]&&null!=d&&(i[u]=Si(d,null));var h=c.id;null==o[u]&&null!=h&&(o[u]=Si(h,null))}}if(this._shouldMakeIdFromName())for(u=e;u<t;u++)Fk(this,u);jk(this)}},e.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},e.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},e.prototype.setCalculationInfo=function(e,t){zk(e)?l["m"](this._calculationInfo,e):this._calculationInfo[e]=t},e.prototype.getName=function(e){var t=this.getRawIndex(e),r=this._nameList[t];return null==r&&null!=this._nameDimIdx&&(r=Rk(this,this._nameDimIdx,t)),null==r&&(r=""),r},e.prototype._getCategory=function(e,t){var r=this._store.get(e,t),n=this._store.getOrdinalMeta(e);return n?n.categories[r]:r},e.prototype.getId=function(e){return Pk(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.get(n.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.getByRawIndex(n.storeDimIndex,t)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},e.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},e.prototype.getValues=function(e,t){var r=this,n=this._store;return l["t"](e)?n.getValues(Hk(e,(function(e){return r._getStoreDimIndex(e)})),t):n.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,r=0,n=t.length;r<n;r++)if(isNaN(this._store.get(t[r],e)))return!1;return!0},e.prototype.indexOfName=function(e){for(var t=0,r=this._store.count();t<r;t++)if(this.getName(t)===e)return t;return-1},e.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},e.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},e.prototype.rawIndexOf=function(e,t){var r=e&&this._invertedIndicesMap[e];var n=r[t];return null==n||isNaN(n)?Wk:n},e.prototype.indicesOfNearest=function(e,t,r){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,r)},e.prototype.each=function(e,t,r){l["w"](e)&&(r=t,t=e,e=[]);var n=r||this,i=Hk(Nk(e),this._getStoreDimIndex,this);this._store.each(i,n?l["c"](t,n):t)},e.prototype.filterSelf=function(e,t,r){l["w"](e)&&(r=t,t=e,e=[]);var n=r||this,i=Hk(Nk(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,n?l["c"](t,n):t),this},e.prototype.selectRange=function(e){var t=this,r={},n=l["F"](e),i=[];return l["k"](n,(function(n){var o=t._getStoreDimIndex(n);r[o]=e[n],i.push(o)})),this._store=this._store.selectRange(r),this},e.prototype.mapArray=function(e,t,r){l["w"](e)&&(r=t,t=e,e=[]),r=r||this;var n=[];return this.each(e,(function(){n.push(t&&t.apply(this,arguments))}),r),n},e.prototype.map=function(e,t,r,n){var i=r||n||this,o=Hk(Nk(e),this._getStoreDimIndex,this),a=Yk(this);return a._store=this._store.map(o,i?l["c"](t,i):t),a},e.prototype.modify=function(e,t,r,n){var i=r||n||this;var o=Hk(Nk(e),this._getStoreDimIndex,this);this._store.modify(o,i?l["c"](t,i):t)},e.prototype.downSample=function(e,t,r,n){var i=Yk(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,r,n),i},e.prototype.lttbDownSample=function(e,t){var r=Yk(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),r},e.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},e.prototype.getItemModel=function(e){var t=this.hostModel,r=this.getRawDataItem(e);return new Tu(r,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new bk(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return Pk(e,t)}),(function(e){return Pk(t,e)}))},e.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},e.prototype.setVisual=function(e,t){this._visual=this._visual||{},zk(e)?l["m"](this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var r=this._itemVisuals[e],n=r&&r[t];return null==n?this.getVisual(t):n},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var r=this._itemVisuals,n=r[e];n||(n=r[e]={});var i=n[t];return null==i&&(i=this.getVisual(t),l["t"](i)?i=i.slice():zk(i)&&(i=l["m"]({},i)),n[t]=i),i},e.prototype.setItemVisual=function(e,t,r){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,zk(t)?l["m"](n,t):n[t]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){zk(e)?l["m"](this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,r){this._itemLayouts[e]=r?l["m"](this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var r=this.hostModel&&this.hostModel.seriesIndex;Os(r,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){l["k"](this._graphicEls,(function(r,n){r&&e&&e.call(t,r,n)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Hk(this.dimensions,this._getDimInfo,this),this.hostModel)),Bk(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var r=this[e];l["w"](r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=r.apply(this,arguments);return t.apply(this,[e].concat(l["S"](arguments)))})},e.internalField=function(){jk=function(e){var t=e._invertedIndicesMap;l["k"](t,(function(r,n){var i=e._dimInfos[n],o=i.ordinalMeta,a=e._store;if(o){r=t[n]=new Vk(o.categories.length);for(var s=0;s<r.length;s++)r[s]=Wk;for(s=0;s<a.count();s++)r[a.get(i.storeDimIndex,s)]=s}}))},Rk=function(e,t,r){return Si(e._getCategory(t,r),null)},Pk=function(e,t){var r=e._idList[t];return null==r&&null!=e._idDimIdx&&(r=Rk(e,e._idDimIdx,t)),null==r&&(r=Uk+t),r},Nk=function(e){return l["t"](e)||(e=null!=e?[e]:[]),e},Yk=function(t){var r=new e(t._schema?t._schema:Hk(t.dimensions,t._getDimInfo,t),t.hostModel);return Bk(r,t),r},Bk=function(e,t){l["k"]($k.concat(t.__wrappedMethods||[]),(function(r){t.hasOwnProperty(r)&&(e[r]=t[r])})),e.__wrappedMethods=t.__wrappedMethods,l["k"](Gk,(function(r){e[r]=l["d"](t[r])})),e._calculationInfo=l["m"]({},t._calculationInfo)},Fk=function(e,t){var r=e._nameList,n=e._idList,i=e._nameDimIdx,o=e._idDimIdx,a=r[t],s=n[t];if(null==a&&null!=i&&(r[t]=a=Rk(e,i,t)),null==s&&null!=o&&(n[t]=s=Rk(e,o,t)),null==s&&null!=a){var l=e._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),n[t]=s}}}(),e}(),Xk=qk;function Kk(e,t){Ih(e)||(e=Ph(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],i=Object(l["f"])(),o=[],a=Jk(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&Ik(a),u=n===e.dimensionsDefine,c=u?Ek(e):Dk(n),d=t.encodeDefine;!d&&t.encodeDefaulter&&(d=t.encodeDefaulter(e,a));for(var h=Object(l["f"])(d),f=new Df(a),p=0;p<f.length;p++)f[p]=-1;function m(e){var t=f[e];if(t<0){var r=n[e],i=Object(l["A"])(r)?r:{name:r},a=new Ck,s=i.name;null!=s&&null!=c.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=o.length;return f[e]=u,a.storeDimIndex=e,o.push(a),a}return o[t]}if(!s)for(p=0;p<a;p++)m(p);h.each((function(e,t){var r=ci(e).slice();if(1===r.length&&!Object(l["C"])(r[0])&&r[0]<0)h.set(t,!1);else{var n=h.set(t,[]);Object(l["k"])(r,(function(e,r){var i=Object(l["C"])(e)?c.get(e):e;null!=i&&i<a&&(n[r]=i,v(m(i),t,r))}))}}));var g=0;function v(e,t,r){null!=ed.get(t)?e.otherDims[t]=r:(e.coordDim=t,e.coordDimIndex=r,i.set(t,!0))}Object(l["k"])(r,(function(e){var t,r,n,i;if(Object(l["C"])(e))t=e,i={};else{i=e,t=i.name;var o=i.ordinalMeta;i.ordinalMeta=null,i=Object(l["m"])({},i),i.ordinalMeta=o,r=i.dimsDef,n=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=h.get(t);if(!1!==s){if(s=ci(s),!s.length)for(var c=0;c<(r&&r.length||1);c++){while(g<a&&null!=m(g).coordDim)g++;g<a&&s.push(g++)}Object(l["k"])(s,(function(e,o){var a=m(e);if(u&&null!=i.type&&(a.type=i.type),v(Object(l["i"])(a,i),t,o),null==a.name&&r){var s=r[o];!Object(l["A"])(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}n&&Object(l["i"])(a.otherDims,n)}))}}));var y=t.generateCoord,b=t.generateCoordCount,_=null!=b;b=y?b||1:0;var w=y||"value";function x(e){null==e.name&&(e.name=e.coordDim)}if(s)Object(l["k"])(o,(function(e){x(e)})),o.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var k=0;k<a;k++){var S=m(k),M=S.coordDim;null==M&&(S.coordDim=Qk(w,i,_),S.coordDimIndex=0,(!y||b<=0)&&(S.isExtraCoord=!0),b--),x(S),null!=S.type||gd(e,k)!==ud.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return Zk(o),new Lk({source:e,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Zk(e){for(var t=Object(l["f"])(),r=0;r<e.length;r++){var n=e[r],i=n.name,o=t.get(i)||0;o>0&&(n.name=i+(o-1)),o++,t.set(i,o)}}function Jk(e,t,r,n){var i=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return Object(l["k"])(t,(function(e){var t;Object(l["A"])(e)&&(t=e.dimsDef)&&(i=Math.max(i,t.length))})),i}function Qk(e,t,r){if(r||t.hasKey(e)){var n=0;while(t.hasKey(e+n))n++;e+=n}return t.set(e,!0),e}var eS=function(){function e(e){this.coordSysDims=[],this.axisMap=Object(l["f"])(),this.categoryAxisMap=Object(l["f"])(),this.coordSysName=e}return e}();function tS(e){var t=e.get("coordinateSystem"),r=new eS(t),n=rS[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var rS={cartesian2d:function(e,t,r,n){var i=e.getReferringComponents("xAxis",Ri).models[0],o=e.getReferringComponents("yAxis",Ri).models[0];t.coordSysDims=["x","y"],r.set("x",i),r.set("y",o),nS(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),nS(o)&&(n.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var i=e.getReferringComponents("singleAxis",Ri).models[0];t.coordSysDims=["single"],r.set("single",i),nS(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var i=e.getReferringComponents("polar",Ri).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",o),r.set("angle",a),nS(o)&&(n.set("radius",o),t.firstCategoryDimIndex=0),nS(a)&&(n.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,n){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();Object(l["k"])(o.parallelAxisIndex,(function(e,o){var s=i.getComponent("parallelAxis",e),l=a[o];r.set(l,s),nS(s)&&(n.set(l,s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=o))}))}};function nS(e){return"category"===e.get("type")}function iS(e,t,r){r=r||{};var n,i,o,a=r.byIndex,s=r.stackedCoordDimension;oS(t)?n=t:(i=t.schema,n=i.dimensions,o=t.store);var u,c,d,h,f=!(!e||!e.get("stack"));if(Object(l["k"])(n,(function(e,t){Object(l["C"])(e)&&(n[t]=e={name:e}),f&&!e.isExtraCoord&&(a||u||!e.ordinalMeta||(u=e),c||"ordinal"===e.type||"time"===e.type||s&&s!==e.coordDim||(c=e))})),!c||a||u||(a=!0),c){d="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var p=c.coordDim,m=c.type,g=0;Object(l["k"])(n,(function(e){e.coordDim===p&&g++}));var v={name:d,coordDim:p,coordDimIndex:g,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length},y={name:h,coordDim:h,coordDimIndex:g+1,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length+1};i?(o&&(v.storeDimIndex=o.ensureCalculationDimension(h,m),y.storeDimIndex=o.ensureCalculationDimension(d,m)),i.appendCalculationDimension(v),i.appendCalculationDimension(y)):(n.push(v),n.push(y))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:d}}function oS(e){return!Ak(e.schema)}function aS(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function sS(e,t){return aS(e,t)?e.getCalculationInfo("stackResultDimension"):t}function lS(e,t){var r,n=e.get("coordinateSystem"),i=Gd.get(n);return t&&t.coordSysDims&&(r=l["H"](t.coordSysDims,(function(e){var r={name:e},n=t.axisMap.get(e);if(n){var i=n.get("type");r.type=kk(i)}return r}))),r||(r=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),r}function uS(e,t,r){var n,i;return r&&l["k"](e,(function(e,o){var a=e.coordDim,s=r.categoryAxisMap.get(a);s&&(null==n&&(n=o),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(i=!0)})),i||null==n||(e[n].otherDims.itemName=0),n}function cS(e,t,r){r=r||{};var n,i=t.getSourceManager(),o=!1;e?(o=!0,n=Ph(e)):(n=i.getSource(),o=n.sourceFormat===td);var a=tS(t),s=lS(t,a),u=r.useEncodeDefaulter,c=l["w"](u)?u:u?l["h"](hd,s,t):null,d={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o},h=Kk(n,d),f=uS(h.dimensions,r.createInvertedIndices,a),p=o?null:i.getSharedDataStore(h),m=iS(t,{schema:h,store:p}),g=new Xk(h,t);g.setCalculationInfo(m);var v=null!=f&&dS(n)?function(e,t,r,n){return n===f?r:this.defaultDimValueGetter(e,t,r,n)}:null;return g.hasItemOption=!1,g.initData(o?n:p,null,v),g}function dS(e){if(e.sourceFormat===td){var t=hS(e.data||[]);return!l["t"](fi(t))}}function hS(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var fS=cS,pS=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return a(t,e),t.prototype.getInitialData=function(e){return fS(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new kn,r=ay("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(r),r.setStyle(e.lineStyle);var n=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===n?"circle":n,a=.8*e.itemHeight,s=ay(o,(e.itemWidth-a)/2,(e.itemHeight-a)/2,a,a,e.itemStyle.fill);t.add(s),s.setStyle(e.itemStyle);var l="inherit"===e.iconRotate?i:e.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.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},t}(Sp),mS=pS;function gS(e,t){var r=e.mapDimensionsAll("defaultedLabel"),n=r.length;if(1===n){var i=ef(e,t,r[0]);return null!=i?i+"":null}if(n){for(var o=[],a=0;a<r.length;a++)o.push(ef(e,t,r[a]));return o.join(" ")}}function vS(e,t){var r=e.mapDimensionsAll("defaultedLabel");if(!Object(l["t"])(t))return t+"";for(var n=[],i=0;i<r.length;i++){var o=e.getDimensionIndex(r[i]);o>=0&&n.push(t[o])}return n.join(" ")}var yS=function(e){function t(t,r,n,i){var o=e.call(this)||this;return o.updateData(t,r,n,i),o}return a(t,e),t.prototype._createSymbol=function(e,t,r,n,i){this.removeAll();var o=ay(e,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:n[0]/2,scaleY:n[1]/2}),o.drift=bS,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){cl(this.childAt(0))},t.prototype.downplay=function(){dl(this.childAt(0))},t.prototype.setZ=function(e,t){var r=this.childAt(0);r.zlevel=e,r.z=t},t.prototype.setDraggable=function(e,t){var r=this.childAt(0);r.draggable=e,r.cursor=!t&&e?"move":r.cursor},t.prototype.updateData=function(e,r,n,i){this.silent=!1;var o=e.getItemVisual(r,"symbol")||"circle",a=e.hostModel,s=t.getSymbolSize(e,r),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=e.getItemVisual(r,"symbolKeepAspect");this._createSymbol(o,e,r,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):Ul(d,h,a,r),Kl(d)}if(this._updateCommon(e,r,s,n,i),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,Wl(d,h,a,r)}}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,r,n,i){var o,a,s,u,c,d,h,f,p,m=this.childAt(0),g=e.hostModel;if(n&&(o=n.emphasisItemStyle,a=n.blurItemStyle,s=n.selectItemStyle,u=n.focus,c=n.blurScope,h=n.labelStatesModels,f=n.hoverScale,p=n.cursorStyle,d=n.emphasisDisabled),!n||e.hasItemOption){var v=n&&n.itemModel?n.itemModel:e.getItemModel(t),y=v.getModel("emphasis");o=y.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),u=y.get("focus"),c=y.get("blurScope"),d=y.get("disabled"),h=ru(v),f=y.getShallow("scale"),p=v.getShallow("cursor")}var b=e.getItemVisual(t,"symbolRotate");m.attr("rotation",(b||0)*Math.PI/180||0);var _=ly(e.getItemVisual(t,"symbolOffset"),r);_&&(m.x=_[0],m.y=_[1]),p&&m.attr("cursor",p);var w=e.getItemVisual(t,"style"),x=w.fill;if(m instanceof Qa){var k=m.style;m.useStyle(Object(l["m"])({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},w))}else m.__isEmptyBrush?m.useStyle(Object(l["m"])({},w)):m.useStyle(w),m.style.decal=null,m.setColor(x,i&&i.symbolInnerColor),m.style.strokeNoScale=!0;var S=e.getItemVisual(t,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=m.z2,m.z2+=S):null!=M&&(m.z2=M,this._z2=null);var C=i&&i.useNameLabel;function T(t){return C?e.getName(t):gS(e,t)}tu(m,h,{labelFetcher:g,labelDataIndex:t,defaultText:T,inheritColor:x,defaultOpacity:w.opacity}),this._sizeX=r[0]/2,this._sizeY=r[1]/2;var O=m.ensureState("emphasis");O.style=o,m.ensureState("select").style=s,m.ensureState("blur").style=a;var L=null==f||!0===f?Math.max(1.1,3/this._sizeY):isFinite(f)&&f>0?+f:1;O.scaleX=this._sizeX*L,O.scaleY=this._sizeY*L,this.setSymbolScale(1),Ll(this,u,c,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,r){var n=this.childAt(0),i=Ts(this).dataIndex,o=r&&r.animation;if(this.silent=n.silent=!0,r&&r.fadeLabel){var a=n.getTextContent();a&&Gl(a,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){n.removeTextContent()}})}else n.removeTextContent();Gl(n,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return sy(e.getItemVisual(t,"symbolSize"))},t}(kn);function bS(e,t){this.parent.drift(e,t)}var _S=yS;function wS(e,t,r,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(r,"symbol")}function xS(e){return null==e||Object(l["A"])(e)||(e={isIgnore:e}),e||{}}function kS(e){var t=e.hostModel,r=t.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:ru(t),cursorStyle:t.get("cursor")}}var SS=function(){function e(e){this.group=new kn,this._SymbolCtor=e||_S}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=xS(t);var r=this.group,n=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=kS(e),l={disableAnimation:a},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||r.removeAll(),e.diff(i).add((function(n){var i=u(n);if(wS(e,i,n,t)){var a=new o(e,n,s,l);a.setPosition(i),e.setItemGraphicEl(n,a),r.add(a)}})).update((function(c,d){var h=i.getItemGraphicEl(d),f=u(c);if(wS(e,f,c,t)){var p=e.getItemVisual(c,"symbol")||"circle",m=h&&h.getSymbolType&&h.getSymbolType();if(!h||m&&m!==p)r.remove(h),h=new o(e,c,s,l),h.setPosition(f);else{h.updateData(e,c,s,l);var g={x:f[0],y:f[1]};a?h.attr(g):Ul(h,g,n)}r.add(h),e.setItemGraphicEl(c,h)}else r.remove(h)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut((function(){r.remove(t)}),n)})).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,r){var n=e._getSymbolPoint(r);t.setPosition(n),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=kS(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,r){function n(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],r=xS(r);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(wS(t,o,i,r)){var a=new this._SymbolCtor(t,i,this._seriesScope);a.traverse(n),a.setPosition(o),this.group.add(a),t.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){Bg(this._progressiveEls||this.group,e)},e.prototype.remove=function(e){var t=this.group,r=this._data;r&&e?r.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}),r.hostModel)})):t.removeAll()},e}(),MS=SS;function CS(e,t,r){var n=e.getBaseAxis(),i=e.getOtherAxis(n),o=TS(i,r),a=n.dim,s=i.dim,u=t.mapDimension(s),c=t.mapDimension(a),d="x"===s||"radius"===s?1:0,h=Object(l["H"])(e.dimensions,(function(e){return t.mapDimension(e)})),f=!1,p=t.getCalculationInfo("stackResultDimension");return aS(t,h[0])&&(f=!0,h[0]=p),aS(t,h[1])&&(f=!0,h[1]=p),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!f,valueDim:u,baseDim:c,baseDataOffset:d,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function TS(e,t){var r=0,n=e.scale.getExtent();return"start"===t?r=n[0]:"end"===t?r=n[1]:Object(l["z"])(t)&&!isNaN(t)?r=t:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]),r}function OS(e,t,r,n){var i=NaN;e.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=r.get(e.baseDim,n),a[1-o]=i,t.dataToPoint(a)}var LS="undefined"!==typeof Float32Array,AS=LS?Float32Array:Array;function DS(e){return Object(l["t"])(e)?LS?new Float32Array(e):e:new AS(e)}function ES(e,t){var r=[];return t.diff(e).add((function(e){r.push({cmd:"+",idx:e})})).update((function(e,t){r.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){r.push({cmd:"-",idx:e})})).execute(),r}function IS(e,t,r,n,i,o,a,s){for(var l=ES(e,t),u=[],c=[],d=[],h=[],f=[],p=[],m=[],g=CS(i,t,a),v=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b<l.length;b++){var _=l[b],w=!0,x=void 0,k=void 0;switch(_.cmd){case"=":x=2*_.idx,k=2*_.idx1;var S=v[x],M=v[x+1],C=y[k],T=y[k+1];(isNaN(S)||isNaN(M))&&(S=C,M=T),u.push(S,M),c.push(C,T),d.push(r[x],r[x+1]),h.push(n[k],n[k+1]),m.push(t.getRawIndex(_.idx1));break;case"+":var O=_.idx,L=g.dataDimsForPoint,A=i.dataToPoint([t.get(L[0],O),t.get(L[1],O)]);k=2*O,u.push(A[0],A[1]),c.push(y[k],y[k+1]);var D=OS(g,i,t,O);d.push(D[0],D[1]),h.push(n[k],n[k+1]),m.push(t.getRawIndex(O));break;case"-":w=!1}w&&(f.push(_),p.push(p.length))}p.sort((function(e,t){return m[e]-m[t]}));var E=u.length,I=DS(E),j=DS(E),P=DS(E),R=DS(E),N=[];for(b=0;b<p.length;b++){var B=p[b],Y=2*b,F=2*B;I[Y]=u[F],I[Y+1]=u[F+1],j[Y]=c[F],j[Y+1]=c[F+1],P[Y]=d[F],P[Y+1]=d[F+1],R[Y]=h[F],R[Y+1]=h[F+1],N[b]=f[B]}return{current:I,next:j,stackedOnCurrent:P,stackedOnNext:R,status:N}}var jS=Math.min,PS=Math.max;function RS(e,t){return isNaN(e)||isNaN(t)}function NS(e,t,r,n,i,o,a,s,l){for(var u,c,d,h,f,p,m=r,g=0;g<n;g++){var v=t[2*m],y=t[2*m+1];if(m>=i||m<0)break;if(RS(v,y)){if(l){m+=o;continue}break}if(m===r)e[o>0?"moveTo":"lineTo"](v,y),d=v,h=y;else{var b=v-u,_=y-c;if(b*b+_*_<.5){m+=o;continue}if(a>0){var w=m+o,x=t[2*w],k=t[2*w+1];while(x===v&&k===y&&g<n)g++,w+=o,m+=o,x=t[2*w],k=t[2*w+1],v=t[2*m],y=t[2*m+1],b=v-u,_=y-c;var S=g+1;if(l)while(RS(x,k)&&S<n)S++,w+=o,x=t[2*w],k=t[2*w+1];var M=.5,C=0,T=0,O=void 0,L=void 0;if(S>=n||RS(x,k))f=v,p=y;else{C=x-u,T=k-c;var A=v-u,D=x-v,E=y-c,I=k-y,j=void 0,P=void 0;if("x"===s){j=Math.abs(A),P=Math.abs(D);var R=C>0?1:-1;f=v-R*j*a,p=y,O=v+R*P*a,L=y}else if("y"===s){j=Math.abs(E),P=Math.abs(I);var N=T>0?1:-1;f=v,p=y-N*j*a,O=v,L=y+N*P*a}else j=Math.sqrt(A*A+E*E),P=Math.sqrt(D*D+I*I),M=P/(P+j),f=v-C*a*(1-M),p=y-T*a*(1-M),O=v+C*a*M,L=y+T*a*M,O=jS(O,PS(x,v)),L=jS(L,PS(k,y)),O=PS(O,jS(x,v)),L=PS(L,jS(k,y)),C=O-v,T=L-y,f=v-C*j/P,p=y-T*j/P,f=jS(f,PS(u,v)),p=jS(p,PS(c,y)),f=PS(f,jS(u,v)),p=PS(p,jS(c,y)),C=v-f,T=y-p,O=v+C*P/j,L=y+T*P/j}e.bezierCurveTo(d,h,f,p,v,y),d=O,h=L}else e.lineTo(v,y)}u=v,c=y,m+=o}return g}var BS=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),YS=function(e){function t(t){var r=e.call(this,t)||this;return r.type="ec-polyline",r}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new BS},t.prototype.buildPath=function(e,t){var r=t.points,n=0,i=r.length/2;if(t.connectNulls){for(;i>0;i--)if(!RS(r[2*i-2],r[2*i-1]))break;for(;n<i;n++)if(!RS(r[2*n],r[2*n+1]))break}while(n<i)n+=NS(e,r,n,i,i,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var r,n,i=this.path,o=i.data,a=ba.CMD,s="x"===t,l=[],u=0;u<o.length;){var c=o[u++],d=void 0,h=void 0,f=void 0,p=void 0,m=void 0,g=void 0,v=void 0;switch(c){case a.M:r=o[u++],n=o[u++];break;case a.L:if(d=o[u++],h=o[u++],v=s?(e-r)/(d-r):(e-n)/(h-n),v<=1&&v>=0){var y=s?(h-n)*v+n:(d-r)*v+r;return s?[e,y]:[y,e]}r=d,n=h;break;case a.C:d=o[u++],h=o[u++],f=o[u++],p=o[u++],m=o[u++],g=o[u++];var b=s?xt(r,d,f,m,e,l):xt(n,h,p,g,e,l);if(b>0)for(var _=0;_<b;_++){var w=l[_];if(w<=1&&w>=0){y=s?_t(n,h,p,g,w):_t(r,d,f,m,w);return s?[e,y]:[y,e]}}r=m,n=g;break}}},t}(Wa),FS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(BS),zS=function(e){function t(t){var r=e.call(this,t)||this;return r.type="ec-polygon",r}return a(t,e),t.prototype.getDefaultShape=function(){return new FS},t.prototype.buildPath=function(e,t){var r=t.points,n=t.stackedOnPoints,i=0,o=r.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0;o--)if(!RS(r[2*o-2],r[2*o-1]))break;for(;i<o;i++)if(!RS(r[2*i],r[2*i+1]))break}while(i<o){var s=NS(e,r,i,o,o,1,t.smooth,a,t.connectNulls);NS(e,n,i+s-1,s,o,-1,t.stackedOnSmooth,a,t.connectNulls),i+=s+1,e.closePath()}},t}(Wa);function HS(e,t,r,n,i){var o=e.getArea(),a=o.x,s=o.y,u=o.width,c=o.height,d=r.get(["lineStyle","width"])||2;a-=d/2,s-=d/2,u+=d,c+=d,u=Math.ceil(u),a!==Math.floor(a)&&(a=Math.floor(a),u++);var h=new ls({shape:{x:a,y:s,width:u,height:c}});if(t){var f=e.getBaseAxis(),p=f.isHorizontal(),m=f.inverse;p?(m&&(h.shape.x+=u),h.shape.width=0):(m||(h.shape.y+=c),h.shape.height=0);var g=Object(l["w"])(i)?function(e){i(e,h)}:null;Wl(h,{shape:{width:u,height:c,x:a,y:s}},r,null,n,g)}return h}function VS(e,t,r){var n=e.getArea(),i=Yn(n.r0,1),o=Yn(n.r,1),a=new _m({shape:{cx:Yn(e.cx,1),cy:Yn(e.cy,1),r0:i,r:o,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(t){var s="angle"===e.getBaseAxis().dim;s?a.shape.endAngle=n.startAngle:a.shape.r=i,Wl(a,{shape:{endAngle:n.endAngle,r:o}},r)}return a}function US(e,t,r,n,i){return e?"polar"===e.type?VS(e,t,r):"cartesian2d"===e.type?HS(e,t,r,n,i):null:null}function WS(e,t){return e.type===t}function $S(e,t){if(e.length===t.length){for(var r=0;r<e.length;r++)if(e[r]!==t[r])return;return!0}}function GS(e){for(var t=1/0,r=1/0,n=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),n=Math.max(a,n)),isNaN(s)||(r=Math.min(s,r),i=Math.max(s,i))}return[[t,r],[n,i]]}function qS(e,t){var r=GS(e),n=r[0],i=r[1],o=GS(t),a=o[0],s=o[1];return Math.max(Math.abs(n[0]-a[0]),Math.abs(n[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function XS(e){return l["z"](e)?e:e?.5:0}function KS(e,t,r){if(!r.valueDim)return[];for(var n=t.count(),i=DS(2*n),o=0;o<n;o++){var a=OS(r,e,t,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}function ZS(e,t,r,n){var i=t.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,a=[],s=0,l=[],u=[],c=[],d=[];if(n){for(s=0;s<e.length;s+=2)isNaN(e[s])||isNaN(e[s+1])||d.push(e[s],e[s+1]);e=d}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],a.push(u[0],u[1]),r){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var h=(u[o]+c[o])/2,f=[];l[o]=f[o]=h,l[1-o]=u[1-o],f[1-o]=c[1-o],a.push(l[0],l[1]),a.push(f[0],f[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(e[s++],e[s++]),a}function JS(e,t){var r,n,i=[],o=e.length;function a(e,t,r){var n=e.coord,i=(r-n)/(t.coord-n),o=Object(Bt["b"])(i,[e.color,t.color]);return{coord:r,color:o}}for(var s=0;s<o;s++){var l=e[s],u=l.coord;if(u<0)r=l;else{if(u>t){n?i.push(a(n,l,t)):r&&i.push(a(r,l,0),a(r,l,t));break}r&&(i.push(a(r,l,0)),r=null),i.push(l),n=l}}return i}function QS(e,t,r){var n=e.getVisual("visualMeta");if(n&&n.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=n.length-1;a>=0;a--){var s=e.getDimensionInfo(n[a].dimension);if(i=s&&s.coordDim,"x"===i||"y"===i){o=n[a];break}}if(o){var u=t.getAxis(i),c=l["H"](o.stops,(function(e){return{coord:u.toGlobalCoord(u.dataToCoord(e.value)),color:e.color}})),d=c.length,h=o.outerColors.slice();d&&c[0].coord>c[d-1].coord&&(c.reverse(),h.reverse());var f=JS(c,"x"===i?r.getWidth():r.getHeight()),p=f.length;if(!p&&d)return c[0].coord<0?h[1]?h[1]:c[d-1].color:h[0]?h[0]:c[0].color;var m=10,g=f[0].coord-m,v=f[p-1].coord+m,y=v-g;if(y<.001)return"transparent";l["k"](f,(function(e){e.offset=(e.coord-g)/y})),f.push({offset:p?f[p-1].offset:.5,color:h[1]||"transparent"}),f.unshift({offset:p?f[0].offset:.5,color:h[0]||"transparent"});var b=new Xm(0,0,0,0,f,!0);return b[i]=g,b[i+"2"]=v,b}}}function eM(e,t,r){var n=e.get("showAllSymbol"),i="auto"===n;if(!n||i){var o=r.getAxesByScale("ordinal")[0];if(o&&(!i||!tM(o,t))){var a=t.mapDimension(o.dim),s={};return l["k"](o.getViewLabels(),(function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1})),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}function tM(e,t){var r=e.getExtent(),n=Math.abs(r[1]-r[0])/e.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*_S.getSymbolSize(t,a)[e.isHorizontal()?1:0]>n)return!1;return!0}function rM(e,t){return isNaN(e)||isNaN(t)}function nM(e){for(var t=e.length/2;t>0;t--)if(!rM(e[2*t-2],e[2*t-1]))break;return t-1}function iM(e,t){return[e[2*t],e[2*t+1]]}function oM(e,t,r){for(var n,i,o=e.length/2,a="x"===r?0:1,s=0,l=-1,u=0;u<o;u++)if(i=e[2*u+a],!isNaN(i)&&!isNaN(e[2*u+1-a]))if(0!==u){if(n<=t&&i>=t||n>=t&&i<=t){l=u;break}s=u,n=i}else n=i;return{range:[s,l],t:(t-n)/(i-n)}}function aM(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<Rs.length;t++)if(e.get([Rs[t],"endLabel","show"]))return!0;return!1}function sM(e,t,r,n){if(WS(t,"cartesian2d")){var i=n.getModel("endLabel"),o=i.get("valueAnimation"),a=n.getData(),s={lastFrameIndex:0},l=aM(n)?function(r,n){e._endLabelOnDuring(r,n,a,s,o,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=HS(t,r,n,(function(){var t=e._endLabel;t&&r&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),l);if(!n.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 VS(t,r,n)}function lM(e,t){var r=t.getBaseAxis(),n=r.isHorizontal(),i=r.inverse,o=n?i?"right":"left":"center",a=n?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||a}}}var uM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(){var e=new kn,t=new MS;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},t.prototype.render=function(e,t,r){var n=this,i=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),u=e.getModel("areaStyle"),c=a.getLayout("points")||[],d="polar"===i.type,h=this._coordSys,f=this._symbolDraw,p=this._polyline,m=this._polygon,g=this._lineGroup,v=!t.ssr&&e.get("animation"),y=!u.isEmpty(),b=u.get("origin"),_=CS(i,a,b),w=y&&KS(i,a,_),x=e.get("showSymbol"),k=e.get("connectNulls"),S=x&&!d&&eM(e,a,i),M=this._data;M&&M.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),M.setItemGraphicEl(t,null))})),x||f.remove(),o.add(g);var C,T=!d&&e.get("step");i&&i.getArea&&e.get("clip",!0)&&(C=i.getArea(),null!=C.width?(C.x-=.1,C.y-=.1,C.width+=.2,C.height+=.2):C.r0&&(C.r0-=.5,C.r+=.5)),this._clipShapeForSymbol=C;var O=QS(a,i,r)||a.getVisual("style")[a.getVisual("drawType")];if(p&&h.type===i.type&&T===this._step){y&&!m?m=this._newPolygon(c,w):m&&!y&&(g.remove(m),m=this._polygon=null),d||this._initOrUpdateEndLabel(e,i,Ec(O));var L=g.getClipPath();if(L){var A=sM(this,i,!1,e);Wl(L,{shape:A.shape},e)}else g.setClipPath(sM(this,i,!0,e));x&&f.updateData(a,{isIgnore:S,clipShape:C,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),$S(this._stackedOnPoints,w)&&$S(this._points,c)||(v?this._doUpdateAnimation(a,w,i,r,T,b,k):(T&&(c=ZS(c,i,T,k),w&&(w=ZS(w,i,T,k))),p.setShape({points:c}),m&&m.setShape({points:c,stackedOnPoints:w})))}else x&&f.updateData(a,{isIgnore:S,clipShape:C,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),v&&this._initSymbolLabelAnimation(a,i,C),T&&(c=ZS(c,i,T,k),w&&(w=ZS(w,i,T,k))),p=this._newPolyline(c),y?m=this._newPolygon(c,w):m&&(g.remove(m),m=this._polygon=null),d||this._initOrUpdateEndLabel(e,i,Ec(O)),g.setClipPath(sM(this,i,!0,e));var D=e.getModel("emphasis"),E=D.get("focus"),I=D.get("blurScope"),j=D.get("disabled");if(p.useStyle(l["i"](s.getLineStyle(),{fill:"none",stroke:O,lineJoin:"bevel"})),Il(p,e,"lineStyle"),p.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])){var P=p.getState("emphasis").style;P.lineWidth=+p.style.lineWidth+1}Ts(p).seriesIndex=e.seriesIndex,Ll(p,E,I,j);var R=XS(e.get("smooth")),N=e.get("smoothMonotone");if(p.setShape({smooth:R,smoothMonotone:N,connectNulls:k}),m){var B=a.getCalculationInfo("stackedOnSeries"),Y=0;m.useStyle(l["i"](u.getAreaStyle(),{fill:O,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),B&&(Y=XS(B.get("smooth"))),m.setShape({smooth:R,stackedOnSmooth:Y,smoothMonotone:N,connectNulls:k}),Il(m,e,"areaStyle"),Ts(m).seriesIndex=e.seriesIndex,Ll(m,E,I,j)}var F=function(e){n._changePolyState(e)};a.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=F)})),this._polyline.onHoverStateChange=F,this._data=a,this._coordSys=i,this._stackedOnPoints=w,this._points=c,this._step=T,this._valueOrigin=b,e.get("triggerLineEvent")&&(this.packEventData(e,p),m&&this.packEventData(e,m))},t.prototype.packEventData=function(e,t){Ts(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,r,n){var i=e.getData(),o=Di(i,n);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,d=e.get("z")||0;s=new _S(i,o),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,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Gg.prototype.highlight.call(this,e,t,r,n)},t.prototype.downplay=function(e,t,r,n){var i=e.getData(),o=Di(i,n);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Gg.prototype.downplay.call(this,e,t,r,n)},t.prototype._changePolyState=function(e){var t=this._polygon;tl(this._polyline,e),t&&tl(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new YS({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var r=this._polygon;return r&&this._lineGroup.remove(r),r=new zS({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(r),this._polygon=r,r},t.prototype._initSymbolLabelAnimation=function(e,t,r){var n,i,o=t.getBaseAxis(),a=o.inverse;"cartesian2d"===t.type?(n=o.isHorizontal(),i=!1):"polar"===t.type&&(n="angle"===o.dim,i=!0);var s=e.hostModel,u=s.get("animationDuration");l["w"](u)&&(u=u(null));var c=s.get("animationDelay")||0,d=l["w"](c)?c(null):c;e.eachItemGraphicEl((function(e,o){var s=e;if(s){var h=[e.x,e.y],f=void 0,p=void 0,m=void 0;if(r)if(i){var g=r,v=t.pointToCoord(h);n?(f=g.startAngle,p=g.endAngle,m=-v[1]/180*Math.PI):(f=g.r0,p=g.r,m=v[0])}else{var y=r;n?(f=y.x,p=y.x+y.width,m=e.x):(f=y.y+y.height,p=y.y,m=e.y)}var b=p===f?0:(m-f)/(p-f);a&&(b=1-b);var _=l["w"](c)?c(o):u*b+d,w=s.getSymbolPath(),x=w.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:_}),w.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,r){var n=e.getModel("endLabel");if(aM(e)){var i=e.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new Cs({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=nM(a);l>=0&&(tu(o,ru(e,"endLabel"),{inheritColor:r,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,r){return null!=r?vS(i,r):gS(i,e)},enableTextSetter:!0},lM(n,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,r,n,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==n.originalX&&(n.originalX=s.x,n.originalY=s.y);var u=r.getLayout("points"),c=r.hostModel,d=c.get("connectNulls"),h=o.get("precision"),f=o.get("distance")||0,p=a.getBaseAxis(),m=p.isHorizontal(),g=p.inverse,v=t.shape,y=g?m?v.x:v.y+v.height:m?v.x+v.width:v.y,b=(m?f:0)*(g?-1:1),_=(m?0:-f)*(g?-1:1),w=m?"x":"y",x=oM(u,y,w),k=x.range,S=k[1]-k[0],M=void 0;if(S>=1){if(S>1&&!d){var C=iM(u,k[0]);s.attr({x:C[0]+b,y:C[1]+_}),i&&(M=c.getRawValue(k[0]))}else{C=l.getPointOn(y,w);C&&s.attr({x:C[0]+b,y:C[1]+_});var T=c.getRawValue(k[0]),O=c.getRawValue(k[1]);i&&(M=Vi(r,h,T,O,x.t))}n.lastFrameIndex=k[0]}else{var L=1===e||n.lastFrameIndex>0?k[0]:0;C=iM(u,L);i&&(M=c.getRawValue(L)),s.attr({x:C[0]+b,y:C[1]+_})}if(i){var A=hu(s);"function"===typeof A.setLabelText&&A.setLabelText(M)}}},t.prototype._doUpdateAnimation=function(e,t,r,n,i,o,a){var s=this._polyline,l=this._polygon,u=e.hostModel,c=IS(this._data,e,this._stackedOnPoints,t,this._coordSys,r,this._valueOrigin,o),d=c.current,h=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(i&&(d=ZS(c.current,r,i,a),h=ZS(c.stackedOnCurrent,r,i,a),f=ZS(c.next,r,i,a),p=ZS(c.stackedOnNext,r,i,a)),qS(d,f)>3e3||l&&qS(h,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=d;var m={shape:{points:f}};c.current!==d&&(m.shape.__points=c.next),s.stopAnimation(),Ul(s,m,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),Ul(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],v=c.status,y=0;y<v.length;y++){var b=v[y].cmd;if("="===b){var _=e.getItemGraphicEl(v[y].idx1);_&&g.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<g.length;t++){var r=g[t].el,n=2*g[t].ptIdx;r.x=e[n],r.y=e[n+1],r.markRedraw()}}))},t.prototype.remove=function(e){var t=this.group,r=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),r&&r.eachItemGraphicEl((function(e,n){e.__temp&&(t.remove(e),r.setItemGraphicEl(n,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(Gg),cM=uM;function dM(e,t){return{seriesType:e,plan:Tp(),reset:function(e){var r=e.getData(),n=e.coordinateSystem,i=e.pipelineContext,o=t||i.large;if(n){var a=Object(l["H"])(n.dimensions,(function(e){return r.mapDimension(e)})).slice(0,2),s=a.length,u=r.getCalculationInfo("stackResultDimension");aS(r,a[0])&&(a[0]=u),aS(r,a[1])&&(a[1]=u);var c=r.getStore(),d=r.getDimensionIndex(a[0]),h=r.getDimensionIndex(a[1]);return s&&{progress:function(e,t){for(var r=e.end-e.start,i=o&&DS(r*s),a=[],l=[],u=e.start,f=0;u<e.end;u++){var p=void 0;if(1===s){var m=c.get(d,u);p=n.dataToPoint(m,null,l)}else a[0]=c.get(d,u),a[1]=c.get(h,u),p=n.dataToPoint(a,null,l);o?(i[f++]=p[0],i[f++]=p[1]):t.setItemLayout(u,p.slice())}o&&t.setLayout("points",i)}}}}}}var hM={average:function(e){for(var t=0,r=0,n=0;n<e.length;n++)isNaN(e[n])||(t+=e[n],r++);return 0===r?NaN:t/r},sum:function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r]||0;return t},max:function(e){for(var t=-1/0,r=0;r<e.length;r++)e[r]>t&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;r<e.length;r++)e[r]<t&&(t=e[r]);return isFinite(t)?t:NaN},minmax:function(e){for(var t=-1/0,r=-1/0,n=0;n<e.length;n++){var i=e[n],o=Math.abs(i);o>t&&(t=o,r=i)}return isFinite(r)?r:NaN},nearest:function(e){return e[0]}},fM=function(e){return Math.round(e.length/2)};function pM(e){return{seriesType:e,reset:function(e,t,r){var n=e.getData(),i=e.get("sampling"),o=e.coordinateSystem,a=n.count();if(a>10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),u=o.getOtherAxis(s),c=s.getExtent(),d=r.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(d||1),f=Math.round(a/h);if(isFinite(f)&&f>1){"lttb"===i&&e.setData(n.lttbDownSample(n.mapDimension(u.dim),1/f));var p=void 0;Object(l["C"])(i)?p=hM[i]:Object(l["w"])(i)&&(p=i),p&&e.setData(n.downSample(n.mapDimension(u.dim),1/f,p,fM))}}}}}function mM(e){e.registerChartView(cM),e.registerSeriesModel(mS),e.registerLayout(dM("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),r=e.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,pM("line"))}var gM="__ec_stack_";function vM(e){return e.get("stack")||gM+e.seriesIndex}function yM(e){return e.dim+e.index}function bM(e){var t=[],r=e.axis,n="axis0";if("category"===r.type){for(var i=r.getBandWidth(),o=0;o<e.count;o++)t.push(Object(l["i"])({bandWidth:i,axisKey:n,stackId:gM+o},e));var a=kM(t),s=[];for(o=0;o<e.count;o++){var u=a[n][gM+o];u.offsetCenter=u.offset+u.width/2,s.push(u)}return s}}function _M(e,t){var r=[];return t.eachSeriesByType(e,(function(e){TM(e)&&r.push(e)})),r}function wM(e){var t={};Object(l["k"])(e,(function(e){var r=e.coordinateSystem,n=r.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=e.getData(),o=n.dim+"_"+n.index,a=i.getDimensionIndex(i.mapDimension(n.dim)),s=i.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(a,l);t[o]?t[o].push(c):t[o]=[c]}}));var r={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];if(i){i.sort((function(e,t){return e-t}));for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=null===o?s:Math.min(o,s))}r[n]=o}}return r}function xM(e){var t=wM(e),r=[];return Object(l["k"])(e,(function(e){var n,i=e.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=t[s],u=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),d=Math.abs(c[1]-c[0]);n=l?u/d*l:u}else{var h=e.getData();n=Math.abs(a[1]-a[0])/h.count()}var f=Bn(e.get("barWidth"),n),p=Bn(e.get("barMaxWidth"),n),m=Bn(e.get("barMinWidth")||(OM(e)?.5:1),n),g=e.get("barGap"),v=e.get("barCategoryGap");r.push({bandWidth:n,barWidth:f,barMaxWidth:p,barMinWidth:m,barGap:g,barCategoryGap:v,axisKey:yM(o),stackId:vM(e)})})),kM(r)}function kM(e){var t={};Object(l["k"])(e,(function(e,r){var n=e.axisKey,i=e.bandWidth,o=t[n]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[n]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var d=e.barGap;null!=d&&(o.gap=d);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var r={};return Object(l["k"])(t,(function(e,t){r[t]={};var n=e.stacks,i=e.bandWidth,o=e.categoryGap;if(null==o){var a=Object(l["F"])(n).length;o=Math.max(35-4*a,15)+"%"}var s=Bn(o,i),u=Bn(e.gap,1),c=e.remainedWidth,d=e.autoWidthCount,h=(c-s)/(d+(d-1)*u);h=Math.max(h,0),Object(l["k"])(n,(function(e){var t=e.maxWidth,r=e.minWidth;if(e.width){n=e.width;t&&(n=Math.min(n,t)),r&&(n=Math.max(n,r)),e.width=n,c-=n+u*n,d--}else{var n=h;t&&t<n&&(n=Math.min(t,c)),r&&r>n&&(n=r),n!==h&&(e.width=n,c-=n+u*n,d--)}})),h=(c-s)/(d+(d-1)*u),h=Math.max(h,0);var f,p=0;Object(l["k"])(n,(function(e,t){e.width||(e.width=h),f=e,p+=e.width*(1+u)})),f&&(p-=f.width*u);var m=-p/2;Object(l["k"])(n,(function(e,n){r[t][n]=r[t][n]||{bandWidth:i,offset:m,width:e.width},m+=e.width*(1+u)}))})),r}function SM(e,t,r){if(e&&t){var n=e[yM(t)];return null!=n&&null!=r?n[vM(r)]:n}}function MM(e,t){var r=_M(e,t),n=xM(r);Object(l["k"])(r,(function(e){var t=e.getData(),r=e.coordinateSystem,i=r.getBaseAxis(),o=vM(e),a=n[yM(i)][o],s=a.offset,l=a.width;t.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function CM(e){return{seriesType:e,plan:Tp(),reset:function(e){if(TM(e)){var t=e.getData(),r=e.coordinateSystem,n=r.getBaseAxis(),i=r.getOtherAxis(n),o=t.getDimensionIndex(t.mapDimension(i.dim)),a=t.getDimensionIndex(t.mapDimension(n.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),u=t.getCalculationInfo("stackResultDimension"),c=aS(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),d=i.isHorizontal(),h=LM(n,i),f=OM(e),p=e.get("barMinHeight")||0,m=u&&t.getDimensionIndex(u),g=t.getLayout("size"),v=t.getLayout("offset");return{progress:function(e,t){var n,i=e.count,l=f&&DS(3*i),u=f&&s&&DS(3*i),y=f&&DS(i),b=r.master.getRect(),_=d?b.width:b.height,w=t.getStore(),x=0;while(null!=(n=e.next())){var k=w.get(c?m:o,n),S=w.get(a,n),M=h,C=void 0;c&&(C=+k-w.get(o,n));var T=void 0,O=void 0,L=void 0,A=void 0;if(d){var D=r.dataToPoint([k,S]);if(c){var E=r.dataToPoint([C,S]);M=E[0]}T=M,O=D[1]+v,L=D[0]-M,A=g,Math.abs(L)<p&&(L=(L<0?-1:1)*p)}else{D=r.dataToPoint([S,k]);if(c){E=r.dataToPoint([S,C]);M=E[1]}T=D[0]+v,O=M,L=g,A=D[1]-M,Math.abs(A)<p&&(A=(A<=0?-1:1)*p)}f?(l[x]=T,l[x+1]=O,l[x+2]=d?L:A,u&&(u[x]=d?b.x:T,u[x+1]=d?O:b.y,u[x+2]=_),y[n]=n):t.setItemLayout(n,{x:T,y:O,width:L,height:A}),x+=3}f&&t.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:d})}}}}}}function TM(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function OM(e){return e.pipelineContext&&e.pipelineContext.large}function LM(e,t){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}var AM=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.getInitialData=function(e,t){return fS(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,r){var n=this.coordinateSystem;if(n&&n.clampData){var i=n.clampData(e),o=n.dataToPoint(i);if(r)Object(l["k"])(n.getAxes(),(function(e,r){if("category"===e.type&&null!=t){var n=e.getTicksCoords(),a=e.getTickModel().get("alignWithLabel"),s=i[r],l="x1"===t[r]||"y1"===t[r];if(l&&!a&&(s+=1),n.length<2)return;if(2===n.length)return void(o[r]=e.toGlobalCoord(e.getExtent()[l?1:0]));for(var u=void 0,c=void 0,d=1,h=0;h<n.length;h++){var f=n[h].coord,p=h===n.length-1?n[h-1].tickValue+d:n[h].tickValue;if(p===s){c=f;break}if(p<s)u=f;else if(null!=u&&p>s){c=(f+u)/2;break}1===h&&(d=p-n[0].tickValue)}null==c&&(u?u&&(c=n[n.length-1].coord):c=n[0].coord),o[r]=e.toGlobalCoord(c)}}));else{var a=this.getData(),s=a.getLayout("offset"),u=a.getLayout("size"),c=n.getBaseAxis().isHorizontal()?0:1;o[c]+=s+u/2}return o}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Sp);Sp.registerClass(AM);var DM=AM,EM=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.getInitialData=function(){return fS(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,r){return r.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Eu(DM.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}),t}(DM),IM=EM,jM=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),PM=function(e){function t(t){var r=e.call(this,t)||this;return r.type="sausage",r}return a(t,e),t.prototype.getDefaultShape=function(){return new jM},t.prototype.buildPath=function(e,t){var r=t.cx,n=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=2*Math.PI,h=c?u-l<d:l-u<d;h||(l=u-(c?d:-d));var f=Math.cos(l),p=Math.sin(l),m=Math.cos(u),g=Math.sin(u);h?(e.moveTo(f*i+r,p*i+n),e.arc(f*s+r,p*s+n,a,-Math.PI+l,l,!c)):e.moveTo(f*o+r,p*o+n),e.arc(r,n,o,l,u,!c),e.arc(m*s+r,g*s+n,a,u-2*Math.PI,u-Math.PI,!c),0!==i&&e.arc(r,n,i,u,l,c)},t}(Wa),RM=PM;function NM(e,t){t=t||{};var r=t.isRoundCap;return function(t,n,i){var o=n.position;if(!o||o instanceof Array)return sn(t,n,i);var a=e(o),s=null!=n.distance?n.distance:5,l=this.shape,u=l.cx,c=l.cy,d=l.r,h=l.r0,f=(d+h)/2,p=l.startAngle,m=l.endAngle,g=(p+m)/2,v=r?Math.abs(d-h)/2:0,y=Math.cos,b=Math.sin,_=u+d*y(p),w=c+d*b(p),x="left",k="top";switch(a){case"startArc":_=u+(h-s)*y(g),w=c+(h-s)*b(g),x="center",k="top";break;case"insideStartArc":_=u+(h+s)*y(g),w=c+(h+s)*b(g),x="center",k="bottom";break;case"startAngle":_=u+f*y(p)+YM(p,s+v,!1),w=c+f*b(p)+FM(p,s+v,!1),x="right",k="middle";break;case"insideStartAngle":_=u+f*y(p)+YM(p,-s+v,!1),w=c+f*b(p)+FM(p,-s+v,!1),x="left",k="middle";break;case"middle":_=u+f*y(g),w=c+f*b(g),x="center",k="middle";break;case"endArc":_=u+(d+s)*y(g),w=c+(d+s)*b(g),x="center",k="bottom";break;case"insideEndArc":_=u+(d-s)*y(g),w=c+(d-s)*b(g),x="center",k="top";break;case"endAngle":_=u+f*y(m)+YM(m,s+v,!0),w=c+f*b(m)+FM(m,s+v,!0),x="left",k="middle";break;case"insideEndAngle":_=u+f*y(m)+YM(m,-s+v,!0),w=c+f*b(m)+FM(m,-s+v,!0),x="right",k="middle";break;default:return sn(t,n,i)}return t=t||{},t.x=_,t.y=w,t.align=x,t.verticalAlign=k,t}}function BM(e,t,r,n){if(Object(l["z"])(n))e.setTextConfig({rotation:n});else if(Object(l["t"])(t))e.setTextConfig({rotation:0});else{var i,o=e.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,u=(a+s)/2,c=r(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=u;break;case"startAngle":case"insideStartAngle":i=a;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void e.setTextConfig({rotation:0})}var d=1.5*Math.PI-i;"middle"===c&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),e.setTextConfig({rotation:d})}}function YM(e,t,r){return t*Math.sin(e)*(r?-1:1)}function FM(e,t,r){return t*Math.cos(e)*(r?1:-1)}function zM(e,t,r){var n=e.get("borderRadius");if(null==n)return r?{cornerRadius:0}:null;Object(l["t"])(n)||(n=[n,n,n,n]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Object(l["H"])(n,(function(e){return an(e,i)}))}}var HM=Math.max,VM=Math.min;function UM(e,t){var r=e.getArea&&e.getArea();if(WS(e,"cartesian2d")){var n=e.getBaseAxis();if("category"!==n.type||!n.onBand){var i=t.getLayout("bandWidth");n.isHorizontal()?(r.x-=i,r.width+=2*i):(r.y-=i,r.height+=2*i)}}return r}var WM=function(e){function t(){var r=e.call(this)||this;return r.type=t.type,r._isFirstFrame=!0,r}return a(t,e),t.prototype.render=function(e,t,r,n){this._model=e,this._removeOnRenderedListener(r),this._updateDrawMode(e);var i=e.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,r):this._renderNormal(e,t,r,n))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){Bg(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,r,n){var i,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,d=qM(e,l);d&&this._enableRealtimeSort(d,a,r);var h=e.get("clip",!0)||d,f=UM(l,a);o.removeClipPath();var p=e.get("roundCap",!0),m=e.get("showBackground",!0),g=e.getModel("backgroundStyle"),v=g.get("borderRadius")||0,y=[],b=this._backgroundEls,_=n&&n.isInitSort,w=n&&"changeAxisOrder"===n.type;function x(e){var t=eC[l.type](a,e),r=dC(l,i,t);return r.useStyle(g.getItemStyle()),"cartesian2d"===l.type?r.setShape("r",v):r.setShape("cornerRadius",v),y[e]=r,r}a.diff(s).add((function(t){var r=a.getItemModel(t),n=eC[l.type](a,t,r);if(m&&x(t),a.hasValue(t)&&QM[l.type](n)){var s=!1;h&&(s=$M[l.type](f,n));var g=GM[l.type](e,a,t,n,i,c,u.model,!1,p);d&&(g.forceLabelAnimation=!0),nC(g,a,t,r,n,e,i,"polar"===l.type),_?g.attr({shape:n}):d?XM(d,c,g,n,t,i,!1,!1):Wl(g,{shape:n},e,t),a.setItemGraphicEl(t,g),o.add(g),g.ignore=s}})).update((function(t,r){var n=a.getItemModel(t),k=eC[l.type](a,t,n);if(m){var S=void 0;0===b.length?S=x(r):(S=b[r],S.useStyle(g.getItemStyle()),"cartesian2d"===l.type?S.setShape("r",v):S.setShape("cornerRadius",v),y[t]=S);var M=eC[l.type](a,t),C=cC(i,M,l);Ul(S,{shape:C},c,t)}var T=s.getItemGraphicEl(r);if(a.hasValue(t)&&QM[l.type](k)){var O=!1;if(h&&(O=$M[l.type](f,k),O&&o.remove(T)),T?Kl(T):T=GM[l.type](e,a,t,k,i,c,u.model,!!T,p),d&&(T.forceLabelAnimation=!0),w){var L=T.getTextContent();if(L){var A=hu(L);null!=A.prevValue&&(A.prevValue=A.value)}}else nC(T,a,t,n,k,e,i,"polar"===l.type);_?T.attr({shape:k}):d?XM(d,c,T,k,t,i,!0,w):Ul(T,{shape:k},e,t,null),a.setItemGraphicEl(t,T),T.ignore=O,o.add(T)}else o.remove(T)})).remove((function(t){var r=s.getItemGraphicEl(t);r&&Xl(r,e,t)})).execute();var k=this._backgroundGroup||(this._backgroundGroup=new kn);k.removeAll();for(var S=0;S<y.length;++S)k.add(y[S]);o.add(k),this._backgroundEls=y,this._data=a},t.prototype._renderLarge=function(e,t,r){this._clear(),sC(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),sC(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&US(e.coordinateSystem,!1,e),r=this.group;t?r.setClipPath(t):r.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,r){var n=this;if(t.count()){var i=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,r),this._isFirstFrame=!1;else{var o=function(e){var r=t.getItemGraphicEl(e),n=r&&r.shape;return n&&Math.abs(i.isHorizontal()?n.height:n.width)||0};this._onRendered=function(){n._updateSortWithinSameData(t,o,i,r)},r.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,r){var n=[];return e.each(e.mapDimension(t.dim),(function(e,t){var i=r(t);i=null==i?NaN:i,n.push({dataIndex:t,mappedValue:i,ordinalNumber:e})})),n.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:Object(l["H"])(n,(function(e){return e.ordinalNumber}))}},t.prototype._isOrderChangedWithinSameData=function(e,t,r){for(var n=r.scale,i=e.mapDimension(r.dim),o=Number.MAX_VALUE,a=0,s=n.getOrdinalMeta().categories.length;a<s;++a){var l=e.rawIndexOf(i,n.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:t(e.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var r=t.scale,n=r.getExtent(),i=Math.max(0,n[0]),o=Math.min(n[1],r.getOrdinalMeta().categories.length-1);i<=o;++i)if(e.ordinalNumbers[i]!==r.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,r,n){if(this._isOrderChangedWithinSameData(e,t,r)){var i=this._dataSort(e,r,t);this._isOrderDifferentInView(i,r)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",axisId:r.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,r){var n=t.baseAxis,i=this._dataSort(e,n,(function(r){return e.get(e.mapDimension(t.otherAxis.dim),r)}));r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,r=this._data;e&&e.isAnimationEnabled()&&r&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],r.eachItemGraphicEl((function(t){Xl(t,e,Ts(t).dataIndex)}))):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(Gg),$M={cartesian2d:function(e,t){var r=t.width<0?-1:1,n=t.height<0?-1:1;r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=HM(t.x,e.x),s=VM(t.x+t.width,i),l=HM(t.y,e.y),u=VM(t.y+t.height,o),c=s<a,d=u<l;return t.x=c&&a>i?s:a,t.y=d&&l>o?u:l,t.width=c?0:s-a,t.height=d?0:u-l,r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),c||d},polar:function(e,t){var r=t.r0<=t.r?1:-1;if(r<0){var n=t.r;t.r=t.r0,t.r0=n}var i=VM(t.r,e.r),o=HM(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(r<0){n=t.r;t.r=t.r0,t.r0=n}return a}},GM={cartesian2d:function(e,t,r,n,i,o,a,s,u){var c=new ls({shape:Object(l["m"])({},n),z2:1});if(c.__dataIndex=r,c.name="item",o){var d=c.shape,h=i?"height":"width";d[h]=0}return c},polar:function(e,t,r,n,i,o,a,s,l){var u=!i&&l?RM:_m,c=new u({shape:n,z2:1});c.name="item";var d=rC(i);if(c.calculateTextPosition=NM(d,{isRoundCap:u===RM}),o){var h=c.shape,f=i?"r":"endAngle",p={};h[f]=i?n.r0:n.startAngle,p[f]=n[f],(s?Ul:Wl)(c,{shape:p},o)}return c}};function qM(e,t){var r=e.get("realtimeSort",!0),n=t.getBaseAxis();if(r&&"category"===n.type&&"cartesian2d"===t.type)return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function XM(e,t,r,n,i,o,a,s){var l,u;o?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(a?Ul:Wl)(r,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?Ul:Wl)(r,{shape:u},c,i)}function KM(e,t){for(var r=0;r<t.length;r++)if(!isFinite(e[t[r]]))return!0;return!1}var ZM=["x","y","width","height"],JM=["cx","cy","r","startAngle","endAngle"],QM={cartesian2d:function(e){return!KM(e,ZM)},polar:function(e){return!KM(e,JM)}},eC={cartesian2d:function(e,t,r){var n=e.getItemLayout(t),i=r?iC(r,n):0,o=n.width>0?1:-1,a=n.height>0?1:-1;return{x:n.x+o*i/2,y:n.y+a*i/2,width:n.width-o*i,height:n.height-a*i}},polar:function(e,t,r){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function tC(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function rC(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function nC(e,t,r,n,i,o,a,s){var u=t.getItemVisual(r,"style");if(s){if(!o.get("roundCap")){var c=e.shape,d=zM(n.getModel("itemStyle"),c,!0);Object(l["m"])(c,d),e.setShape(c)}}else{var h=n.get(["itemStyle","borderRadius"])||0;e.setShape("r",h)}e.useStyle(u);var f=n.getShallow("cursor");f&&e.attr("cursor",f);var p=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",m=ru(n);tu(e,m,{labelFetcher:o,labelDataIndex:r,defaultText:gS(o.getData(),r),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:p});var g=e.getTextContent();if(s&&g){var v=n.get(["label","position"]);e.textConfig.inside="middle"===v||null,BM(e,"outside"===v?p:v,rC(a),n.get(["label","rotate"]))}fu(g,m,o.getRawValue(r),(function(e){return vS(t,e)}));var y=n.getModel(["emphasis"]);Ll(e,y.get("focus"),y.get("blurScope"),y.get("disabled")),Il(e,n),tC(i)&&(e.style.fill="none",e.style.stroke="none",Object(l["k"])(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}function iC(e,t){var r=e.get(["itemStyle","borderColor"]);if(!r||"none"===r)return 0;var n=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,o)}var oC=function(){function e(){}return e}(),aC=function(e){function t(t){var r=e.call(this,t)||this;return r.type="largeBar",r}return a(t,e),t.prototype.getDefaultShape=function(){return new oC},t.prototype.buildPath=function(e,t){for(var r=t.points,n=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<r.length;l+=3)a[n]=s,a[i]=r[l+2],o[n]=r[l+n],o[i]=r[l+i],e.rect(o[0],o[1],a[0],a[1])},t}(Wa);function sC(e,t,r,n){var i=e.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new aC({shape:{points:u},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),r&&r.push(c)}var d=new aC({shape:{points:i.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,t.add(d),d.useStyle(i.getVisual("style")),Ts(d).seriesIndex=e.seriesIndex,e.get("silent")||(d.on("mousedown",lC),d.on("mousemove",lC)),r&&r.push(d)}var lC=Zg((function(e){var t=this,r=uC(t,e.offsetX,e.offsetY);Ts(t).dataIndex=r>=0?r:null}),30,!1);function uC(e,t,r){for(var n=e.baseDimIdx,i=1-n,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,d=o.length/3;c<d;c++){var h=3*c;if(l[n]=u,l[i]=o[h+2],s[n]=o[h+n],s[i]=o[h+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&r>=s[1]&&r<=s[1]+l[1])return a[c]}return-1}function cC(e,t,r){if(WS(r,"cartesian2d")){var n=t,i=r.getArea();return{x:e?n.x:i.x,y:e?i.y:n.y,width:e?n.width:i.width,height:e?i.height:n.height}}i=r.getArea();var o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}function dC(e,t,r){var n="polar"===e.type?_m:ls;return new n({shape:cC(t,r,e),silent:!0,z2:0})}var hC=WM;function fC(e){e.registerChartView(hC),e.registerSeriesModel(IM),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,l["h"](MM,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,CM("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,pM("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(e,t){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},(function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)}))}))}var pC=2*Math.PI,mC=Math.PI/180;function gC(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function vC(e,t){var r=gC(e,t),n=e.get("center"),i=e.get("radius");l["t"](i)||(i=[0,i]);var o,a,s=Bn(r.width,t.getWidth()),u=Bn(r.height,t.getHeight()),c=Math.min(s,u),d=Bn(i[0],c/2),h=Bn(i[1],c/2),f=e.coordinateSystem;if(f){var p=f.dataToPoint(n);o=p[0]||0,a=p[1]||0}else l["t"](n)||(n=[n,n]),o=Bn(n[0],s)+r.x,a=Bn(n[1],u)+r.y;return{cx:o,cy:a,r0:d,r:h}}function yC(e,t,r){t.eachSeriesByType(e,(function(e){var t=e.getData(),n=t.mapDimension("value"),i=gC(e,r),o=vC(e,r),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-e.get("startAngle")*mC,d=e.get("endAngle"),h=e.get("padAngle")*mC;d="auto"===d?c-pC:-d*mC;var f=e.get("minAngle")*mC,p=f+h,m=0;t.each(n,(function(e){!isNaN(e)&&m++}));var g=t.getSum(n),v=Math.PI/(g||m)*2,y=e.get("clockwise"),b=e.get("roseType"),_=e.get("stillShowZeroSum"),w=t.getDataExtent(n);w[0]=0;var x=y?1:-1,k=[c,d],S=x*h/2;va(k,!y),c=k[0],d=k[1];var M=Math.abs(d-c),C=M,T=0,O=c;if(t.setLayout({viewRect:i,r:l}),t.each(n,(function(e,r){var n;if(isNaN(e))t.setItemLayout(r,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:a,cy:s,r0:u,r:b?NaN:l});else{n="area"!==b?0===g&&_?v:e*v:M/m,n<p?(n=p,C-=p):T+=e;var i=O+x*n,o=0,c=0;h>n?(o=O+x*n/2,c=o):(o=O+S,c=i-S),t.setItemLayout(r,{angle:n,startAngle:o,endAngle:c,clockwise:y,cx:a,cy:s,r0:u,r:b?Nn(e,w,[u,l]):l}),O=i}})),C<pC&&m)if(C<=.001){var L=M/m;t.each(n,(function(e,r){if(!isNaN(e)){var n=t.getItemLayout(r);n.angle=L;var i=0,o=0;L<h?(i=c+x*(r+.5)*L,o=i):(i=c+x*r*L+S,o=c+x*(r+1)*L-S),n.startAngle=i,n.endAngle=o}}))}else v=C/T,O=c,t.each(n,(function(e,r){if(!isNaN(e)){var n=t.getItemLayout(r),i=n.angle===p?p:e*v,o=0,a=0;i<h?(o=O+x*i/2,a=o):(o=O+S,a=O+x*i-S),n.startAngle=o,n.endAngle=a,O+=x*i}}))}))}function bC(e){return{seriesType:e,reset:function(e,t){var r=t.findComponents({mainType:"legend"});if(r&&r.length){var n=e.getData();n.filterSelf((function(e){for(var t=n.getName(e),i=0;i<r.length;i++)if(!r[i].isSelected(t))return!1;return!0}))}}}}var _C=Math.PI/180;function wC(e,t,r,n,i,o,a,s,l,u){if(!(e.length<2)){for(var c=e.length,d=0;d<c;d++)if("outer"===e[d].position&&"labelLine"===e[d].labelAlignTo){var h=e[d].label.x-u;e[d].linePoints[1][0]+=h,e[d].label.x=u}cw(e,l,l+a)&&p(e)}function f(e){for(var o=e.rB,a=o*o,s=0;s<e.list.length;s++){var l=e.list[s],u=Math.abs(l.label.y-r),c=n+l.len,d=c*c,h=Math.sqrt((1-Math.abs(u*u/a))*d),f=t+(h+l.len2)*i,p=f-l.label.x,m=l.targetTextWidth-p*i;kC(l,m,!0),l.label.x=f}}function p(e){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],u=l.label.y>r?a:o,c=Math.abs(l.label.y-r);if(c>=u.maxY){var d=l.label.x-t-l.len2*i,h=n+l.len,p=Math.abs(d)<h?Math.sqrt(c*c/(1-d*d/h/h)):h;u.rB=p,u.maxY=c}u.list.push(l)}f(o),f(a)}}function xC(e,t,r,n,i,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,h=0;h<e.length;h++){var f=e[h].label;SC(e[h])||(f.x<t?(c=Math.min(c,f.x),l.push(e[h])):(d=Math.max(d,f.x),u.push(e[h])))}for(h=0;h<e.length;h++){var p=e[h];if(!SC(p)&&p.linePoints){if(null!=p.labelStyleWidth)continue;f=p.label;var m=p.linePoints,g=void 0;g="edge"===p.labelAlignTo?f.x<t?m[2][0]-p.labelDistance-a-p.edgeDistance:a+i-p.edgeDistance-m[2][0]-p.labelDistance:"labelLine"===p.labelAlignTo?f.x<t?c-a-p.bleedMargin:a+i-d-p.bleedMargin:f.x<t?f.x-a-p.bleedMargin:a+i-f.x-p.bleedMargin,p.targetTextWidth=g,kC(p,g)}}wC(u,t,r,n,1,i,o,a,s,d),wC(l,t,r,n,-1,i,o,a,s,c);for(h=0;h<e.length;h++){p=e[h];if(!SC(p)&&p.linePoints){f=p.label,m=p.linePoints;var v="edge"===p.labelAlignTo,y=f.style.padding,b=y?y[1]+y[3]:0,_=f.style.backgroundColor?0:b,w=p.rect.width+_,x=m[1][0]-m[2][0];v?f.x<t?m[2][0]=a+p.edgeDistance+w+p.labelDistance:m[2][0]=a+i-p.edgeDistance-w-p.labelDistance:(f.x<t?m[2][0]=f.x+p.labelDistance:m[2][0]=f.x-p.labelDistance,m[1][0]=m[2][0]+x),m[1][1]=m[2][1]=f.y}}}function kC(e,t,r){if(void 0===r&&(r=!1),null==e.labelStyleWidth){var n=e.label,i=n.style,o=e.rect,a=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=o.width+(a?0:l);if(t<c||r){var d=o.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-l);var h=n.getBoundingRect();n.setStyle("width",Math.ceil(h.width)),n.setStyle("backgroundColor",a)}else{var f=t-l,p=t<c?f:r?f>e.unconstrainedWidth?null:f:null;n.setStyle("width",p)}var m=n.getBoundingRect();o.width=m.width;var g=(n.style.margin||0)+2.1;o.height=m.height+g,o.y-=(o.height-d)/2}}}function SC(e){return"center"===e.position}function MC(e){var t,r,n=e.getData(),i=[],o=!1,a=(e.get("minShowLabelAngle")||0)*_C,s=n.getLayout("viewRect"),u=n.getLayout("r"),c=s.width,d=s.x,h=s.y,f=s.height;function p(e){e.ignore=!0}function m(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}n.each((function(e){var s=n.getItemGraphicEl(e),h=s.shape,f=s.getTextContent(),g=s.getTextGuideLine(),v=n.getItemModel(e),y=v.getModel("label"),b=y.get("position")||v.get(["emphasis","label","position"]),_=y.get("distanceToLabelLine"),w=y.get("alignTo"),x=Bn(y.get("edgeDistance"),c),k=y.get("bleedMargin"),S=v.getModel("labelLine"),M=S.get("length");M=Bn(M,c);var C=S.get("length2");if(C=Bn(C,c),Math.abs(h.endAngle-h.startAngle)<a)return Object(l["k"])(f.states,p),f.ignore=!0,void(g&&(Object(l["k"])(g.states,p),g.ignore=!0));if(m(f)){var T,O,L,A,D=(h.startAngle+h.endAngle)/2,E=Math.cos(D),I=Math.sin(D);t=h.cx,r=h.cy;var j="inside"===b||"inner"===b;if("center"===b)T=h.cx,O=h.cy,A="center";else{var P=(j?(h.r+h.r0)/2*E:h.r*E)+t,R=(j?(h.r+h.r0)/2*I:h.r*I)+r;if(T=P+3*E,O=R+3*I,!j){var N=P+E*(M+u-h.r),B=R+I*(M+u-h.r),Y=N+(E<0?-1:1)*C,F=B;T="edge"===w?E<0?d+x:d+c-x:Y+(E<0?-_:_),O=F,L=[[P,R],[N,B],[Y,F]]}A=j?"center":"edge"===w?E>0?"right":"left":E>0?"left":"right"}var z=Math.PI,H=0,V=y.get("rotate");if(Object(l["z"])(V))H=V*(z/180);else if("center"===b)H=0;else if("radial"===V||!0===V){var U=E<0?-D+z:-D;H=U}else if("tangential"===V&&"outside"!==b&&"outer"!==b){var W=Math.atan2(E,I);W<0&&(W=2*z+W);var $=I>0;$&&(W=z+W),H=W-z}if(o=!!H,f.x=T,f.y=O,f.rotation=H,f.setStyle({verticalAlign:"middle"}),j){f.setStyle({align:A});var G=f.states.select;G&&(G.x+=f.x,G.y+=f.y)}else{var q=f.getBoundingRect().clone();q.applyTransform(f.getComputedTransform());var X=(f.style.margin||0)+2.1;q.y-=X/2,q.height+=X,i.push({label:f,labelLine:g,position:b,len:M,len2:C,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new ye(E,I),linePoints:L,textAlign:A,labelDistance:_,labelAlignTo:w,edgeDistance:x,bleedMargin:k,rect:q,unconstrainedWidth:q.width,labelStyleWidth:f.style.width})}s.setTextConfig({inside:j})}})),!o&&e.get("avoidLabelOverlap")&&xC(i,t,r,u,c,f,d,h);for(var g=0;g<i.length;g++){var v=i[g],y=v.label,b=v.labelLine,_=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:v.textAlign}),_&&(Object(l["k"])(y.states,p),y.ignore=!0);var w=y.states.select;w&&(w.x+=y.x,w.y+=y.y)}if(b){var x=v.linePoints;_||!x?(Object(l["k"])(b.states,p),b.ignore=!0):(tw(x,v.minTurnAngle),rw(x,v.surfaceNormal,v.maxSurfaceAngle),b.setShape({points:x}),y.__hostTarget.textGuideLineConfig={anchor:new ye(x[0][0],x[0][1])})}}}var CC=function(e){function t(t,r,n){var i=e.call(this)||this;i.z2=2;var o=new Cs;return i.setTextContent(o),i.updateData(t,r,n,!0),i}return a(t,e),t.prototype.updateData=function(e,t,r,n){var i=this,o=e.hostModel,a=e.getItemModel(t),s=a.getModel("emphasis"),u=e.getItemLayout(t),c=Object(l["m"])(zM(a.getModel("itemStyle"),u,!0),u);if(isNaN(c.startAngle))i.setShape(c);else{if(n){i.setShape(c);var d=o.getShallow("animationType");o.ecModel.ssr?(Wl(i,{scaleX:0,scaleY:0},o,{dataIndex:t,isFrom:!0}),i.originX=c.cx,i.originY=c.cy):"scale"===d?(i.shape.r=u.r0,Wl(i,{shape:{r:u.r}},o,t)):null!=r?(i.setShape({startAngle:r,endAngle:r}),Wl(i,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},o,t)):(i.shape.endAngle=u.startAngle,Ul(i,{shape:{endAngle:u.endAngle}},o,t))}else Kl(i),Ul(i,{shape:c},o,t);i.useStyle(e.getItemVisual(t,"style")),Il(i,a);var h=(u.startAngle+u.endAngle)/2,f=o.get("selectedOffset"),p=Math.cos(h)*f,m=Math.sin(h)*f,g=a.getShallow("cursor");g&&i.attr("cursor",g),this._updateLabel(o,e,t),i.ensureState("emphasis").shape=Object(l["m"])({r:u.r+(s.get("scale")&&s.get("scaleSize")||0)},zM(s.getModel("itemStyle"),u)),Object(l["m"])(i.ensureState("select"),{x:p,y:m,shape:zM(a.getModel(["select","itemStyle"]),u)}),Object(l["m"])(i.ensureState("blur"),{shape:zM(a.getModel(["blur","itemStyle"]),u)});var v=i.getTextGuideLine(),y=i.getTextContent();v&&Object(l["m"])(v.ensureState("select"),{x:p,y:m}),Object(l["m"])(y.ensureState("select"),{x:p,y:m}),Ll(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},t.prototype._updateLabel=function(e,t,r){var n=this,i=t.getItemModel(r),o=i.getModel("labelLine"),a=t.getItemVisual(r,"style"),s=a&&a.fill,u=a&&a.opacity;tu(n,ru(i),{labelFetcher:t.hostModel,labelDataIndex:r,inheritColor:s,defaultOpacity:u,defaultText:e.getFormattedLabel(r,"normal")||t.getName(r)});var c=n.getTextContent();n.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var d=e.get(["label","position"]);if("outside"!==d&&"outer"!==d)n.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new Dm,this.setTextGuideLine(h)),ow(this,aw(i),{stroke:s,opacity:Object(l["Q"])(o.get(["lineStyle","opacity"]),u,1)})}},t}(_m),TC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return a(t,e),t.prototype.render=function(e,t,r,n){var i,o=e.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(i=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&e.get("showEmptyCircle")){var c=new _m({shape:vC(e,r)});c.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add((function(e){var t=new CC(o,e,i);o.setItemGraphicEl(e,t),s.add(t)})).update((function(e,t){var r=a.getItemGraphicEl(t);r.updateData(o,e,i),r.off("click"),s.add(r),o.setItemGraphicEl(e,r)})).remove((function(t){var r=a.getItemGraphicEl(t);Xl(r,e,t)})).execute(),MC(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var r=t.getData(),n=r.getItemLayout(0);if(n){var i=e[0]-n.cx,o=e[1]-n.cy,a=Math.sqrt(i*i+o*o);return a<=n.r&&a>=n.r0}},t.type="pie",t}(Gg),OC=TC;function LC(e,t,r){t=Object(l["t"])(t)&&{coordDimensions:t}||Object(l["m"])({encodeDefine:e.getEncode()},t);var n=e.getSource(),i=Kk(n,t).dimensions,o=new Xk(i,e);return o.initData(n,r),o}var AC=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){var t=this._getRawData();return t.indexOfName(e)>=0},e.prototype.indexOfName=function(e){var t=this._getDataWithEncodedVisual();return t.indexOfName(e)},e.prototype.getItemVisual=function(e,t){var r=this._getDataWithEncodedVisual();return r.getItemVisual(e,t)},e}(),DC=AC,EC=Ei(),IC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new DC(l["c"](this.getData,this),l["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return LC(this,{coordDimensions:["value"],encodeDefaulter:l["h"](fd,this)})},t.prototype.getDataParams=function(t){var r=this.getData(),n=EC(r),i=n.seats;if(!i){var o=[];r.each(r.mapDimension("value"),(function(e){o.push(e)})),i=n.seats=Un(o,r.hostModel.get("percentPrecision"))}var a=e.prototype.getDataParams.call(this,t);return a.percent=i[t]||0,a.$vars.push("percent"),a},t.prototype._defaultLabelLine=function(e){di(e,"labelLine",["show"]);var t=e.labelLine,r=e.emphasis.labelLine;t.show=t.show&&e.label.show,r.show=r.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,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"},t}(Sp),jC=IC;function PC(e){return{seriesType:e,reset:function(e,t){var r=e.getData();r.filterSelf((function(e){var t=r.mapDimension("value"),n=r.get(t,e);return!(Object(l["z"])(n)&&!isNaN(n)&&n<0)}))}}}function RC(e){e.registerChartView(OC),e.registerSeriesModel(jC),Vv("pie",e.registerAction),e.registerLayout(Object(l["h"])(yC,"pie")),e.registerProcessor(bC("pie")),e.registerProcessor(PC("pie"))}var NC=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return a(t,e),t.prototype.getInitialData=function(e,t){return fS(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,r){return r.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.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"}},t}(Sp),BC=NC,YC=4,FC=function(){function e(){}return e}(),zC=function(e){function t(t){var r=e.call(this,t)||this;return r._off=0,r.hoverDataIdx=-1,r}return a(t,e),t.prototype.getDefaultShape=function(){return new FC},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var r,n=t.points,i=t.size,o=this.symbolProxy,a=o.shape,s=e.getContext?e.getContext():e,l=s&&i[0]<YC,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,r=this._off;r<n.length;){var c=n[r++],d=n[r++];isNaN(c)||isNaN(d)||(u&&!u.contain(c,d)||(a.x=c-i[0]/2,a.y=d-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(e,a,!0)))}this.incremental&&(this._off=r,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,r=t.points,n=t.size,i=this._ctx,o=this.softClipShape;if(i){for(e=this._off;e<r.length;){var a=r[e++],s=r[e++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||i.fillRect(a-n[0]/2,s-n[1]/2,n[0],n[1]))}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var r=this.shape,n=r.points,i=r.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=n.length/2-1;s>=0;s--){var l=2*s,u=n[l]-o/2,c=n[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return-1},t.prototype.contain=function(e,t){var r=this.transformCoordToLocal(e,t),n=this.getBoundingRect();if(e=r[0],t=r[1],n.contain(e,t)){var i=this.hoverDataIdx=this.findDataIndex(e,t);return i>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,r=t.points,n=t.size,i=n[0],o=n[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<r.length;){var d=r[c++],h=r[c++];a=Math.min(d,a),l=Math.max(d,l),s=Math.min(h,s),u=Math.max(h,u)}e=this._rect=new Oe(a-i/2,s-o/2,l-a+i,u-s+o)}return e},t}(Wa),HC=function(){function e(){this.group=new kn}return e.prototype.updateData=function(e,t){this._clear();var r=this._create();r.setShape({points:e.getLayout("points")}),this._setCommon(r,e,t)},e.prototype.updateLayout=function(e){var t=e.getLayout("points");this.group.eachChild((function(e){if(null!=e.startIndex){var r=2*(e.endIndex-e.startIndex),n=4*e.startIndex*2;t=new Float32Array(t.buffer,n,r)}e.setShape("points",t),e.reset()}))},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,r){var n=this._newAdded[0],i=t.getLayout("points"),o=n&&n.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+i.length);s.set(o),s.set(i,a),n.endIndex=e.end,n.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:i}),this._setCommon(l,t,r)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new zC({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,r){var n=t.hostModel;r=r||{};var i=t.getVisual("symbolSize");e.setShape("size",i instanceof Array?i:[i,i]),e.softClipShape=r.clipShape||null,e.symbolProxy=ay(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var o=e.shape.size[0]<YC;e.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),s=a&&a.fill;s&&e.setColor(s);var l=Ts(e);l.seriesIndex=n.seriesIndex,e.on("mousemove",(function(t){l.dataIndex=null;var r=e.hoverDataIdx;r>=0&&(l.dataIndex=r+(e.startIndex||0))}))},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),VC=HC,UC=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n=e.getData(),i=this._updateSymbolDraw(n,e);i.updateData(n,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,r){var n=e.getData(),i=this._updateSymbolDraw(n,e);i.incrementalPrepareUpdate(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,r){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,r){var n=e.getData();if(this.group.dirty(),!this._finished||n.count()>1e4)return{update:!0};var i=dM("").reset(e,t,r);i.progress&&i.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout(n)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var r=this._symbolDraw,n=t.pipelineContext,i=n.large;return r&&i===this._isLargeDraw||(r&&r.remove(),r=this._symbolDraw=i?new VC:new MS,this._isLargeDraw=i,this.group.removeAll()),this.group.add(r.group),r},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(Gg),WC=UC,$C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.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"},t}(Kc),GC=$C,qC=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},e.prototype.getCoordSysModel=function(){},e}(),XC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ri).models[0]},t.type="cartesian2dAxis",t}(Kc);l["K"](XC,qC);var KC={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)"]}}},ZC=l["I"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},KC),JC=l["I"]({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}}},KC),QC=l["I"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},JC),eT=l["i"]({logBase:10},JC),tT={category:ZC,value:JC,time:QC,log:eT},rT=0,nT=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++rT}return e.createByAxisModel=function(t){var r=t.option,n=r.data,i=n&&Object(l["H"])(n,iT);return new e({categories:i,needCollect:!i,deduplication:!1!==r.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,r=this._needCollect;if(!Object(l["C"])(e)&&!r)return e;if(r&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var n=this._getOrCreateMap();return t=n.get(e),null==t&&(r?(t=this.categories.length,this.categories[t]=e,n.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(l["f"])(this.categories))},e}();function iT(e){return Object(l["A"])(e)&&null!=e.value?e.value:e+""}var oT=nT,aT={value:1,category:1,time:1,log:1};function sT(e,t,r,n){Object(l["k"])(aT,(function(i,o){var s=Object(l["I"])(Object(l["I"])({},tT[o],!0),n,!0),u=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t+"Axis."+o,r}return a(r,e),r.prototype.mergeDefaultAndTheme=function(e,t){var r=Vc(this),n=r?Wc(e):{},i=t.getTheme();Object(l["I"])(e,i.get(o+"Axis")),Object(l["I"])(e,this.getDefaultOption()),e.type=lT(e),r&&Uc(e,n,r)},r.prototype.optionUpdated=function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=oT.createByAxisModel(this))},r.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},r.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},r.type=t+"Axis."+o,r.defaultOption=s,r}(r);e.registerComponentModel(u)})),e.registerSubTypeDefaulter(t+"Axis",lT)}function lT(e){return e.type||(e.data?"category":"value")}var uT=function(){function e(e){this._setting=e||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(e){return this._setting[e]},e.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var r=this._extent;isNaN(e)||(r[0]=e),isNaN(t)||(r[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();no(uT);var cT=uT;function dT(e){return"interval"===e.type||"log"===e.type}function hT(e,t,r,n){var i={},o=e[1]-e[0],a=i.interval=Qn(o/t,!0);null!=r&&a<r&&(a=i.interval=r),null!=n&&a>n&&(a=i.interval=n);var s=i.intervalPrecision=pT(a),l=i.niceTickExtent=[Yn(Math.ceil(e[0]/a)*a,s),Yn(Math.floor(e[1]/a)*a,s)];return gT(l,e),i}function fT(e){var t=Math.pow(10,Jn(e)),r=e/t;return r?2===r?r=3:3===r?r=5:r*=2:r=1,Yn(r*t)}function pT(e){return zn(e)+2}function mT(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function gT(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),mT(e,0,t),mT(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function vT(e,t){return e>=t[0]&&e<=t[1]}function yT(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function bT(e,t){return e*(t[1]-t[0])+t[0]}var _T=function(e){function t(t){var r=e.call(this,t)||this;r.type="ordinal";var n=r.getSetting("ordinalMeta");return n||(n=new oT({})),Object(l["t"])(n)&&(n=new oT({categories:Object(l["H"])(n,(function(e){return Object(l["A"])(e)?e.value:e}))})),r._ordinalMeta=n,r._extent=r.getSetting("extent")||[0,n.categories.length-1],r}return a(t,e),t.prototype.parse=function(e){return null==e?NaN:Object(l["C"])(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),vT(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),yT(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(bT(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){var e=[],t=this._extent,r=t[0];while(r<=t[1])e.push({value:r}),r++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,r=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i<a;++i){var s=t[i];r[i]=s,n[s]=i}for(var l=0;i<o;++i){while(null!=n[l])l++;r.push(l),n[l]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var t=this.getRawOrdinalNumber(e.value),r=this._ordinalMeta.categories[t];return null==r?"":r+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(cT);cT.registerClass(_T);var wT=_T,xT=Yn,kT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return a(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return vT(e,this._extent)},t.prototype.normalize=function(e){return yT(e,this._extent)},t.prototype.scale=function(e){return bT(e,this._extent)},t.prototype.setExtent=function(e,t){var r=this._extent;isNaN(e)||(r[0]=parseFloat(e)),isNaN(t)||(r[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=pT(e)},t.prototype.getTicks=function(e){var t=this._interval,r=this._extent,n=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;r[0]<n[0]&&(e?o.push({value:xT(n[0]-t,i)}):o.push({value:r[0]}));var s=n[0];while(s<=n[1]){if(o.push({value:s}),s=xT(s+t,i),s===o[o.length-1].value)break;if(o.length>a)return[]}var l=o.length?o[o.length-1].value:n[1];return r[1]>l&&(e?o.push({value:xT(l+t,i)}):o.push({value:r[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),r=[],n=this.getExtent(),i=1;i<t.length;i++){var o=t[i],a=t[i-1],s=0,l=[],u=o.value-a.value,c=u/e;while(s<e-1){var d=xT(a.value+(s+1)*c);d>n[0]&&d<n[1]&&l.push(d),s++}r.push(l)}return r},t.prototype.getLabel=function(e,t){if(null==e)return"";var r=t&&t.precision;null==r?r=zn(e.value)||0:"auto"===r&&(r=this._intervalPrecision);var n=xT(e.value,r,!0);return kc(n)},t.prototype.calcNiceTicks=function(e,t,r){e=e||5;var n=this._extent,i=n[1]-n[0];if(isFinite(i)){i<0&&(i=-i,n.reverse());var o=hT(n,e,t,r);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var r=Math.abs(t[0]);e.fixMax||(t[1]+=r/2),t[0]-=r/2}else t[1]=1;var n=t[1]-t[0];isFinite(n)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=xT(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=xT(Math.ceil(t[1]/i)*i))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(cT);cT.registerClass(kT);var ST=kT,MT=function(e,t,r,n){while(r<n){var i=r+n>>>1;e[i][1]<t?r=i+1:n=i}return r},CT=function(e){function t(t){var r=e.call(this,t)||this;return r.type="time",r}return a(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return oc(e.value,Ju[ic(rc(this._minLevelUnit))]||Ju.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,r){var n=this.getSetting("useUTC"),i=this.getSetting("locale");return ac(e,t,r,i,n)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,r=[];if(!e)return r;r.push({value:t[0],level:0});var n=this.getSetting("useUTC"),i=PT(this._minLevelUnit,this._approxInterval,n,t);return r=r.concat(i),r.push({value:t[1],level:0}),r},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=qu,t[1]+=qu),t[1]===-1/0&&t[0]===1/0){var r=new Date;t[1]=+new Date(r.getFullYear(),r.getMonth(),r.getDate()),t[0]=t[1]-qu}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,r){e=e||10;var n=this._extent,i=n[1]-n[0];this._approxInterval=i/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=r&&this._approxInterval>r&&(this._approxInterval=r);var o=TT.length,a=Math.min(MT(TT,this._approxInterval,0,o),o-1);this._interval=TT[a][1],this._minLevelUnit=TT[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return Object(l["z"])(e)?e:+Kn(e)},t.prototype.contain=function(e){return vT(this.parse(e),this._extent)},t.prototype.normalize=function(e){return yT(this.parse(e),this._extent)},t.prototype.scale=function(e){return bT(e,this._extent)},t.type="time",t}(ST),TT=[["second",Wu],["minute",$u],["hour",Gu],["quarter-day",6*Gu],["half-day",12*Gu],["day",1.2*qu],["half-week",3.5*qu],["week",7*qu],["month",31*qu],["quarter",95*qu],["half-year",Xu/2],["year",Xu]];function OT(e,t,r,n){var i=Kn(t),o=Kn(r),a=function(e){return lc(i,e,n)===lc(o,e,n)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},d=function(){return c()&&a("minute")},h=function(){return d()&&a("second")},f=function(){return h()&&a("millisecond")};switch(e){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 f()}}function LT(e,t){return e/=qu,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function AT(e){var t=30*qu;return e/=t,e>6?6:e>3?3:e>2?2:1}function DT(e){return e/=Gu,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function ET(e,t){return e/=t?$u:Wu,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function IT(e){return Qn(e,!0)}function jT(e,t,r){var n=new Date(e);switch(rc(t)){case"year":case"month":n[vc(r)](0);case"day":n[yc(r)](1);case"hour":n[bc(r)](0);case"minute":n[_c(r)](0);case"second":n[wc(r)](0),n[xc(r)](0)}return n.getTime()}function PT(e,t,r,n){var i=1e4,o=ec,a=0;function s(e,t,r,i,o,a,s){var l=new Date(t),u=t,c=l[i]();while(u<r&&u<=n[1])s.push({value:u}),c+=e,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function u(e,i,o){var a=[],l=!i.length;if(!OT(rc(e),n[0],n[1],r)){l&&(i=[{value:jT(new Date(n[0]),e,r)},{value:n[1]}]);for(var u=0;u<i.length-1;u++){var c=i[u].value,d=i[u+1].value;if(c!==d){var h=void 0,f=void 0,p=void 0,m=!1;switch(e){case"year":h=Math.max(1,Math.round(t/qu/365)),f=uc(r),p=gc(r);break;case"half-year":case"quarter":case"month":h=AT(t),f=cc(r),p=vc(r);break;case"week":case"half-week":case"day":h=LT(t,31),f=dc(r),p=yc(r),m=!0;break;case"half-day":case"quarter-day":case"hour":h=DT(t),f=hc(r),p=bc(r);break;case"minute":h=ET(t,!0),f=fc(r),p=_c(r);break;case"second":h=ET(t,!1),f=pc(r),p=wc(r);break;case"millisecond":h=IT(t),f=mc(r),p=xc(r);break}s(h,c,d,f,p,m,a),"year"===e&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var c=[],d=[],h=0,f=0,p=0;p<o.length&&a++<i;++p){var m=rc(o[p]);if(nc(o[p])){u(o[p],c[c.length-1]||[],d);var g=o[p+1]?rc(o[p+1]):null;if(m!==g){if(d.length){f=h,d.sort((function(e,t){return e.value-t.value}));for(var v=[],y=0;y<d.length;++y){var b=d[y].value;0!==y&&d[y-1].value===b||(v.push(d[y]),b>=n[0]&&b<=n[1]&&h++)}var _=(n[1]-n[0])/t;if(h>1.5*_&&f>_/1.5)break;if(c.push(v),h>_||e===o[p])break}d=[]}}}var w=Object(l["n"])(Object(l["H"])(c,(function(e){return Object(l["n"])(e,(function(e){return e.value>=n[0]&&e.value<=n[1]&&!e.notAdd}))})),(function(e){return e.length>0})),x=[],k=w.length-1;for(p=0;p<w.length;++p)for(var S=w[p],M=0;M<S.length;++M)x.push({value:S[M].value,level:k-p});x.sort((function(e,t){return e.value-t.value}));var C=[];for(p=0;p<x.length;++p)0!==p&&x[p].value===x[p-1].value||C.push(x[p]);return C}cT.registerClass(CT);var RT=CT,NT=cT.prototype,BT=ST.prototype,YT=Yn,FT=Math.floor,zT=Math.ceil,HT=Math.pow,VT=Math.log,UT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new ST,t._interval=0,t}return a(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,r=this._extent,n=t.getExtent(),i=BT.getTicks.call(this,e);return l["H"](i,(function(e){var t=e.value,i=Yn(HT(this.base,t));return i=t===r[0]&&this._fixMin?$T(i,n[0]):i,i=t===r[1]&&this._fixMax?$T(i,n[1]):i,{value:i}}),this)},t.prototype.setExtent=function(e,t){var r=VT(this.base);e=VT(Math.max(0,e))/r,t=VT(Math.max(0,t))/r,BT.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=NT.getExtent.call(this);t[0]=HT(e,t[0]),t[1]=HT(e,t[1]);var r=this._originalScale,n=r.getExtent();return this._fixMin&&(t[0]=$T(t[0],n[0])),this._fixMax&&(t[1]=$T(t[1],n[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=VT(e[0])/VT(t),e[1]=VT(e[1])/VT(t),NT.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,r=t[1]-t[0];if(!(r===1/0||r<=0)){var n=Zn(r),i=e/r*n;i<=.5&&(n*=10);while(!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0)n*=10;var o=[Yn(zT(t[0]/n)*n),Yn(FT(t[1]/n)*n)];this._interval=n,this._niceExtent=o}},t.prototype.calcNiceExtent=function(e){BT.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=VT(e)/VT(this.base),vT(e,this._extent)},t.prototype.normalize=function(e){return e=VT(e)/VT(this.base),yT(e,this._extent)},t.prototype.scale=function(e){return e=bT(e,this._extent),HT(this.base,e)},t.type="log",t}(cT),WT=UT.prototype;function $T(e,t){return YT(e,zn(t))}WT.getMinorTicks=BT.getMinorTicks,WT.getLabel=BT.getLabel,cT.registerClass(UT);var GT=UT,qT=function(){function e(e,t,r){this._prepareParams(e,t,r)}return e.prototype._prepareParams=function(e,t,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var n=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=this._modelMinRaw=t.get("min",!0);Object(l["w"])(i)?this._modelMinNum=JT(e,i({min:r[0],max:r[1]})):"dataMin"!==i&&(this._modelMinNum=JT(e,i));var o=this._modelMaxRaw=t.get("max",!0);if(Object(l["w"])(o)?this._modelMaxNum=JT(e,o({min:r[0],max:r[1]})):"dataMax"!==o&&(this._modelMaxNum=JT(e,o)),n)this._axisDataLen=t.getCategories().length;else{var a=t.get("boundaryGap"),s=Object(l["t"])(a)?a:[a||0,a||0];"boolean"===typeof s[0]||"boolean"===typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[an(s[0],1),an(s[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,r=this._dataMax,n=this._axisDataLen,i=this._boundaryGapInner,o=e?null:r-t||Math.abs(t),a="dataMin"===this._modelMinRaw?t:this._modelMinNum,s="dataMax"===this._modelMaxRaw?r:this._modelMaxNum,u=null!=a,c=null!=s;null==a&&(a=e?n?0:NaN:t-i[0]*o),null==s&&(s=e?n?n-1:NaN:r+i[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var d=Object(l["l"])(a)||Object(l["l"])(s)||e&&!n;this._needCrossZero&&(a>0&&s>0&&!u&&(a=0),a<0&&s<0&&!c&&(s=0));var h=this._determinedMin,f=this._determinedMax;return null!=h&&(a=h,u=!0),null!=f&&(s=f,c=!0),{min:a,max:s,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(e,t){this[KT[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var r=XT[e];this[r]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),XT={min:"_determinedMin",max:"_determinedMax"},KT={min:"_dataMin",max:"_dataMax"};function ZT(e,t,r){var n=e.rawExtentInfo;return n||(n=new qT(e,t,r),e.rawExtentInfo=n,n)}function JT(e,t){return null==t?null:Object(l["l"])(t)?NaN:e.parse(t)}function QT(e,t){var r=e.type,n=ZT(e,t,e.getExtent()).calculate();e.setBlank(n.isBlank);var i=n.min,o=n.max,a=t.ecModel;if(a&&"time"===r){var s=_M("bar",a),u=!1;if(l["k"](s,(function(e){u=u||e.getBaseAxis()===t.axis})),u){var c=xM(s),d=eO(i,o,t,c);i=d.min,o=d.max}}return{extent:[i,o],fixMin:n.minFixed,fixMax:n.maxFixed}}function eO(e,t,r,n){var i=r.axis.getExtent(),o=i[1]-i[0],a=SM(n,r.axis);if(void 0===a)return{min:e,max:t};var s=1/0;l["k"](a,(function(e){s=Math.min(e.offset,s)}));var u=-1/0;l["k"](a,(function(e){u=Math.max(e.offset+e.width,u)})),s=Math.abs(s),u=Math.abs(u);var c=s+u,d=t-e,h=1-(s+u)/o,f=d/h-d;return t+=f*(u/c),e-=f*(s/c),{min:e,max:t}}function tO(e,t){var r=t,n=QT(e,r),i=n.extent,o=r.get("splitNumber");e instanceof GT&&(e.base=r.get("logBase"));var a=e.type,s=r.get("interval"),l="interval"===a||"time"===a;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?r.get("minInterval"):null,maxInterval:l?r.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function rO(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new wT({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new RT({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(cT.getClass(t)||ST)}}function nO(e){var t=e.scale.getExtent(),r=t[0],n=t[1];return!(r>0&&n>0||r<0&&n<0)}function iO(e){var t=e.getLabelModel().get("formatter"),r="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?function(t){return function(r,n){return e.scale.getFormattedLabel(r,n,t)}}(t):l["C"](t)?function(t){return function(r){var n=e.scale.getLabel(r),i=t.replace("{value}",null!=n?n:"");return i}}(t):l["w"](t)?function(t){return function(n,i){return null!=r&&(i=n.value-r),t(oO(e,n),i,null!=n.level?{level:n.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function oO(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function aO(e){var t=e.model,r=e.scale;if(t.get(["axisLabel","show"])&&!r.isBlank()){var n,i,o=r.getExtent();r instanceof wT?i=r.count():(n=r.getTicks(),i=n.length);var a,s=e.getLabelModel(),l=iO(e),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var d=n?n[c]:{value:o[0]+c},h=l(d,c),f=s.getTextRect(h),p=sO(f,s.get("rotate")||0);a?a.union(p):a=p}return a}}function sO(e,t){var r=t*Math.PI/180,n=e.width,i=e.height,o=n*Math.abs(Math.cos(r))+Math.abs(i*Math.sin(r)),a=n*Math.abs(Math.sin(r))+Math.abs(i*Math.cos(r)),s=new Oe(e.x,e.y,o,a);return s}function lO(e){var t=e.get("interval");return null==t?"auto":t}function uO(e){return"category"===e.type&&0===lO(e.getLabelModel())}function cO(e,t){var r={};return l["k"](e.mapDimensionsAll(t),(function(t){r[sS(e,t)]=!0})),l["F"](r)}function dO(e,t,r){t&&l["k"](cO(t,r),(function(r){var n=t.getApproximateExtent(r);n[0]<e[0]&&(e[0]=n[0]),n[1]>e[1]&&(e[1]=n[1])}))}var hO=function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return l["H"](this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),l["n"](this.getAxes(),(function(t){return t.scale.type===e}))},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}(),fO=hO,pO=["x","y"];function mO(e){return"interval"===e.type||"time"===e.type}var gO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=pO,t}return a(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(mO(e)&&mO(t)){var r=e.getExtent(),n=t.getExtent(),i=this.dataToPoint([r[0],n[0]]),o=this.dataToPoint([r[1],n[1]]),a=r[1]-r[0],s=n[1]-n[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-r[0]*l,d=i[1]-n[0]*u,h=this._transform=[l,0,0,u,c,d];this._invTransform=me([],h)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),r=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&r.contain(r.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var r=this.dataToPoint(e),n=this.dataToPoint(t),i=this.getArea(),o=new Oe(r[0],r[1],n[0]-r[0],n[1]-r[1]);return i.intersect(o)},t.prototype.dataToPoint=function(e,t,r){r=r||[];var n=e[0],i=e[1];if(this._transform&&null!=n&&isFinite(n)&&null!=i&&isFinite(i))return M(r,e,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return r[0]=o.toGlobalCoord(o.dataToCoord(n,t)),r[1]=a.toGlobalCoord(a.dataToCoord(i,t)),r},t.prototype.clampData=function(e,t){var r=this.getAxis("x").scale,n=this.getAxis("y").scale,i=r.getExtent(),o=n.getExtent(),a=r.parse(e[0]),s=n.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},t.prototype.pointToData=function(e,t){var r=[];if(this._invTransform)return M(r,e,this._invTransform);var n=this.getAxis("x"),i=this.getAxis("y");return r[0]=n.coordToData(n.toLocalCoord(e[0]),t),r[1]=i.coordToData(i.toLocalCoord(e[1]),t),r},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),r=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1])-e,i=Math.min(r[0],r[1])-e,o=Math.max(t[0],t[1])-n+e,a=Math.max(r[0],r[1])-i+e;return new Oe(n,i,o,a)},t}(fO),vO=gO,yO=Ei();function bO(e){return"category"===e.type?wO(e):SO(e)}function _O(e,t){return"category"===e.type?kO(e,t):{ticks:l["H"](e.scale.getTicks(),(function(e){return e.value}))}}function wO(e){var t=e.getLabelModel(),r=xO(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function xO(e,t){var r,n,i=MO(e,"labels"),o=lO(t),a=CO(i,o);return a||(l["w"](o)?r=EO(e,o):(n="auto"===o?OO(e):o,r=DO(e,n)),TO(i,o,{labels:r,labelCategoryInterval:n}))}function kO(e,t){var r,n,i=MO(e,"ticks"),o=lO(t),a=CO(i,o);if(a)return a;if(t.get("show")&&!e.scale.isBlank()||(r=[]),l["w"](o))r=EO(e,o,!0);else if("auto"===o){var s=xO(e,e.getLabelModel());n=s.labelCategoryInterval,r=l["H"](s.labels,(function(e){return e.tickValue}))}else n=o,r=DO(e,n,!0);return TO(i,o,{ticks:r,tickCategoryInterval:n})}function SO(e){var t=e.scale.getTicks(),r=iO(e);return{labels:l["H"](t,(function(t,n){return{level:t.level,formattedLabel:r(t,n),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}function MO(e,t){return yO(e)[t]||(yO(e)[t]=[])}function CO(e,t){for(var r=0;r<e.length;r++)if(e[r].key===t)return e[r].value}function TO(e,t,r){return e.push({key:t,value:r}),r}function OO(e){var t=yO(e).autoInterval;return null!=t?t:yO(e).autoInterval=e.calculateCategoryInterval()}function LO(e){var t=AO(e),r=iO(e),n=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(n)),d=Math.abs(u*Math.sin(n)),h=0,f=0;l<=o[1];l+=s){var p=0,m=0,g=tn(r({value:l}),t.font,"center","top");p=1.3*g.width,m=1.3*g.height,h=Math.max(h,p,7),f=Math.max(f,m,7)}var v=h/c,y=f/d;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),_=yO(e.model),w=e.getExtent(),x=_.lastAutoInterval,k=_.lastTickCount;return null!=x&&null!=k&&Math.abs(x-b)<=1&&Math.abs(k-a)<=1&&x>b&&_.axisExtent0===w[0]&&_.axisExtent1===w[1]?b=x:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=w[0],_.axisExtent1=w[1]),b}function AO(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function DO(e,t,r){var n=iO(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=uO(e),h=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;h&&u!==o[0]&&m(o[0]);for(var p=u;p<=o[1];p+=l)m(p);function m(e){var t={value:e};s.push(r?e:{formattedLabel:n(t),rawLabel:i.getLabel(t),tickValue:e})}return f&&p-l!==o[1]&&m(o[1]),s}function EO(e,t,r){var n=e.scale,i=iO(e),o=[];return l["k"](n.getTicks(),(function(e){var a=n.getLabel(e),s=e.value;t(e.value,a)&&o.push(r?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})})),o}var IO=[0,1],jO=function(){function e(e,t,r){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=r||[0,0]}return e.prototype.contain=function(e){var t=this._extent,r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=r&&e<=n},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Vn(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var r=this._extent;r[0]=e,r[1]=t},e.prototype.dataToCoord=function(e,t){var r=this._extent,n=this.scale;return e=n.normalize(e),this.onBand&&"ordinal"===n.type&&(r=r.slice(),PO(r,n.count())),Nn(e,IO,r,t)},e.prototype.coordToData=function(e,t){var r=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(r=r.slice(),PO(r,n.count()));var i=Nn(e,r,IO,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),r=_O(this,t),n=r.ticks,i=Object(l["H"])(n,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this),o=t.get("alignWithLabel");return RO(this,i,o,e.clamp),i},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var r=this.scale.getMinorTicks(t),n=Object(l["H"])(r,(function(e){return Object(l["H"])(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return n},e.prototype.getViewLabels=function(){return bO(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),r=t[1]-t[0]+(this.onBand?1:0);0===r&&(r=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/r},e.prototype.calculateCategoryInterval=function(){return LO(this)},e}();function PO(e,t){var r=e[1]-e[0],n=t,i=r/n/2;e[0]+=i,e[1]-=i}function RO(e,t,r,n){var i=t.length;if(e.onBand&&!r&&i){var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[1]};else{var u=t[i-1].tickValue-t[0].tickValue,c=(t[i-1].coord-t[0].coord)/u;Object(l["k"])(t,(function(e){e.coord-=c/2}));var d=e.scale.getExtent();a=1+d[1]-t[i-1].tickValue,o={coord:t[i-1].coord+c*a},t.push(o)}var h=s[0]>s[1];f(t[0].coord,s[0])&&(n?t[0].coord=s[0]:t.shift()),n&&f(s[0],t[0].coord)&&t.unshift({coord:s[0]}),f(s[1],o.coord)&&(n?o.coord=s[1]:t.pop()),n&&f(o.coord,s[1])&&t.push({coord:s[1]})}function f(e,t){return e=Yn(e),t=Yn(t),h?e>t:e<t}}var NO=jO,BO=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r,n)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return a(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(NO),YO=BO;function FO(e,t,r){r=r||{};var n=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,u=a?"onZero":s,c=i.dim,d=n.getRect(),h=[d.x,d.x+d.width,d.y,d.y+d.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,m="x"===c?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));m[f.onZero]=Math.max(Math.min(g,m[1]),m[0])}o.position=["y"===c?m[f[u]]:h[0],"x"===c?m[f[u]]:h[3]],o.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=v[s],o.labelOffset=a?m[f[s]]-m[f.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),l["O"](r.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=t.get(["axisLabel","rotate"]);return o.labelRotate="top"===u?-y:y,o.z2=1,o}function zO(e){return"cartesian2d"===e.get("coordinateSystem")}function HO(e){var t={xAxisModel:null,yAxisModel:null};return l["k"](t,(function(r,n){var i=n.replace(/Model$/,""),o=e.getReferringComponents(i,Ri).models[0];t[n]=o})),t}var VO=Math.log;function UO(e,t,r){var n=ST.prototype,i=n.getTicks.call(r),o=n.getTicks.call(r,!0),a=i.length-1,s=n.getInterval.call(r),l=QT(e,t),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===e.type){var h=VO(e.base);u=[VO(u[0])/h,VO(u[1])/h]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var f=n.getExtent.call(e);c&&(u[0]=f[0]),d&&(u[1]=f[1]);var p=n.getInterval.call(e),m=u[0],g=u[1];if(c&&d)p=(g-m)/a;else if(c){g=u[0]+p*a;while(g<u[1]&&isFinite(g)&&isFinite(u[1]))p=fT(p),g=u[0]+p*a}else if(d){m=u[1]-p*a;while(m>u[0]&&isFinite(m)&&isFinite(u[0]))p=fT(p),m=u[1]-p*a}else{var v=e.getTicks().length-1;v>a&&(p=fT(p));var y=p*a;g=Math.ceil(u[1]/p)*p,m=Yn(g-y),m<0&&u[0]>=0?(m=0,g=Yn(y)):g>0&&u[1]<=0&&(g=0,m=-Yn(y))}var b=(i[0].value-o[0].value)/s,_=(i[a].value-o[a].value)/s;n.setExtent.call(e,m+p*b,g+p*_),n.setInterval.call(e,p),(b||_)&&n.setNiceExtent.call(e,m+p,g-p)}var WO=function(){function e(e,t,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=pO,this._initCartesian(e,t,r),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var r=this._axesMap;function n(e){var t,r=Object(l["F"])(e),n=r.length;if(n){for(var i=[],o=n-1;o>=0;o--){var a=+r[o],s=e[a],u=s.model,c=s.scale;dT(c)&&u.get("alignTicks")&&null==u.get("interval")?i.push(s):(tO(c,u),dT(c)&&(t=s))}i.length&&(t||(t=i.pop(),tO(t.scale,t.model)),Object(l["k"])(i,(function(e){UO(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),n(r.x),n(r.y);var i={};Object(l["k"])(r.x,(function(e){GO(r,"y",e,i)})),Object(l["k"])(r.y,(function(e){GO(r,"x",e,i)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,r){var n=e.getBoxLayoutParams(),i=!r&&e.get("containLabel"),o=Fc(n,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(l["k"])(a,(function(e){var t=e.isHorizontal(),r=t?[0,o.width]:[0,o.height],n=e.inverse?1:0;e.setExtent(r[n],r[1-n]),XO(e,t?o.x:o.y)}))}s(),i&&(Object(l["k"])(a,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=aO(e);if(t){var r=e.isHorizontal()?"height":"width",n=e.model.get(["axisLabel","margin"]);o[r]-=t[r]+n,"top"===e.position?o.y+=t.height+n:"left"===e.position&&(o.x+=t.width+n)}}})),s()),Object(l["k"])(this._coordsList,(function(e){e.calcAffineTransform()}))},e.prototype.getAxis=function(e,t){var r=this._axesMap[e];if(null!=r)return r[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var r="x"+e+"y"+t;return this._coordsMap[r]}Object(l["A"])(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===e||i[n].getAxis("y").index===t)return i[n]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.dataToPoint(r):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(r)):null},e.prototype.convertFromPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.pointToData(r):n.axis?n.axis.coordToData(n.axis.toLocalCoord(r)):null},e.prototype._findConvertTarget=function(e){var t,r,n=e.seriesModel,i=e.xAxisModel||n&&n.getReferringComponents("xAxis",Ri).models[0],o=e.yAxisModel||n&&n.getReferringComponents("yAxis",Ri).models[0],a=e.gridModel,s=this._coordsList;if(n)t=n.coordinateSystem,Object(l["r"])(s,t)<0&&(t=null);else if(i&&o)t=this.getCartesian(i.componentIndex,o.componentIndex);else if(i)r=this.getAxis("x",i.componentIndex);else if(o)r=this.getAxis("y",o.componentIndex);else if(a){var u=a.coordinateSystem;u===this&&(t=this._coordsList[0])}return{cartesian:t,axis:r}},e.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},e.prototype._initCartesian=function(e,t,r){var n=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",u("x"),this),t.eachComponent("yAxis",u("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function u(t){return function(r,n){if($O(r,e)){var l=r.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new YO(t,rO(r),[0,0],r.get("type"),l),c="category"===u.type;u.onBand=c&&r.get("boundaryGap"),u.inverse=r.get("inverse"),r.axis=u,u.model=r,u.grid=i,u.index=n,i._axesList.push(u),a[t][n]=u,s[t]++}}}this._axesMap=a,Object(l["k"])(a.x,(function(t,r){Object(l["k"])(a.y,(function(i,o){var a="x"+r+"y"+o,s=new vO(a);s.master=n,s.model=e,n._coordsMap[a]=s,n._coordsList.push(s),s.addAxis(t),s.addAxis(i)}))}))},e.prototype._updateScale=function(e,t){function r(e,t){Object(l["k"])(cO(e,t.dim),(function(r){t.scale.unionExtentFromData(e,r)}))}Object(l["k"])(this._axesList,(function(e){if(e.scale.setExtent(1/0,-1/0),"category"===e.type){var t=e.model.get("categorySortInfo");e.scale.setSortInfo(t)}})),e.eachSeries((function(e){if(zO(e)){var n=HO(e),i=n.xAxisModel,o=n.yAxisModel;if(!$O(i,t)||!$O(o,t))return;var a=this.getCartesian(i.componentIndex,o.componentIndex),s=e.getData(),l=a.getAxis("x"),u=a.getAxis("y");r(s,l),r(s,u)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],r=[];return Object(l["k"])(this.getCartesians(),(function(n){var i=null!=e&&"auto"!==e?n.getAxis(e):n.getBaseAxis(),o=n.getOtherAxis(i);Object(l["r"])(t,i)<0&&t.push(i),Object(l["r"])(r,o)<0&&r.push(o)})),{baseAxes:t,otherAxes:r}},e.create=function(t,r){var n=[];return t.eachComponent("grid",(function(i,o){var a=new e(i,t,r);a.name="grid_"+o,a.resize(i,r,!0),i.coordinateSystem=a,n.push(a)})),t.eachSeries((function(e){if(zO(e)){var t=HO(e),r=t.xAxisModel,n=t.yAxisModel,i=r.getCoordSysModel();0;var o=i.coordinateSystem;e.coordinateSystem=o.getCartesian(r.componentIndex,n.componentIndex)}})),n},e.dimensions=pO,e}();function $O(e,t){return e.getCoordSysModel()===t}function GO(e,t,r,n){r.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=r.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)qO(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&qO(o[u])&&!n[c(o[u])]){i=o[u];break}i&&(n[c(i)]=!0)}function c(e){return e.dim+"_"+e.index}}function qO(e){return e&&"category"!==e.type&&"time"!==e.type&&nO(e)}function XO(e,t){var r=e.getExtent(),n=r[0]+r[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return n-e+t}}var KO=WO,ZO=Math.PI,JO=function(){function e(e,t){this.group=new kn,this.opt=t,this.axisModel=e,Object(l["i"])(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new kn({x:t.position[0],y:t.position[1],rotation:t.rotation});r.updateTransform(),this._transformGroup=r}return e.prototype.hasBuilder=function(e){return!!QO[e]},e.prototype.add=function(e){QO[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,r){var n,i,o=Gn(t-e);return qn(o)?(i=r>0?"top":"bottom",n="center"):qn(o-ZO)?(i=r>0?"bottom":"top",n="center"):(i="middle",n=o>0&&o<ZO?r>0?"right":"left":r>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),QO={axisLine:function(e,t,r,n){var i=t.get(["axisLine","show"]);if("auto"===i&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),i){var o=t.axis.getExtent(),a=n.transform,s=[o[0],0],u=[o[1],0],c=s[0]>u[0];a&&(M(s,s,a),M(u,u,a));var d=Object(l["m"])({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Pm({shape:{x1:s[0],y1:s[1],x2:u[0],y2:u[1]},style:d,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});_g(h.shape,h.style.lineWidth),h.anid="line",r.add(h);var f=t.get(["axisLine","symbol"]);if(null!=f){var p=t.get(["axisLine","symbolSize"]);Object(l["C"])(f)&&(f=[f,f]),(Object(l["C"])(p)||Object(l["z"])(p))&&(p=[p,p]);var m=ly(t.get(["axisLine","symbolOffset"])||0,p),g=p[0],v=p[1];Object(l["k"])([{rotate:e.rotation+Math.PI/2,offset:m[0],r:0},{rotate:e.rotation-Math.PI/2,offset:m[1],r:Math.sqrt((s[0]-u[0])*(s[0]-u[0])+(s[1]-u[1])*(s[1]-u[1]))}],(function(t,n){if("none"!==f[n]&&null!=f[n]){var i=ay(f[n],-g/2,-v/2,g,v,d.stroke,!0),o=t.r+t.offset,a=c?u:s;i.attr({rotation:t.rotate,x:a[0]+o*Math.cos(e.rotation),y:a[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),r.add(i)}}))}}},axisTickLabel:function(e,t,r,n){var i=aL(r,n,t,e),o=lL(r,n,t,e);if(tL(t,o,i),sL(r,n,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=sw(Object(l["H"])(o,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}})));dw(a)}},axisName:function(e,t,r,n){var i=Object(l["O"])(e.axisName,t.get("name"));if(i){var o,a,s=t.get("nameLocation"),u=e.nameDirection,c=t.getModel("nameTextStyle"),d=t.get("nameGap")||0,h=t.axis.getExtent(),f=h[0]>h[1]?-1:1,p=["start"===s?h[0]-f*d:"end"===s?h[1]+f*d:(h[0]+h[1])/2,iL(s)?e.labelOffset+u*d:0],m=t.get("nameRotate");null!=m&&(m=m*ZO/180),iL(s)?o=JO.innerTextLayout(e.rotation,null!=m?m:e.rotation,u):(o=eL(e.rotation,s,m||0,h),a=e.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=c.getFont(),v=t.get("nameTruncate",!0)||{},y=v.ellipsis,b=Object(l["O"])(e.nameTruncateMaxWidth,v.maxWidth,a),_=new Cs({x:p[0],y:p[1],rotation:o.rotation,silent:JO.isLabelSilent(t),style:nu(c,{text:i,font:g,overflow:"truncate",width:b,ellipsis:y,fill:c.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Rg({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var w=JO.makeAxisEventDataBase(t);w.targetType="axisName",w.name=i,Ts(_).eventData=w}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function eL(e,t,r,n){var i,o,a=Gn(r-e),s=n[0]>n[1],l="start"===t&&!s||"start"!==t&&s;return qn(a-ZO/2)?(o=l?"bottom":"top",i="center"):qn(a-1.5*ZO)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*ZO&&a>ZO/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function tL(e,t,r){if(!uO(e.axis)){var n=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],r=r||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=r[0],c=r[1],d=r[r.length-1],h=r[r.length-2];!1===n?(rL(o),rL(u)):nL(o,a)&&(n?(rL(a),rL(c)):(rL(o),rL(u))),!1===i?(rL(s),rL(d)):nL(l,s)&&(i?(rL(l),rL(h)):(rL(s),rL(d)))}}function rL(e){e&&(e.ignore=!0)}function nL(e,t){var r=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(r&&n){var i=ue([]);return fe(i,i,-e.rotation),r.applyTransform(de([],i,e.getLocalTransform())),n.applyTransform(de([],i,t.getLocalTransform())),r.intersect(n)}}function iL(e){return"middle"===e||"center"===e}function oL(e,t,r,n,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=r,t&&(M(a,a,t),M(s,s,t));var c=new Pm({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:n,z2:2,autoBatch:!0,silent:!0});_g(c.shape,c.style.lineWidth),c.anid=i+"_"+e[l].tickValue,o.push(c)}return o}function aL(e,t,r,n){var i=r.axis,o=r.getModel("axisTick"),a=o.get("show");if("auto"===a&&n.handleAutoShown&&(a=n.handleAutoShown("axisTick")),a&&!i.scale.isBlank()){for(var s=o.getModel("lineStyle"),u=n.tickDirection*o.get("length"),c=i.getTicksCoords(),d=oL(c,t.transform,u,Object(l["i"])(s.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<d.length;h++)e.add(d[h]);return d}}function sL(e,t,r,n){var i=r.axis,o=r.getModel("minorTick");if(o.get("show")&&!i.scale.isBlank()){var a=i.getMinorTicksCoords();if(a.length)for(var s=o.getModel("lineStyle"),u=n*o.get("length"),c=Object(l["i"])(s.getLineStyle(),Object(l["i"])(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),d=0;d<a.length;d++)for(var h=oL(a[d],t.transform,u,c,"minorticks_"+d),f=0;f<h.length;f++)e.add(h[f])}}function lL(e,t,r,n){var i=r.axis,o=Object(l["O"])(n.axisLabelShow,r.get(["axisLabel","show"]));if(o&&!i.scale.isBlank()){var a=r.getModel("axisLabel"),s=a.get("margin"),u=i.getViewLabels(),c=(Object(l["O"])(n.labelRotate,a.get("rotate"))||0)*ZO/180,d=JO.innerTextLayout(n.rotation,c,n.labelDirection),h=r.getCategories&&r.getCategories(!0),f=[],p=JO.isLabelSilent(r),m=r.get("triggerEvent");return Object(l["k"])(u,(function(o,c){var g="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,v=o.formattedLabel,y=o.rawLabel,b=a;if(h&&h[g]){var _=h[g];Object(l["A"])(_)&&_.textStyle&&(b=new Tu(_.textStyle,a,r.ecModel))}var w=b.getTextColor()||r.get(["axisLine","lineStyle","color"]),x=i.dataToCoord(g),k=b.getShallow("align",!0)||d.textAlign,S=Object(l["P"])(b.getShallow("alignMinLabel",!0),k),M=Object(l["P"])(b.getShallow("alignMaxLabel",!0),k),C=b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||d.textVerticalAlign,T=Object(l["P"])(b.getShallow("verticalAlignMinLabel",!0),C),O=Object(l["P"])(b.getShallow("verticalAlignMaxLabel",!0),C),L=new Cs({x:x,y:n.labelOffset+n.labelDirection*s,rotation:d.rotation,silent:p,z2:10+(o.level||0),style:nu(b,{text:v,align:0===c?S:c===u.length-1?M:k,verticalAlign:0===c?T:c===u.length-1?O:C,fill:Object(l["w"])(w)?w("category"===i.type?y:"value"===i.type?g+"":g,c):w})});if(L.anid="label_"+g,m){var A=JO.makeAxisEventDataBase(r);A.targetType="axisLabel",A.value=y,A.tickIndex=c,"category"===i.type&&(A.dataIndex=g),Ts(L).eventData=A}t.add(L),L.updateTransform(),f.push(L),e.add(L),L.decomposeTransform()})),f}}var uL=JO;function cL(e,t){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return dL(r,e,t),r.seriesInvolved&&fL(r,e),r}function dL(e,t,r){var n=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),o=i.get("link",!0)||[],a=[];Object(l["k"])(r.getCoordinateSystems(),(function(r){if(r.axisPointerEnabled){var s=_L(r.model),u=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=r;var c=r.model,d=c.getModel("tooltip",n);if(Object(l["k"])(r.getAxes(),Object(l["h"])(m,!1,null)),r.getTooltipAxes&&n&&d.get("show")){var h="axis"===d.get("trigger"),f="cross"===d.get(["axisPointer","type"]),p=r.getTooltipAxes(d.get(["axisPointer","axis"]));(h||f)&&Object(l["k"])(p.baseAxes,Object(l["h"])(m,!f||"cross",h)),f&&Object(l["k"])(p.otherAxes,Object(l["h"])(m,"cross",!1))}}function m(n,s,l){var c=l.model.getModel("axisPointer",i),h=c.get("show");if(h&&("auto"!==h||n||bL(c))){null==s&&(s=c.get("triggerTooltip")),c=n?hL(l,d,i,t,n,s):c;var f=c.get("snap"),p=c.get("triggerEmphasis"),m=_L(l.model),g=s||f||"category"===l.type,v=e.axesInfo[m]={key:m,axis:l,coordSys:r,axisPointerModel:c,triggerTooltip:s,triggerEmphasis:p,involveSeries:g,snap:f,useHandle:bL(c),seriesModels:[],linkGroup:null};u[m]=v,e.seriesInvolved=e.seriesInvolved||g;var y=pL(o,l);if(null!=y){var b=a[y]||(a[y]={axesInfo:{}});b.axesInfo[m]=v,b.mapper=o[y].mapper,v.linkGroup=b}}}}))}function hL(e,t,r,n,i,o){var a=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};Object(l["k"])(s,(function(e){u[e]=Object(l["d"])(a.get(e))})),u.snap="category"!==e.type&&!!o,"cross"===a.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===i){var d=a.get(["label","show"]);if(c.show=null==d||d,!o){var h=u.lineStyle=a.get("crossStyle");h&&Object(l["i"])(c,h.textStyle)}}return e.model.getModel("axisPointer",new Tu(u,r,n))}function fL(e,t){t.eachSeries((function(t){var r=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);r&&"none"!==n&&!1!==n&&"item"!==n&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&Object(l["k"])(e.coordSysAxesInfo[_L(r.model)],(function(e){var n=e.axis;r.getAxis(n.dim)===n&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}function pL(e,t){for(var r=t.model,n=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(mL(o[n+"AxisId"],r.id)||mL(o[n+"AxisIndex"],r.componentIndex)||mL(o[n+"AxisName"],r.name))return i}}function mL(e,t){return"all"===e||Object(l["t"])(e)&&Object(l["r"])(e,t)>=0||e===t}function gL(e){var t=vL(e);if(t){var r=t.axisPointerModel,n=t.axis.scale,i=r.option,o=r.get("status"),a=r.get("value");null!=a&&(a=n.parse(a));var s=bL(r);null==o&&(i.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function vL(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[_L(e)]}function yL(e){var t=vL(e);return t&&t.axisPointerModel}function bL(e){return!!e.get(["handle","show"])}function _L(e){return e.type+"||"+e.id}var wL={},xL=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(t,r,n,i){this.axisPointerClass&&gL(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,n,!0)},t.prototype.updateAxisPointer=function(e,t,r,n){this._doUpdateAxisPointerClass(e,r,!1)},t.prototype.remove=function(e,t){var r=this._axisPointer;r&&r.remove(t)},t.prototype.dispose=function(t,r){this._disposeAxisPointer(r),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,r,n){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=yL(e);o?(this._axisPointer||(this._axisPointer=new i)).render(e,o,r,n):this._disposeAxisPointer(r)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){wL[e]=t},t.getAxisPointerClass=function(e){return e&&wL[e]},t.type="axis",t}(Cp),kL=xL,SL=Ei();function ML(e,t,r,n){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),u=n.coordinateSystem.getRect(),c=i.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var d=s.length,h=SL(e).splitAreaColors,f=l["f"](),p=0;if(h)for(var m=0;m<c.length;m++){var g=h.get(c[m].tickValue);if(null!=g){p=(g+(d-1)*m)%d;break}}var v=i.toGlobalCoord(c[0].coord),y=a.getAreaStyle();s=l["t"](s)?s:[s];for(m=1;m<c.length;m++){var b=i.toGlobalCoord(c[m].coord),_=void 0,w=void 0,x=void 0,k=void 0;i.isHorizontal()?(_=v,w=u.y,x=b-_,k=u.height,v=_+x):(_=u.x,w=v,x=u.width,k=b-w,v=w+k);var S=c[m-1].tickValue;null!=S&&f.set(S,p),t.add(new ls({anid:null!=S?"area_"+S:null,shape:{x:_,y:w,width:x,height:k},style:l["i"]({fill:s[p]},y),autoBatch:!0,silent:!0})),p=(p+1)%d}SL(e).splitAreaColors=f}}}function CL(e){SL(e).splitAreaColors=null}var TL=["axisLine","axisTickLabel","axisName"],OL=["splitArea","splitLine","minorSplitLine"],LL=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="CartesianAxisPointer",r}return a(t,e),t.prototype.render=function(t,r,n,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new kn,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),s=FO(a,t),u=new uL(t,l["m"]({handleAutoShown:function(e){for(var r=a.coordinateSystem.getCartesians(),n=0;n<r.length;n++)if(dT(r[n].getOtherAxis(t.axis).scale))return!0;return!1}},s));l["k"](TL,u.add,u),this._axisGroup.add(u.getGroup()),l["k"](OL,(function(e){t.get([e,"show"])&&AL[e](this,this._axisGroup,t,a)}),this);var c=i&&"changeAxisOrder"===i.type&&i.isInitSort;c||Og(o,this._axisGroup,t),e.prototype.render.call(this,t,r,n,i)}},t.prototype.remove=function(){CL(this)},t.type="cartesianAxis",t}(kL),AL={splitLine:function(e,t,r,n){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=l["t"](s)?s:[s];for(var u=n.coordinateSystem.getRect(),c=i.isHorizontal(),d=0,h=i.getTicksCoords({tickModel:o}),f=[],p=[],m=a.getLineStyle(),g=0;g<h.length;g++){var v=i.toGlobalCoord(h[g].coord);c?(f[0]=v,f[1]=u.y,p[0]=v,p[1]=u.y+u.height):(f[0]=u.x,f[1]=v,p[0]=u.x+u.width,p[1]=v);var y=d++%s.length,b=h[g].tickValue,_=new Pm({anid:null!=b?"line_"+h[g].tickValue:null,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:p[0],y2:p[1]},style:l["i"]({stroke:s[y]},m),silent:!0});_g(_.shape,m.lineWidth),t.add(_)}}},minorSplitLine:function(e,t,r,n){var i=r.axis,o=r.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=n.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],d=[],h=a.getLineStyle(),f=0;f<u.length;f++)for(var p=0;p<u[f].length;p++){var m=i.toGlobalCoord(u[f][p].coord);l?(c[0]=m,c[1]=s.y,d[0]=m,d[1]=s.y+s.height):(c[0]=s.x,c[1]=m,d[0]=s.x+s.width,d[1]=m);var g=new Pm({anid:"minor_line_"+u[f][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:h,silent:!0});_g(g.shape,h.lineWidth),t.add(g)}},splitArea:function(e,t,r,n){ML(e,t,r,n)}},DL=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="xAxis",t}(LL),EL=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=DL.type,t}return a(t,e),t.type="yAxis",t}(LL),IL=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return a(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new ls({shape:e.coordinateSystem.getRect(),style:Object(l["i"])({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(Cp),jL={offset:0};function PL(e){e.registerComponentView(IL),e.registerComponentModel(GC),e.registerCoordinateSystem("cartesian2d",KO),sT(e,"x",XC,jL),sT(e,"y",XC,jL),e.registerComponentView(DL),e.registerComponentView(EL),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}function RL(e){R_(PL),e.registerSeriesModel(BC),e.registerChartView(WC),e.registerLayout(dM("scatter"))}function NL(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),r=[],n=e.coordinateSystem;if(n){var i=n.getIndicatorAxes();l["k"](i,(function(e,o){t.each(t.mapDimension(i[o].dim),(function(e,t){r[t]=r[t]||[];var i=n.dataToPoint(e,o);r[t][o]=BL(i)?i:YL(n)}))})),t.each((function(e){var i=l["o"](r[e],(function(e){return BL(e)}))||YL(n);r[e].push(i.slice()),t.setItemLayout(e,r[e])}))}}))}function BL(e){return!isNaN(e[0])&&!isNaN(e[1])}function YL(e){return[e.cx,e.cy]}function FL(e){var t=e.polar;if(t){l["t"](t)||(t=[t]);var r=[];l["k"](t,(function(t,n){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],l["t"](e.radar)||(e.radar=[e.radar]),e.radar.push(t)):r.push(t)})),e.polar=r}l["k"](e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}var zL=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var i=e.coordinateSystem,o=this.group,a=e.getData(),s=this._data;function u(e,t){var r=e.getItemVisual(t,"symbol")||"circle";if("none"!==r){var n=sy(e.getItemVisual(t,"symbolSize")),i=ay(r,-1,-1,2,2),o=e.getItemVisual(t,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:n[0]/2,scaleY:n[1]/2,rotation:o*Math.PI/180||0}),i}}function c(t,r,i,o,a,s){i.removeAll();for(var l=0;l<r.length-1;l++){var c=u(o,a);c&&(c.__dimIdx=l,t[l]?(c.setPosition(t[l]),n[s?"initProps":"updateProps"](c,{x:r[l][0],y:r[l][1]},e,a)):c.setPosition(r[l]),i.add(c))}}function d(e){return l["H"](e,(function(e){return[i.cx,i.cy]}))}a.diff(s).add((function(t){var r=a.getItemLayout(t);if(r){var n=new Om,i=new Dm,o={shape:{points:r}};n.shape.points=d(r),i.shape.points=d(r),Wl(n,o,e,t),Wl(i,o,e,t);var s=new kn,l=new kn;s.add(i),s.add(n),s.add(l),c(i.shape.points,r,l,a,t,!0),a.setItemGraphicEl(t,s)}})).update((function(t,r){var n=s.getItemGraphicEl(r),i=n.childAt(0),o=n.childAt(1),l=n.childAt(2),u={shape:{points:a.getItemLayout(t)}};u.shape.points&&(c(i.shape.points,u.shape.points,l,a,t,!1),Kl(o),Kl(i),Ul(i,u,e),Ul(o,u,e),a.setItemGraphicEl(t,n))})).remove((function(e){o.remove(s.getItemGraphicEl(e))})).execute(),a.eachItemGraphicEl((function(e,t){var r=a.getItemModel(t),n=e.childAt(0),i=e.childAt(1),s=e.childAt(2),u=a.getItemVisual(t,"style"),c=u.fill;o.add(e),n.useStyle(l["i"](r.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),Il(n,r,"lineStyle"),Il(i,r,"areaStyle");var d=r.getModel("areaStyle"),h=d.isEmpty()&&d.parentModel.isEmpty();i.ignore=h,l["k"](["emphasis","select","blur"],(function(e){var t=r.getModel([e,"areaStyle"]),n=t.isEmpty()&&t.parentModel.isEmpty();i.ensureState(e).ignore=n&&h})),i.useStyle(l["i"](d.getAreaStyle(),{fill:c,opacity:.7,decal:u.decal}));var f=r.getModel("emphasis"),p=f.getModel("itemStyle").getItemStyle();s.eachChild((function(e){if(e instanceof Qa){var n=e.style;e.useStyle(l["m"]({image:n.image,x:n.x,y:n.y,width:n.width,height:n.height},u))}else e.useStyle(u),e.setColor(c),e.style.strokeNoScale=!0;var i=e.ensureState("emphasis");i.style=l["d"](p);var o=a.getStore().get(a.getDimensionIndex(e.__dimIdx),t);(null==o||isNaN(o))&&(o=""),tu(e,ru(r),{labelFetcher:a.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:o,inheritColor:c,defaultOpacity:u.opacity})})),Ll(e,f.get("focus"),f.get("blurScope"),f.get("disabled"))})),this._data=a},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(Gg),HL=zL,VL=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new DC(l["c"](this.getData,this),l["c"](this.getRawData,this))},t.prototype.getInitialData=function(e,t){return LC(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,r){var n=this.getData(),i=this.coordinateSystem,o=i.getIndicatorAxes(),a=this.getData().getName(e),s=""===a?this.name:a,u=sp(this,e);return qf("section",{header:s,sortBlocks:!0,blocks:l["H"](o,(function(t){var r=n.get(n.mapDimension(t.dim),e);return qf("nameValue",{markerType:"subItem",markerColor:u,name:t.name,value:r,sortParam:r})}))})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),r=this.coordinateSystem,n=t.getValues(l["H"](r.dimensions,(function(e){return t.mapDimension(e)})),e),i=0,o=n.length;i<o;i++)if(!isNaN(n[i])){var a=r.getIndicatorAxes();return r.coordToPoint(a[i].dataToCoord(n[i]),i)}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(Sp),UL=VL,WL=tT.value;function $L(e,t){return l["i"]({show:t},e)}var GL=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),r=this.get("scale"),n=this.get("axisLine"),i=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),u=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),d=this.get("triggerEvent"),h=l["H"](this.get("indicator")||[],(function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var f=a;null!=h.color&&(f=l["i"]({color:h.color},a));var p=l["I"](l["d"](h),{boundaryGap:e,splitNumber:t,scale:r,axisLine:n,axisTick:i,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:f,triggerEvent:d},!1);if(l["C"](u)){var m=p.name;p.name=u.replace("{value}",null!=m?m:"")}else l["w"](u)&&(p.name=u(p.name,p));var g=new Tu(p,null,this.ecModel);return l["K"](g,qC.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.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:l["I"]({lineStyle:{color:"#bbb"}},WL.axisLine),axisLabel:$L(WL.axisLabel,!1),axisTick:$L(WL.axisTick,!1),splitLine:$L(WL.splitLine,!0),splitArea:$L(WL.splitArea,!0),indicator:[]},t}(Kc),qL=GL,XL=["axisLine","axisTickLabel","axisName"],KL=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n=this.group;n.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem,r=t.getIndicatorAxes(),n=l["H"](r,(function(e){var r=e.model.get("showName")?e.name:"",n=new uL(e.model,{axisName:r,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));l["k"](n,(function(e){l["k"](XL,e.add,e),this.group.add(e.getGroup())}),this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,r=t.getIndicatorAxes();if(r.length){var n=e.get("shape"),i=e.getModel("splitLine"),o=e.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),u=i.get("show"),c=o.get("show"),d=a.get("color"),h=s.get("color"),f=l["t"](d)?d:[d],p=l["t"](h)?h:[h],m=[],g=[];if("circle"===n)for(var v=r[0].getTicksCoords(),y=t.cx,b=t.cy,_=0;_<v.length;_++){if(u){var w=L(m,f,_);m[w].push(new Qp({shape:{cx:y,cy:b,r:v[_].coord}}))}if(c&&_<v.length-1){w=L(g,p,_);g[w].push(new km({shape:{cx:y,cy:b,r0:v[_].coord,r:v[_+1].coord}}))}}else{var x,k=l["H"](r,(function(e,r){var n=e.getTicksCoords();return x=null==x?n.length-1:Math.min(n.length-1,x),l["H"](n,(function(e){return t.coordToPoint(e.coord,r)}))})),S=[];for(_=0;_<=x;_++){for(var M=[],C=0;C<r.length;C++)M.push(k[C][_]);if(M[0]&&M.push(M[0].slice()),u){w=L(m,f,_);m[w].push(new Dm({shape:{points:M}}))}if(c&&S){w=L(g,p,_-1);g[w].push(new Om({shape:{points:M.concat(S)}}))}S=M.slice().reverse()}}var T=a.getLineStyle(),O=s.getAreaStyle();l["k"](g,(function(e,t){this.group.add(yg(e,{style:l["i"]({stroke:"none",fill:p[t%p.length]},O),silent:!0}))}),this),l["k"](m,(function(e,t){this.group.add(yg(e,{style:l["i"]({fill:"none",stroke:f[t%f.length]},T),silent:!0}))}),this)}function L(e,t,r){var n=r%t.length;return e[n]=e[n]||[],n}},t.type="radar",t}(Cp),ZL=KL,JL=function(e){function t(t,r,n){var i=e.call(this,t,r,n)||this;return i.type="value",i.angle=0,i.name="",i}return a(t,e),t}(NO),QL=JL,eA=function(){function e(e,t,r){this.dimensions=[],this._model=e,this._indicatorAxes=Object(l["H"])(e.getIndicatorModels(),(function(e,t){var r="indicator_"+t,n=new QL(r,new ST);return n.name=e.get("name"),n.model=e,e.axis=n,this.dimensions.push(r),n}),this),this.resize(e,r)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(e,t){var r=this._indicatorAxes[t];return this.coordToPoint(r.dataToCoord(e),t)},e.prototype.coordToPoint=function(e,t){var r=this._indicatorAxes[t],n=r.angle,i=this.cx+e*Math.cos(n),o=this.cy-e*Math.sin(n);return[i,o]},e.prototype.pointToData=function(e){var t=e[0]-this.cx,r=e[1]-this.cy,n=Math.sqrt(t*t+r*r);t/=n,r/=n;for(var i,o=Math.atan2(-r,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(i=u,s=l,a=c)}return[s,+(i&&i.coordToData(n))]},e.prototype.resize=function(e,t){var r=e.get("center"),n=t.getWidth(),i=t.getHeight(),o=Math.min(n,i)/2;this.cx=Bn(r[0],n),this.cy=Bn(r[1],i),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");(Object(l["C"])(a)||Object(l["z"])(a))&&(a=[0,a]),this.r0=Bn(a[0],o),this.r=Bn(a[1],o),Object(l["k"])(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var r=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;r=Math.atan2(Math.sin(r),Math.cos(r)),e.angle=r}),this)},e.prototype.update=function(e,t){var r=this._indicatorAxes,n=this._model;Object(l["k"])(r,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,i){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===n){var o=t.getData();Object(l["k"])(r,(function(e){e.scale.unionExtentFromData(o,o.mapDimension(e.dim))}))}}),this);var i=n.get("splitNumber"),o=new ST;o.setExtent(0,i),o.setInterval(1),Object(l["k"])(r,(function(e,t){UO(e.scale,e.model,o)}))},e.prototype.convertToPixel=function(e,t,r){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(e,t,r){return console.warn("Not implemented."),null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.create=function(t,r){var n=[];return t.eachComponent("radar",(function(i){var o=new e(i,t,r);n.push(o),i.coordinateSystem=o})),t.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])})),n},e.dimensions=[],e}(),tA=eA;function rA(e){e.registerCoordinateSystem("radar",tA),e.registerComponentModel(qL),e.registerComponentView(ZL),e.registerVisual({seriesType:"radar",reset:function(e){var t=e.getData();t.each((function(e){t.setItemVisual(e,"legendIcon","roundRect")})),t.setVisual("legendIcon","roundRect")}})}function nA(e){R_(rA),e.registerChartView(HL),e.registerSeriesModel(UL),e.registerLayout(NL),e.registerProcessor(bC("radar")),e.registerPreprocessor(FL)}var iA="\0_ec_interaction_mutex";function oA(e,t,r){var n=lA(e);n[t]=r}function aA(e,t,r){var n=lA(e),i=n[t];i===r&&(n[t]=null)}function sA(e,t){return!!lA(e)[t]}function lA(e){return e[iA]||(e[iA]={})}S_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},l["L"]);var uA=function(e){function t(t){var r=e.call(this)||this;r._zr=t;var n=Object(l["c"])(r._mousedownHandler,r),i=Object(l["c"])(r._mousemoveHandler,r),o=Object(l["c"])(r._mouseupHandler,r),a=Object(l["c"])(r._mousewheelHandler,r),s=Object(l["c"])(r._pinchHandler,r);return r.enable=function(e,r){this.disable(),this._opt=Object(l["i"])(Object(l["d"])(r)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",i),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",s))},r.disable=function(){t.off("mousedown",n),t.off("mousemove",i),t.off("mouseup",o),t.off("mousewheel",a),t.off("pinch",s)},r}return a(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!ne(e)){var t=e.target;while(t){if(t.draggable)return;t=t.__hostTarget||t.parent}var r=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,r,n)&&(this._x=r,this._y=n,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&hA("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!sA(this._zr,"globalPan")){var t=e.offsetX,r=e.offsetY,n=this._x,i=this._y,o=t-n,a=r-i;this._x=t,this._y=r,this._opt.preventDefaultMouseMove&&re(e.event),dA(this,"pan","moveOnMouseMove",e,{dx:o,dy:a,oldX:n,oldY:i,newX:t,newY:r,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){ne(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=hA("zoomOnMouseWheel",e,this._opt),r=hA("moveOnMouseWheel",e,this._opt),n=e.wheelDelta,i=Math.abs(n),o=e.offsetX,a=e.offsetY;if(0!==n&&(t||r)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=n>0?s:1/s;cA(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(r){var u=Math.abs(n),c=(n>0?1:-1)*(u>3?.4:u>1?.15:.05);cA(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!sA(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;cA(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(E);function cA(e,t,r,n,i){e.pointerChecker&&e.pointerChecker(n,i.originX,i.originY)&&(re(n.event),dA(e,t,r,n,i))}function dA(e,t,r,n,i){i.isAvailableBehavior=Object(l["c"])(hA,null,r,n),e.trigger(t,i)}function hA(e,t,r){var n=r[e];return!e||n&&(!Object(l["C"])(n)||t.event[n+"Key"])}var fA=uA;function pA(e,t,r){var n=e.target;n.x+=t,n.y+=r,n.dirty()}function mA(e,t,r,n){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/e.zoom;e.zoom=a,i.x-=(r-i.x)*(u-1),i.y-=(n-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var gA,vA={axisPointer:1,tooltip:1,brush:1};function yA(e,t,r){var n=t.getComponentByElement(e.topTarget),i=n&&n.coordinateSystem;return n&&n!==r&&!vA.hasOwnProperty(n.mainType)&&i&&i.model!==r}function bA(e){if(Object(l["C"])(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var r=e;9===r.nodeType&&(r=r.firstChild);while("svg"!==r.nodeName.toLowerCase()||1!==r.nodeType)r=r.nextSibling;return r}var _A={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"},wA=Object(l["F"])(_A),xA={"alignment-baseline":"textBaseline","stop-color":"stopColor"},kA=Object(l["F"])(xA),SA=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var r=bA(e);this._defsUsePending=[];var n=new kn;this._root=n;var i=[],o=r.getAttribute("viewBox")||"",a=parseFloat(r.getAttribute("width")||t.width),s=parseFloat(r.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),AA(r,n,null,!0,!1);var l,u,c=r.firstChild;while(c)this._parseNode(c,n,i,null,!1,!1),c=c.nextSibling;if(jA(this._defs,this._defsUsePending),this._defsUsePending=[],o){var d=RA(o);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!=a&&null!=s&&(u=VA(l,{x:0,y:0,width:a,height:s}),!t.ignoreViewBox)){var h=n;n=new kn,n.add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return t.ignoreRootClip||null==a||null==s||n.setClipPath(new ls({shape:{x:0,y:0,width:a,height:s}})),{root:n,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:i}},e.prototype._parseNode=function(e,t,r,n,i,o){var a,s=e.nodeName.toLowerCase(),u=n;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=t;else{if(!i){var c=gA[s];if(c&&Object(l["q"])(gA,s)){a=c.call(this,e,t);var d=e.getAttribute("name");if(d){var h={name:d,namedFrom:null,svgNodeTagLower:s,el:a};r.push(h),"g"===s&&(u=h)}else n&&r.push({name:n.name,namedFrom:n,svgNodeTagLower:s,el:a});t.add(a)}}var f=MA[s];if(f&&Object(l["q"])(MA,s)){var p=f.call(this,e),m=e.getAttribute("id");m&&(this._defs[m]=p)}}if(a&&a.isGroup){var g=e.firstChild;while(g)1===g.nodeType?this._parseNode(g,a,r,u,i,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling}},e.prototype._parseText=function(e,t){var r=new qa({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});OA(t,r),AA(e,r,this._defsUsePending,!1,!1),DA(r,t);var n=r.style,i=n.fontSize;i&&i<9&&(n.fontSize=9,r.scaleX*=i/9,r.scaleY*=i/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var a=r.getBoundingRect();return this._textX+=a.width,t.add(r),r},e.internalField=function(){gA={g:function(e,t){var r=new kn;return OA(t,r),AA(e,r,this._defsUsePending,!1,!1),r},rect:function(e,t){var r=new ls;return OA(t,r),AA(e,r,this._defsUsePending,!1,!1),r.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),r.silent=!0,r},circle:function(e,t){var r=new Qp;return OA(t,r),AA(e,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),r.silent=!0,r},line:function(e,t){var r=new Pm;return OA(t,r),AA(e,r,this._defsUsePending,!1,!1),r.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),r.silent=!0,r},ellipse:function(e,t){var r=new rm;return OA(t,r),AA(e,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),r.silent=!0,r},polygon:function(e,t){var r,n=e.getAttribute("points");n&&(r=LA(n));var i=new Om({shape:{points:r||[]},silent:!0});return OA(t,i),AA(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var r,n=e.getAttribute("points");n&&(r=LA(n));var i=new Dm({shape:{points:r||[]},silent:!0});return OA(t,i),AA(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var r=new Qa;return OA(t,r),AA(e,r,this._defsUsePending,!1,!1),r.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),r.silent=!0,r},text:function(e,t){var r=e.getAttribute("x")||"0",n=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(i),this._textY=parseFloat(n)+parseFloat(o);var a=new kn;return OA(t,a),AA(e,a,this._defsUsePending,!1,!0),a},tspan:function(e,t){var r=e.getAttribute("x"),n=e.getAttribute("y");null!=r&&(this._textX=parseFloat(r)),null!=n&&(this._textY=parseFloat(n));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",a=new kn;return OA(t,a),AA(e,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(e,t){var r=e.getAttribute("d")||"",n=Gp(r);return OA(t,n),AA(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}}(),e}(),MA={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),r=parseInt(e.getAttribute("y1")||"0",10),n=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),o=new Xm(t,r,n,i);return CA(e,o),TA(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),r=parseInt(e.getAttribute("cy")||"0",10),n=parseInt(e.getAttribute("r")||"0",10),i=new Zm(t,r,n);return CA(e,i),TA(e,i),i}};function CA(e,t){var r=e.getAttribute("gradientUnits");"userSpaceOnUse"===r&&(t.global=!0)}function TA(e,t){var r=e.firstChild;while(r){if(1===r.nodeType&&"stop"===r.nodeName.toLocaleLowerCase()){var n=r.getAttribute("offset"),i=void 0;i=n&&n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var o={};zA(r,o,o);var a=o.stopColor||r.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:a})}r=r.nextSibling}}function OA(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Object(l["i"])(t.__inheritedStyle,e.__inheritedStyle))}function LA(e){for(var t=RA(e),r=[],n=0;n<t.length;n+=2){var i=parseFloat(t[n]),o=parseFloat(t[n+1]);r.push([i,o])}return r}function AA(e,t,r,n,i){var o=t,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===e.nodeType&&(YA(e,t),zA(e,a,s),n||HA(e,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=IA(o,"fill",a.fill,r)),null!=a.stroke&&(o.style.stroke=IA(o,"stroke",a.stroke,r)),Object(l["k"])(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){null!=a[e]&&(o.style[e]=parseFloat(a[e]))})),Object(l["k"])(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(e){null!=a[e]&&(o.style[e]=a[e])})),i&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=Object(l["H"])(RA(a.lineDash),(function(e){return parseFloat(e)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}function DA(e,t){var r=t.__selfStyle;if(r){var n=r.textBaseline,i=n;n&&"auto"!==n?"baseline"===n?i="alphabetic":"before-edge"===n||"text-before-edge"===n?i="top":"after-edge"===n||"text-after-edge"===n?i="bottom":"central"!==n&&"mathematical"!==n||(i="middle"):i="alphabetic",e.style.textBaseline=i}var o=t.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),e.style.textAlign=s)}}var EA=/^url\(\s*#(.*?)\)/;function IA(e,t,r,n){var i=r&&r.match(EA);if(!i)return"none"===r&&(r=null),r;var o=Object(l["T"])(i[1]);n.push([e,t,o])}function jA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n[0].style[n[1]]=e[n[2]]}}var PA=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function RA(e){return e.match(PA)||[]}var NA=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,BA=Math.PI/180;function YA(e,t){var r=e.getAttribute("transform");if(r){r=r.replace(/,/g," ");var n=[],i=null;r.replace(NA,(function(e,t,r){return n.push(t,r),""}));for(var o=n.length-1;o>0;o-=2){var a=n[o],s=n[o-1],l=RA(a);switch(i=i||le(),s){case"translate":he(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":pe(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":fe(i,i,-parseFloat(l[0])*BA,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*BA);de(i,[1,0,u,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(l[0])*BA);de(i,[1,c,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}t.setLocalTransform(i)}}var FA=/([^\s:;]+)\s*:\s*([^:;]+)/g;function zA(e,t,r){var n=e.getAttribute("style");if(n){var i;FA.lastIndex=0;while(null!=(i=FA.exec(n))){var o=i[1],a=Object(l["q"])(_A,o)?_A[o]:null;a&&(t[a]=i[2]);var s=Object(l["q"])(xA,o)?xA[o]:null;s&&(r[s]=i[2])}}}function HA(e,t,r){for(var n=0;n<wA.length;n++){var i=wA[n],o=e.getAttribute(i);null!=o&&(t[_A[i]]=o)}for(n=0;n<kA.length;n++){i=kA[n],o=e.getAttribute(i);null!=o&&(r[xA[i]]=o)}}function VA(e,t){var r=t.width/e.width,n=t.height/e.height,i=Math.min(r,n);return{scale:i,x:-(e.x+e.width/2)*i+(t.x+t.width/2),y:-(e.y+e.height/2)*i+(t.y+t.height/2)}}function UA(e,t){var r=new SA;return r.parse(e,t)}var WA=1e-8;function $A(e,t){return Math.abs(e-t)<WA}function GA(e,t,r){var n=0,i=e[0];if(!i)return!1;for(var o=1;o<e.length;o++){var a=e[o];n+=Ta(i[0],i[1],a[0],a[1],t,r),i=a}var s=e[0];return $A(i[0],s[0])&&$A(i[1],s[1])||(n+=Ta(i[0],i[1],s[0],s[1],t,r)),0!==n}var qA=[];function XA(e,t){for(var r=0;r<e.length;r++)M(e[r],e[r],t)}function KA(e,t,r,n){for(var i=0;i<e.length;i++){var o=e[i];n&&(o=n.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(C(t,t,o),T(r,r,o))}}function ZA(e){for(var t=0,r=0,n=0,i=e.length,o=e[i-1][0],a=e[i-1][1],s=0;s<i;s++){var l=e[s][0],u=e[s][1],c=o*u-l*a;t+=c,r+=(o+l)*c,n+=(a+u)*c,o=l,a=u}return t?[r/t/3,n/t/3,t]:[e[0][0]||0,e[0][1]||0]}var JA=function(){function e(e){this.name=e}return e.prototype.setCenter=function(e){this._center=e},e.prototype.getCenter=function(){var e=this._center;return e||(e=this._center=this.calcCenter()),e},e}(),QA=function(){function e(e,t){this.type="polygon",this.exterior=e,this.interiors=t}return e}(),eD=function(){function e(e){this.type="linestring",this.points=e}return e}(),tD=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.type="geoJSON",i.geometries=r,i._center=n&&[n[0],n[1]],i}return a(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,r=0,n=0;n<t.length;n++){var i=t[n],o=i.exterior,a=o&&o.length;a>r&&(e=i,r=a)}if(e)return ZA(e.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var r=[1/0,1/0],n=[-1/0,-1/0],i=this.geometries;return Object(l["k"])(i,(function(t){"polygon"===t.type?KA(t.exterior,r,n,e):Object(l["k"])(t.points,(function(t){KA(t,r,n,e)}))})),isFinite(r[0])&&isFinite(r[1])&&isFinite(n[0])&&isFinite(n[1])||(r[0]=r[1]=n[0]=n[1]=0),t=new Oe(r[0],r[1],n[0]-r[0],n[1]-r[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),r=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var n=0,i=r.length;n<i;n++){var o=r[n];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(GA(a,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(GA(s[l],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,r,n){var i=this.getBoundingRect(),o=i.width/i.height;r?n||(n=r/o):r=o*n;for(var a=new Oe(e,t,r,n),s=i.calculateTransform(a),u=this.geometries,c=0;c<u.length;c++){var d=u[c];"polygon"===d.type?(XA(d.exterior,s),Object(l["k"])(d.interiors,(function(e){XA(e,s)}))):Object(l["k"])(d.points,(function(e){XA(e,s)}))}i=this._rect,i.copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var r=new t(e,this.geometries,this._center);return r._rect=this._rect,r.transformTo=null,r},t}(JA),rD=function(e){function t(t,r){var n=e.call(this,t)||this;return n.type="geoSVG",n._elOnlyForCalculate=r,n}return a(t,e),t.prototype.calcCenter=function(){var e=this._elOnlyForCalculate,t=e.getBoundingRect(),r=[t.x+t.width/2,t.y+t.height/2],n=ue(qA),i=e;while(i&&!i.isGeoSVGGraphicRoot)de(n,i.getLocalTransform(),n),i=i.parent;return me(n,n),M(r,r,n),r},t}(JA),nD=Object(l["f"])(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),iD=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=Object(l["f"])(),this._freedGraphics=[],this._mapName=e,this._parsedXML=bA(t)}return e.prototype.load=function(){var e=this._firstGraphic;if(!e){e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(e),this._boundingRect=this._firstGraphic.boundingRect.clone();var t=aD(e.named),r=t.regions,n=t.regionsMap;this._regions=r,this._regionsMap=n}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,r;try{t=e&&UA(e,{ignoreViewBox:!0,ignoreRootClip:!0})||{},r=t.root,Object(l["b"])(null!=r)}catch(g){throw new Error("Invalid svg format\n"+g.message)}var n=new kn;n.add(r),n.isGeoSVGGraphicRoot=!0;var i=t.width,o=t.height,a=t.viewBoxRect,s=this._boundingRect;if(!s){var u=void 0,c=void 0,d=void 0,h=void 0;if(null!=i?(u=0,d=i):a&&(u=a.x,d=a.width),null!=o?(c=0,h=o):a&&(c=a.y,h=a.height),null==u||null==c){var f=r.getBoundingRect();null==u&&(u=f.x,d=f.width),null==c&&(c=f.y,h=f.height)}s=this._boundingRect=new Oe(u,c,d,h)}if(a){var p=VA(a,s);r.scaleX=r.scaleY=p.scale,r.x=p.x,r.y=p.y}n.setClipPath(new ls({shape:s.plain()}));var m=[];return Object(l["k"])(t.named,(function(e){null!=nD.get(e.svgNodeTagLower)&&(m.push(e),oD(e.el))})),{root:n,boundingRect:s,named:m}},e.prototype.useGraphic=function(e){var t=this._usedGraphicMap,r=t.get(e);return r||(r=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,r),r)},e.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,r=t.get(e);r&&(t.removeKey(e),this._freedGraphics.push(r))},e}();function oD(e){e.silent=!1,e.isGroup&&e.traverse((function(e){e.silent=!1}))}function aD(e){var t=[],r=Object(l["f"])();return Object(l["k"])(e,(function(e){if(null==e.namedFrom){var n=new rD(e.name,e.el);t.push(n),r.set(e.name,n)}})),{regions:t,regionsMap:r}}function sD(e){if(!e.UTF8Encoding)return e;var t=e,r=t.UTF8Scale;null==r&&(r=1024);var n=t.features;return l["k"](n,(function(e){var t=e.geometry,n=t.encodeOffsets,i=t.coordinates;if(n)switch(t.type){case"LineString":t.coordinates=uD(i,n,r);break;case"Polygon":lD(i,n,r);break;case"MultiLineString":lD(i,n,r);break;case"MultiPolygon":l["k"](i,(function(e,t){return lD(e,n[t],r)}))}})),t.UTF8Encoding=!1,t}function lD(e,t,r){for(var n=0;n<e.length;n++)e[n]=uD(e[n],t[n],r)}function uD(e,t,r){for(var n=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=i,l+=o,i=s,o=l,n.push([s/r,l/r])}return n}function cD(e,t){return e=sD(e),l["H"](l["n"](e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var r=e.properties,n=e.geometry,i=[];switch(n.type){case"Polygon":var o=n.coordinates;i.push(new QA(o[0],o.slice(1)));break;case"MultiPolygon":l["k"](n.coordinates,(function(e){e[0]&&i.push(new QA(e[0],e.slice(1)))}));break;case"LineString":i.push(new eD([n.coordinates]));break;case"MultiLineString":i.push(new eD(n.coordinates))}var a=new tD(r[t||"name"],i,r.cp);return a.properties=r,a}))}for(var dD=[126,25],hD="南海诸岛",fD=[[[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]]],pD=0;pD<fD.length;pD++)for(var mD=0;mD<fD[pD].length;mD++)fD[pD][mD][0]/=10.5,fD[pD][mD][1]/=-14,fD[pD][mD][0]+=dD[0],fD[pD][mD][1]+=dD[1];function gD(e,t){if("china"===e){for(var r=0;r<t.length;r++)if(t[r].name===hD)return;t.push(new tD(hD,l["H"](fD,(function(e){return{type:"polygon",exterior:e}})),dD))}}var vD={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function yD(e,t){if("china"===e){var r=vD[t.name];if(r){var n=t.getCenter();n[0]+=r[0]/10.5,n[1]+=-r[1]/14,t.setCenter(n)}}}var bD=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function _D(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:bD[0]})}var wD="name",xD=function(){function e(e,t,r){this.type="geoJSON",this._parsedMap=Object(l["f"])(),this._mapName=e,this._specialAreas=r,this._geoJSON=SD(t)}return e.prototype.load=function(e,t){t=t||wD;var r=this._parsedMap.get(t);if(!r){var n=this._parseToRegions(t);r=this._parsedMap.set(t,{regions:n,boundingRect:kD(n)})}var i=Object(l["f"])(),o=[];return Object(l["k"])(r.regions,(function(t){var r=t.name;e&&Object(l["q"])(e,r)&&(t=t.cloneShallow(r=e[r])),o.push(t),i.set(r,t)})),{regions:o,boundingRect:r.boundingRect||new Oe(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(e){var t,r=this._mapName,n=this._geoJSON;try{t=n?cD(n,e):[]}catch(i){throw new Error("Invalid geoJson format\n"+i.message)}return gD(r,t),Object(l["k"])(t,(function(e){var t=e.name;yD(r,e),_D(r,e);var n=this._specialAreas&&this._specialAreas[t];n&&e.transformTo(n.left,n.top,n.width,n.height)}),this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function kD(e){for(var t,r=0;r<e.length;r++){var n=e[r].getBoundingRect();t=t||n.clone(),t.union(n)}return t}function SD(e){return Object(l["C"])(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var MD=Object(l["f"])(),CD={registerMap:function(e,t,r){if(t.svg){var n=new iD(e,t.svg);MD.set(e,n)}else{var i=t.geoJson||t.geoJSON;i&&!t.features?r=t.specialAreas:i=t;n=new xD(e,i,r);MD.set(e,n)}},getGeoResource:function(e){return MD.get(e)},getMapForUser:function(e){var t=MD.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,r){var n=MD.get(e);if(n)return n.load(t,r)}},TD=["rect","circle","line","ellipse","polygon","polyline","path"],OD=l["f"](TD),LD=l["f"](TD.concat(["g"])),AD=l["f"](TD.concat(["g"])),DD=Ei();function ED(e){var t=e.getItemStyle(),r=e.get("areaColor");return null!=r&&(t.fill=r),t}function ID(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var jD=function(){function e(e){var t=new kn;this.uid=Lu("ec_map_draw"),this._controller=new fA(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new kn),t.add(this._svgGroup=new kn)}return e.prototype.draw=function(e,t,r,n,i){var o="geo"===e.mainType,a=e.getData&&e.getData();o&&t.eachComponent({mainType:"series",subType:"map"},(function(t){a||t.getHostGeoModel()!==e||(a=t.getData())}));var s=e.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),d=c.raw,h=c.roam,f=!l.childAt(0)||i;f?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):Ul(u,h,e);var p=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,m={api:r,geo:s,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(m):"geoSVG"===s.resourceType&&this._buildSVG(m),this._updateController(e,t,r),this._updateMapSelectHandler(e,l,r,n)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=l["f"](),r=l["f"](),n=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,a=e.data,s=e.geo.projection,u=s&&s.stream;function c(e,t){return t&&(e=t(e)),e&&[e[0]*i.scaleX+i.x,e[1]*i.scaleY+i.y]}function d(e){for(var t=[],r=!u&&s&&s.project,n=0;n<e.length;++n){var i=c(e[n],r);i&&t.push(i)}return t}function h(e){return{shape:{points:d(e)}}}n.removeAll(),l["k"](e.geo.regions,(function(i){var d=i.name,f=t.get(d),p=r.get(d)||{},m=p.dataIdx,g=p.regionModel;f||(f=t.set(d,new kn),n.add(f),m=a?a.indexOfName(d):null,g=e.isGeo?o.getRegionModel(d):a?a.getItemModel(m):null,r.set(d,{dataIdx:m,regionModel:g}));var v=[],y=[];l["k"](i.geometries,(function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);u&&(t=FD(t,u)),l["k"](t,(function(e){v.push(new Om(h(e)))}))}else{var r=e.points;u&&(r=FD(r,u,!0)),l["k"](r,(function(e){y.push(new Dm(h(e)))}))}}));var b=c(i.getCenter(),s&&s.project);function _(t,r){if(t.length){var n=new Wm({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});f.add(n),PD(e,n,m,g),RD(e,n,d,g,o,m,b),r&&(ID(n),l["k"](n.states,ID))}}_(v),_(y,!0)})),t.each((function(t,n){var i=r.get(n),a=i.dataIdx,s=i.regionModel;ND(e,t,n,s,o,a),BD(e,t,n,s,o),YD(e,t,n,s,o)}),this)},e.prototype._buildSVG=function(e){var t=e.geo.map,r=e.transformInfoRaw;this._svgGroup.x=r.x,this._svgGroup.y=r.y,this._svgGroup.scaleX=r.scaleX,this._svgGroup.scaleY=r.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var n=this._svgDispatcherMap=l["f"](),i=!1;l["k"](this._svgGraphicRecord.named,(function(t){var r=t.name,o=e.mapOrGeoModel,a=e.data,s=t.svgNodeTagLower,l=t.el,u=a?a.indexOfName(r):null,c=o.getRegionModel(r);if(null!=OD.get(s)&&l instanceof Bo&&PD(e,l,u,c),l instanceof Bo&&(l.culling=!0),l.z2EmphasisLift=0,!t.namedFrom&&(null!=AD.get(s)&&RD(e,l,r,c,o,u,null),ND(e,l,r,c,o,u),BD(e,l,r,c,o),null!=LD.get(s))){var d=YD(e,l,r,c,o);"self"===d&&(i=!0);var h=n.get(r)||n.set(r,[]);h.push(l)}}),this),this._enableBlurEntireSVG(i,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var r=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),n=r.opacity;this._svgGraphicRecord.root.traverse((function(e){if(!e.isGroup){sl(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=n&&(t.opacity=n),e.ensureState("emphasis")}}))}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(e,t){if(null==e)return[];var r=t.coordinateSystem;if("geoJSON"===r.resourceType){var n=this._regionsGroupByName;if(n){var i=n.get(e);return i?[i]:[]}}else if("geoSVG"===r.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},e.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},e.prototype._useSVG=function(e){var t=CD.getGeoResource(e);if(t&&"geoSVG"===t.type){var r=t.useGraphic(this.uid);this._svgGroup.add(r.root),this._svgGraphicRecord=r,this._svgMapName=e}},e.prototype._freeSVG=function(){var e=this._svgMapName;if(null!=e){var t=CD.getGeoResource(e);t&&"geoSVG"===t.type&&t.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(e,t,r){var n=e.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=e.get("scaleLimit"),o.zoom=n.getZoom(),i.enable(e.get("roam")||!1);var a=e.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}i.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,pA(o,e.dx,e.dy),r.dispatchAction(l["m"](s(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))}),this),i.off("zoom").on("zoom",(function(e){this._mouseDownFlag=!1,mA(o,e.scale,e.originX,e.originY),r.dispatchAction(l["m"](s(),{zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))}),this),i.setPointerChecker((function(t,i,o){return n.containPoint([i,o])&&!yA(t,r,e)}))},e.prototype.resetForLabelLayout=function(){this.group.traverse((function(e){var t=e.getTextContent();t&&(t.ignore=DD(t).ignore)}))},e.prototype._updateMapSelectHandler=function(e,t,r,n){var i=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",(function(){i._mouseDownFlag=!0})),t.on("click",(function(e){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},e}();function PD(e,t,r,n){var i=n.getModel("itemStyle"),o=n.getModel(["emphasis","itemStyle"]),a=n.getModel(["blur","itemStyle"]),s=n.getModel(["select","itemStyle"]),l=ED(i),u=ED(o),c=ED(s),d=ED(a),h=e.data;if(h){var f=h.getItemVisual(r,"style"),p=h.getItemVisual(r,"decal");e.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=Xy(p,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=d,sl(t)}function RD(e,t,r,n,i,o,a){var s=e.data,l=e.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var d=l?r:o,h=void 0;(!s||o>=0)&&(h=i);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;tu(t,ru(n),{labelFetcher:h,labelDataIndex:d,defaultText:r},f);var p=t.getTextContent();if(p&&(DD(p).ignore=p.ignore,t.textConfig&&a)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(a[0]-m.x)/m.width*100+"%",(a[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function ND(e,t,r,n,i,o){e.data?e.data.setItemGraphicEl(o,t):Ts(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:r,region:n&&n.option||{}}}function BD(e,t,r,n,i){e.data||Rg({el:t,componentModel:i,itemName:r,itemTooltipOption:n.get("tooltip")})}function YD(e,t,r,n,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=n.getModel("emphasis"),a=o.get("focus");return Ll(t,a,o.get("blurScope"),o.get("disabled")),e.isGeo&&Rl(t,i,r),a}function FD(e,t,r){var n,i=[];function o(){n=[]}function a(){n.length&&(i.push(n),n=[])}var s=t({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(e,t){isFinite(e)&&isFinite(t)&&n.push([e,t])},sphere:function(){}});return!r&&s.polygonStart(),l["k"](e,(function(e){s.lineStart();for(var t=0;t<e.length;t++)s.point(e[t][0],e[t][1]);s.lineEnd()})),!r&&s.polygonEnd(),i}var zD=jD,HD=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&n&&"geoRoam"===n.type&&this._mapDraw.resetForLabelLayout(),n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===e.id){o=this._mapDraw;o&&i.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new zD(r);i.add(o.group),o.draw(e,t,r,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,r)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,t,r){var n=e.originalData,i=this.group;n.each(n.mapDimension("value"),(function(t,r){if(!isNaN(t)){var o=n.getItemLayout(r);if(o&&o.point){var a=o.point,s=o.offset,l=new Qp({style:{fill:e.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Bs+1)});if(!s){var u=e.mainSeries.getData(),c=n.getName(r),d=u.indexOfName(c),h=n.getItemModel(r),f=h.getModel("label"),p=u.getItemGraphicEl(d);tu(l,ru(h),{labelFetcher:{getFormattedLabel:function(t,r){return e.getFormattedLabel(d,r)}},defaultText:c}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(e){tl(l,e)}}i.add(l)}}}))},t.type="map",t}(Gg),VD=HD,UD=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.needsDrawMap=!1,r.seriesGroup=[],r.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),r=this.coordinateSystem,n=r.getRegion(t);return n&&r.dataToPoint(n.getCenter())}},r}return a(t,e),t.prototype.getInitialData=function(e){for(var t=LC(this,{coordDimensions:["value"],encodeDefaulter:l["h"](fd,this)}),r=l["f"](),n=[],i=0,o=t.count();i<o;i++){var a=t.getName(i);r.set(a,!0)}var s=CD.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return l["k"](s.regions,(function(e){var t=e.name;r.get(t)||n.push(t)})),t.appendValues([],n),t},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},t.prototype.formatTooltip=function(e,t,r){for(var n=this.getData(),i=this.getRawValue(e),o=n.getName(e),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=n.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return qf("section",{header:s.join(", "),noHeader:!s.length,blocks:[qf("nameValue",{name:o,value:i})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var t=e.icon||"roundRect",r=ay(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return r.setStyle(e.itemStyle),r.style.stroke="none",t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.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"},t}(Sp),WD=UD;function $D(e,t){var r={};return l["k"](e,(function(e){e.each(e.mapDimension("value"),(function(t,n){var i="ec-"+e.getName(n);r[i]=r[i]||[],isNaN(t)||r[i].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(n,i){for(var o,a="ec-"+e[0].getName(i),s=0,l=1/0,u=-1/0,c=r[a].length,d=0;d<c;d++)l=Math.min(l,r[a][d]),u=Math.max(u,r[a][d]),s+=r[a][d];return o="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:o}))}function GD(e){var t={};e.eachSeriesByType("map",(function(e){var r=e.getHostGeoModel(),n=r?"o"+r.id:"i"+e.getMapType();(t[n]=t[n]||[]).push(e)})),l["k"](t,(function(e,t){for(var r=$D(l["H"](e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),n=0;n<e.length;n++)e[n].originalData=e[n].getData();for(n=0;n<e.length;n++)e[n].seriesGroup=e,e[n].needsDrawMap=0===n&&!e[n].getHostGeoModel(),e[n].setData(r.cloneShallow()),e[n].mainSeries=e[0]}))}function qD(e){var t={};e.eachSeriesByType("map",(function(r){var n=r.getMapType();if(!r.getHostGeoModel()&&!t[n]){var i={};l["k"](r.seriesGroup,(function(t){var r=t.coordinateSystem,n=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&n.each(n.mapDimension("value"),(function(e,t){var o=n.getName(t),a=r.getRegion(o);if(a&&!isNaN(e)){var s=i[o]||0,l=r.dataToPoint(a.getCenter());i[o]=s+1,n.setItemLayout(t,{point:l,offset:s})}}))}));var o=r.getData();o.each((function(e){var t=o.getName(e),r=o.getItemLayout(e)||{};r.showLabel=!i[t],o.setItemLayout(e,r)})),t[n]=!0}}))}var XD=M,KD=function(e){function t(t){var r=e.call(this)||this;return r.type="view",r.dimensions=["x","y"],r._roamTransformable=new Xr,r._rawTransformable=new Xr,r.name=t,r}return a(t,e),t.prototype.setBoundingRect=function(e,t,r,n){return this._rect=new Oe(e,t,r,n),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,r,n){this._transformTo(e,t,r,n),this._viewRect=new Oe(e,t,r,n)},t.prototype._transformTo=function(e,t,r,n){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new Oe(e,t,r,n));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[Bn(e[0],t.getWidth()),Bn(e[1],t.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect(),t=e.x+e.width/2,r=e.y+e.height/2;return[t,r]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,r=this.getDefaultCenter(),n=this.getCenter(),i=this.getZoom();n=M([],n,e),r=M([],r,e),t.originX=n[0],t.originY=n[1],t.x=r[0]-n[0],t.y=r[1]-n[1],t.scaleX=t.scaleY=i,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),ce(this.transform||(this.transform=[]),t.transform||le()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],me(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,r=new Xr;return r.transform=t.transform,r.decomposeTransform(),{roam:{x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,t,r){var n=t?this._rawTransform:this.transform;return r=r||[],n?XD(r,e,n):c(r,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?XD([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,r){var n=ZD(t);return n===this?n.dataToPoint(r):null},t.prototype.convertFromPixel=function(e,t,r){var n=ZD(t);return n===this?n.pointToData(r):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(Xr);function ZD(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var JD=KD,QD={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},eE=["lng","lat"],tE=function(e){function t(t,r,n){var i=e.call(this,t)||this;i.dimensions=eE,i.type="geo",i._nameCoordMap=l["f"](),i.map=r;var o,a=n.projection,s=CD.load(r,n.nameMap,n.nameProperty),u=CD.getGeoResource(r),c=(i.resourceType=u?u.type:null,i.regions=s.regions),d=QD[u.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=a,a)for(var h=0;h<c.length;h++){var f=c[h].getBoundingRect(a);o=o||f.clone(),o.union(f)}else o=s.boundingRect;return i.setBoundingRect(o.x,o.y,o.width,o.height),i.aspectScale=a?1:l["P"](n.aspectScale,d.aspectScale),i._invertLongitute=!a&&d.invertLongitute,i}return a(t,e),t.prototype._transformTo=function(e,t,r,n){var i=this.getBoundingRect(),o=this._invertLongitute;i=i.clone(),o&&(i.y=-i.y-i.height);var a=this._rawTransformable;a.transform=i.calculateTransform(new Oe(e,t,r,n));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var t=this.regions,r=0;r<t.length;r++){var n=t[r];if("geoJSON"===n.type&&n.contain(e))return t[r]}},t.prototype.addGeoCoord=function(e,t){this._nameCoordMap.set(e,t)},t.prototype.getGeoCoord=function(e){var t=this._regionsMap.get(e);return this._nameCoordMap.get(e)||t&&t.getCenter()},t.prototype.dataToPoint=function(e,t,r){if(l["C"](e)&&(e=this.getGeoCoord(e)),e){var n=this.projection;return n&&(e=n.project(e)),e&&this.projectedToPoint(e,t,r)}},t.prototype.pointToData=function(e){var t=this.projection;return t&&(e=t.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(t){return e.prototype.pointToData.call(this,t)},t.prototype.projectedToPoint=function(t,r,n){return e.prototype.dataToPoint.call(this,t,r,n)},t.prototype.convertToPixel=function(e,t,r){var n=rE(t);return n===this?n.dataToPoint(r):null},t.prototype.convertFromPixel=function(e,t,r){var n=rE(t);return n===this?n.pointToData(r):null},t}(JD);function rE(e){var t=e.geoModel,r=e.seriesModel;return t?t.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo",Ri).models[0]||{}).coordinateSystem:null}l["K"](tE,JD);var nE=tE;function iE(e,t){var r=e.get("boundingCoords");if(null!=r){var n=r[0],i=r[1];if(isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])){var o=this.projection;if(o){var a=n[0],s=n[1],l=i[0],u=i[1];n=[1/0,1/0],i=[-1/0,-1/0];var c=function(e,t,r,a){for(var s=r-e,l=a-t,u=0;u<=100;u++){var c=u/100,d=o.project([e+s*c,t+l*c]);C(n,n,d),T(i,i,d)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(n[0],n[1],i[0]-n[0],i[1]-n[1])}else 0}var d,h,f,p=this.getBoundingRect(),m=e.get("layoutCenter"),g=e.get("layoutSize"),v=t.getWidth(),y=t.getHeight(),b=p.width/p.height*this.aspectScale,_=!1;if(m&&g&&(d=[Bn(m[0],v),Bn(m[1],y)],h=Bn(g,Math.min(v,y)),isNaN(d[0])||isNaN(d[1])||isNaN(h)||(_=!0)),_)f={},b>1?(f.width=h,f.height=h/b):(f.height=h,f.width=h*b),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var w=e.getBoxLayoutParams();w.aspect=b,f=Fc(w,{width:v,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function oE(e,t){l["k"](t.get("geoCoord"),(function(t,r){e.addGeoCoord(r,t)}))}var aE=function(){function e(){this.dimensions=eE}return e.prototype.create=function(e,t){var r=[];function n(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",(function(e,i){var o=e.get("map"),a=new nE(o+i,o,l["m"]({nameMap:e.get("nameMap")},n(e)));a.zoomLimit=e.get("scaleLimit"),r.push(a),e.coordinateSystem=a,a.model=e,a.resize=iE,a.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var n=e.get("geoIndex")||0;e.coordinateSystem=r[n]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),l["k"](i,(function(e,i){var o=l["H"](e,(function(e){return e.get("nameMap")})),a=new nE(i,i,l["m"]({nameMap:l["J"](o)},n(e[0])));a.zoomLimit=l["O"].apply(null,l["H"](e,(function(e){return e.get("scaleLimit")}))),r.push(a),a.resize=iE,a.resize(e[0],t),l["k"](e,(function(e){e.coordinateSystem=a,oE(a,e)}))})),r},e.prototype.getFilledRegions=function(e,t,r,n){for(var i=(e||[]).slice(),o=l["f"](),a=0;a<i.length;a++)o.set(i[a].name,i[a]);var s=CD.load(t,r,n);return l["k"](s.regions,(function(e){var t=e.name;!o.get(t)&&i.push({name:t})})),i},e}(),sE=new aE,lE=sE,uE=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(e,t,r){var n=CD.getGeoResource(e.map);if(n&&"geoJSON"===n.type){var i=e.itemStyle=e.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(e,r),di(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=lE.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var r={};this._optionModelMap=l["N"](t.regions||[],(function(t,n){var i=n.name;return i&&(t.set(i,new Tu(n,e,e.ecModel)),n.selected&&(r[i]=!0)),t}),l["f"]()),t.selectedMap||(t.selectedMap=r)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Tu(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var r=this.getRegionModel(e),n="normal"===t?r.get(["label","formatter"]):r.get(["emphasis","label","formatter"]),i={name:e};return l["w"](n)?(i.status=t,n(i)):l["C"](n)?n.replace("{a}",null!=e?e:""):void 0},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var t=this.option,r=t.selectedMode;if(r){"multiple"!==r&&(t.selectedMap=null);var n=t.selectedMap||(t.selectedMap={});n[e]=!0}},t.prototype.unSelect=function(e){var t=this.option.selectedMap;t&&(t[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var t=this.option.selectedMap;return!(!t||!t[e])},t.type="geo",t.layoutMode="box",t.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:[]},t}(Kc),cE=uE;function dE(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function hE(e,t,r,n){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,s=e.projectedToPoint?e.projectedToPoint(o):e.dataToPoint(o);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(dE(e,s),n)),null!=a){if(r){var l=r.min||0,u=r.max||1/0;a=Math.max(Math.min(i*a,u),l)/i}e.scaleX*=a,e.scaleY*=a;var c=(t.originX-e.x)*(a-1),d=(t.originY-e.y)*(a-1);e.x-=c,e.y-=d,e.updateTransform(),e.setCenter(dE(e,s),n),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}var fE=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.focusBlurEnabled=!0,r}return a(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,r,n){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new zD(r));var i=this._mapDraw;i.draw(e,t,r,this,n),i.group.on("click",this._handleRegionClick,this),i.group.silent=e.get("silent"),this.group.add(i.group),this.updateSelectStatus(e,t,r)},t.prototype._handleRegionClick=function(e){var t;$v(e.target,(function(e){return null!=(t=Ts(e).eventData)}),!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,r){var n=this;this._mapDraw.group.traverse((function(e){var t=Ts(e).eventData;if(t)return n._model.isSelected(t.name)?r.enterSelect(e):r.leaveSelect(e),!0}))},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(Cp),pE=fE;function mE(e,t,r){CD.registerMap(e,t,r)}function gE(e){function t(t,r){r.update="geo:updateSelectStatus",e.registerAction(r,(function(e,r){var n={},i=[];return r.eachComponent({mainType:"geo",query:e},(function(r){r[t](e.name);var o=r.coordinateSystem;Object(l["k"])(o.regions,(function(e){n[e.name]=r.isSelected(e.name)||!1}));var a=[];Object(l["k"])(n,(function(e,t){n[t]&&a.push(t)})),i.push({geoIndex:r.componentIndex,name:a})})),{selected:n,allSelected:i,name:e.name}}))}e.registerCoordinateSystem("geo",lE),e.registerComponentModel(cE),e.registerComponentView(pE),e.registerImpl("registerMap",mE),e.registerImpl("getMap",(function(e){return CD.getMapForUser(e)})),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t,r){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=hE(i,e,t.get("scaleLimit"),r);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&Object(l["k"])(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))}function vE(e){R_(gE),e.registerChartView(VD),e.registerSeriesModel(WD),e.registerLayout(qD),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,GD),Vv("map",e.registerAction)}function yE(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var r,n,i=[t];while(r=i.pop())if(n=r.children,r.isExpand&&n.length)for(var o=n.length,a=o-1;a>=0;a--){var s=n[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(s)}}function bE(e,t){var r=e.isExpand?e.children:[],n=e.parentNode.children,i=e.hierNode.i?n[e.hierNode.i-1]:null;if(r.length){SE(e);var o=(r[0].hierNode.prelim+r[r.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=ME(e,i,e.parentNode.hierNode.defaultAncestor||n[0],t)}function _E(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function wE(e){return arguments.length?e:AE}function xE(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function kE(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function SE(e){var t=e.children,r=t.length,n=0,i=0;while(--r>=0){var o=t[r];o.hierNode.prelim+=n,o.hierNode.modifier+=n,i+=o.hierNode.change,n+=o.hierNode.shift+i}}function ME(e,t,r,n){if(t){var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=s.hierNode.modifier;while(s=CE(s),o=TE(o),s&&o){i=CE(i),a=TE(a),i.hierNode.ancestor=e;var h=s.hierNode.prelim+d-o.hierNode.prelim-u+n(s,o);h>0&&(LE(OE(s,e,r),e,h),u+=h,l+=h),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!CE(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),o&&!TE(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,r=e)}return r}function CE(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function TE(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function OE(e,t,r){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:r}function LE(e,t,r){var n=r/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=r,t.hierNode.modifier+=r,t.hierNode.prelim+=r,e.hierNode.change+=n}function AE(e,t){return e.parentNode===t.parentNode?1:2}var DE=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),EE=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new DE},t.prototype.buildPath=function(e,t){var r=t.childPoints,n=r.length,i=t.parentPoint,o=r[0],a=r[n-1];if(1===n)return e.moveTo(i[0],i[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=Bn(t.forkPosition,1),d=[];d[l]=i[l],d[u]=i[u]+(a[u]-i[u])*c,e.moveTo(i[0],i[1]),e.lineTo(d[0],d[1]),e.moveTo(o[0],o[1]),d[l]=o[l],e.lineTo(d[0],d[1]),d[l]=a[l],e.lineTo(d[0],d[1]),e.lineTo(a[0],a[1]);for(var h=1;h<n-1;h++){var f=r[h];e.moveTo(f[0],f[1]),d[l]=f[l],e.lineTo(d[0],d[1])}},t}(Wa),IE=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._mainGroup=new kn,r}return a(t,e),t.prototype.init=function(e,t){this._controller=new fA(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,r){var n=e.getData(),i=e.layoutInfo,o=this._mainGroup,a=e.get("layout");"radial"===a?(o.x=i.x+i.width/2,o.y=i.y+i.height/2):(o.x=i.x,o.y=i.y),this._updateViewCoordSys(e,r),this._updateController(e,t,r);var s=this._data;n.diff(s).add((function(t){jE(n,t)&&PE(n,t,null,o,e)})).update((function(t,r){var i=s.getItemGraphicEl(r);jE(n,t)?PE(n,t,i,o,e):i&&YE(s,r,i,o,e)})).remove((function(t){var r=s.getItemGraphicEl(t);r&&YE(s,t,r,o,e)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&n.eachItemGraphicEl((function(t,n){t.off("click").on("click",(function(){r.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:n})}))})),this._data=n},t.prototype._updateViewCoordSys=function(e,t){var r=e.getData(),n=[];r.each((function(e){var t=r.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||n.push([+t.x,+t.y])}));var i=[],o=[];Go(n,i,o);var a=this._min,s=this._max;o[0]-i[0]===0&&(i[0]=a?a[0]:i[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-i[1]===0&&(i[1]=a?a[1]:i[1]-1,o[1]=s?s[1]:o[1]+1);var l=e.coordinateSystem=new JD;l.zoomLimit=e.get("scaleLimit"),l.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),l.setCenter(e.get("center"),t),l.setZoom(e.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=i,this._max=o},t.prototype._updateController=function(e,t,r){var n=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,n,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(n,i)&&!yA(t,r,e)})),i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){pA(o,t.dx,t.dy),r.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){mA(o,t.scale,t.originX,t.originY),r.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),n._updateNodeAndLinkScale(e),r.updateLabelLayout()}))},t.prototype._updateNodeAndLinkScale=function(e){var t=e.getData(),r=this._getNodeGlobalScale(e);t.eachItemGraphicEl((function(e,t){e.setSymbolScale(r)}))},t.prototype._getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var r=this._nodeScaleRatio,n=t.scaleX||1,i=t.getZoom(),o=(i-1)*r+1;return o/n},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(Gg);function jE(e,t){var r=e.getItemLayout(t);return r&&!isNaN(r.x)&&!isNaN(r.y)}function PE(e,t,r,n,i){var o=!r,a=e.tree.getNodeByDataIndex(t),s=a.getModel(),u=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?u:"#fff",d=e.tree.root,h=a.parentNode===d?a:a.parentNode||a,f=e.getItemGraphicEl(h.dataIndex),p=h.getLayout(),m=f?{x:f.__oldX,y:f.__oldY,rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:p,g=a.getLayout();o?(r=new _S(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),r.x=m.x,r.y=m.y):r.updateData(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),r.__radialOldRawX=r.__radialRawX,r.__radialOldRawY=r.__radialRawY,r.__radialRawX=g.rawX,r.__radialRawY=g.rawY,n.add(r),e.setItemGraphicEl(t,r),r.__oldX=r.x,r.__oldY=r.y,Ul(r,{x:g.x,y:g.y},i);var v=r.getSymbolPath();if("radial"===i.get("layout")){var y=d.children[0],b=y.getLayout(),_=y.children.length,w=void 0,x=void 0;if(g.x===b.x&&!0===a.isExpand&&y.children.length){var k={x:(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2};w=Math.atan2(k.y-b.y,k.x-b.x),w<0&&(w=2*Math.PI+w),x=k.x<b.x,x&&(w-=Math.PI)}else w=Math.atan2(g.y-b.y,g.x-b.x),w<0&&(w=2*Math.PI+w),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(x=g.x<b.x,x&&(w-=Math.PI)):(x=g.x>b.x,x||(w-=Math.PI));var S=x?"left":"right",M=s.getModel("label"),C=M.get("rotate"),T=C*(Math.PI/180),O=v.getTextContent();O&&(v.setTextConfig({position:M.get("position")||S,rotation:null==C?-w:T,origin:"center"}),O.setStyle("verticalAlign","middle"))}var L=s.get(["emphasis","focus"]),A="relative"===L?l["e"](a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===L?a.getAncestorsIndices():"descendant"===L?a.getDescendantIndices():null;A&&(Ts(r).focus=A),RE(i,a,d,r,m,p,g,n),r.__edge&&(r.onHoverStateChange=function(t){if("blur"!==t){var n=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);n&&n.hoverState===js||tl(r.__edge,t)}})}function RE(e,t,r,n,i,o,a,s){var u=t.getModel(),c=e.get("edgeShape"),d=e.get("layout"),h=e.getOrient(),f=e.get(["lineStyle","curveness"]),p=e.get("edgeForkPosition"),m=u.getModel("lineStyle").getLineStyle(),g=n.__edge;if("curve"===c)t.parentNode&&t.parentNode!==r&&(g||(g=n.__edge=new Fm({shape:FE(d,h,f,i,i)})),Ul(g,{shape:FE(d,h,f,o,a)},e));else if("polyline"===c)if("orthogonal"===d){if(t!==r&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var v=t.children,y=[],b=0;b<v.length;b++){var _=v[b].getLayout();y.push([_.x,_.y])}g||(g=n.__edge=new EE({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:p}})),Ul(g,{shape:{parentPoint:[a.x,a.y],childPoints:y}},e)}}else 0;g&&("polyline"!==c||t.isExpand)&&(g.useStyle(l["i"]({strokeNoScale:!0,fill:null},m)),Il(g,u,"lineStyle"),sl(g),s.add(g))}function NE(e,t,r,n,i){var o=t.tree.root,a=BE(o,e),s=a.source,l=a.sourceLayout,u=t.getItemGraphicEl(e.dataIndex);if(u){var c=t.getItemGraphicEl(s.dataIndex),d=c.__edge,h=u.__edge||(!1===s.isExpand||1===s.children.length?d:void 0),f=n.get("edgeShape"),p=n.get("layout"),m=n.get("orient"),g=n.get(["lineStyle","curveness"]);h&&("curve"===f?Gl(h,{shape:FE(p,m,g,l,l),style:{opacity:0}},n,{cb:function(){r.remove(h)},removeOpt:i}):"polyline"===f&&"orthogonal"===n.get("layout")&&Gl(h,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},n,{cb:function(){r.remove(h)},removeOpt:i}))}}function BE(e,t){var r,n=t.parentNode===e?t:t.parentNode||t;while(r=n.getLayout(),null==r)n=n.parentNode===e?n:n.parentNode||n;return{source:n,sourceLayout:r}}function YE(e,t,r,n,i){var o=e.tree.getNodeByDataIndex(t),a=e.tree.root,s=BE(a,o).sourceLayout,l={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Gl(r,{x:s.x+1,y:s.y+1},i,{cb:function(){n.remove(r),e.setItemGraphicEl(t,null)},removeOpt:l}),r.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:l}),o.children.forEach((function(t){NE(t,e,n,i,l)})),NE(o,e,n,i,l)}function FE(e,t,r,n,i){var o,a,s,l,u,c,d,h;if("radial"===e){u=n.rawX,d=n.rawY,c=i.rawX,h=i.rawY;var f=xE(u,d),p=xE(u,d+(h-d)*r),m=xE(c,h+(d-h)*r),g=xE(c,h);return{x1:f.x||0,y1:f.y||0,x2:g.x||0,y2:g.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:m.x||0,cpy2:m.y||0}}return u=n.x,d=n.y,c=i.x,h=i.y,"LR"!==t&&"RL"!==t||(o=u+(c-u)*r,a=d,s=c+(u-c)*r,l=h),"TB"!==t&&"BT"!==t||(o=u,a=d+(h-d)*r,s=c,l=h+(d-h)*r),{x1:u,y1:d,x2:c,y2:h,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var zE=IE,HE=Ei();function VE(e){var t=e.mainData,r=e.datas;r||(r={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,KE(t,r,e),Object(l["k"])(r,(function(r){Object(l["k"])(t.TRANSFERABLE_METHODS,(function(t){r.wrapMethod(t,Object(l["h"])(UE,e))}))})),t.wrapMethod("cloneShallow",Object(l["h"])($E,e)),Object(l["k"])(t.CHANGABLE_METHODS,(function(r){t.wrapMethod(r,Object(l["h"])(WE,e))})),Object(l["b"])(r[t.dataType]===t)}function UE(e,t){if(XE(this)){var r=Object(l["m"])({},HE(this).datas);r[this.dataType]=t,KE(t,r,e)}else ZE(t,this.dataType,HE(this).mainData,e);return t}function WE(e,t){return e.struct&&e.struct.update(),t}function $E(e,t){return Object(l["k"])(HE(t).datas,(function(r,n){r!==t&&ZE(r.cloneShallow(),n,t,e)})),t}function GE(e){var t=HE(this).mainData;return null==e||null==t?t:HE(t).datas[e]}function qE(){var e=HE(this).mainData;return null==e?[{data:e}]:Object(l["H"])(Object(l["F"])(HE(e).datas),(function(t){return{type:t,data:HE(e).datas[t]}}))}function XE(e){return HE(e).mainData===e}function KE(e,t,r){HE(e).datas={},Object(l["k"])(t,(function(t,n){ZE(t,n,e,r)}))}function ZE(e,t,r,n){HE(r).datas[t]=e,HE(e).mainData=r,e.dataType=t,n.struct&&(e[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=e),e.getLinkedData=GE,e.getLinkedDataAll=qE}var JE=VE,QE=function(){function e(e,t){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||"",this.hostTree=t}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(e,t,r){l["w"](e)&&(r=t,t=e,e=null),e=e||{},l["C"](e)&&(e={order:e});var n,i=e.order||"preorder",o=this[e.attr||"children"];"preorder"===i&&(n=t.call(r,this));for(var a=0;!n&&a<o.length;a++)o[a].eachNode(e,t,r);"postorder"===i&&t.call(r,this)},e.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var r=0;r<this.children.length;r++){var n=this.children[r];n.updateDepthAndHeight(e+1),n.height>t&&(t=n.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,r=this.children,n=r.length;t<n;t++){var i=r[t].getNodeById(e);if(i)return i}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,r=this.children,n=r.length;t<n;t++){var i=r[t].contains(e);if(i)return i}},e.prototype.getAncestors=function(e){var t=[],r=e?this:this.parentNode;while(r)t.push(r),r=r.parentNode;return t.reverse(),t},e.prototype.getAncestorsIndices=function(){var e=[],t=this;while(t)e.push(t.dataIndex),t=t.parentNode;return e.reverse(),e},e.prototype.getDescendantIndices=function(){var e=[];return this.eachNode((function(t){e.push(t.dataIndex)})),e},e.prototype.getValue=function(e){var t=this.hostTree.data;return t.getStore().get(t.getDimensionIndex(e||"value"),this.dataIndex)},e.prototype.setLayout=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostTree,r=t.data.getItemModel(this.dataIndex);return r.getModel(e)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t<e.length;++t)if(e[t]===this)return t;return-1}return-1},e.prototype.isAncestorOf=function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},e.prototype.isDescendantOf=function(e){return e!==this&&e.isAncestorOf(this)},e}(),eI=function(){function e(e){this.type="tree",this._nodes=[],this.hostModel=e}return e.prototype.eachNode=function(e,t,r){this.root.eachNode(e,t,r)},e.prototype.getNodeByDataIndex=function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},e.prototype.getNodeById=function(e){return this.root.getNodeById(e)},e.prototype.update=function(){for(var e=this.data,t=this._nodes,r=0,n=t.length;r<n;r++)t[r].dataIndex=-1;for(r=0,n=e.count();r<n;r++)t[e.getRawIndex(r)].dataIndex=r},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,r,n){var i=new e(r),o=[],a=1;function s(e,t){var r=e.value;a=Math.max(a,l["t"](r)?r.length:1),o.push(e);var n=new QE(Si(e.name,""),i);t?tI(n,t):i.root=n,i._nodes.push(n);var u=e.children;if(u)for(var c=0;c<u.length;c++)s(u[c],n)}s(t),i.root.updateDepthAndHeight(0);var u=Kk(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,c=new Xk(u,r);return c.initData(o),n&&n(c),JE({mainData:c,struct:i,structAttr:"tree"}),i.update(),i},e}();function tI(e,t){var r=t.children;e.parentNode!==t&&(r.push(e),e.parentNode=t)}var rI=eI;function nI(e,t,r){if(e&&l["r"](t,e.type)>=0){var n=r.getData().tree.root,i=e.targetNode;if(l["C"](i)&&(i=n.getNodeById(i)),i&&n.contains(i))return{node:i};var o=e.targetNodeId;if(null!=o&&(i=n.getNodeById(o)))return{node:i}}}function iI(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function oI(e,t){var r=iI(e);return l["r"](r,t)>=0}function aI(e,t){var r=[];while(e){var n=e.dataIndex;r.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return r.reverse(),r}var sI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return a(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},r=e.leaves||{},n=new Tu(r,this,this.ecModel),i=rI.createTree(t,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var r=i.getNodeByDataIndex(t);return r&&r.children.length&&r.isExpand||(e.parentModel=n),e}))}var a=0;i.eachNode("preorder",(function(e){e.depth>a&&(a=e.depth)}));var s=e.expandAndCollapse,l=s&&e.initialTreeDepth>=0?e.initialTreeDepth:a;return i.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),i.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,r){var n=this.getData().tree,i=n.root.children[0],o=n.getNodeByDataIndex(e),a=o.getValue(),s=o.name;while(o&&o!==i)s=o.parentNode.name+"."+s,o=o.parentNode;return qf("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var r=e.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return r.treeAncestors=aI(n,this),r.collapsed=!n.isExpand,r},t.type="series.tree",t.layoutMode="box",t.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},t}(Sp),lI=sI;function uI(e,t,r){var n,i=[e],o=[];while(n=i.pop())if(o.push(n),n.isExpand){var a=n.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}while(n=o.pop())t(n,r)}function cI(e,t){var r,n=[e];while(r=n.pop())if(t(r),r.isExpand){var i=r.children;if(i.length)for(var o=i.length-1;o>=0;o--)n.push(i[o])}}function dI(e,t){e.eachSeriesByType("tree",(function(e){hI(e,t)}))}function hI(e,t){var r=kE(e,t);e.layoutInfo=r;var n=e.get("layout"),i=0,o=0,a=null;"radial"===n?(i=2*Math.PI,o=Math.min(r.height,r.width)/2,a=wE((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(i=r.width,o=r.height,a=wE());var s=e.getData().tree.root,l=s.children[0];if(l){yE(s),uI(l,bE,a),s.hierNode.modifier=-l.hierNode.prelim,cI(l,_E);var u=l,c=l,d=l;cI(l,(function(e){var t=e.getLayout().x;t<u.getLayout().x&&(u=e),t>c.getLayout().x&&(c=e),e.depth>d.depth&&(d=e)}));var h=u===c?1:a(u,c)/2,f=h-u.getLayout().x,p=0,m=0,g=0,v=0;if("radial"===n)p=i/(c.getLayout().x+h+f),m=o/(d.depth-1||1),cI(l,(function(e){g=(e.getLayout().x+f)*p,v=(e.depth-1)*m;var t=xE(g,v);e.setLayout({x:t.x,y:t.y,rawX:g,rawY:v},!0)}));else{var y=e.getOrient();"RL"===y||"LR"===y?(m=o/(c.getLayout().x+h+f),p=i/(d.depth-1||1),cI(l,(function(e){v=(e.getLayout().x+f)*m,g="LR"===y?(e.depth-1)*p:i-(e.depth-1)*p,e.setLayout({x:g,y:v},!0)}))):"TB"!==y&&"BT"!==y||(p=i/(c.getLayout().x+h+f),m=o/(d.depth-1||1),cI(l,(function(e){g=(e.getLayout().x+f)*p,v="TB"===y?(e.depth-1)*m:o-(e.depth-1)*m,e.setLayout({x:g,y:v},!0)})))}}}function fI(e){e.eachSeriesByType("tree",(function(e){var t=e.getData(),r=t.tree;r.eachNode((function(e){var r=e.getModel(),n=r.getModel("itemStyle").getItemStyle(),i=t.ensureUniqueItemVisual(e.dataIndex,"style");Object(l["m"])(i,n)}))}))}function pI(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var r=e.dataIndex,n=t.getData().tree,i=n.getNodeByDataIndex(r);i.isExpand=!i.isExpand}))})),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t,r){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=t.coordinateSystem,i=hE(n,e,void 0,r);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))}function mI(e){e.registerChartView(zE),e.registerSeriesModel(lI),e.registerLayout(dI),e.registerVisual(fI),pI(e)}var gI=["treemapZoomToNode","treemapRender","treemapMove"];function vI(e){for(var t=0;t<gI.length;t++)e.registerAction({type:gI[t],update:"updateView"},l["L"]);e.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){function r(t,r){var n=["treemapZoomToNode","treemapRootToNode"],i=nI(e,n,t);if(i){var o=t.getViewRoot();o&&(e.direction=oI(o,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},r)}))}function yI(e){var t=e.getData(),r=t.tree,n={};r.eachNode((function(t){var r=t;while(r&&r.depth>1)r=r.parentNode;var i=Sd(e.ecModel,r.name||r.dataIndex+"",n);t.setVisual("decal",i)}))}var bI=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.preventUsingHoverLayer=!0,r}return a(t,e),t.prototype.getInitialData=function(e,t){var r={name:e.name,children:e.data};_I(r);var n=e.levels||[],i=this.designatedVisualItemStyle={},o=new Tu({itemStyle:i},this,t);n=e.levels=wI(n,t);var a=l["H"](n||[],(function(e){return new Tu(e,o,t)}),this),s=rI.createTree(r,this,u);function u(e){e.wrapMethod("getItemModel",(function(e,t){var r=s.getNodeByDataIndex(t),n=r?a[r.depth]:null;return e.parentModel=n||o,e}))}return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,r){var n=this.getData(),i=this.getRawValue(e),o=n.getName(e);return qf("nameValue",{name:o,value:i})},t.prototype.getDataParams=function(t){var r=e.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return r.treeAncestors=aI(n,this),r.treePathInfo=r.treeAncestors,r},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},l["m"](this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=l["f"](),this._idIndexMapCount=0);var r=t.get(e);return null==r&&t.set(e,r=this._idIndexMapCount++),r},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){yI(this)},t.type="series.treemap",t.layoutMode="box",t.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:[]},t}(Sp);function _I(e){var t=0;l["k"](e.children,(function(e){_I(e);var r=e.value;l["t"](r)&&(r=r[0]),t+=r}));var r=e.value;l["t"](r)&&(r=r[0]),(null==r||isNaN(r))&&(r=t),r<0&&(r=0),l["t"](e.value)?e.value[0]=r:e.value=r}function wI(e,t){var r=ci(t.get("color")),n=ci(t.get(["aria","decal","decals"]));if(r){var i,o;e=e||[],l["k"](e,(function(e){var t=new Tu(e),r=t.get("color"),n=t.get("decal");(t.get(["itemStyle","color"])||r&&"none"!==r)&&(i=!0),(t.get(["itemStyle","decal"])||n&&"none"!==n)&&(o=!0)}));var a=e[0]||(e[0]={});return i||(a.color=r.slice()),!o&&n&&(a.decal=n.slice()),e}}var xI=bI,kI=8,SI=8,MI=5,CI=function(){function e(e){this.group=new kn,e.add(this.group)}return e.prototype.render=function(e,t,r,n){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&r){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,c,l),this._renderContent(e,c,a,s,l,u,n),zc(o,c.pos,c.box)}},e.prototype._prepare=function(e,t,r){for(var n=e;n;n=n.parentNode){var i=Si(n.getModel().get("name"),""),o=r.getTextRect(i),a=Math.max(o.width+2*kI,t.emptyItemWidth);t.totalWidth+=a+SI,t.renderList.push({node:n,text:i,width:a})}},e.prototype._renderContent=function(e,t,r,n,i,o,a){for(var s=0,u=t.emptyItemWidth,c=e.get(["breadcrumb","height"]),d=Yc(t.pos,t.box),h=t.totalWidth,f=t.renderList,p=n.getModel("itemStyle").getItemStyle(),m=f.length-1;m>=0;m--){var g=f[m],v=g.node,y=g.width,b=g.text;h>d.width&&(h-=y-u,y=u,b=null);var _=new Om({shape:{points:TI(s,0,y,c,m===f.length-1,0===m)},style:Object(l["i"])(r.getItemStyle(),{lineJoin:"bevel"}),textContent:new Cs({style:nu(i,{text:b})}),textConfig:{position:"inside"},z2:1e4*Bs,onclick:Object(l["h"])(a,v)});_.disableLabelAnimation=!0,_.getTextContent().ensureState("emphasis").style=nu(o,{text:b}),_.ensureState("emphasis").style=p,Ll(_,n.get("focus"),n.get("blurScope"),n.get("disabled")),this.group.add(_),OI(_,e,v),s+=y+SI}},e.prototype.remove=function(){this.group.removeAll()},e}();function TI(e,t,r,n,i,o){var a=[[i?e:e-MI,t],[e+r,t],[e+r,t+n],[i?e:e-MI,t+n]];return!o&&a.splice(2,0,[e+r+MI,t+n/2]),!i&&a.push([e,t+n/2]),a}function OI(e,t,r){Ts(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&aI(r,t)}}var LI=CI,AI=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,r,n,i){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:r,delay:n,easing:i}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,r=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},n=0,i=this._storage.length;n<i;n++){var o=this._storage[n];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:r,aborted:r})}return this},e}();function DI(){return new AI}var EI=kn,II=ls,jI=3,PI="label",RI="upperLabel",NI=10*Bs,BI=2*Bs,YI=3*Bs,FI=io([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),zI=function(e){var t=FI(e);return t.stroke=t.fill=t.lineWidth=null,t},HI=Ei(),VI=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._state="ready",r._storage=UI(),r}return a(t,e),t.prototype.render=function(e,t,r,n){var i=t.findComponents({mainType:"series",subType:"treemap",query:n});if(!(Object(l["r"])(i,e)<0)){this.seriesModel=e,this.api=r,this.ecModel=t;var o=["treemapZoomToNode","treemapRootToNode"],a=nI(n,o,e),s=n&&n.type,u=e.layoutInfo,c=!this._oldTree,d=this._storage,h="treemapRootToNode"===s&&a&&d?{rootNodeGroup:d.nodeGroup[a.node.getRawIndex()],direction:n.direction}:null,f=this._giveContainerGroup(u),p=e.get("animation"),m=this._doRender(f,e,h);!p||c||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?m.renderFinally():this._doAnimation(f,m,e,h),this._resetController(r),this._renderBreadcrumb(e,r,a)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new EI,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,r){var n=t.getData().tree,i=this._oldTree,o=UI(),a=UI(),s=this._storage,u=[];function c(e,n,i,l){return WI(t,a,s,r,o,u,e,n,i,l)}h(n.root?[n.root]:[],i&&i.root?[i.root]:[],e,n===i||!i,0);var d=f(s);return this._oldTree=n,this._storage=a,{lastsForAnimation:o,willDeleteEls:d,renderFinally:p};function h(e,t,r,n,i){function o(e){return e.getId()}function a(o,a){var s=null!=o?e[o]:null,l=null!=a?t[a]:null,u=c(s,l,r,i);u&&h(s&&s.viewChildren||[],l&&l.viewChildren||[],u,n,i+1)}n?(t=e,Object(l["k"])(e,(function(e,t){!e.isRemoved()&&a(t,t)}))):new bk(t,e,o,o).add(a).update(a).remove(Object(l["h"])(a,null)).execute()}function f(e){var t=UI();return e&&Object(l["k"])(e,(function(e,r){var n=t[r];Object(l["k"])(e,(function(e){e&&(n.push(e),HI(e).willDelete=!0)}))})),t}function p(){Object(l["k"])(d,(function(e){Object(l["k"])(e,(function(e){e.parent&&e.parent.remove(e)}))})),Object(l["k"])(u,(function(e){e.invisible=!0,e.dirty()}))}},t.prototype._doAnimation=function(e,t,r,n){var i=r.get("animationDurationUpdate"),o=r.get("animationEasing"),a=(Object(l["w"])(i)?0:i)||0,s=(Object(l["w"])(o)?null:o)||"cubicOut",u=DI();Object(l["k"])(t.willDeleteEls,(function(e,t){Object(l["k"])(e,(function(e,r){if(!e.invisible){var i,o=e.parent,l=HI(o);if(n&&"drillDown"===n.direction)i=o===n.rootNodeGroup?{shape:{x:0,y:0,width:l.nodeWidth,height:l.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,d=0;l.willDelete||(c=l.nodeWidth/2,d=l.nodeHeight/2),i="nodeGroup"===t?{x:c,y:d,style:{opacity:0}}:{shape:{x:c,y:d,width:0,height:0},style:{opacity:0}}}i&&u.add(e,i,a,0,s)}}))})),Object(l["k"])(this._storage,(function(e,r){Object(l["k"])(e,(function(e,n){var i=t.lastsForAnimation[r][n],o={};i&&(e instanceof kn?null!=i.oldX&&(o.x=e.x,o.y=e.y,e.x=i.oldX,e.y=i.oldY):(i.oldShape&&(o.shape=Object(l["m"])({},e.shape),e.setShape(i.oldShape)),i.fadein?(e.setStyle("opacity",0),o.style={opacity:1}):1!==e.style.opacity&&(o.style={opacity:1})),u.add(e,o,a,0,s))}))}),this),this._state="animating",u.finished(Object(l["c"])((function(){this._state="ready",t.renderFinally()}),this)).start()},t.prototype._resetController=function(e){var t=this._controller;t||(t=this._controller=new fA(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",Object(l["c"])(this._onPan,this)),t.on("zoom",Object(l["c"])(this._onZoom,this)));var r=new Oe(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return r.contain(t,n)}))},t.prototype._clearController=function(){var e=this._controller;e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>jI||Math.abs(e.dy)>jI)){var t=this.seriesModel.getData().tree.root;if(!t)return;var r=t.getLayout();if(!r)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x+e.dx,y:r.y+e.dy,width:r.width,height:r.height}})}},t.prototype._onZoom=function(e){var t=e.originX,r=e.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var i=n.getLayout();if(!i)return;var o=new Oe(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo;t-=a.x,r-=a.y;var s=le();he(s,s,[-t,-r]),pe(s,s,[e.scale,e.scale]),he(s,s,[t,r]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",(function(e){if("ready"===t._state){var r=t.seriesModel.get("nodeClick",!0);if(r){var n=t.findTarget(e.offsetX,e.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)t._rootToNode(n);else if("zoomToNode"===r)t._zoomToNode(n);else if("link"===r){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Ic(a,s)}}}}}),this)},t.prototype._renderBreadcrumb=function(e,t,r){var n=this;r||(r=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),r||(r={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new LI(this.group))).render(e,t,r.node,(function(t){"animating"!==n._state&&(oI(e.getViewRoot(),t)?n._rootToNode({node:t}):n._zoomToNode({node:t}))}))},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=UI(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var r,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},(function(n){var i=this._storage.background[n.getRawIndex()];if(i){var o=i.transformCoordToLocal(e,t),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;r={node:n,offsetX:o[0],offsetY:o[1]}}}),this),r},t.type="treemap",t}(Gg);function UI(){return{nodeGroup:[],background:[],content:[]}}function WI(e,t,r,n,i,o,a,s,u,c){if(a){var d=a.getLayout(),h=e.getData(),f=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),d&&d.isInView){var p=d.width,m=d.height,g=d.borderWidth,v=d.invisible,y=a.getRawIndex(),b=s&&s.getRawIndex(),_=a.viewChildren,w=d.upperHeight,x=_&&_.length,k=f.getModel("itemStyle"),S=f.getModel(["emphasis","itemStyle"]),M=f.getModel(["blur","itemStyle"]),C=f.getModel(["select","itemStyle"]),T=k.get("borderRadius")||0,O=z("nodeGroup",EI);if(O){if(u.add(O),O.x=d.x||0,O.y=d.y||0,O.markRedraw(),HI(O).nodeWidth=p,HI(O).nodeHeight=m,d.isAboveViewRoot)return O;var L=z("background",II,c,BI);L&&R(O,L,x&&d.upperLabelHeight);var A=f.getModel("emphasis"),D=A.get("focus"),E=A.get("blurScope"),I=A.get("disabled"),j="ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():D;if(x)Pl(O)&&jl(O,!1),L&&(jl(L,!I),h.setItemGraphicEl(a.dataIndex,L),Al(L,j,E));else{var P=z("content",II,c,YI);P&&N(O,P),L.disableMorphing=!0,L&&Pl(L)&&jl(L,!1),jl(O,!I),h.setItemGraphicEl(a.dataIndex,O),Al(O,j,E)}return O}}}function R(t,r,n){var i=Ts(r);if(i.dataIndex=a.dataIndex,i.seriesIndex=e.seriesIndex,r.setShape({x:0,y:0,width:p,height:m,r:T}),v)B(r);else{r.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=zI(k);l.fill=s;var u=FI(S);u.fill=S.get("borderColor");var c=FI(M);c.fill=M.get("borderColor");var d=FI(C);if(d.fill=C.get("borderColor"),n){var h=p-2*g;Y(r,s,o.opacity,{x:g,y:0,width:h,height:w})}else r.removeTextContent();r.setStyle(l),r.ensureState("emphasis").style=u,r.ensureState("blur").style=c,r.ensureState("select").style=d,sl(r)}t.add(r)}function N(t,r){var n=Ts(r);n.dataIndex=a.dataIndex,n.seriesIndex=e.seriesIndex;var i=Math.max(p-2*g,0),o=Math.max(m-2*g,0);if(r.culling=!0,r.setShape({x:g,y:g,width:i,height:o,r:T}),v)B(r);else{r.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=zI(k);u.fill=l,u.decal=s.decal;var c=FI(S),d=FI(M),h=FI(C);Y(r,l,s.opacity,null),r.setStyle(u),r.ensureState("emphasis").style=c,r.ensureState("blur").style=d,r.ensureState("select").style=h,sl(r)}t.add(r)}function B(e){!e.invisible&&o.push(e)}function Y(t,r,n,i){var o=f.getModel(i?RI:PI),s=Si(f.get("name"),null),u=o.getShallow("show");tu(t,ru(f,i?RI:PI),{defaultText:u?s:null,inheritColor:r,defaultOpacity:n,labelFetcher:e,labelDataIndex:a.dataIndex});var c=t.getTextContent();if(c){var h=c.style,p=Object(l["M"])(h.padding||0);i&&(t.setTextConfig({layoutRect:i}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var e=Math.max((i?i.width:t.shape.width)-p[1]-p[3],0),r=Math.max((i?i.height:t.shape.height)-p[0]-p[2],0);h.width===e&&h.height===r||c.setStyle({width:e,height:r})},h.truncateMinChar=2,h.lineOverflow="truncate",F(h,i,d);var m=c.getState("emphasis");F(m?m.style:null,i,d)}}function F(t,r,n){var i=t?t.text:null;if(!r&&n.isLeafRoot&&null!=i){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+i:i}}function z(e,n,o,a){var s=null!=b&&r[e][b],l=i[e];return s?(r[e][b]=null,H(l,s)):v||(s=new n,s instanceof Bo&&(s.z2=$I(o,a)),V(l,s)),t[e][y]=s}function H(e,t){var r=e[y]={};t instanceof EI?(r.oldX=t.x,r.oldY=t.y):r.oldShape=Object(l["m"])({},t.shape)}function V(e,t){var r=e[y]={},o=a.parentNode,s=t instanceof kn;if(o&&(!n||"drillDown"===n.direction)){var l=0,u=0,c=i.background[o.getRawIndex()];!n&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(r.oldX=0,r.oldY=u):r.oldShape={x:l,y:u,width:0,height:0}}r.fadein=!s}}function $I(e,t){return e*NI+t}var GI=VI,qI=l["k"],XI=l["A"],KI=-1,ZI=function(){function e(t){var r=t.mappingMethod,n=t.type,i=this.option=l["d"](t);this.type=n,this.mappingMethod=r,this._normalizeData=uj[r];var o=e.visualHandlers[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[r],"piecewise"===r?(ej(i),JI(i)):"category"===r?i.categories?QI(i):ej(i,!0):(l["b"]("linear"!==r||i.dataExtent),ej(i))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return l["c"](this._normalizeData,this)},e.listVisualTypes=function(){return l["F"](e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,r){l["A"](e)?l["k"](e,t,r):t.call(r,e)},e.mapVisual=function(t,r,n){var i,o=l["t"](t)?[]:l["A"](t)?{}:(i=!0,null);return e.eachVisual(t,(function(e,t){var a=r.call(n,e,t);i?o=a:o[t]=a})),o},e.retrieveVisuals=function(t){var r,n={};return t&&qI(e.visualHandlers,(function(e,i){t.hasOwnProperty(i)&&(n[i]=t[i],r=!0)})),r?n:null},e.prepareVisualTypes=function(e){if(l["t"](e))e=e.slice();else{if(!XI(e))return[];var t=[];qI(e,(function(e,r){t.push(r)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,r){for(var n,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||l["C"](s)&&s===e+"")return o;r&&h(s,o)}}for(o=0,a=t.length;o<a;o++){var u=t[o],c=u.interval,d=u.close;if(c){if(c[0]===-1/0){if(cj(d[1],e,c[1]))return o}else if(c[1]===1/0){if(cj(d[0],c[0],e))return o}else if(cj(d[0],c[0],e)&&cj(d[1],e,c[1]))return o;r&&h(c[0],o),r&&h(c[1],o)}}if(r)return e===1/0?t.length-1:e===-1/0?0:n;function h(t,r){var o=Math.abs(t-e);o<i&&(i=o,n=r)}},e.visualHandlers={color:{applyVisual:nj("color"),getColorMapper:function(){var e=this.option;return l["c"]("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),ij.call(this,e)}:function(t,r,n){var i=!!n;return!r&&(t=this._normalizeData(t)),n=Bt["a"](t,e.parsedVisual,n),i?n:Bt["i"](n,"rgba")},this)},_normalizedToVisual:{linear:function(e){return Bt["i"](Bt["a"](e,this.option.parsedVisual),"rgba")},category:ij,piecewise:function(e,t){var r=sj.call(this,t);return null==r&&(r=Bt["i"](Bt["a"](e,this.option.parsedVisual),"rgba")),r},fixed:oj}},colorHue:tj((function(e,t){return Bt["g"](e,t)})),colorSaturation:tj((function(e,t){return Bt["g"](e,null,t)})),colorLightness:tj((function(e,t){return Bt["g"](e,null,null,t)})),colorAlpha:tj((function(e,t){return Bt["f"](e,t)})),decal:{applyVisual:nj("decal"),_normalizedToVisual:{linear:null,category:ij,piecewise:null,fixed:null}},opacity:{applyVisual:nj("opacity"),_normalizedToVisual:aj([0,1])},liftZ:{applyVisual:nj("liftZ"),_normalizedToVisual:{linear:oj,category:oj,piecewise:oj,fixed:oj}},symbol:{applyVisual:function(e,t,r){var n=this.mapValueToVisual(e);r("symbol",n)},_normalizedToVisual:{linear:rj,category:ij,piecewise:function(e,t){var r=sj.call(this,t);return null==r&&(r=rj.call(this,e)),r},fixed:oj}},symbolSize:{applyVisual:nj("symbolSize"),_normalizedToVisual:aj([0,1])}},e}();function JI(e){var t=e.pieceList;e.hasSpecialVisual=!1,l["k"](t,(function(t,r){t.originIndex=r,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function QI(e){var t=e.categories,r=e.categoryMap={},n=e.visual;if(qI(t,(function(e,t){r[e]=t})),!l["t"](n)){var i=[];l["A"](n)?qI(n,(function(e,t){var n=r[t];i[null!=n?n:KI]=e})):i[KI]=n,n=lj(e,i)}for(var o=t.length-1;o>=0;o--)null==n[o]&&(delete r[t[o]],t.pop())}function ej(e,t){var r=e.visual,n=[];l["A"](r)?qI(r,(function(e){n.push(e)})):null!=r&&n.push(r);var i={color:1,symbol:1};t||1!==n.length||i.hasOwnProperty(e.type)||(n[1]=n[0]),lj(e,n)}function tj(e){return{applyVisual:function(t,r,n){var i=this.mapValueToVisual(t);n("color",e(r("color"),i))},_normalizedToVisual:aj([0,1])}}function rj(e){var t=this.option.visual;return t[Math.round(Nn(e,[0,1],[0,t.length-1],!0))]||{}}function nj(e){return function(t,r,n){n(e,this.mapValueToVisual(t))}}function ij(e){var t=this.option.visual;return t[this.option.loop&&e!==KI?e%t.length:e]}function oj(){return this.option.visual[0]}function aj(e){return{linear:function(t){return Nn(t,e,this.option.visual,!0)},category:ij,piecewise:function(t,r){var n=sj.call(this,r);return null==n&&(n=Nn(t,e,this.option.visual,!0)),n},fixed:oj}}function sj(e){var t=this.option,r=t.pieceList;if(t.hasSpecialVisual){var n=ZI.findPieceIndex(e,r),i=r[n];if(i&&i.visual)return i.visual[this.type]}}function lj(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=l["H"](t,(function(e){var t=Bt["h"](e);return t||[0,0,0,1]}))),t}var uj={linear:function(e){return Nn(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,r=ZI.findPieceIndex(e,t,!0);if(null!=r)return Nn(r,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?KI:t},fixed:l["L"]};function cj(e,t,r){return e?t<=r:t<r}var dj=ZI,hj="itemStyle",fj=Ei(),pj={seriesType:"treemap",reset:function(e){var t=e.getData().tree,r=t.root;r.isRemoved()||mj(r,{},e.getViewRoot().getAncestors(),e)}};function mj(e,t,r,n){var i=e.getModel(),o=e.getLayout(),a=e.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,u=i.getModel(hj),c=gj(u,t,n),d=a.ensureUniqueItemVisual(e.dataIndex,"style"),h=u.get("borderColor"),f=u.get("borderColorSaturation");null!=f&&(s=vj(c),h=yj(f,s)),d.stroke=h;var p=e.viewChildren;if(p&&p.length){var m=_j(e,i,o,u,c,p);Object(l["k"])(p,(function(e,t){if(e.depth>=r.length||e===r[e.depth]){var o=xj(i,c,e,t,m,n);mj(e,o,r,n)}}))}else s=vj(c),d.fill=s}}function gj(e,t,r){var n=Object(l["m"])({},t),i=r.designatedVisualItemStyle;return Object(l["k"])(["color","colorAlpha","colorSaturation"],(function(r){i[r]=t[r];var o=e.get(r);i[r]=null,null!=o&&(n[r]=o)})),n}function vj(e){var t=bj(e,"color");if(t){var r=bj(e,"colorAlpha"),n=bj(e,"colorSaturation");return n&&(t=Object(Bt["g"])(t,null,null,n)),r&&(t=Object(Bt["f"])(t,r)),t}}function yj(e,t){return null!=t?Object(Bt["g"])(t,null,null,e):null}function bj(e,t){var r=e[t];if(null!=r&&"none"!==r)return r}function _j(e,t,r,n,i,o){if(o&&o.length){var a=wj(t,"color")||null!=i.color&&"none"!==i.color&&(wj(t,"colorAlpha")||wj(t,"colorSaturation"));if(a){var s=t.get("visualMin"),l=t.get("visualMax"),u=r.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=t.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};"color"!==d.type||"index"!==c&&"id"!==c?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var h=new dj(d);return fj(h).drColorMappingBy=c,h}}}function wj(e,t){var r=e.get(t);return Object(l["t"])(r)&&r.length?{name:t,range:r}:null}function xj(e,t,r,n,i,o){var a=Object(l["m"])({},t);if(i){var s=i.type,u="color"===s&&fj(i).drColorMappingBy,c="index"===u?n:"id"===u?o.mapIdToIndex(r.getId()):r.getValue(e.get("visualDimension"));a[s]=i.mapValueToVisual(c)}return a}var kj=Math.max,Sj=Math.min,Mj=l["O"],Cj=l["k"],Tj=["itemStyle","borderWidth"],Oj=["itemStyle","gapWidth"],Lj=["upperLabel","show"],Aj=["upperLabel","height"],Dj={seriesType:"treemap",reset:function(e,t,r,n){var i=r.getWidth(),o=r.getHeight(),a=e.option,s=Fc(e.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),u=a.size||[],c=Bn(Mj(s.width,u[0]),i),d=Bn(Mj(s.height,u[1]),o),h=n&&n.type,f=["treemapZoomToNode","treemapRootToNode"],p=nI(n,f,e),m="treemapRender"===h||"treemapMove"===h?n.rootRect:null,g=e.getViewRoot(),v=iI(g);if("treemapMove"!==h){var y="treemapZoomToNode"===h?Yj(e,p,g,c,d):m?[m.width,m.height]:[c,d],b=a.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var _={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};g.hostTree.clearLayouts();var w={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};g.setLayout(w),Ej(g,_,!1,0),w=g.getLayout(),Cj(v,(function(e,t){var r=(v[t+1]||g).getValue();e.setLayout(l["m"]({dataExtent:[r,r],borderWidth:0,upperHeight:0},w))}))}var x=e.getData().tree.root;x.setLayout(Fj(s,m,p),!0),e.setLayoutInfo(s),zj(x,new Oe(-s.x,-s.y,i,o),v,g,0)}};function Ej(e,t,r,n){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var s=e.getModel(),l=s.get(Tj),u=s.get(Oj)/2,c=Hj(s),d=Math.max(l,c),h=l-u,f=d-u;e.setLayout({borderWidth:l,upperHeight:d,upperLabelHeight:c},!0),i=kj(i-2*h,0),o=kj(o-h-f,0);var p=i*o,m=Ij(e,s,p,t,r,n);if(m.length){var g={x:h,y:f,width:i,height:o},v=Sj(i,o),y=1/0,b=[];b.area=0;for(var _=0,w=m.length;_<w;){var x=m[_];b.push(x),b.area+=x.getLayout().area;var k=Nj(b,v,t.squareRatio);k<=y?(_++,y=k):(b.area-=b.pop().getLayout().area,Bj(b,v,g,u,!1),v=Sj(g.width,g.height),b.length=b.area=0,y=1/0)}if(b.length&&Bj(b,v,g,u,!0),!r){var S=s.get("childrenVisibleMin");null!=S&&p<S&&(r=!0)}for(_=0,w=m.length;_<w;_++)Ej(m[_],t,r,n+1)}}}function Ij(e,t,r,n,i,o){var a=e.children||[],s=n.sort;"asc"!==s&&"desc"!==s&&(s=null);var u=null!=n.leafDepth&&n.leafDepth<=o;if(i&&!u)return e.viewChildren=[];a=l["n"](a,(function(e){return!e.isRemoved()})),Pj(a,s);var c=Rj(t,a,s);if(0===c.sum)return e.viewChildren=[];if(c.sum=jj(t,r,c.sum,s,a),0===c.sum)return e.viewChildren=[];for(var d=0,h=a.length;d<h;d++){var f=a[d].getValue()/c.sum*r;a[d].setLayout({area:f})}return u&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0),e.viewChildren=a,e.setLayout({dataExtent:c.dataExtent},!0),a}function jj(e,t,r,n,i){if(!n)return r;for(var o=e.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===n?a-l-1:l].getValue();u/r*t<o&&(s=l,r-=u)}return"asc"===n?i.splice(0,a-s):i.splice(s,a-s),r}function Pj(e,t){return t&&e.sort((function(e,r){var n="asc"===t?e.getValue()-r.getValue():r.getValue()-e.getValue();return 0===n?"asc"===t?e.dataIndex-r.dataIndex:r.dataIndex-e.dataIndex:n})),e}function Rj(e,t,r){for(var n=0,i=0,o=t.length;i<o;i++)n+=t[i].getValue();var a,s=e.get("visualDimension");return t&&t.length?"value"===s&&r?(a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===r&&a.reverse()):(a=[1/0,-1/0],Cj(t,(function(e){var t=e.getValue(s);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)}))):a=[NaN,NaN],{sum:n,dataExtent:a}}function Nj(e,t,r){for(var n=0,i=1/0,o=0,a=void 0,s=e.length;o<s;o++)a=e[o].getLayout().area,a&&(a<i&&(i=a),a>n&&(n=a));var l=e.area*e.area,u=t*t*r;return l?kj(u*n/l,l/(u*i)):1/0}function Bj(e,t,r,n,i){var o=t===r.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=r[s[o]],c=t?e.area/t:0;(i||c>r[l[a]])&&(c=r[l[a]]);for(var d=0,h=e.length;d<h;d++){var f=e[d],p={},m=c?f.getLayout().area/c:0,g=p[l[a]]=kj(c-2*n,0),v=r[s[o]]+r[l[o]]-u,y=d===h-1||v<m?v:m,b=p[l[o]]=kj(y-2*n,0);p[s[a]]=r[s[a]]+Sj(n,g/2),p[s[o]]=u+Sj(n,b/2),u+=y,f.setLayout(p,!0)}r[s[a]]+=c,r[l[a]]-=c}function Yj(e,t,r,n,i){var o,a=(t||{}).node,s=[n,i];if(!a||a===r)return s;var l=n*i,u=l*e.option.zoomToNodeRatio;while(o=a.parentNode){for(var c=0,d=o.children,h=0,f=d.length;h<f;h++)c+=d[h].getValue();var p=a.getValue();if(0===p)return s;u*=c/p;var m=o.getModel(),g=m.get(Tj),v=Math.max(g,Hj(m));u+=4*g*g+(3*g+v)*Math.pow(u,.5),u>$n&&(u=$n),a=o}u<l&&(u=l);var y=Math.pow(u/l,.5);return[n*y,i*y]}function Fj(e,t,r){if(t)return{x:t.x,y:t.y};var n={x:0,y:0};if(!r)return n;var i=r.node,o=i.getLayout();if(!o)return n;var a=[o.width/2,o.height/2],s=i;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function zj(e,t,r,n,i){var o=e.getLayout(),a=r[i],s=a&&a===e;if(!(a&&!s||i===r.length&&e!==n)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(o),isAboveViewRoot:s},!0);var l=new Oe(t.x-o.x,t.y-o.y,t.width,t.height);Cj(e.viewChildren||[],(function(e){zj(e,l,r,n,i+1)}))}}function Hj(e){return e.get(Lj)?e.get(Aj):0}function Vj(e){e.registerSeriesModel(xI),e.registerChartView(GI),e.registerVisual(pj),e.registerLayout(Dj),vI(e)}function Uj(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var r=e.getCategoriesData(),n=e.getGraph(),i=n.data,o=r.mapArray(r.getName);i.filterSelf((function(e){var r=i.getItemModel(e),n=r.getShallow("category");if(null!=n){Object(l["z"])(n)&&(n=o[n]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(n))return!1}return!0}))}))}function Wj(e){var t={};e.eachSeriesByType("graph",(function(e){var r=e.getCategoriesData(),n=e.getData(),i={};r.each((function(n){var o=r.getName(n);i["ec-"+o]=n;var a=r.getItemModel(n),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(o,t)),r.setItemVisual(n,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&r.setItemVisual(n,l[u],c)}})),r.count()&&n.each((function(e){var t=n.getItemModel(e),o=t.getShallow("category");if(null!=o){Object(l["C"])(o)&&(o=i["ec-"+o]);var a=r.getItemVisual(o,"style"),s=n.ensureUniqueItemVisual(e,"style");Object(l["m"])(s,a);for(var u=["symbol","symbolSize","symbolKeepAspect"],c=0;c<u.length;c++)n.setItemVisual(e,u[c],r.getItemVisual(o,u[c]))}}))}))}function $j(e){return e instanceof Array||(e=[e,e]),e}function Gj(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),r=e.getEdgeData(),n=$j(e.get("edgeSymbol")),i=$j(e.get("edgeSymbolSize"));r.setVisual("fromSymbol",n&&n[0]),r.setVisual("toSymbol",n&&n[1]),r.setVisual("fromSymbolSize",i&&i[0]),r.setVisual("toSymbolSize",i&&i[1]),r.setVisual("style",e.getModel("lineStyle").getLineStyle()),r.each((function(e){var n=r.getItemModel(e),i=t.getEdgeByIndex(e),o=$j(n.getShallow("symbol",!0)),a=$j(n.getShallow("symbolSize",!0)),s=n.getModel("lineStyle").getLineStyle(),u=r.ensureUniqueItemVisual(e,"style");switch(Object(l["m"])(u,s),u.stroke){case"source":var c=i.node1.getVisual("style");u.stroke=c&&c.fill;break;case"target":c=i.node2.getVisual("style");u.stroke=c&&c.fill;break}o[0]&&i.setVisual("fromSymbol",o[0]),o[1]&&i.setVisual("toSymbol",o[1]),a[0]&&i.setVisual("fromSymbolSize",a[0]),a[1]&&i.setVisual("toSymbolSize",a[1])}))}))}var qj="--\x3e",Xj=function(e){return e.get("autoCurveness")||null},Kj=function(e,t){var r=Xj(e),n=20,i=[];if(l["z"](r))n=r;else if(l["t"](r))return void(e.__curvenessList=r);t>n&&(n=t);var o=n%2?n+2:n+3;i=[];for(var a=0;a<o;a++)i.push((a%2?a+1:a)/10*(a%2?-1:1));e.__curvenessList=i},Zj=function(e,t,r){var n=[e.id,e.dataIndex].join("."),i=[t.id,t.dataIndex].join(".");return[r.uid,n,i].join(qj)},Jj=function(e){var t=e.split(qj);return[t[0],t[2],t[1]].join(qj)},Qj=function(e,t){var r=Zj(e.node1,e.node2,t);return t.__edgeMap[r]},eP=function(e,t){var r=tP(Zj(e.node1,e.node2,t),t),n=tP(Zj(e.node2,e.node1,t),t);return r+n},tP=function(e,t){var r=t.__edgeMap;return r[e]?r[e].length:0};function rP(e){Xj(e)&&(e.__curvenessList=[],e.__edgeMap={},Kj(e))}function nP(e,t,r,n){if(Xj(r)){var i=Zj(e,t,r),o=r.__edgeMap,a=o[Jj(i)];o[i]&&!a?o[i].isForward=!0:a&&o[i]&&(a.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(n)}}function iP(e,t,r,n){var i=Xj(t),o=l["t"](i);if(!i)return null;var a=Qj(e,t);if(!a)return null;for(var s=-1,u=0;u<a.length;u++)if(a[u]===r){s=u;break}var c=eP(e,t);Kj(t,c),e.lineStyle=e.lineStyle||{};var d=Zj(e.node1,e.node2,t),h=t.__curvenessList,f=o||c%2?0:1;if(a.isForward)return h[f+s];var p=Jj(d),m=tP(p,t),g=h[s+m+f];return n?o?i&&0===i[0]?(m+f)%2?g:-g:((m%2?0:1)+f)%2?g:-g:(m+f)%2?g:-g:h[s+m+f]}function oP(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var r=e.getGraph();r.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),aP(r,e)}}function aP(e,t){e.eachEdge((function(e,r){var n=l["Q"](e.getModel().get(["lineStyle","curveness"]),-iP(e,t,r,!0),0),i=d(e.node1.getLayout()),o=d(e.node2.getLayout()),a=[i,o];+n&&a.push([(i[0]+o[0])/2-(i[1]-o[1])*n,(i[1]+o[1])/2-(o[0]-i[0])*n]),e.setLayout(a)}))}function sP(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),r=e.coordinateSystem;if(r&&"view"!==r.type){var n=e.getData(),i=[];Object(l["k"])(r.dimensions,(function(e){i=i.concat(n.mapDimensionsAll(e))}));for(var o=0;o<n.count();o++){for(var a=[],s=!1,u=0;u<i.length;u++){var c=n.get(i[u],o);isNaN(c)||(s=!0),a.push(c)}s?n.setItemLayout(o,r.dataToPoint(a)):n.setItemLayout(o,[NaN,NaN])}aP(n.graph,e)}else t&&"none"!==t||oP(e)}))}function lP(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var r=e.option.nodeScaleRatio,n=t.scaleX,i=t.getZoom(),o=(i-1)*r+1;return o/n}function uP(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var cP=Math.PI,dP=[];function hP(e,t,r,n){var i=e.coordinateSystem;if(!i||"view"===i.type){var o=i.getBoundingRect(),a=e.getData(),s=a.graph,u=o.width/2+o.x,c=o.height/2+o.y,h=Math.min(o.width,o.height)/2,f=a.count();if(a.setLayout({cx:u,cy:c}),f){if(r){var p=i.pointToData(n),m=p[0],g=p[1],v=[m-u,g-c];b(v,v),y(v,v,h),r.setLayout([u+v[0],c+v[1]],!0);var _=e.get(["circular","rotateLabel"]);pP(r,_,u,c)}fP[t](e,s,a,h,u,c,f),s.eachEdge((function(t,r){var n,i=l["Q"](t.getModel().get(["lineStyle","curveness"]),iP(t,e,r),0),o=d(t.node1.getLayout()),a=d(t.node2.getLayout()),s=(o[0]+a[0])/2,h=(o[1]+a[1])/2;+i&&(i*=3,n=[u*i+s*(1-i),c*i+h*(1-i)]),t.setLayout([o,a,n])}))}}}var fP={value:function(e,t,r,n,i,o,a){var s=0,l=r.getSum("value"),u=2*Math.PI/(l||a);t.eachNode((function(e){var t=e.getValue("value"),r=u*(l?t:1)/2;s+=r,e.setLayout([n*Math.cos(s)+i,n*Math.sin(s)+o]),s+=r}))},symbolSize:function(e,t,r,n,i,o,a){var s=0;dP.length=a;var l=lP(e);t.eachNode((function(e){var t=uP(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=l;var r=Math.asin(t/2/n);isNaN(r)&&(r=cP/2),dP[e.dataIndex]=r,s+=2*r}));var u=(2*cP-s)/a/2,c=0;t.eachNode((function(e){var t=u+dP[e.dataIndex];c+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([n*Math.cos(c)+i,n*Math.sin(c)+o]),c+=t}))}};function pP(e,t,r,n){var i=e.getGraphicEl();if(i){var o=e.getModel(),a=o.get(["label","rotate"])||0,s=i.getSymbolPath();if(t){var u=e.getLayout(),c=Math.atan2(u[1]-n,u[0]-r);c<0&&(c=2*Math.PI+c);var d=u[0]<r;d&&(c-=Math.PI);var h=d?"left":"right";s.setTextConfig({rotation:-c,position:h,origin:"center"});var f=s.ensureState("emphasis");l["m"](f.textConfig||(f.textConfig={}),{position:h})}else s.setTextConfig({rotation:a*=Math.PI/180})}}function mP(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&hP(e,"symbolSize")}))}var gP=p;function vP(e,t,r){for(var n=e,i=t,o=r.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],f=null==r.gravity?.1:r.gravity,p=0;p<n.length;p++){var v=n[p];v.p||(v.p=u(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),v.pp=d(v.p),v.edges=null}var y,_,w=null==r.friction?.6:r.friction,x=w;return{warmUp:function(){x=.8*w},setFixed:function(e){n[e].fixed=!0},setUnfixed:function(e){n[e].fixed=!1},beforeStep:function(e){y=e},afterStep:function(e){_=e},step:function(e){y&&y(n,i);for(var t=[],r=n.length,o=0;o<i.length;o++){var a=i[o];if(!a.ignoreForceLayout){var s=a.n1,u=a.n2;m(t,u.p,s.p);var d=g(t)-a.d,p=u.w/(s.w+u.w);isNaN(p)&&(p=0),b(t,t),!s.fixed&&gP(s.p,s.p,t,p*d*x),!u.fixed&&gP(u.p,u.p,t,-(1-p)*d*x)}}for(o=0;o<r;o++){var v=n[o];v.fixed||(m(t,l,v.p),gP(v.p,v.p,t,f*x))}for(o=0;o<r;o++){s=n[o];for(var w=o+1;w<r;w++){u=n[w];m(t,u.p,s.p);d=g(t);0===d&&(h(t,Math.random()-.5,Math.random()-.5),d=1);var k=(s.rep+u.rep)/d/d;!s.fixed&&gP(s.pp,s.pp,t,k),!u.fixed&&gP(u.pp,u.pp,t,-k)}}var S=[];for(o=0;o<r;o++){v=n[o];v.fixed||(m(S,v.p,v.pp),gP(v.p,v.p,S,x),c(v.pp,v.p))}x*=.992;var M=x<.01;_&&_(n,i,M),e&&e(M)}}}function yP(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var r=e.preservedPoints||{},n=e.getGraph(),i=n.data,o=n.edgeData,a=e.getModel("force"),s=a.get("initLayout");e.preservedPoints?i.each((function(e){var t=i.getId(e);i.setItemLayout(e,r[t]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&hP(e,"value"):oP(e);var u=i.getDataExtent("value"),d=o.getDataExtent("value"),h=a.get("repulsion"),f=a.get("edgeLength"),p=l["t"](h)?h:[h,h],m=l["t"](f)?f:[f,f];m=[m[1],m[0]];var g=i.mapArray("value",(function(e,t){var r=i.getItemLayout(t),n=Nn(e,u,p);return isNaN(n)&&(n=(p[0]+p[1])/2),{w:n,rep:n,fixed:i.getItemModel(t).get("fixed"),p:!r||isNaN(r[0])||isNaN(r[1])?null:r}})),v=o.mapArray("value",(function(t,r){var i=n.getEdgeByIndex(r),o=Nn(t,d,m);isNaN(o)&&(o=(m[0]+m[1])/2);var a=i.getModel(),s=l["Q"](i.getModel().get(["lineStyle","curveness"]),-iP(i,e,r,!0),0);return{n1:g[i.node1.dataIndex],n2:g[i.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),y=t.getBoundingRect(),b=vP(g,v,{rect:y,gravity:a.get("gravity"),friction:a.get("friction")});b.beforeStep((function(e,t){for(var r=0,i=e.length;r<i;r++)e[r].fixed&&c(e[r].p,n.getNodeByIndex(r).getLayout())})),b.afterStep((function(e,t,o){for(var a=0,s=e.length;a<s;a++)e[a].fixed||n.getNodeByIndex(a).setLayout(e[a].p),r[i.getId(a)]=e[a].p;for(a=0,s=t.length;a<s;a++){var l=t[a],u=n.getEdgeByIndex(a),d=l.n1.p,h=l.n2.p,f=u.getLayout();f=f?f.slice():[],f[0]=f[0]||[],f[1]=f[1]||[],c(f[0],d),c(f[1],h),+l.curveness&&(f[2]=[(d[0]+h[0])/2-(d[1]-h[1])*l.curveness,(d[1]+h[1])/2-(h[0]-d[0])*l.curveness]),u.setLayout(f)}})),e.forceLayout=b,e.preservedPoints=r,b.step()}else e.forceLayout=null}))}function bP(e,t,r){var n=Object(l["m"])(e.getBoxLayoutParams(),{aspect:r});return Fc(n,{width:t.getWidth(),height:t.getHeight()})}function _P(e,t){var r=[];return e.eachSeriesByType("graph",(function(e){var n=e.get("coordinateSystem");if(!n||"view"===n){var i=e.getData(),o=i.mapArray((function(e){var t=i.getItemModel(e);return[+t.get("x"),+t.get("y")]})),a=[],s=[];Go(o,a,s),s[0]-a[0]===0&&(s[0]+=1,a[0]-=1),s[1]-a[1]===0&&(s[1]+=1,a[1]-=1);var l=(s[0]-a[0])/(s[1]-a[1]),u=bP(e,t,l);isNaN(l)&&(a=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var c=s[0]-a[0],d=s[1]-a[1],h=u.width,f=u.height,p=e.coordinateSystem=new JD;p.zoomLimit=e.get("scaleLimit"),p.setBoundingRect(a[0],a[1],c,d),p.setViewRect(u.x,u.y,h,f),p.setCenter(e.get("center"),t),p.setZoom(e.get("zoom")),r.push(p)}})),r}var wP=Pm.prototype,xP=Fm.prototype,kP=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}();(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}a(t,e)})(kP);function SP(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var MP=function(e){function t(t){var r=e.call(this,t)||this;return r.type="ec-line",r}return a(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new kP},t.prototype.buildPath=function(e,t){SP(t)?wP.buildPath.call(this,e,t):xP.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return SP(this.shape)?wP.pointAt.call(this,e):xP.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,r=SP(t)?[t.x2-t.x1,t.y2-t.y1]:xP.tangentAt.call(this,e);return b(r,r)},t}(Wa),CP=MP,TP=["fromSymbol","toSymbol"];function OP(e){return"_"+e+"Type"}function LP(e,t,r){var n=t.getItemVisual(r,e);if(!n||"none"===n)return n;var i=t.getItemVisual(r,e+"Size"),o=t.getItemVisual(r,e+"Rotate"),a=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),l=sy(i),u=ly(a||0,l);return n+l+u+(o||"")+(s||"")}function AP(e,t,r){var n=t.getItemVisual(r,e);if(n&&"none"!==n){var i=t.getItemVisual(r,e+"Size"),o=t.getItemVisual(r,e+"Rotate"),a=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),l=sy(i),u=ly(a||0,l),c=ay(n,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=e,c}}function DP(e){var t=new CP({name:"line",subPixelOptimize:!0});return EP(t.shape,e),t}function EP(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var r=t[2];r?(e.cpx1=r[0],e.cpy1=r[1]):(e.cpx1=NaN,e.cpy1=NaN)}var IP=function(e){function t(t,r,n){var i=e.call(this)||this;return i._createLine(t,r,n),i}return a(t,e),t.prototype._createLine=function(e,t,r){var n=e.hostModel,i=e.getItemLayout(t),o=DP(i);o.shape.percent=0,Wl(o,{shape:{percent:1}},n,t),this.add(o),Object(l["k"])(TP,(function(r){var n=AP(r,e,t);this.add(n),this[OP(r)]=LP(r,e,t)}),this),this._updateCommonStl(e,t,r)},t.prototype.updateData=function(e,t,r){var n=e.hostModel,i=this.childOfName("line"),o=e.getItemLayout(t),a={shape:{}};EP(a.shape,o),Ul(i,a,n,t),Object(l["k"])(TP,(function(r){var n=LP(r,e,t),i=OP(r);if(this[i]!==n){this.remove(this.childOfName(r));var o=AP(r,e,t);this.add(o)}this[i]=n}),this),this._updateCommonStl(e,t,r)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,r){var n=e.hostModel,i=this.childOfName("line"),o=r&&r.emphasisLineStyle,a=r&&r.blurLineStyle,s=r&&r.selectLineStyle,u=r&&r.labelStatesModels,c=r&&r.emphasisDisabled,d=r&&r.focus,h=r&&r.blurScope;if(!r||e.hasItemOption){var f=e.getItemModel(t),p=f.getModel("emphasis");o=p.getModel("lineStyle").getLineStyle(),a=f.getModel(["blur","lineStyle"]).getLineStyle(),s=f.getModel(["select","lineStyle"]).getLineStyle(),c=p.get("disabled"),d=p.get("focus"),h=p.get("blurScope"),u=ru(f)}var m=e.getItemVisual(t,"style"),g=m.stroke;i.useStyle(m),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,i.ensureState("blur").style=a,i.ensureState("select").style=s,Object(l["k"])(TP,(function(e){var t=this.childOfName(e);if(t){t.setColor(g),t.style.opacity=m.opacity;for(var r=0;r<Rs.length;r++){var n=Rs[r],o=i.getState(n);if(o){var a=o.style||{},s=t.ensureState(n),l=s.style||(s.style={});null!=a.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}t.markRedraw()}}),this);var v=n.getRawValue(t);tu(this,u,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,r){return n.getFormattedLabel(t,r,e.dataType)}},inheritColor:g||"#000",defaultOpacity:m.opacity,defaultText:(null==v?e.getName(t):isFinite(v)?Yn(v):v)+""});var y=this.getTextContent();if(y){var b=u.normal;y.__align=y.style.align,y.__verticalAlign=y.style.verticalAlign,y.__position=b.get("position")||"middle";var _=b.get("distance");Object(l["t"])(_)||(_=[_,_]),y.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),Ll(this,d,h,c)},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){dl(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");EP(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this,t=e.childOfName("fromSymbol"),r=e.childOfName("toSymbol"),n=e.getTextContent();if(t||r||n&&!n.ignore){var i=1,o=this.parent;while(o)o.scaleX&&(i/=o.scaleX),o=o.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=m([],u,l);if(b(c,c),t&&(t.setPosition(l),M(t,0),t.scaleX=t.scaleY=i*s,t.markRedraw()),r&&(r.setPosition(u),M(r,1),r.scaleX=r.scaleY=i*s,r.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var d=void 0,h=void 0,f=n.__labelDistance,p=f[0]*i,g=f[1]*i,v=s/2,y=a.tangentAt(v),_=[y[1],-y[0]],w=a.pointAt(v);_[1]>0&&(_[0]=-_[0],_[1]=-_[1]);var x=y[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var k=-Math.atan2(y[1],y[0]);u[0]<l[0]&&(k=Math.PI+k),n.rotation=k}var S=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":S=-g,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":S=g,h="top";break;default:S=0,h="middle"}switch(n.__position){case"end":n.x=c[0]*p+u[0],n.y=c[1]*g+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":n.x=-c[0]*p+l[0],n.y=-c[1]*g+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":n.x=p*x+l[0],n.y=l[1]+S,d=y[0]<0?"right":"left",n.originX=-p*x,n.originY=-S;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=w[0],n.y=w[1]+S,d="center",n.originY=-S;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-p*x+u[0],n.y=u[1]+S,d=y[0]>=0?"right":"left",n.originX=p*x,n.originY=-S;break}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||h,align:n.__align||d})}}}function M(e,t){var r=e.__specifiedRotation;if(null==r){var n=a.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(n[1],n[0]))}else e.attr("rotation",r)}},t}(kn),jP=IP,PP=function(){function e(e){this.group=new kn,this._LineCtor=e||jP}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var r=this,n=r.group,i=r._lineData;r._lineData=e,i||n.removeAll();var o=NP(e);e.diff(i).add((function(r){t._doAdd(e,r,o)})).update((function(r,n){t._doUpdate(i,e,n,r,o)})).remove((function(e){n.remove(i.getItemGraphicEl(e))})).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,r){t.updateLayout(e,r)}),this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=NP(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function r(e){e.isGroup||RP(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var n=e.start;n<e.end;n++){var i=t.getItemLayout(n);if(YP(i)){var o=new this._LineCtor(t,n,this._seriesScope);o.traverse(r),this.group.add(o),t.setItemGraphicEl(n,o),this._progressiveEls.push(o)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){Bg(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,r){var n=e.getItemLayout(t);if(YP(n)){var i=new this._LineCtor(e,t,r);e.setItemGraphicEl(t,i),this.group.add(i)}},e.prototype._doUpdate=function(e,t,r,n,i){var o=e.getItemGraphicEl(r);YP(t.getItemLayout(n))?(o?o.updateData(t,n,i):o=new this._LineCtor(t,n,i),t.setItemGraphicEl(n,o),this.group.add(o)):this.group.remove(o)},e}();function RP(e){return e.animators&&e.animators.length>0}function NP(e){var t=e.hostModel,r=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:r.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:r.get("disabled"),blurScope:r.get("blurScope"),focus:r.get("focus"),labelStatesModels:ru(t)}}function BP(e){return isNaN(e[0])||isNaN(e[1])}function YP(e){return e&&!BP(e[0])&&!BP(e[1])}var FP=PP,zP=[],HP=[],VP=[],UP=Tt,WP=k,$P=Math.abs;function GP(e,t,r){for(var n,i=e[0],o=e[1],a=e[2],s=1/0,l=r*r,u=.1,c=.1;c<=.9;c+=.1){zP[0]=UP(i[0],o[0],a[0],c),zP[1]=UP(i[1],o[1],a[1],c);var d=$P(WP(zP,t)-l);d<s&&(s=d,n=c)}for(var h=0;h<32;h++){var f=n+u;HP[0]=UP(i[0],o[0],a[0],n),HP[1]=UP(i[1],o[1],a[1],n),VP[0]=UP(i[0],o[0],a[0],f),VP[1]=UP(i[1],o[1],a[1],f);d=WP(HP,t)-l;if($P(d)<.01)break;var p=WP(VP,t)-l;u/=2,d<0?p>=0?n+=u:n-=u:p>=0?n-=u:n+=u}return n}function qP(e,t){var r=[],n=Dt,i=[[],[],[]],o=[[],[]],a=[];t/=2,e.eachEdge((function(e,s){var l=e.getLayout(),u=e.getVisual("fromSymbol"),h=e.getVisual("toSymbol");l.__original||(l.__original=[d(l[0]),d(l[1])],l[2]&&l.__original.push(d(l[2])));var f=l.__original;if(null!=l[2]){if(c(i[0],f[0]),c(i[1],f[2]),c(i[2],f[1]),u&&"none"!==u){var g=uP(e.node1),v=GP(i,f[0],g*t);n(i[0][0],i[1][0],i[2][0],v,r),i[0][0]=r[3],i[1][0]=r[4],n(i[0][1],i[1][1],i[2][1],v,r),i[0][1]=r[3],i[1][1]=r[4]}if(h&&"none"!==h){g=uP(e.node2),v=GP(i,f[1],g*t);n(i[0][0],i[1][0],i[2][0],v,r),i[1][0]=r[1],i[2][0]=r[2],n(i[0][1],i[1][1],i[2][1],v,r),i[1][1]=r[1],i[2][1]=r[2]}c(l[0],i[0]),c(l[1],i[2]),c(l[2],i[1])}else{if(c(o[0],f[0]),c(o[1],f[1]),m(a,o[1],o[0]),b(a,a),u&&"none"!==u){g=uP(e.node1);p(o[0],o[0],a,g*t)}if(h&&"none"!==h){g=uP(e.node2);p(o[1],o[1],a,-g*t)}c(l[0],o[0]),c(l[1],o[1])}}))}function XP(e){return"view"===e.type}var KP=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(e,t){var r=new MS,n=new FP,i=this.group;this._controller=new fA(t.getZr()),this._controllerHost={target:i},i.add(r.group),i.add(n.group),this._symbolDraw=r,this._lineDraw=n,this._firstRender=!0},t.prototype.render=function(e,t,r){var n=this,i=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(XP(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):Ul(s,l,e)}qP(e.getGraph(),lP(e));var u=e.getData();o.updateData(u);var c=e.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,r),clearTimeout(this._layoutTimeout);var d=e.forceLayout,h=e.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,h);var f=e.get("layout");u.graph.eachNode((function(t){var r=t.dataIndex,i=t.getGraphicEl(),o=t.getModel();if(i){i.off("drag").off("dragend");var a=o.get("draggable");a&&i.on("drag",(function(o){switch(f){case"force":d.warmUp(),!n._layouting&&n._startForceLayoutIteration(d,h),d.setFixed(r),u.setItemLayout(r,[i.x,i.y]);break;case"circular":u.setItemLayout(r,[i.x,i.y]),t.setLayout({fixed:!0},!0),hP(e,"symbolSize",t,[o.offsetX,o.offsetY]),n.updateLayout(e);break;case"none":default:u.setItemLayout(r,[i.x,i.y]),aP(e.getGraph(),e),n.updateLayout(e);break}})).on("dragend",(function(){d&&d.setUnfixed(r)})),i.setDraggable(a,!!o.get("cursor"));var s=o.get(["emphasis","focus"]);"adjacency"===s&&(Ts(i).focus=t.getAdjacentDataIndices())}})),u.graph.eachEdge((function(e){var t=e.getGraphicEl(),r=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===r&&(Ts(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})}));var p="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),m=u.getLayout("cx"),g=u.getLayout("cy");u.graph.eachNode((function(e){pP(e,p,m,g)})),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var r=this;(function n(){e.step((function(e){r.updateLayout(r._model),(r._layouting=!e)&&(t?r._layoutTimeout=setTimeout(n,16):n())}))})()},t.prototype._updateController=function(e,t,r){var n=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(t,n,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(n,i)&&!yA(t,r,e)})),XP(e.coordinateSystem)?(i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){pA(o,t.dx,t.dy),r.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){mA(o,t.scale,t.originX,t.originY),r.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),n._updateNodeAndLinkScale(),qP(e.getGraph(),lP(e)),n._lineDraw.updateLayout(),r.updateLabelLayout()}))):i.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),r=lP(e);t.eachItemGraphicEl((function(e,t){e&&e.setSymbolScale(r)}))},t.prototype.updateLayout=function(e){qP(e.getGraph(),lP(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(Gg),ZP=KP;function JP(e){return"_EC_"+e}var QP=function(){function e(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=null==e?""+t:""+e;var r=this._nodesMap;if(!r[JP(e)]){var n=new eR(e,t);return n.hostGraph=this,this.nodes.push(n),r[JP(e)]=n,n}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[JP(e)]},e.prototype.addEdge=function(e,t,r){var n=this._nodesMap,i=this._edgesMap;if(l["z"](e)&&(e=this.nodes[e]),l["z"](t)&&(t=this.nodes[t]),e instanceof eR||(e=n[JP(e)]),t instanceof eR||(t=n[JP(t)]),e&&t){var o=e.id+"-"+t.id,a=new tR(e,t,r);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),i[o]=a,a}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof eR&&(e=e.id),t instanceof eR&&(t=t.id);var r=this._edgesMap;return this._directed?r[e+"-"+t]:r[e+"-"+t]||r[t+"-"+e]},e.prototype.eachNode=function(e,t){for(var r=this.nodes,n=r.length,i=0;i<n;i++)r[i].dataIndex>=0&&e.call(t,r[i],i)},e.prototype.eachEdge=function(e,t){for(var r=this.edges,n=r.length,i=0;i<n;i++)r[i].dataIndex>=0&&r[i].node1.dataIndex>=0&&r[i].node2.dataIndex>=0&&e.call(t,r[i],i)},e.prototype.breadthFirstTraverse=function(e,t,r,n){if(t instanceof eR||(t=this._nodesMap[JP(t)]),t){for(var i="out"===r?"outEdges":"in"===r?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(n,t,null)){var a=[t];while(a.length){var s=a.shift(),l=s[i];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(e.call(n,c,s))return;a.push(c),c.__visited=!0}}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,r=this.nodes,n=this.edges,i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)r[e.getRawIndex(i)].dataIndex=i;t.filterSelf((function(e){var r=n[t.getRawIndex(e)];return r.node1.dataIndex>=0&&r.node2.dataIndex>=0}));for(i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)n[t.getRawIndex(i)].dataIndex=i},e.prototype.clone=function(){for(var t=new e(this._directed),r=this.nodes,n=this.edges,i=0;i<r.length;i++)t.addNode(r[i].id,r[i].dataIndex);for(i=0;i<n.length;i++){var o=n[i];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},e}(),eR=function(){function e(e,t){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==e?"":e,this.dataIndex=null==t?-1:t}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,r=t.data.getItemModel(this.dataIndex);return r.getModel(e)}},e.prototype.getAdjacentDataIndices=function(){for(var e={edge:[],node:[]},t=0;t<this.edges.length;t++){var r=this.edges[t];r.dataIndex<0||(e.edge.push(r.dataIndex),e.node.push(r.node1.dataIndex,r.node2.dataIndex))}return e},e.prototype.getTrajectoryDataIndices=function(){for(var e=l["f"](),t=l["f"](),r=0;r<this.edges.length;r++){var n=this.edges[r];if(!(n.dataIndex<0)){e.set(n.dataIndex,!0);var i=[n.node1],o=[n.node2],a=0;while(a<i.length){var s=i[a];a++,t.set(s.dataIndex,!0);for(var u=0;u<s.inEdges.length;u++)e.set(s.inEdges[u].dataIndex,!0),i.push(s.inEdges[u].node1)}a=0;while(a<o.length){var c=o[a];a++,t.set(c.dataIndex,!0);for(u=0;u<c.outEdges.length;u++)e.set(c.outEdges[u].dataIndex,!0),o.push(c.outEdges[u].node2)}}}return{edge:e.keys(),node:t.keys()}},e}(),tR=function(){function e(e,t,r){this.dataIndex=-1,this.node1=e,this.node2=t,this.dataIndex=null==r?-1:r}return e.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,r=t.edgeData.getItemModel(this.dataIndex);return r.getModel(e)}},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var e=l["f"](),t=l["f"]();e.set(this.dataIndex,!0);var r=[this.node1],n=[this.node2],i=0;while(i<r.length){var o=r[i];i++,t.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)e.set(o.inEdges[a].dataIndex,!0),r.push(o.inEdges[a].node1)}i=0;while(i<n.length){var s=n[i];i++,t.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)e.set(s.outEdges[a].dataIndex,!0),n.push(s.outEdges[a].node2)}return{edge:e.keys(),node:t.keys()}},e}();function rR(e,t){return{getValue:function(r){var n=this[e][t];return n.getStore().get(n.getDimensionIndex(r||"value"),this.dataIndex)},setVisual:function(r,n){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,r,n)},getVisual:function(r){return this[e][t].getItemVisual(this.dataIndex,r)},setLayout:function(r,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,r,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}l["K"](eR,rR("hostGraph","data")),l["K"](tR,rR("hostGraph","edgeData"));var nR=QP;function iR(e,t,r,n,i){for(var o=new nR(n),a=0;a<e.length;a++)o.addNode(l["O"](e[a].id,e[a].name,a),a);var s=[],u=[],c=0;for(a=0;a<t.length;a++){var d=t[a],h=d.source,f=d.target;o.addEdge(h,f,c)&&(u.push(d),s.push(l["O"](Si(d.id,null),h+" > "+f)),c++)}var p,m=r.get("coordinateSystem");if("cartesian2d"===m||"polar"===m)p=fS(e,r);else{var g=Gd.get(m),v=g&&g.dimensions||[];l["r"](v,"value")<0&&v.concat(["value"]);var y=Kk(e,{coordDimensions:v,encodeDefine:r.getEncode()}).dimensions;p=new Xk(y,r),p.initData(e)}var b=new Xk(["value"],r);return b.initData(u,s),i&&i(p,b),JE({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var oR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var r=this;function n(){return r._categoriesData}this.legendVisualProvider=new DC(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(t){e.prototype.mergeDefaultAndTheme.apply(this,arguments),di(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var r=e.edges||e.links||[],n=e.data||e.nodes||[],i=this;if(n&&r){rP(this);var o=iR(n,r,this,!0,a);return l["k"](o.edges,(function(e){nP(e.node1,e.node2,this,e.dataIndex)}),this),o.data}function a(e,t){e.wrapMethod("getItemModel",(function(e){var t=i._categoriesModels,r=e.getShallow("category"),n=t[r];return n&&(n.parentModel=e.parentModel,e.parentModel=n),e}));var r=Tu.prototype.getModel;function n(e,t){var n=r.call(this,e,t);return n.resolveParentPath=o,n}function o(e){if(e&&("label"===e[0]||"label"===e[1])){var t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}t.wrapMethod("getItemModel",(function(e){return e.resolveParentPath=o,e.getModel=n,e}))}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,t,r){if("edge"===r){var n=this.getData(),i=this.getDataParams(e,r),o=n.graph.getEdgeByIndex(e),a=n.getName(o.node1.dataIndex),s=n.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),qf("nameValue",{name:l.join(" > "),value:i.value,noValue:null==i.value})}var u=cp({series:this,dataIndex:e,multipleSeries:t});return u},t.prototype._updateCategoriesData=function(){var e=l["H"](this.option.categories||[],(function(e){return null!=e.value?e:l["m"]({value:0},e)})),t=new Xk(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e)}))},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.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"}}},t}(Sp),aR=oR,sR={type:"graphRoam",event:"graphRoam",update:"none"};function lR(e){e.registerChartView(ZP),e.registerSeriesModel(aR),e.registerProcessor(Uj),e.registerVisual(Wj),e.registerVisual(Gj),e.registerLayout(sP),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,mP),e.registerLayout(yP),e.registerCoordinateSystem("graphView",{dimensions:JD.dimensions,create:_P}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},l["L"]),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},l["L"]),e.registerAction(sR,(function(e,t,r){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,i=hE(n,e,void 0,r);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))}var uR=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),cR=function(e){function t(t){var r=e.call(this,t)||this;return r.type="pointer",r}return a(t,e),t.prototype.getDefaultShape=function(){return new uR},t.prototype.buildPath=function(e,t){var r=Math.cos,n=Math.sin,i=t.r,o=t.width,a=t.angle,s=t.x-r(a)*o*(o>=i/3?1:2),l=t.y-n(a)*o*(o>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+r(a)*o,t.y+n(a)*o),e.lineTo(t.x+r(t.angle)*i,t.y+n(t.angle)*i),e.lineTo(t.x-r(a)*o,t.y-n(a)*o),e.lineTo(s,l)},t}(Wa),dR=cR;function hR(e,t){var r=e.get("center"),n=t.getWidth(),i=t.getHeight(),o=Math.min(n,i),a=Bn(r[0],t.getWidth()),s=Bn(r[1],t.getHeight()),l=Bn(e.get("radius"),o/2);return{cx:a,cy:s,r:l}}function fR(e,t){var r=null==e?"":e+"";return t&&(Object(l["C"])(t)?r=t.replace("{value}",r):Object(l["w"])(t)&&(r=t(e))),r}var pR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){this.group.removeAll();var n=e.get(["axisLine","lineStyle","color"]),i=hR(e,r);this._renderMain(e,t,r,n,i),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,r,n,i){var o=this.group,a=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,u=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),d=c.get("roundCap"),h=d?RM:_m,f=c.get("show"),p=c.getModel("lineStyle"),m=p.get("width"),g=[s,u];va(g,!a),s=g[0],u=g[1];for(var v=u-s,y=s,b=[],_=0;f&&_<n.length;_++){var w=Math.min(Math.max(n[_][0],0),1);u=s+v*w;var x=new h({shape:{startAngle:y,endAngle:u,cx:i.cx,cy:i.cy,clockwise:a,r0:i.r-m,r:i.r},silent:!0});x.setStyle({fill:n[_][1]}),x.setStyle(p.getLineStyle(["color","width"])),b.push(x),y=u}b.reverse(),Object(l["k"])(b,(function(e){return o.add(e)}));var k=function(e){if(e<=0)return n[0][1];var t;for(t=0;t<n.length;t++)if(n[t][0]>=e&&(0===t?0:n[t-1][0])<e)return n[t][1];return n[t-1][1]};this._renderTicks(e,t,r,k,i,s,u,a,m),this._renderTitleAndDetail(e,t,r,k,i),this._renderAnchor(e,i),this._renderPointer(e,t,r,k,i,s,u,a,m)},t.prototype._renderTicks=function(e,t,r,n,i,o,a,s,u){for(var c,d,h=this.group,f=i.cx,p=i.cy,m=i.r,g=+e.get("min"),v=+e.get("max"),y=e.getModel("splitLine"),b=e.getModel("axisTick"),_=e.getModel("axisLabel"),w=e.get("splitNumber"),x=b.get("splitNumber"),k=Bn(y.get("length"),m),S=Bn(b.get("length"),m),M=o,C=(a-o)/w,T=C/x,O=y.getModel("lineStyle").getLineStyle(),L=b.getModel("lineStyle").getLineStyle(),A=y.get("distance"),D=0;D<=w;D++){if(c=Math.cos(M),d=Math.sin(M),y.get("show")){var E=A?A+u:u,I=new Pm({shape:{x1:c*(m-E)+f,y1:d*(m-E)+p,x2:c*(m-k-E)+f,y2:d*(m-k-E)+p},style:O,silent:!0});"auto"===O.stroke&&I.setStyle({stroke:n(D/w)}),h.add(I)}if(_.get("show")){E=_.get("distance")+A;var j=fR(Yn(D/w*(v-g)+g),_.get("formatter")),P=n(D/w),R=c*(m-k-E)+f,N=d*(m-k-E)+p,B=_.get("rotate"),Y=0;"radial"===B?(Y=-M+2*Math.PI,Y>Math.PI/2&&(Y+=Math.PI)):"tangential"===B?Y=-M-Math.PI/2:Object(l["z"])(B)&&(Y=B*Math.PI/180),0===Y?h.add(new Cs({style:nu(_,{text:j,x:R,y:N,verticalAlign:d<-.8?"top":d>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:P}),silent:!0})):h.add(new Cs({style:nu(_,{text:j,x:R,y:N,verticalAlign:"middle",align:"center"},{inheritColor:P}),silent:!0,originX:R,originY:N,rotation:Y}))}if(b.get("show")&&D!==w){E=b.get("distance");E=E?E+u:u;for(var F=0;F<=x;F++){c=Math.cos(M),d=Math.sin(M);var z=new Pm({shape:{x1:c*(m-E)+f,y1:d*(m-E)+p,x2:c*(m-S-E)+f,y2:d*(m-S-E)+p},silent:!0,style:L});"auto"===L.stroke&&z.setStyle({stroke:n((D+F/x)/w)}),h.add(z),M+=T}M-=T}else M+=C}},t.prototype._renderPointer=function(e,t,r,n,i,o,a,s,u){var c=this.group,d=this._data,h=this._progressEls,f=[],p=e.get(["pointer","show"]),m=e.getModel("progress"),g=m.get("show"),v=e.getData(),y=v.mapDimension("value"),b=+e.get("min"),_=+e.get("max"),w=[b,_],x=[o,a];function k(t,r){var n,o=v.getItemModel(t),a=o.getModel("pointer"),s=Bn(a.get("width"),i.r),l=Bn(a.get("length"),i.r),u=e.get(["pointer","icon"]),c=a.get("offsetCenter"),d=Bn(c[0],i.r),h=Bn(c[1],i.r),f=a.get("keepAspect");return n=u?ay(u,d-s/2,h-l,s,l,null,f):new dR({shape:{angle:-Math.PI/2,width:s,r:l,x:d,y:h}}),n.rotation=-(r+Math.PI/2),n.x=i.cx,n.y=i.cy,n}function S(e,t){var r=m.get("roundCap"),n=r?RM:_m,a=m.get("overlap"),l=a?m.get("width"):u/v.count(),c=a?i.r-l:i.r-(e+1)*l,d=a?i.r:i.r-e*l,h=new n({shape:{startAngle:o,endAngle:t,cx:i.cx,cy:i.cy,clockwise:s,r0:c,r:d}});return a&&(h.z2=_-v.get(y,e)%_),h}(g||p)&&(v.diff(d).add((function(t){var r=v.get(y,t);if(p){var n=k(t,o);Wl(n,{rotation:-((isNaN(+r)?x[0]:Nn(r,w,x,!0))+Math.PI/2)},e),c.add(n),v.setItemGraphicEl(t,n)}if(g){var i=S(t,o),a=m.get("clip");Wl(i,{shape:{endAngle:Nn(r,w,x,a)}},e),c.add(i),Os(e.seriesIndex,v.dataType,t,i),f[t]=i}})).update((function(t,r){var n=v.get(y,t);if(p){var i=d.getItemGraphicEl(r),a=i?i.rotation:o,s=k(t,a);s.rotation=a,Ul(s,{rotation:-((isNaN(+n)?x[0]:Nn(n,w,x,!0))+Math.PI/2)},e),c.add(s),v.setItemGraphicEl(t,s)}if(g){var l=h[r],u=l?l.shape.endAngle:o,b=S(t,u),_=m.get("clip");Ul(b,{shape:{endAngle:Nn(n,w,x,_)}},e),c.add(b),Os(e.seriesIndex,v.dataType,t,b),f[t]=b}})).execute(),v.each((function(e){var t=v.getItemModel(e),r=t.getModel("emphasis"),i=r.get("focus"),o=r.get("blurScope"),a=r.get("disabled");if(p){var s=v.getItemGraphicEl(e),u=v.getItemVisual(e,"style"),c=u.fill;if(s instanceof Qa){var d=s.style;s.useStyle(Object(l["m"])({image:d.image,x:d.x,y:d.y,width:d.width,height:d.height},u))}else s.useStyle(u),"pointer"!==s.type&&s.setColor(c);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",n(Nn(v.get(y,e),w,[0,1],!0))),s.z2EmphasisLift=0,Il(s,t),Ll(s,i,o,a)}if(g){var h=f[e];h.useStyle(v.getItemVisual(e,"style")),h.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,Il(h,t),Ll(h,i,o,a)}})),this._progressEls=f)},t.prototype._renderAnchor=function(e,t){var r=e.getModel("anchor"),n=r.get("show");if(n){var i=r.get("size"),o=r.get("icon"),a=r.get("offsetCenter"),s=r.get("keepAspect"),l=ay(o,t.cx-i/2+Bn(a[0],t.r),t.cy-i/2+Bn(a[1],t.r),i,i,null,s);l.z2=r.get("showAbove")?1:0,l.setStyle(r.getModel("itemStyle").getItemStyle()),this.group.add(l)}},t.prototype._renderTitleAndDetail=function(e,t,r,n,i){var o=this,a=e.getData(),s=a.mapDimension("value"),l=+e.get("min"),u=+e.get("max"),c=new kn,d=[],h=[],f=e.isAnimationEnabled(),p=e.get(["pointer","showAbove"]);a.diff(this._data).add((function(e){d[e]=new Cs({silent:!0}),h[e]=new Cs({silent:!0})})).update((function(e,t){d[e]=o._titleEls[t],h[e]=o._detailEls[t]})).execute(),a.each((function(t){var r=a.getItemModel(t),o=a.get(s,t),m=new kn,g=n(Nn(o,[l,u],[0,1],!0)),v=r.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),b=i.cx+Bn(y[0],i.r),_=i.cy+Bn(y[1],i.r),w=d[t];w.attr({z2:p?0:2,style:nu(v,{x:b,y:_,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(w)}var x=r.getModel("detail");if(x.get("show")){var k=x.get("offsetCenter"),S=i.cx+Bn(k[0],i.r),M=i.cy+Bn(k[1],i.r),C=Bn(x.get("width"),i.r),T=Bn(x.get("height"),i.r),O=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:g,L=(w=h[t],x.get("formatter"));w.attr({z2:p?0:2,style:nu(x,{x:S,y:M,text:fR(o,L),width:isNaN(C)?null:C,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:O})}),fu(w,{normal:x},o,(function(e){return fR(e,L)})),f&&pu(w,t,a,e,{getFormattedLabel:function(e,t,r,n,i,a){return fR(a?a.interpolatedValue:o,L)}}),m.add(w)}c.add(m)})),this.group.add(c),this._titleEls=d,this._detailEls=h},t.type="gauge",t}(Gg),mR=pR,gR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="itemStyle",r}return a(t,e),t.prototype.getInitialData=function(e,t){return LC(this,["value"])},t.type="series.gauge",t.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}},t}(Sp),vR=gR;function yR(e){e.registerChartView(mR),e.registerSeriesModel(vR)}var bR=["itemStyle","opacity"],_R=function(e){function t(t,r){var n=e.call(this)||this,i=n,o=new Dm,a=new Cs;return i.setTextContent(a),n.setTextGuideLine(o),n.updateData(t,r,!0),n}return a(t,e),t.prototype.updateData=function(e,t,r){var n=this,i=e.hostModel,o=e.getItemModel(t),a=e.getItemLayout(t),s=o.getModel("emphasis"),l=o.get(bR);l=null==l?1:l,r||Kl(n),n.useStyle(e.getItemVisual(t,"style")),n.style.lineJoin="round",r?(n.setShape({points:a.points}),n.style.opacity=0,Wl(n,{style:{opacity:l}},i,t)):Ul(n,{style:{opacity:l},shape:{points:a.points}},i,t),Il(n,o),this._updateLabel(e,t),Ll(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t){var r=this,n=this.getTextGuideLine(),i=r.getTextContent(),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"style"),c=u.fill;tu(i,ru(a),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:u.opacity,defaultText:e.getName(t)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),r.setTextConfig({local:!0,inside:!!l.inside,insideStroke:c,outsideFill:c});var d=l.linePoints;n.setShape({points:d}),r.textGuideLineConfig={anchor:d?new ye(d[0][0],d[0][1]):null},Ul(i,{style:{x:l.x,y:l.y}},o,t),i.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),ow(r,aw(a),{stroke:c})},t}(Om),wR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.ignoreLabelLineUpdate=!0,r}return a(t,e),t.prototype.render=function(e,t,r){var n=e.getData(),i=this._data,o=this.group;n.diff(i).add((function(e){var t=new _R(n,e);n.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var r=i.getItemGraphicEl(t);r.updateData(n,e),o.add(r),n.setItemGraphicEl(e,r)})).remove((function(t){var r=i.getItemGraphicEl(t);Xl(r,e,t)})).execute(),this._data=n},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(Gg),xR=wR,kR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new DC(l["c"](this.getData,this),l["c"](this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return LC(this,{coordDimensions:["value"],encodeDefaulter:l["h"](fd,this)})},t.prototype._defaultLabelLine=function(e){di(e,"labelLine",["show"]);var t=e.labelLine,r=e.emphasis.labelLine;t.show=t.show&&e.label.show,r.show=r.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var r=this.getData(),n=e.prototype.getDataParams.call(this,t),i=r.mapDimension("value"),o=r.getSum(i);return n.percent=o?+(r.get(i,t)/o*100).toFixed(2):0,n.$vars.push("percent"),n},t.type="series.funnel",t.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"}}},t}(Sp),SR=kR;function MR(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function CR(e,t){for(var r=e.mapDimension("value"),n=e.mapArray(r,(function(e){return e})),i=[],o="ascending"===t,a=0,s=e.count();a<s;a++)i[a]=a;return Object(l["w"])(t)?i.sort(t):"none"!==t&&i.sort((function(e,t){return o?n[e]-n[t]:n[t]-n[e]})),i}function TR(e){var t=e.hostModel,r=t.get("orient");e.each((function(t){var n,i,o,a,s=e.getItemModel(t),l=s.getModel("label"),u=l.get("position"),c=s.getModel("labelLine"),d=e.getItemLayout(t),h=d.points,f="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(f)"insideLeft"===u?(i=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,n="left"):"insideRight"===u?(i=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,n="right"):(i=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,n="center"),a=[[i,o],[i,o]];else{var p=void 0,m=void 0,g=void 0,v=void 0,y=c.get("length");0,"left"===u?(p=(h[3][0]+h[0][0])/2,m=(h[3][1]+h[0][1])/2,g=p-y,i=g-5,n="right"):"right"===u?(p=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,g=p+y,i=g+5,n="left"):"top"===u?(p=(h[3][0]+h[0][0])/2,m=(h[3][1]+h[0][1])/2,v=m-y,o=v-5,n="center"):"bottom"===u?(p=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,v=m+y,o=v+5,n="center"):"rightTop"===u?(p="horizontal"===r?h[3][0]:h[1][0],m="horizontal"===r?h[3][1]:h[1][1],"horizontal"===r?(v=m-y,o=v-5,n="center"):(g=p+y,i=g+5,n="top")):"rightBottom"===u?(p=h[2][0],m=h[2][1],"horizontal"===r?(v=m+y,o=v+5,n="center"):(g=p+y,i=g+5,n="bottom")):"leftTop"===u?(p=h[0][0],m="horizontal"===r?h[0][1]:h[1][1],"horizontal"===r?(v=m-y,o=v-5,n="center"):(g=p-y,i=g-5,n="right")):"leftBottom"===u?(p="horizontal"===r?h[1][0]:h[3][0],m="horizontal"===r?h[1][1]:h[2][1],"horizontal"===r?(v=m+y,o=v+5,n="center"):(g=p-y,i=g-5,n="right")):(p=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,"horizontal"===r?(v=m+y,o=v+5,n="center"):(g=p+y,i=g+5,n="left")),"horizontal"===r?(g=p,i=g):(v=m,o=v),a=[[p,m],[g,v]]}d.label={linePoints:a,x:i,y:o,verticalAlign:"middle",textAlign:n,inside:f}}))}function OR(e,t){e.eachSeriesByType("funnel",(function(e){var r=e.getData(),n=r.mapDimension("value"),i=e.get("sort"),o=MR(e,t),a=e.get("orient"),s=o.width,l=o.height,u=CR(r,i),c=o.x,d=o.y,h="horizontal"===a?[Bn(e.get("minSize"),l),Bn(e.get("maxSize"),l)]:[Bn(e.get("minSize"),s),Bn(e.get("maxSize"),s)],f=r.getDataExtent(n),p=e.get("min"),m=e.get("max");null==p&&(p=Math.min(f[0],0)),null==m&&(m=f[1]);var g=e.get("funnelAlign"),v=e.get("gap"),y="horizontal"===a?s:l,b=(y-v*(r.count()-1))/r.count(),_=function(e,t){if("horizontal"===a){var i=r.get(n,e)||0,o=Nn(i,[p,m],h,!0),u=void 0;switch(g){case"top":u=d;break;case"center":u=d+(l-o)/2;break;case"bottom":u=d+(l-o);break}return[[t,u],[t,u+o]]}var f,v=r.get(n,e)||0,y=Nn(v,[p,m],h,!0);switch(g){case"left":f=c;break;case"center":f=c+(s-y)/2;break;case"right":f=c+s-y;break}return[[f,t],[f+y,t]]};"ascending"===i&&(b=-b,v=-v,"horizontal"===a?c+=s:d+=l,u=u.reverse());for(var w=0;w<u.length;w++){var x=u[w],k=u[w+1],S=r.getItemModel(x);if("horizontal"===a){var M=S.get(["itemStyle","width"]);null==M?M=b:(M=Bn(M,s),"ascending"===i&&(M=-M));var C=_(x,c),T=_(k,c+M);c+=M+v,r.setItemLayout(x,{points:C.concat(T.slice().reverse())})}else{var O=S.get(["itemStyle","height"]);null==O?O=b:(O=Bn(O,l),"ascending"===i&&(O=-O));C=_(x,d),T=_(k,d+O);d+=O+v,r.setItemLayout(x,{points:C.concat(T.slice().reverse())})}}TR(r)}))}function LR(e){e.registerChartView(xR),e.registerSeriesModel(SR),e.registerLayout(OR),e.registerProcessor(bC("funnel"))}var AR=.3,DR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._dataGroup=new kn,r._initialized=!1,r}return a(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,r,n){this._progressiveEls=null;var i=this._dataGroup,o=e.getData(),a=this._data,s=e.coordinateSystem,l=s.dimensions,u=PR(e);function c(e){var t=jR(o,i,e,l,s);RR(t,o,e,u)}function d(t,r){var n=a.getItemGraphicEl(r),i=IR(o,t,l,s);o.setItemGraphicEl(t,n),Ul(n,{shape:{points:i}},e,t),Kl(n),RR(n,o,t,u)}function h(e){var t=a.getItemGraphicEl(e);i.remove(t)}if(o.diff(a).add(c).update(d).remove(h).execute(),!this._initialized){this._initialized=!0;var f=ER(s,e,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(f)}this._data=o},t.prototype.incrementalPrepareRender=function(e,t,r){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,t,r){for(var n=t.getData(),i=t.coordinateSystem,o=i.dimensions,a=PR(t),s=this._progressiveEls=[],l=e.start;l<e.end;l++){var u=jR(n,this._dataGroup,l,o,i);u.incremental=!0,RR(u,n,l,a),s.push(u)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(Gg);function ER(e,t,r){var n=e.model,i=e.getRect(),o=new ls({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),a="horizontal"===n.get("layout")?"width":"height";return o.setShape(a,0),Wl(o,{shape:{width:i.width,height:i.height}},t,r),o}function IR(e,t,r,n){for(var i=[],o=0;o<r.length;o++){var a=r[o],s=e.get(e.mapDimension(a),t);NR(s,n.getAxis(a).type)||i.push(n.dataToPoint(s,a))}return i}function jR(e,t,r,n,i){var o=IR(e,r,n,i),a=new Dm({shape:{points:o},z2:10});return t.add(a),e.setItemGraphicEl(r,a),a}function PR(e){var t=e.get("smooth",!0);return!0===t&&(t=AR),t=ri(t),Object(l["l"])(t)&&(t=0),{smooth:t}}function RR(e,t,r,n){e.useStyle(t.getItemVisual(r,"style")),e.style.fill=null,e.setShape("smooth",n.smooth);var i=t.getItemModel(r),o=i.getModel("emphasis");Il(e,i,"lineStyle"),Ll(e,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function NR(e,t){return"category"===t?null==e:null==e||isNaN(e)}var BR=DR,YR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return a(t,e),t.prototype.getInitialData=function(e,t){return fS(null,this,{useEncodeDefaulter:Object(l["c"])(FR,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,r=this.getData(),n=[];return t.eachActiveState(r,(function(t,i){e===t&&n.push(r.getRawIndex(i))})),n},t.type="series.parallel",t.dependencies=["parallel"],t.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"},t}(Sp);function FR(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var r={};return Object(l["k"])(t.dimensions,(function(e){var t=zR(e);r[e]=t})),r}}function zR(e){return+e.replace("dim","")}var HR=YR,VR=["lineStyle","opacity"],UR={seriesType:"parallel",reset:function(e,t){var r=e.coordinateSystem,n={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(e,t){r.eachActiveState(t,(function(e,r){var i=n[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(r).get(VR,!0);null!=o&&(i=o)}var a=t.ensureUniqueItemVisual(r,"style");a.opacity=i}),e.start,e.end)}}}},WR=UR;function $R(e){GR(e),qR(e)}function GR(e){if(!e.parallel){var t=!1;l["k"](e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function qR(e){var t=ci(e.parallelAxis);l["k"](t,(function(t){if(l["A"](t)){var r=t.parallelIndex||0,n=ci(e.parallel)[r];n&&n.parallelAxisDefault&&l["I"](t,n.parallelAxisDefault,!1)}}))}var XR=5,KR=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){this._model=e,this._api=r,this._handlers||(this._handlers={},Object(l["k"])(ZR,(function(e,t){r.getZr().on(t,this._handlers[t]=Object(l["c"])(e,this))}),this)),Jg(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){Qg(this,"_throttledDispatchExpand"),Object(l["k"])(this._handlers,(function(e,r){t.getZr().off(r,e)})),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(Object(l["m"])({type:"parallelAxisExpand"},e))},t.type="parallel",t}(Cp),ZR={mousedown:function(e){JR(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(JR(this,"click")&&t){var r=[e.offsetX,e.offsetY],n=Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2);if(n>XR)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&JR(this,"mousemove")){var t=this._model,r=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),n=r.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:r.axisExpandWindow,animation:"jump"===n?null:{duration:0}})}}};function JR(e,t){var r=e._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===t}var QR=KR,eN=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&l["I"](t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var r=e.get("parallelIndex");return null!=r&&t.getComponent("parallel",r)===this},t.prototype.setAxisExpand=function(e){l["k"](["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],r=l["n"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);l["k"](r,(function(r){e.push("dim"+r.get("dim")),t.push(r.componentIndex)}))},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.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},t}(Kc),tN=eN,rN=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r,n)||this;return a.type=i||"value",a.axisIndex=o,a}return a(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(NO),nN=rN;function iN(e,t,r,n,i,o){e=e||0;var a=r[1]-r[0];if(null!=i&&(i=aN(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===n){var s=Math.abs(t[1]-t[0]);s=aN(s,[0,a]),i=o=aN(s,[i,o]),n=0}t[0]=aN(t[0],r),t[1]=aN(t[1],r);var l=oN(t,n);t[n]+=e;var u,c=i||0,d=r.slice();return l.sign<0?d[0]+=c:d[1]-=c,t[n]=aN(t[n],d),u=oN(t,n),null!=i&&(u.sign!==l.sign||u.span<i)&&(t[1-n]=t[n]+l.sign*i),u=oN(t,n),null!=o&&u.span>o&&(t[1-n]=t[n]+u.sign*o),t}function oN(e,t){var r=e[t]-e[1-t];return{span:Math.abs(r),sign:r>0?-1:r<0?1:t?-1:1}}function aN(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var sN=l["k"],lN=Math.min,uN=Math.max,cN=Math.floor,dN=Math.ceil,hN=Yn,fN=Math.PI,pN=function(){function e(e,t,r){this.type="parallel",this._axesMap=l["f"](),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,r)}return e.prototype._init=function(e,t,r){var n=e.dimensions,i=e.parallelAxisIndex;sN(n,(function(e,r){var n=i[r],o=t.getComponent("parallelAxis",n),a=this._axesMap.set(e,new nN(e,rO(o),[0,0],o.get("type"),n)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),r=t.axisBase,n=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],a=e[i];return o>=r&&o<=r+t.axisLength&&a>=n&&a<=n+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries((function(r){if(e.contains(r,t)){var n=r.getData();sN(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(n,n.mapDimension(e)),tO(t.scale,t.model)}),this)}}),this)},e.prototype.resize=function(e,t){this._rect=Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,r=this._rect,n=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=r[i[a]],l=[0,s],u=this.dimensions.length,c=mN(t.get("axisExpandWidth"),l),d=mN(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,f=t.get("axisExpandWindow");if(f)e=mN(f[1]-f[0],l),f[1]=f[0]+e;else{e=mN(c*(d-1),l);var p=t.get("axisExpandCenter")||cN(u/2);f=[c*p-e/2],f[1]=f[0]+e}var m=(s-e)/(u-d);m<3&&(m=0);var g=[cN(hN(f[0]/c,1))+1,dN(hN(f[1]/c,1))-1],v=m/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:r[n[a]],layoutLength:s,axisBase:r[n[1-a]],axisLength:r[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:m,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:v}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,r=this.dimensions,n=this._makeLayoutInfo(),i=n.layout;t.each((function(e){var t=[0,n.axisLength],r=e.inverse?1:0;e.setExtent(t[r],t[1-r])})),sN(r,(function(t,r){var o=(n.axisExpandable?vN:gN)(r,n),a={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},s={horizontal:fN/2,vertical:0},l=[a[i].x+e.x,a[i].y+e.y],u=s[i],c=le();fe(c,c,u),he(c,c,l),this._axesLayout[t]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,r,n){null==r&&(r=0),null==n&&(n=e.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];l["k"](o,(function(t){a.push(e.mapDimension(t)),s.push(i.get(t).model)}));for(var u=this.hasAxisBrushed(),c=r;c<n;c++){var d=void 0;if(u){d="active";for(var h=e.getValues(a,c),f=0,p=o.length;f<p;f++){var m=s[f].getActiveState(h[f]);if("inactive"===m){d="inactive";break}}}else d="normal";t(d,c)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,r=!1,n=0,i=e.length;n<i;n++)"normal"!==t.get(e[n]).model.getActiveState()&&(r=!0);return r},e.prototype.axisCoordToPoint=function(e,t){var r=this._axesLayout[t];return Sg([e,0],r.transform)},e.prototype.getAxisLayout=function(e){return l["d"](this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),r=t.pixelDimIndex,n=t.axisExpandWindow.slice(),i=n[1]-n[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:n};var a,s=e[r]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),d=null!=c[0];if(u)d&&u&&s<i*c[0]?(l="jump",a=s-i*c[2]):d&&u&&s>i*(1-c[0])?(l="jump",a=s-i*(1-c[2])):(a=s-i*c[1])>=0&&(a=s-i*(1-c[1]))<=0&&(a=0),a*=t.axisExpandWidth/u,a?iN(a,n,o,"all"):l="none";else{var h=n[1]-n[0],f=o[1]*s/h;n=[uN(0,f-h/2)],n[1]=lN(o[1],n[0]+h),n[0]=n[1]-h}return{axisExpandWindow:n,behavior:l}},e}();function mN(e,t){return lN(uN(e,t[0]),t[1])}function gN(e,t){var r=t.layoutLength/(t.axisCount-1);return{position:r*e,axisNameAvailableWidth:r,axisLabelShow:!0}}function vN(e,t){var r,n,i=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(r=e*s,n=s):e<=l[1]?(r=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],u=o,c=!0):(r=i-(a-1-e)*s,n=s),{position:r,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:n}}var yN=pN;function bN(e,t){var r=[];return e.eachComponent("parallel",(function(n,i){var o=new yN(n,e,t);o.name="parallel_"+i,o.resize(n,t),n.coordinateSystem=o,o.model=n,r.push(o)})),e.eachSeries((function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",Ri).models[0];e.coordinateSystem=t.coordinateSystem}})),r}var _N={create:bN},wN=_N,xN=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.activeIntervals=[],r}return a(t,e),t.prototype.getAreaSelectStyle=function(){return io([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=l["d"](e);if(t)for(var r=t.length-1;r>=0;r--)Fn(t[r])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var r=t[0];if(r[0]<=e&&e<=r[1])return"active"}else for(var n=0,i=t.length;n<i;n++)if(t[n][0]<=e&&e<=t[n][1])return"active";return"inactive"},t}(Kc);l["K"](xN,qC);var kN=xN,SN=!0,MN=Math.min,CN=Math.max,TN=Math.pow,ON=1e4,LN=6,AN=6,DN="globalPan",EN={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},IN={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},jN={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},PN=0,RN=function(e){function t(t){var r=e.call(this)||this;return r._track=[],r._covers=[],r._handlers={},r._zr=t,r.group=new kn,r._uid="brushController_"+PN++,Object(l["k"])(pB,(function(e,t){this._handlers[t]=Object(l["c"])(e,this)}),r),r}return a(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||oA(t,DN,this._uid),Object(l["k"])(this._handlers,(function(e,r){t.on(r,e)})),this._brushType=e.brushType,this._brushOption=Object(l["I"])(Object(l["d"])(jN),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;aA(e,DN,this._uid),Object(l["k"])(this._handlers,(function(t,r){e.off(r,t)})),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};Object(l["k"])(e,(function(e){t[e.panelId]=Object(l["d"])(e)}))}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Object(l["H"])(e,(function(e){return Object(l["I"])(Object(l["d"])(jN),e,!0)}));var t="\0-brush-index-",r=this._covers,n=this._covers=[],i=this,o=this._creatingCover;return new bk(r,e,s,a).add(u).update(u).remove(c).execute(),this;function a(e,r){return(null!=e.id?e.id:t+r)+"-"+e.brushType}function s(e,t){return a(e.__brushOption,t)}function u(t,a){var s=e[t];if(null!=a&&r[a]===o)n[t]=r[a];else{var l=n[t]=null!=a?(r[a].__brushOption=s,r[a]):BN(i,NN(i,s));zN(i,l)}}function c(e){r[e]!==o&&i.group.remove(r[e])}},t.prototype.unmount=function(){return this.enableBrush(!1),WN(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(E);function NN(e,t){var r=vB[t.brushType].createCover(e,t);return r.__brushOption=t,FN(r,t),e.group.add(r),r}function BN(e,t){var r=HN(t);return r.endCreating&&(r.endCreating(e,t),FN(t,t.__brushOption)),t}function YN(e,t){var r=t.__brushOption;HN(t).updateCoverShape(e,t,r.range,r)}function FN(e,t){var r=t.z;null==r&&(r=ON),e.traverse((function(e){e.z=r,e.z2=r}))}function zN(e,t){HN(t).updateCommon(e,t),YN(e,t)}function HN(e){return vB[e.__brushOption.brushType]}function VN(e,t,r){var n,i=e._panels;if(!i)return SN;var o=e._transform;return Object(l["k"])(i,(function(e){e.isTargetByCursor(t,r,o)&&(n=e)})),n}function UN(e,t){var r=e._panels;if(!r)return SN;var n=t.__brushOption.panelId;return null!=n?r[n]:SN}function WN(e){var t=e._covers,r=t.length;return Object(l["k"])(t,(function(t){e.group.remove(t)}),e),t.length=0,!!r}function $N(e,t){var r=Object(l["H"])(e._covers,(function(e){var t=e.__brushOption,r=Object(l["d"])(t.range);return{brushType:t.brushType,panelId:t.panelId,range:r}}));e.trigger("brush",{areas:r,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function GN(e){var t=e._track;if(!t.length)return!1;var r=t[t.length-1],n=t[0],i=r[0]-n[0],o=r[1]-n[1],a=TN(i*i+o*o,.5);return a>LN}function qN(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function XN(e,t,r,n){var i=new kn;return i.add(new ls({name:"main",style:QN(r),silent:!0,draggable:!0,cursor:"move",drift:Object(l["h"])(iB,e,t,i,["n","s","w","e"]),ondragend:Object(l["h"])($N,t,{isEnd:!0})})),Object(l["k"])(n,(function(r){i.add(new ls({name:r.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(l["h"])(iB,e,t,i,r),ondragend:Object(l["h"])($N,t,{isEnd:!0})}))})),i}function KN(e,t,r,n){var i=n.brushStyle.lineWidth||0,o=CN(i,AN),a=r[0][0],s=r[1][0],l=a-i/2,u=s-i/2,c=r[0][1],d=r[1][1],h=c-o+i/2,f=d-o+i/2,p=c-a,m=d-s,g=p+i,v=m+i;JN(e,t,"main",a,s,p,m),n.transformable&&(JN(e,t,"w",l,u,o,v),JN(e,t,"e",h,u,o,v),JN(e,t,"n",l,u,g,o),JN(e,t,"s",l,f,g,o),JN(e,t,"nw",l,u,o,o),JN(e,t,"ne",h,u,o,o),JN(e,t,"sw",l,f,o,o),JN(e,t,"se",h,f,o,o))}function ZN(e,t){var r=t.__brushOption,n=r.transformable,i=t.childAt(0);i.useStyle(QN(r)),i.attr({silent:!n,cursor:n?"move":"default"}),Object(l["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(r){var i=t.childOfName(r.join("")),o=1===r.length?rB(e,r[0]):nB(e,r);i&&i.attr({silent:!n,invisible:!n,cursor:n?IN[o]+"-resize":null})}))}function JN(e,t,r,n,i,o,a){var s=t.childOfName(r);s&&s.setShape(lB(sB(e,t,[[n,i],[n+o,i+a]])))}function QN(e){return Object(l["i"])({strokeNoScale:!0},e.brushStyle)}function eB(e,t,r,n){var i=[MN(e,r),MN(t,n)],o=[CN(e,r),CN(t,n)];return[[i[0],o[0]],[i[1],o[1]]]}function tB(e){return kg(e.group)}function rB(e,t){var r={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=Mg(r[t],tB(e));return n[i]}function nB(e,t){var r=[rB(e,t[0]),rB(e,t[1])];return("e"===r[0]||"w"===r[0])&&r.reverse(),r.join("")}function iB(e,t,r,n,i,o){var a=r.__brushOption,s=e.toRectRange(a.range),u=aB(t,i,o);Object(l["k"])(n,(function(e){var t=EN[e];s[t[0]][t[1]]+=u[t[0]]})),a.range=e.fromRectRange(eB(s[0][0],s[1][0],s[0][1],s[1][1])),zN(t,r),$N(t,{isEnd:!1})}function oB(e,t,r,n){var i=t.__brushOption.range,o=aB(e,r,n);Object(l["k"])(i,(function(e){e[0]+=o[0],e[1]+=o[1]})),zN(e,t),$N(e,{isEnd:!1})}function aB(e,t,r){var n=e.group,i=n.transformCoordToLocal(t,r),o=n.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function sB(e,t,r){var n=UN(e,t);return n&&n!==SN?n.clipPath(r,e._transform):Object(l["d"])(r)}function lB(e){var t=MN(e[0][0],e[1][0]),r=MN(e[0][1],e[1][1]),n=CN(e[0][0],e[1][0]),i=CN(e[0][1],e[1][1]);return{x:t,y:r,width:n-t,height:i-r}}function uB(e,t,r){if(e._brushType&&!gB(e,t.offsetX,t.offsetY)){var n=e._zr,i=e._covers,o=VN(e,t,r);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(o===SN||s.panelId===o.panelId)&&vB[s.brushType].contain(i[a],r[0],r[1]))return}o&&n.setCursorStyle("crosshair")}}function cB(e){var t=e.event;t.preventDefault&&t.preventDefault()}function dB(e,t,r){return e.childOfName("main").contain(t,r)}function hB(e,t,r,n){var i,o=e._creatingCover,a=e._creatingPanel,s=e._brushOption;if(e._track.push(r.slice()),GN(e)||o){if(a&&!o){"single"===s.brushMode&&WN(e);var u=Object(l["d"])(s);u.brushType=fB(u.brushType,a),u.panelId=a===SN?null:a.panelId,o=e._creatingCover=NN(e,u),e._covers.push(o)}if(o){var c=vB[fB(e._brushType,a)],d=o.__brushOption;d.range=c.getCreatingRange(sB(e,o,e._track)),n&&(BN(e,o),c.updateCommon(e,o)),YN(e,o),i={isEnd:n}}}else n&&"single"===s.brushMode&&s.removeOnClick&&VN(e,t,r)&&WN(e)&&(i={isEnd:n,removeOnClick:!0});return i}function fB(e,t){return"auto"===e?t.defaultBrushType:e}var pB={mousedown:function(e){if(this._dragging)mB(this,e);else if(!e.target||!e.target.draggable){cB(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var r=this._creatingPanel=VN(this,e,t);r&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,r=e.offsetY,n=this.group.transformCoordToLocal(t,r);if(uB(this,e,n),this._dragging){cB(e);var i=hB(this,e,n,!1);i&&$N(this,i)}},mouseup:function(e){mB(this,e)}};function mB(e,t){if(e._dragging){cB(t);var r=t.offsetX,n=t.offsetY,i=e.group.transformCoordToLocal(r,n),o=hB(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&$N(e,o)}}function gB(e,t,r){var n=e._zr;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var vB={lineX:yB(0),lineY:yB(1),rect:{createCover:function(e,t){function r(e){return e}return XN({toRectRange:r,fromRectRange:r},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=qN(e);return eB(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,r,n){KN(e,t,r,n)},updateCommon:ZN,contain:dB},polygon:{createCover:function(e,t){var r=new kn;return r.add(new Dm({name:"main",style:QN(t),silent:!0})),r},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Om({name:"main",draggable:!0,drift:Object(l["h"])(oB,e,t),ondragend:Object(l["h"])($N,e,{isEnd:!0})}))},updateCoverShape:function(e,t,r,n){t.childAt(0).setShape({points:sB(e,t,r)})},updateCommon:ZN,contain:dB}};function yB(e){return{createCover:function(t,r){return XN({toRectRange:function(t){var r=[t,[0,100]];return e&&r.reverse(),r},fromRectRange:function(t){return t[e]}},t,r,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var r=qN(t),n=MN(r[0][e],r[1][e]),i=CN(r[0][e],r[1][e]);return[n,i]},updateCoverShape:function(t,r,n,i){var o,a=UN(t,r);if(a!==SN&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[n,o];e&&l.reverse(),KN(t,r,l,i)},updateCommon:ZN,contain:dB}}var bB=RN;function _B(e){return e=kB(e),function(t){return Lg(t,e)}}function wB(e,t){return e=kB(e),function(r){var n=null!=t?t:r,i=n?e.width:e.height,o=n?e.x:e.y;return[o,o+(i||0)]}}function xB(e,t,r){var n=kB(e);return function(e,i){return n.contain(i[0],i[1])&&!yA(e,t,r)}}function kB(e){return Oe.create(e)}var SB=["axisLine","axisTickLabel","axisName"],MB=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(t,r){e.prototype.init.apply(this,arguments),(this._brushController=new bB(r.getZr())).on("brush",l["c"](this._onBrush,this))},t.prototype.render=function(e,t,r,n){if(!CB(e,t,n)){this.axisModel=e,this.api=r,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new kn,this.group.add(this._axisGroup),e.get("show")){var o=OB(e,t),a=o.coordinateSystem,s=e.getAreaSelectStyle(),u=s.width,c=e.axis.dim,d=a.getAxisLayout(c),h=l["m"]({strokeContainThreshold:u},d),f=new uL(e,h);l["k"](SB,f.add,f),this._axisGroup.add(f.getGroup()),this._refreshBrushController(h,s,e,o,u,r),Og(i,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,r,n,i,o){var a=r.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Oe.create({x:a[0],y:-i/2,width:s,height:i});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:_B(u),isTargetByCursor:xB(u,o,n),getLinearBrushOtherExtent:wB(u,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(TB(r))},t.prototype._onBrush=function(e){var t=e.areas,r=this.axisModel,n=r.axis,i=l["H"](t,(function(e){return[n.coordToData(e.range[0],!0),n.coordToData(e.range[1],!0)]}));(!r.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:r.id,intervals:i})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(Cp);function CB(e,t,r){return r&&"axisAreaSelect"===r.type&&t.findComponents({mainType:"parallelAxis",query:r})[0]===e}function TB(e){var t=e.axis;return l["H"](e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function OB(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var LB=MB,AB={type:"axisAreaSelect",event:"axisAreaSelected"};function DB(e){e.registerAction(AB,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),e.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))}var EB={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function IB(e){e.registerComponentView(QR),e.registerComponentModel(tN),e.registerCoordinateSystem("parallel",wN),e.registerPreprocessor($R),e.registerComponentModel(kN),e.registerComponentView(LB),sT(e,"parallel",kN,EB),DB(e)}function jB(e){R_(IB),e.registerChartView(BR),e.registerSeriesModel(HR),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,WR)}var PB=function(){function e(){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 e}(),RB=function(e){function t(t){return e.call(this,t)||this}return a(t,e),t.prototype.getDefaultShape=function(){return new PB},t.prototype.buildPath=function(e,t){var r=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+r,t.y2),e.bezierCurveTo(t.cpx2+r,t.cpy2,t.cpx1+r,t.cpy1,t.x1+r,t.y1)):(e.lineTo(t.x2,t.y2+r),e.bezierCurveTo(t.cpx2,t.cpy2+r,t.cpx1,t.cpy1+r,t.x1,t.y1+r)),e.closePath()},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){dl(this)},t}(Wa),NB=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._focusAdjacencyDisabled=!1,r}return a(t,e),t.prototype.render=function(e,t,r){var n=this,i=e.getGraph(),o=this.group,a=e.layoutInfo,s=a.width,u=a.height,c=e.getData(),d=e.getData("edge"),h=e.get("orient");this._model=e,o.removeAll(),o.x=a.x,o.y=a.y,i.eachEdge((function(t){var r=new RB,n=Ts(r);n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var i,a,c,f,p,m,g,v,y=t.getModel(),b=y.getModel("lineStyle"),_=b.get("curveness"),w=t.node1.getLayout(),x=t.node1.getModel(),k=x.get("localX"),S=x.get("localY"),M=t.node2.getLayout(),C=t.node2.getModel(),T=C.get("localX"),O=C.get("localY"),L=t.getLayout();r.shape.extent=Math.max(1,L.dy),r.shape.orient=h,"vertical"===h?(i=(null!=k?k*s:w.x)+L.sy,a=(null!=S?S*u:w.y)+w.dy,c=(null!=T?T*s:M.x)+L.ty,f=null!=O?O*u:M.y,p=i,m=a*(1-_)+f*_,g=c,v=a*_+f*(1-_)):(i=(null!=k?k*s:w.x)+w.dx,a=(null!=S?S*u:w.y)+L.sy,c=null!=T?T*s:M.x,f=(null!=O?O*u:M.y)+L.ty,p=i*(1-_)+c*_,m=a,g=i*_+c*(1-_),v=f),r.setShape({x1:i,y1:a,x2:c,y2:f,cpx1:p,cpy1:m,cpx2:g,cpy2:v}),r.useStyle(b.getItemStyle()),BB(r.style,h,t);var A=""+y.get("value"),D=ru(y,"edgeLabel");tu(r,D,{labelFetcher:{getFormattedLabel:function(t,r,n,i,o,a){return e.getFormattedLabel(t,r,"edge",i,Object(l["Q"])(o,D.normal&&D.normal.get("formatter"),A),a)}},labelDataIndex:t.dataIndex,defaultText:A}),r.setTextConfig({position:"inside"});var E=y.getModel("emphasis");Il(r,y,"lineStyle",(function(e){var r=e.getItemStyle();return BB(r,h,t),r})),o.add(r),d.setItemGraphicEl(t.dataIndex,r);var I=E.get("focus");Ll(r,"adjacency"===I?t.getAdjacentDataIndices():"trajectory"===I?t.getTrajectoryDataIndices():I,E.get("blurScope"),E.get("disabled"))})),i.eachNode((function(t){var r=t.getLayout(),n=t.getModel(),i=n.get("localX"),a=n.get("localY"),l=n.getModel("emphasis"),d=new ls({shape:{x:null!=i?i*s:r.x,y:null!=a?a*u:r.y,width:r.dx,height:r.dy},style:n.getModel("itemStyle").getItemStyle(),z2:10});tu(d,ru(n),{labelFetcher:{getFormattedLabel:function(t,r){return e.getFormattedLabel(t,r,"node")}},labelDataIndex:t.dataIndex,defaultText:t.id}),d.disableLabelAnimation=!0,d.setStyle("fill",t.getVisual("color")),d.setStyle("decal",t.getVisual("style").decal),Il(d,n),o.add(d),c.setItemGraphicEl(t.dataIndex,d),Ts(d).dataType="node";var h=l.get("focus");Ll(d,"adjacency"===h?t.getAdjacentDataIndices():"trajectory"===h?t.getTrajectoryDataIndices():h,l.get("blurScope"),l.get("disabled"))})),c.eachItemGraphicEl((function(t,i){var o=c.getItemModel(i);o.get("draggable")&&(t.drift=function(t,o){n._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),r.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/u})},t.ondragend=function(){n._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")})),!this._data&&e.isAnimationEnabled()&&o.setClipPath(YB(o.getBoundingRect(),e,(function(){o.removeClipPath()}))),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(Gg);function BB(e,t,r){switch(e.fill){case"source":e.fill=r.node1.getVisual("color"),e.decal=r.node1.getVisual("style").decal;break;case"target":e.fill=r.node2.getVisual("color"),e.decal=r.node2.getVisual("style").decal;break;case"gradient":var n=r.node1.getVisual("color"),i=r.node2.getVisual("color");Object(l["C"])(n)&&Object(l["C"])(i)&&(e.fill=new Xm(0,0,+("horizontal"===t),+("vertical"===t),[{color:n,offset:0},{color:i,offset:1}]))}}function YB(e,t,r){var n=new ls({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Wl(n,{shape:{width:e.width+20}},t,r),n}var FB=NB,zB=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.getInitialData=function(e,t){var r=e.edges||e.links,n=e.data||e.nodes,i=e.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<i.length;a++)null!=i[a].depth&&i[a].depth>=0&&(o[i[a].depth]=new Tu(i[a],this,t));if(n&&r){var s=iR(n,r,this,!0,l);return s.data}function l(e,t){e.wrapMethod("getItemModel",(function(e,t){var r=e.parentModel,n=r.getData().getItemLayout(t);if(n){var i=n.depth,o=r.levelModels[i];o&&(e.parentModel=o)}return e})),t.wrapMethod("getItemModel",(function(e,t){var r=e.parentModel,n=r.getGraph().getEdgeByIndex(t),i=n.node1.getLayout();if(i){var o=i.depth,a=r.levelModels[o];a&&(e.parentModel=a)}return e}))}},t.prototype.setNodePosition=function(e,t){var r=this.option.data||this.option.nodes,n=r[e];n.localX=t[0],n.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,r){function n(e){return isNaN(e)||null==e}if("edge"===r){var i=this.getDataParams(e,r),o=i.data,a=i.value,s=o.source+" -- "+o.target;return qf("nameValue",{name:s,value:a,noValue:n(a)})}var l=this.getGraph().getNodeByIndex(e),u=l.getLayout().value,c=this.getDataParams(e,r).data.name;return qf("nameValue",{name:null!=c?c+"":null,value:u,noValue:n(u)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,r){var n=e.prototype.getDataParams.call(this,t,r);if(null==n.value&&"node"===r){var i=this.getGraph().getNodeByIndex(t),o=i.getLayout().value;n.value=o}return n},t.type="series.sankey",t.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},edgeLabel:{show:!1,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},t}(Sp),HB=zB;function VB(e,t){e.eachSeriesByType("sankey",(function(e){var r=e.get("nodeWidth"),n=e.get("nodeGap"),i=UB(e,t);e.layoutInfo=i;var o=i.width,a=i.height,s=e.getGraph(),u=s.nodes,c=s.edges;$B(u);var d=l["n"](u,(function(e){return 0===e.getLayout().value})),h=0!==d.length?0:e.get("layoutIterations"),f=e.get("orient"),p=e.get("nodeAlign");WB(u,c,r,n,o,a,h,f,p)}))}function UB(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function WB(e,t,r,n,i,o,a,s,l){GB(e,t,r,i,o,s,l),JB(e,t,o,i,n,a,s),dY(e,s)}function $B(e){l["k"](e,(function(e){var t=uY(e.outEdges,lY),r=uY(e.inEdges,lY),n=e.getValue()||0,i=Math.max(t,r,n);e.setLayout({value:i},!0)}))}function GB(e,t,r,n,i,o,a){for(var s=[],l=[],u=[],c=[],d=0,h=0;h<t.length;h++)s[h]=1;for(h=0;h<e.length;h++)l[h]=e[h].inEdges.length,0===l[h]&&u.push(e[h]);var f=-1;while(u.length){for(var p=0;p<u.length;p++){var m=u[p],g=m.hostGraph.data.getRawDataItem(m.dataIndex),v=null!=g.depth&&g.depth>=0;v&&g.depth>f&&(f=g.depth),m.setLayout({depth:v?g.depth:d},!0),"vertical"===o?m.setLayout({dy:r},!0):m.setLayout({dx:r},!0);for(var y=0;y<m.outEdges.length;y++){var b=m.outEdges[y],_=t.indexOf(b);s[_]=0;var w=b.node2,x=e.indexOf(w);0===--l[x]&&c.indexOf(w)<0&&c.push(w)}}++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 k=f>d-1?f:d-1;a&&"left"!==a&&XB(e,a,o,k);var S="vertical"===o?(i-r)/k:(n-r)/k;ZB(e,S,o)}function qB(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function XB(e,t,r,n){if("right"===t){var i=[],o=e,a=0;while(o.length){for(var s=0;s<o.length;s++){var u=o[s];u.setLayout({skNodeHeight:a},!0);for(var c=0;c<u.inEdges.length;c++){var d=u.inEdges[c];i.indexOf(d.node1)<0&&i.push(d.node1)}}o=i,i=[],++a}l["k"](e,(function(e){qB(e)||e.setLayout({depth:Math.max(0,n-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&KB(e,n)}function KB(e,t){l["k"](e,(function(e){qB(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function ZB(e,t,r){l["k"](e,(function(e){var n=e.getLayout().depth*t;"vertical"===r?e.setLayout({y:n},!0):e.setLayout({x:n},!0)}))}function JB(e,t,r,n,i,o,a){var s=QB(e,a);eY(s,t,r,n,i,a),tY(s,i,r,n,a);for(var l=1;o>0;o--)l*=.99,rY(s,l,a),tY(s,i,r,n,a),cY(s,l,a),tY(s,i,r,n,a)}function QB(e,t){var r=[],n="vertical"===t?"y":"x",i=Hi(e,(function(e){return e.getLayout()[n]}));return i.keys.sort((function(e,t){return e-t})),l["k"](i.keys,(function(e){r.push(i.buckets.get(e))})),r}function eY(e,t,r,n,i,o){var a=1/0;l["k"](e,(function(e){var t=e.length,s=0;l["k"](e,(function(e){s+=e.getLayout().value}));var u="vertical"===o?(n-(t-1)*i)/s:(r-(t-1)*i)/s;u<a&&(a=u)})),l["k"](e,(function(e){l["k"](e,(function(e,t){var r=e.getLayout().value*a;"vertical"===o?(e.setLayout({x:t},!0),e.setLayout({dx:r},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:r},!0))}))})),l["k"](t,(function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)}))}function tY(e,t,r,n,i){var o="vertical"===i?"x":"y";l["k"](e,(function(e){var a,s,l;e.sort((function(e,t){return e.getLayout()[o]-t.getLayout()[o]}));for(var u=0,c=e.length,d="vertical"===i?"dx":"dy",h=0;h<c;h++)s=e[h],l=u-s.getLayout()[o],l>0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[d]+t;var f="vertical"===i?n:r;if(l=u-t-f,l>0){a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(h=c-2;h>=0;--h)s=e[h],l=s.getLayout()[o]+s.getLayout()[d]+t-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function rY(e,t,r){l["k"](e.slice().reverse(),(function(e){l["k"](e,(function(e){if(e.outEdges.length){var n=uY(e.outEdges,nY,r)/uY(e.outEdges,lY);if(isNaN(n)){var i=e.outEdges.length;n=i?uY(e.outEdges,iY,r)/i:0}if("vertical"===r){var o=e.getLayout().x+(n-sY(e,r))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(n-sY(e,r))*t;e.setLayout({y:a},!0)}}}))}))}function nY(e,t){return sY(e.node2,t)*e.getValue()}function iY(e,t){return sY(e.node2,t)}function oY(e,t){return sY(e.node1,t)*e.getValue()}function aY(e,t){return sY(e.node1,t)}function sY(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function lY(e){return e.getValue()}function uY(e,t,r){var n=0,i=e.length,o=-1;while(++o<i){var a=+t(e[o],r);isNaN(a)||(n+=a)}return n}function cY(e,t,r){l["k"](e,(function(e){l["k"](e,(function(e){if(e.inEdges.length){var n=uY(e.inEdges,oY,r)/uY(e.inEdges,lY);if(isNaN(n)){var i=e.inEdges.length;n=i?uY(e.inEdges,aY,r)/i:0}if("vertical"===r){var o=e.getLayout().x+(n-sY(e,r))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(n-sY(e,r))*t;e.setLayout({y:a},!0)}}}))}))}function dY(e,t){var r="vertical"===t?"x":"y";l["k"](e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[r]-t.node2.getLayout()[r]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[r]-t.node1.getLayout()[r]}))})),l["k"](e,(function(e){var t=0,r=0;l["k"](e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),l["k"](e.inEdges,(function(e){e.setLayout({ty:r},!0),r+=e.getLayout().dy}))}))}function hY(e){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),r=t.nodes,n=t.edges;if(r.length){var i=1/0,o=-1/0;l["k"](r,(function(e){var t=e.getLayout().value;t<i&&(i=t),t>o&&(o=t)})),l["k"](r,(function(t){var r=new dj({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),n=r.mapValueToVisual(t.getLayout().value),a=t.getModel().get(["itemStyle","color"]);null!=a?(t.setVisual("color",a),t.setVisual("style",{fill:a})):(t.setVisual("color",n),t.setVisual("style",{fill:n}))}))}n.length&&l["k"](n,(function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)}))}))}function fY(e){e.registerChartView(FB),e.registerSeriesModel(HB),e.registerLayout(VB),e.registerVisual(hY),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))}var pY=function(){function e(){}return e.prototype.getInitialData=function(e,t){var r,n,i=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(e.layout="horizontal",r=i.getOrdinalMeta(),n=!0):"category"===s?(e.layout="vertical",r=o.getOrdinalMeta(),n=!0):e.layout=e.layout||"horizontal";var u=["x","y"],c="horizontal"===e.layout?0:1,d=this._baseAxisDim=u[c],h=u[1-c],f=[i,o],p=f[c].get("type"),m=f[1-c].get("type"),g=e.data;if(g&&n){var v=[];l["k"](g,(function(e,t){var r;l["t"](e)?(r=e.slice(),e.unshift(t)):l["t"](e.value)?(r=l["m"]({},e),r.value=r.value.slice(),e.value.unshift(t)):r=e,v.push(r)})),e.data=v}var y=this.defaultValueDimensions,b=[{name:d,type:kk(p),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:kk(m),dimsDef:y.slice()}];return LC(this,{coordDimensions:b,dimensionsCount:y.length+1,encodeDefaulter:l["h"](hd,b,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),mY=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],r.visualDrawType="stroke",r}return a(t,e),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.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},t}(Sp);Object(l["K"])(mY,pY,!0);var gY=mY,vY=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n=e.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===e.get("layout")?1:0;n.diff(o).add((function(e){if(n.hasValue(e)){var t=n.getItemLayout(e),r=_Y(t,n,e,a,!0);n.setItemGraphicEl(e,r),i.add(r)}})).update((function(e,t){var r=o.getItemGraphicEl(t);if(n.hasValue(e)){var s=n.getItemLayout(e);r?(Kl(r),wY(s,r,n,e)):r=_Y(s,n,e,a),i.add(r),n.setItemGraphicEl(e,r)}else i.remove(r)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=n},t.prototype.remove=function(e){var t=this.group,r=this._data;this._data=null,r&&r.eachItemGraphicEl((function(e){e&&t.remove(e)}))},t.type="boxplot",t}(Gg),yY=function(){function e(){}return e}(),bY=function(e){function t(t){var r=e.call(this,t)||this;return r.type="boxplotBoxPath",r}return a(t,e),t.prototype.getDefaultShape=function(){return new yY},t.prototype.buildPath=function(e,t){var r=t.points,n=0;for(e.moveTo(r[n][0],r[n][1]),n++;n<4;n++)e.lineTo(r[n][0],r[n][1]);for(e.closePath();n<r.length;n++)e.moveTo(r[n][0],r[n][1]),n++,e.lineTo(r[n][0],r[n][1])},t}(Wa);function _Y(e,t,r,n,i){var o=e.ends,a=new bY({shape:{points:i?xY(o,n,e):o}});return wY(e,a,t,r,i),a}function wY(e,t,r,i,o){var a=r.hostModel,s=n[o?"initProps":"updateProps"];s(t,{shape:{points:e.ends}},a,i),t.useStyle(r.getItemVisual(i,"style")),t.style.strokeNoScale=!0,t.z2=100;var l=r.getItemModel(i),u=l.getModel("emphasis");Il(t,l),Ll(t,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function xY(e,t,r){return l["H"](e,(function(e){return e=e.slice(),e[t]=r.initBaseline,e}))}var kY=vY,SY=l["k"];function MY(e){var t=CY(e);SY(t,(function(e){var t=e.seriesModels;t.length&&(TY(e),SY(t,(function(t,r){OY(t,e.boxOffsetList[r],e.boxWidthList[r])})))}))}function CY(e){var t=[],r=[];return e.eachSeriesByType("boxplot",(function(e){var n=e.getBaseAxis(),i=l["r"](r,n);i<0&&(i=r.length,r[i]=n,t[i]={axis:n,seriesModels:[]}),t[i].seriesModels.push(e)})),t}function TY(e){var t,r=e.axis,n=e.seriesModels,i=n.length,o=e.boxWidthList=[],a=e.boxOffsetList=[],s=[];if("category"===r.type)t=r.getBandWidth();else{var u=0;SY(n,(function(e){u=Math.max(u,e.getData().count())}));var c=r.getExtent();t=Math.abs(c[1]-c[0])/u}SY(n,(function(e){var r=e.get("boxWidth");l["t"](r)||(r=[r,r]),s.push([Bn(r[0],t)||0,Bn(r[1],t)||0])}));var d=.8*t-2,h=d/i*.3,f=(d-h*(i-1))/i,p=f/2-d/2;SY(n,(function(e,t){a.push(p),p+=h+f,o.push(Math.min(Math.max(f,s[t][0]),s[t][1]))}))}function OY(e,t,r){var n=e.coordinateSystem,i=e.getData(),o=r/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],u=i.mapDimension(l[a]),c=i.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var d=0;d<i.count();d++){var h=i.get(u,d),f=b(h,c[2],d),p=b(h,c[0],d),m=b(h,c[1],d),g=b(h,c[3],d),v=b(h,c[4],d),y=[];_(y,m,!1),_(y,g,!0),y.push(p,m,v,g),w(y,p),w(y,v),w(y,f),i.setItemLayout(d,{initBaseline:f[s],ends:y})}function b(e,r,o){var l,u=i.get(r,o),c=[];return c[a]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=n.dataToPoint(c),l[a]+=t),l}function _(e,t,r){var n=t.slice(),i=t.slice();n[a]+=o,i[a]-=o,r?e.push(n,i):e.push(i,n)}function w(e,t){var r=t.slice(),n=t.slice();r[a]-=o,n[a]+=o,e.push(r,n)}}function LY(e,t){t=t||{};for(var r=[],n=[],i=t.boundIQR,o="none"===i||0===i,a=0;a<e.length;a++){var s=Fn(e[a].slice()),u=ei(s,.25),c=ei(s,.5),d=ei(s,.75),h=s[0],f=s[s.length-1],p=(null==i?1.5:i)*(d-u),m=o?h:Math.max(h,u-p),g=o?f:Math.min(f,d+p),v=t.itemNameFormatter,y=Object(l["w"])(v)?v({value:a}):Object(l["C"])(v)?v.replace("{value}",a+""):a+"";r.push([y,m,u,c,d,g]);for(var b=0;b<s.length;b++){var _=s[b];if(_<m||_>g){var w=[y,_];n.push(w)}}}return{boxData:r,outliers:n}}var AY={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==rd){var r="";0,Ed(r)}var n=LY(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function DY(e){e.registerSeriesModel(gY),e.registerChartView(kY),e.registerLayout(MY),e.registerTransform(AY)}var EY=["color","borderColor"],IY=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,r){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,r,n){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){Bg(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),r=this._data,n=this.group,i=t.getLayout("isSimpleBox"),o=e.get("clip",!0),a=e.coordinateSystem,s=a.getArea&&a.getArea();this._data||n.removeAll(),t.diff(r).add((function(r){if(t.hasValue(r)){var a=t.getItemLayout(r);if(o&&NY(s,a))return;var l=RY(a,r,!0);Wl(l,{shape:{points:a.ends}},e,r),BY(l,t,r,i),n.add(l),t.setItemGraphicEl(r,l)}})).update((function(a,l){var u=r.getItemGraphicEl(l);if(t.hasValue(a)){var c=t.getItemLayout(a);o&&NY(s,c)?n.remove(u):(u?(Ul(u,{shape:{points:c.ends}},e,a),Kl(u)):u=RY(c,a),BY(u,t,a,i),n.add(u),t.setItemGraphicEl(a,u))}else n.remove(u)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&n.remove(t)})).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),HY(e,this.group);var t=e.get("clip",!0)?US(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){var r,n=t.getData(),i=n.getLayout("isSimpleBox");while(null!=(r=e.next())){var o=n.getItemLayout(r),a=RY(o,r);BY(a,n,r,i),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},t.prototype._incrementalRenderLarge=function(e,t){HY(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(Gg),jY=function(){function e(){}return e}(),PY=function(e){function t(t){var r=e.call(this,t)||this;return r.type="normalCandlestickBox",r}return a(t,e),t.prototype.getDefaultShape=function(){return new jY},t.prototype.buildPath=function(e,t){var r=t.points;this.__simpleBox?(e.moveTo(r[4][0],r[4][1]),e.lineTo(r[6][0],r[6][1])):(e.moveTo(r[0][0],r[0][1]),e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]),e.lineTo(r[3][0],r[3][1]),e.closePath(),e.moveTo(r[4][0],r[4][1]),e.lineTo(r[5][0],r[5][1]),e.moveTo(r[6][0],r[6][1]),e.lineTo(r[7][0],r[7][1]))},t}(Wa);function RY(e,t,r){var n=e.ends;return new PY({shape:{points:r?YY(n,e):n},z2:100})}function NY(e,t){for(var r=!0,n=0;n<t.ends.length;n++)if(e.contain(t.ends[n][0],t.ends[n][1])){r=!1;break}return r}function BY(e,t,r,n){var i=t.getItemModel(r);e.useStyle(t.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.__simpleBox=n,Il(e,i)}function YY(e,t){return l["H"](e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var FY=function(){function e(){}return e}(),zY=function(e){function t(t){var r=e.call(this,t)||this;return r.type="largeCandlestickBox",r}return a(t,e),t.prototype.getDefaultShape=function(){return new FY},t.prototype.buildPath=function(e,t){for(var r=t.points,n=0;n<r.length;)if(this.__sign===r[n++]){var i=r[n++];e.moveTo(i,r[n++]),e.lineTo(i,r[n++])}else n+=3},t}(Wa);function HY(e,t,r,n){var i=e.getData(),o=i.getLayout("largePoints"),a=new zY({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(a);var s=new zY({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new zY({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(l),VY(1,a,e,i),VY(-1,s,e,i),VY(0,l,e,i),n&&(a.incremental=!0,s.incremental=!0),r&&r.push(a,s)}function VY(e,t,r,n){var i=r.get(["itemStyle",e>0?"borderColor":"borderColor0"])||r.get(["itemStyle",e>0?"color":"color0"]);0===e&&(i=r.get(["itemStyle","borderColorDoji"]));var o=r.getModel("itemStyle").getItemStyle(EY);t.useStyle(o),t.style.fill=null,t.style.stroke=i}var UY=IY,WY=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],r}return a(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,r){var n=t.getItemLayout(e);return n&&r.rect(n.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,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},t}(Sp);Object(l["K"])(WY,pY,!0);var $Y=WY;function GY(e){e&&l["t"](e.series)&&l["k"](e.series,(function(e){l["A"](e)&&"k"===e.type&&(e.type="candlestick")}))}var qY=["itemStyle","borderColor"],XY=["itemStyle","borderColor0"],KY=["itemStyle","borderColorDoji"],ZY=["itemStyle","color"],JY=["itemStyle","color0"],QY={seriesType:"candlestick",plan:Tp(),performRawSeries:!0,reset:function(e,t){function r(e,t){return t.get(e>0?ZY:JY)}function n(e,t){return t.get(0===e?KY:e>0?qY:XY)}if(!t.isSeriesFiltered(e)){var i=e.pipelineContext.large;return!i&&{progress:function(e,t){var i;while(null!=(i=e.next())){var o=t.getItemModel(i),a=t.getItemLayout(i).sign,s=o.getItemStyle();s.fill=r(a,o),s.stroke=n(a,o)||s.fill;var u=t.ensureUniqueItemVisual(i,"style");Object(l["m"])(u,s)}}}}}},eF=QY,tF={seriesType:"candlestick",plan:Tp(),reset:function(e){var t=e.coordinateSystem,r=e.getData(),n=nF(e,r),i=0,o=1,a=["x","y"],s=r.getDimensionIndex(r.mapDimension(a[i])),u=Object(l["H"])(r.mapDimensionsAll(a[o]),r.getDimensionIndex,r),c=u[0],d=u[1],h=u[2],f=u[3];if(r.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(s<0||u.length<4))return{progress:e.pipelineContext.large?m:p};function p(e,r){var a,l=r.getStore();while(null!=(a=e.next())){var u=l.get(s,a),p=l.get(c,a),m=l.get(d,a),g=l.get(h,a),v=l.get(f,a),y=Math.min(p,m),b=Math.max(p,m),_=T(y,u),w=T(b,u),x=T(g,u),k=T(v,u),S=[];O(S,w,0),O(S,_,1),S.push(A(k),A(w),A(x),A(_));var M=r.getItemModel(a),C=!!M.get(["itemStyle","borderColorDoji"]);r.setItemLayout(a,{sign:rF(l,a,p,m,d,C),initBaseline:p>m?w[o]:_[o],ends:S,brushRect:L(g,v,u)})}function T(e,r){var n=[];return n[i]=r,n[o]=e,isNaN(r)||isNaN(e)?[NaN,NaN]:t.dataToPoint(n)}function O(e,t,r){var o=t.slice(),a=t.slice();o[i]=xg(o[i]+n/2,1,!1),a[i]=xg(a[i]-n/2,1,!0),r?e.push(o,a):e.push(a,o)}function L(e,t,r){var a=T(e,r),s=T(t,r);return a[i]-=n/2,s[i]-=n/2,{x:a[0],y:a[1],width:o?n:s[0]-a[0],height:o?s[1]-a[1]:n}}function A(e){return e[i]=xg(e[i],1),e}}function m(r,n){var a,l,u=DS(4*r.count),p=0,m=[],g=[],v=n.getStore(),y=!!e.get(["itemStyle","borderColorDoji"]);while(null!=(l=r.next())){var b=v.get(s,l),_=v.get(c,l),w=v.get(d,l),x=v.get(h,l),k=v.get(f,l);isNaN(b)||isNaN(x)||isNaN(k)?(u[p++]=NaN,p+=3):(u[p++]=rF(v,l,_,w,d,y),m[i]=b,m[o]=x,a=t.dataToPoint(m,null,g),u[p++]=a?a[0]:NaN,u[p++]=a?a[1]:NaN,m[o]=k,a=t.dataToPoint(m,null,g),u[p++]=a?a[1]:NaN)}n.setLayout("largePoints",u)}}};function rF(e,t,r,n,i,o){var a;return a=r>n?-1:r<n?1:o?0:t>0?e.get(i,t-1)<=n?1:-1:1,a}function nF(e,t){var r,n=e.getBaseAxis(),i="category"===n.type?n.getBandWidth():(r=n.getExtent(),Math.abs(r[1]-r[0])/t.count()),o=Bn(Object(l["P"])(e.get("barMaxWidth"),i),i),a=Bn(Object(l["P"])(e.get("barMinWidth"),1),i),s=e.get("barWidth");return null!=s?Bn(s,i):Math.max(Math.min(i/2,o),a)}var iF=tF;function oF(e){e.registerChartView(UY),e.registerSeriesModel($Y),e.registerPreprocessor(GY),e.registerVisual(eF),e.registerLayout(iF)}function aF(e,t){var r=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?r:null,fill:"fill"===t.brushType?r:null}})}))}var sF=function(e){function t(t,r){var n=e.call(this)||this,i=new _S(t,r),o=new kn;return n.add(i),n.add(o),n.updateData(t,r),n}return a(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,r=e.color,n=e.rippleNumber,i=this.childAt(1),o=0;o<n;o++){var a=ay(t,-1,-1,2,2,r);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/n*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),i.add(a)}aF(i,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,r=this.childAt(1),n=["symbolType","period","rippleScale","rippleNumber"],i=0;i<n.length;i++){var o=n[i];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}aF(r,e)},t.prototype.highlight=function(){cl(this)},t.prototype.downplay=function(){dl(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var r=this,n=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),o=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),s=sy(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"style"),u=l&&l.fill,c=o.getModel("emphasis");i.setScale(s),i.traverse((function(e){e.setStyle("fill",u)}));var d=ly(e.getItemVisual(t,"symbolOffset"),s);d&&(i.x=d[0],i.y=d[1]);var h=e.getItemVisual(t,"symbolRotate");i.rotation=(h||0)*Math.PI/180||0;var f={};f.showEffectOn=n.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=t/e.count(),f.z=n.getShallow("z")||0,f.zlevel=n.getShallow("zlevel")||0,f.symbolType=a,f.color=u,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(e){"emphasis"===e?"render"!==f.showEffectOn&&r.startEffectAnimation(f):"normal"===e&&"render"!==f.showEffectOn&&r.stopEffectAnimation()}),this._effectCfg=f,Ll(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(kn),lF=sF,uF=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(){this._symbolDraw=new MS(lF)},t.prototype.render=function(e,t,r){var n=e.getData(),i=this._symbolDraw;i.updateData(n,{clipShape:this._getClipShape(e)}),this.group.add(i.group)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,r=t&&t.getArea&&t.getArea();return e.get("clip",!0)?r:null},t.prototype.updateTransform=function(e,t,r){var n=e.getData();this.group.dirty();var i=dM("").reset(e,t,r);i.progress&&i.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=ge(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(Gg),cF=uF,dF=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return a(t,e),t.prototype.getInitialData=function(e,t){return fS(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,t,r){return r.point(t.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.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},t}(Sp),hF=dF;function fF(e){e.registerChartView(cF),e.registerSeriesModel(hF),e.registerLayout(dM("effectScatter"))}var pF=function(e){function t(t,r,n){var i=e.call(this)||this;return i.add(i.createLine(t,r,n)),i._updateEffectSymbol(t,r),i}return a(t,e),t.prototype.createLine=function(e,t,r){return new jP(e,t,r)},t.prototype._updateEffectSymbol=function(e,t){var r=e.getItemModel(t),n=r.getModel("effect"),i=n.get("symbolSize"),o=n.get("symbol");l["t"](i)||(i=[i,i]);var a=e.getItemVisual(t,"style"),s=n.get("color")||a&&a.stroke,u=this.childAt(1);this._symbolType!==o&&(this.remove(u),u=ay(o,-.5,-.5,1,1,s),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",s),u.setStyle(n.getItemStyle(["color"])),u.scaleX=i[0],u.scaleY=i[1],u.setColor(s),this._symbolType=o,this._symbolScale=i,this._updateEffectAnimation(e,n,t))},t.prototype._updateEffectAnimation=function(e,t,r){var n=this.childAt(1);if(n){var i=e.getItemLayout(r),o=1e3*t.get("period"),a=t.get("loop"),s=t.get("roundTrip"),u=t.get("constantSpeed"),c=l["O"](t.get("delay"),(function(t){return t/e.count()*o/3}));if(n.ignore=!0,this._updateAnimationPoints(n,i),u>0&&(o=this._getLineLength(n)/u*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){n.stopAnimation();var d=void 0;d=l["w"](c)?c(r):c,n.__t>0&&(d=-o*n.__t),this._animateSymbol(n,o,d,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,r,n,i){if(t>0){e.__t=0;var o=this,a=e.animate("",n).when(i?2*t:t,{__t:i?2:1}).delay(r).during((function(){o._updateSymbolPosition(e)}));n||a.done((function(){o.remove(e)})),a.start()}},t.prototype._getLineLength=function(e){return w(e.__p1,e.__cp1)+w(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,r){this.childAt(0).updateData(e,t,r),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,r=e.__p2,n=e.__cp1,i=e.__t<1?e.__t:2-e.__t,o=[e.x,e.y],a=o.slice(),s=Tt,l=Ot;o[0]=s(t[0],n[0],r[0],i),o[1]=s(t[1],n[1],r[1],i);var u=e.__t<1?l(t[0],n[0],r[0],i):l(r[0],n[0],t[0],1-i),c=e.__t<1?l(t[1],n[1],r[1],i):l(r[1],n[1],t[1],1-i);e.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastT<e.__t?(e.scaleY=1.05*w(a,o),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===e.__lastT?e.scaleY=2*w(t,o):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=o[0],e.y=o[1]},t.prototype.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var r=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,r,t)},t}(kn),mF=pF,gF=function(e){function t(t,r,n){var i=e.call(this)||this;return i._createPolyline(t,r,n),i}return a(t,e),t.prototype._createPolyline=function(e,t,r){var n=e.getItemLayout(t),i=new Dm({shape:{points:n}});this.add(i),this._updateCommonStl(e,t,r)},t.prototype.updateData=function(e,t,r){var n=e.hostModel,i=this.childAt(0),o={shape:{points:e.getItemLayout(t)}};Ul(i,o,n,t),this._updateCommonStl(e,t,r)},t.prototype._updateCommonStl=function(e,t,r){var n=this.childAt(0),i=e.getItemModel(t),o=r&&r.emphasisLineStyle,a=r&&r.focus,s=r&&r.blurScope,l=r&&r.emphasisDisabled;if(!r||e.hasItemOption){var u=i.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}n.useStyle(e.getItemVisual(t,"style")),n.style.fill=null,n.style.strokeNoScale=!0;var c=n.ensureState("emphasis");c.style=o,Ll(this,a,s,l)},t.prototype.updateLayout=function(e,t){var r=this.childAt(0);r.setShape("points",e.getItemLayout(t))},t}(kn),vF=gF,yF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return a(t,e),t.prototype.createLine=function(e,t,r){return new vF(e,t,r)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var r=[0],n=0,i=1;i<t.length;i++){var o=t[i-1],a=t[i];n+=w(o,a),r.push(n)}if(0!==n){for(i=0;i<r.length;i++)r[i]/=n;this._offsets=r,this._length=n}else this._length=0},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var t=e.__t<1?e.__t:2-e.__t,r=this._points,n=this._offsets,i=r.length;if(n){var o,a=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(a+1,i-1);for(o=s;o>=0;o--)if(n[o]<=t)break;o=Math.min(o,i-2)}else{for(o=a;o<i;o++)if(n[o]>t)break;o=Math.min(o-1,i-2)}var l=(t-n[o])/(n[o+1]-n[o]),u=r[o],c=r[o+1];e.x=u[0]*(1-l)+l*c[0],e.y=u[1]*(1-l)+l*c[1];var d=e.__t<1?c[0]-u[0]:u[0]-c[0],h=e.__t<1?c[1]-u[1]:u[1]-c[1];e.rotation=-Math.atan2(h,d)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(mF),bF=yF,_F=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),wF=function(e){function t(t){var r=e.call(this,t)||this;return r._off=0,r.hoverDataIdx=-1,r}return a(t,e),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new _F},t.prototype.buildPath=function(e,t){var r,n=t.segs,i=t.curveness;if(t.polyline)for(r=this._off;r<n.length;){var o=n[r++];if(o>0){e.moveTo(n[r++],n[r++]);for(var a=1;a<o;a++)e.lineTo(n[r++],n[r++])}}else for(r=this._off;r<n.length;){var s=n[r++],l=n[r++],u=n[r++],c=n[r++];if(e.moveTo(s,l),i>0){var d=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}this.incremental&&(this._off=r,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var r=this.shape,n=r.segs,i=r.curveness,o=this.style.lineWidth;if(r.polyline)for(var a=0,s=0;s<n.length;){var l=n[s++];if(l>0)for(var u=n[s++],c=n[s++],d=1;d<l;d++){var h=n[s++],f=n[s++];if(_a(u,c,h,f,o,e,t))return a}a++}else for(a=0,s=0;s<n.length;){u=n[s++],c=n[s++],h=n[s++],f=n[s++];if(i>0){var p=(u+h)/2-(c-f)*i,m=(c+f)/2-(h-u)*i;if(xa(u,c,p,m,h,f,o,e,t))return a}else if(_a(u,c,h,f,o,e,t))return a;a++}return-1},t.prototype.contain=function(e,t){var r=this.transformCoordToLocal(e,t),n=this.getBoundingRect();if(e=r[0],t=r[1],n.contain(e,t)){var i=this.hoverDataIdx=this.findDataIndex(e,t);return i>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,r=t.segs,n=1/0,i=1/0,o=-1/0,a=-1/0,s=0;s<r.length;){var l=r[s++],u=r[s++];n=Math.min(l,n),o=Math.max(l,o),i=Math.min(u,i),a=Math.max(u,a)}e=this._rect=new Oe(n,i,o,a)}return e},t}(Wa),xF=function(){function e(){this.group=new kn}return e.prototype.updateData=function(e){this._clear();var t=this._create();t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e)},e.prototype.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(e,t){var r=this._newAdded[0],n=t.getLayout("linesPoints"),i=r&&r.shape.segs;if(i&&i.length<2e4){var o=i.length,a=new Float32Array(o+n.length);a.set(i),a.set(n,o),r.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:n}),this._setCommon(s,t),s.__startIndex=e.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new wF({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,r){var n=t.hostModel;e.setShape({polyline:n.get("polyline"),curveness:n.get(["lineStyle","curveness"])}),e.useStyle(n.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("style");i&&i.stroke&&e.setStyle("stroke",i.stroke),e.setStyle("fill",null);var o=Ts(e);o.seriesIndex=n.seriesIndex,e.on("mousemove",(function(t){o.dataIndex=null;var r=e.hoverDataIdx;r>0&&(o.dataIndex=r+e.__startIndex)}))},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),kF=xF,SF={seriesType:"lines",plan:Tp(),reset:function(e){var t=e.coordinateSystem;if(t){var r=e.get("polyline"),n=e.pipelineContext.large;return{progress:function(i,o){var a=[];if(n){var s=void 0,l=i.end-i.start;if(r){for(var u=0,c=i.start;c<i.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=i.start;c<i.end;c++){var f=e.getLineCoords(c,a);r&&(s[d++]=f);for(var p=0;p<f;p++)h=t.dataToPoint(a[p],!1,h),s[d++]=h[0],s[d++]=h[1]}o.setLayout("linesPoints",s)}else for(c=i.start;c<i.end;c++){var m=o.getItemModel(c),g=(f=e.getLineCoords(c,a),[]);if(r)for(var v=0;v<f;v++)g.push(t.dataToPoint(a[v]));else{g[0]=t.dataToPoint(a[0]),g[1]=t.dataToPoint(a[1]);var y=m.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])}o.setItemLayout(c,g)}}}}}},MF=SF,CF=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n=e.getData(),i=this._updateLineDraw(n,e),o=e.get("zlevel"),a=e.get(["effect","trailLength"]),s=r.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(n);var u=e.get("clip",!0)&&US(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,r){var n=e.getData(),i=this._updateLineDraw(n,e);i.incrementalPrepareUpdate(n),this._clearLayer(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,r){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,r){var n=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=MF.reset(e,t,r);o.progress&&o.progress({start:0,end:n.count(),count:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(r)},t.prototype._updateLineDraw=function(e,t){var r=this._lineDraw,n=this._showEffect(t),i=!!t.get("polyline"),o=t.pipelineContext,a=o.large;return r&&n===this._hasEffet&&i===this._isPolyline&&a===this._isLargeDraw||(r&&r.remove(),r=this._lineDraw=a?new kF:new FP(i?n?bF:vF:n?mF:jP),this._hasEffet=n,this._isPolyline=i,this._isLargeDraw=a),this.group.add(r.group),r},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr(),r="svg"===t.painter.getType();r||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(Gg),TF=CF,OF="undefined"===typeof Uint32Array?Array:Uint32Array,LF="undefined"===typeof Float64Array?Array:Float64Array;function AF(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Object(l["H"])(t,(function(e){var t=[e[0].coord,e[1].coord],r={coords:t};return e[0].name&&(r.fromName=e[0].name),e[1].name&&(r.toName=e[1].name),Object(l["J"])([r,e[0],e[1]])})))}var DF=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return a(t,e),t.prototype.init=function(t){t.data=t.data||[],AF(t);var r=this._processFlatCoordsArray(t.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(t.data=new Float32Array(r.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(AF(t),t.data){var r=this._processFlatCoordsArray(t.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(t.data=new Float32Array(r.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Object(l["e"])(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Object(l["e"])(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e),r=t.option instanceof Array?t.option:t.getShallow("coords");return r},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var r=this._flatCoordsOffset[2*e],n=this._flatCoordsOffset[2*e+1],i=0;i<n;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[r+2*i],t[i][1]=this._flatCoords[r+2*i+1];return n}var o=this._getCoordsFromItemModel(e);for(i=0;i<o.length;i++)t[i]=t[i]||[],t[i][0]=o[i][0],t[i][1]=o[i][1];return o.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),Object(l["z"])(e[0])){for(var r=e.length,n=new OF(r),i=new LF(r),o=0,a=0,s=0,u=0;u<r;){s++;var c=e[u++];n[a++]=o+t,n[a++]=c;for(var d=0;d<c;d++){var h=e[u++],f=e[u++];i[o++]=h,i[o++]=f}}return{flatCoordsOffset:new Uint32Array(n.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var r=new Xk(["value"],this);return r.hasItemOption=!1,r.initData(e.data,[],(function(e,t,n,i){if(e instanceof Array)return NaN;r.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[i]:o:void 0})),r},t.prototype.formatTooltip=function(e,t,r){var n=this.getData(),i=n.getItemModel(e),o=i.get("name");if(o)return o;var a=i.get("fromName"),s=i.get("toName"),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),qf("nameValue",{name:l.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.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}},t}(Sp),EF=DF;function IF(e){return e instanceof Array||(e=[e,e]),e}var jF={seriesType:"lines",reset:function(e){var t=IF(e.get("symbol")),r=IF(e.get("symbolSize")),n=e.getData();function i(e,t){var r=e.getItemModel(t),n=IF(r.getShallow("symbol",!0)),i=IF(r.getShallow("symbolSize",!0));n[0]&&e.setItemVisual(t,"fromSymbol",n[0]),n[1]&&e.setItemVisual(t,"toSymbol",n[1]),i[0]&&e.setItemVisual(t,"fromSymbolSize",i[0]),i[1]&&e.setItemVisual(t,"toSymbolSize",i[1])}return n.setVisual("fromSymbol",t&&t[0]),n.setVisual("toSymbol",t&&t[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),{dataEach:n.hasItemOption?i:null}}},PF=jF;function RF(e){e.registerChartView(TF),e.registerSeriesModel(EF),e.registerLayout(MF),e.registerVisual(PF)}var NF=256,BF=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Zr["d"].createCanvas();this.canvas=e}return e.prototype.update=function(e,t,r,n,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=e.length;c.width=t,c.height=r;for(var f=0;f<h;++f){var p=e[f],m=p[0],g=p[1],v=p[2],y=n(v);d.globalAlpha=y,d.drawImage(a,m-u,g-u)}if(!c.width||!c.height)return c;var b=d.getImageData(0,0,c.width,c.height),_=b.data,w=0,x=_.length,k=this.minOpacity,S=this.maxOpacity,M=S-k;while(w<x){y=_[w+3]/256;var C=4*Math.floor(y*(NF-1));if(y>0){var T=o(y)?s:l;y>0&&(y=y*M+k),_[w++]=T[C],_[w++]=T[C+1],_[w++]=T[C+2],_[w++]=T[C+3]*y*256}else w+=4}return d.putImageData(b,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Zr["d"].createCanvas()),t=this.pointSize+this.blurSize,r=2*t;e.width=r,e.height=r;var n=e.getContext("2d");return n.clearRect(0,0,r,r),n.shadowOffsetX=r,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-t,t,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),e},e.prototype._getGradient=function(e,t){for(var r=this._gradientPixels,n=r[t]||(r[t]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)e[t](a/255,!0,i),n[o++]=i[0],n[o++]=i[1],n[o++]=i[2],n[o++]=i[3];return n},e}(),YF=BF;function FF(e,t,r){var n=e[1]-e[0];t=l["H"](t,(function(t){return{interval:[(t.interval[0]-e[0])/n,(t.interval[1]-e[0])/n]}}));var i=t.length,o=0;return function(e){var n;for(n=o;n<i;n++){var a=t[n].interval;if(a[0]<=e&&e<=a[1]){o=n;break}}if(n===i)for(n=o-1;n>=0;n--){a=t[n].interval;if(a[0]<=e&&e<=a[1]){o=n;break}}return n>=0&&n<i&&r[n]}}function zF(e,t){var r=e[1]-e[0];return t=[(t[0]-e[0])/r,(t[1]-e[0])/r],function(e){return e>=t[0]&&e<=t[1]}}function HF(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var VF=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(r){r===e&&(n=t)}))})),this._progressiveEls=null,this.group.removeAll();var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,r,0,e.getData().count()):HF(i)&&this._renderOnGeo(i,e,n,r)},t.prototype.incrementalPrepareRender=function(e,t,r){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,r,n){var i=t.coordinateSystem;i&&(HF(i)?this.render(t,r,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,n,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Bg(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,r,n,i){var o,a,s,l,u=e.coordinateSystem,c=WS(u,"cartesian2d");if(c){var d=u.getAxis("x"),h=u.getAxis("y");0,o=d.getBandWidth()+.5,a=h.getBandWidth()+.5,s=d.scale.getExtent(),l=h.scale.getExtent()}for(var f=this.group,p=e.getData(),m=e.getModel(["emphasis","itemStyle"]).getItemStyle(),g=e.getModel(["blur","itemStyle"]).getItemStyle(),v=e.getModel(["select","itemStyle"]).getItemStyle(),y=e.get(["itemStyle","borderRadius"]),b=ru(e),_=e.getModel("emphasis"),w=_.get("focus"),x=_.get("blurScope"),k=_.get("disabled"),S=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],M=r;M<n;M++){var C=void 0,T=p.getItemVisual(M,"style");if(c){var O=p.get(S[0],M),L=p.get(S[1],M);if(isNaN(p.get(S[2],M))||isNaN(O)||isNaN(L)||O<s[0]||O>s[1]||L<l[0]||L>l[1])continue;var A=u.dataToPoint([O,L]);C=new ls({shape:{x:A[0]-o/2,y:A[1]-a/2,width:o,height:a},style:T})}else{if(isNaN(p.get(S[1],M)))continue;C=new ls({z2:1,shape:u.dataToRect([p.get(S[0],M)]).contentShape,style:T})}if(p.hasItemOption){var D=p.getItemModel(M),E=D.getModel("emphasis");m=E.getModel("itemStyle").getItemStyle(),g=D.getModel(["blur","itemStyle"]).getItemStyle(),v=D.getModel(["select","itemStyle"]).getItemStyle(),y=D.get(["itemStyle","borderRadius"]),w=E.get("focus"),x=E.get("blurScope"),k=E.get("disabled"),b=ru(D)}C.shape.r=y;var I=e.getRawValue(M),j="-";I&&null!=I[2]&&(j=I[2]+""),tu(C,b,{labelFetcher:e,labelDataIndex:M,defaultOpacity:T.opacity,defaultText:j}),C.ensureState("emphasis").style=m,C.ensureState("blur").style=g,C.ensureState("select").style=v,Ll(C,w,x,k),C.incremental=i,i&&(C.states.emphasis.hoverLayer=!0),f.add(C),p.setItemGraphicEl(M,C),this._progressiveEls&&this._progressiveEls.push(C)}},t.prototype._renderOnGeo=function(e,t,r,n){var i=r.targetVisuals.inRange,o=r.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new YF;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=e.getViewRect().clone(),u=e.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),d=Math.max(l.y,0),h=Math.min(l.width+l.x,n.getWidth()),f=Math.min(l.height+l.y,n.getHeight()),p=h-c,m=f-d,g=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(g,(function(t,r,n){var i=e.dataToPoint([t,r]);return i[0]-=c,i[1]-=d,i.push(n),i})),y=r.getExtent(),b="visualMap.continuous"===r.type?zF(y,r.option.range):FF(y,r.getPieceList(),r.option.selected);s.update(v,p,m,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var _=new Qa({style:{width:p,height:m,x:c,y:d,image:s.canvas},silent:!0});this.group.add(_)},t.type="heatmap",t}(Gg),UF=VF,WF=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.getInitialData=function(e,t){return fS(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=Gd.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(Sp),$F=WF;function GF(e){e.registerChartView(UF),e.registerSeriesModel($F)}var qF=["itemStyle","borderWidth"],XF=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],KF=new Qp,ZF=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n=this.group,i=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),u=a.master.getRect(),c={ecSize:{width:r.getWidth(),height:r.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:XF[+l],categoryDim:XF[1-+l]};i.diff(o).add((function(e){if(i.hasValue(e)){var t=uz(i,e),r=JF(i,e,t,c),o=hz(i,c,r);i.setItemGraphicEl(e,o),n.add(o),yz(o,c,r)}})).update((function(e,t){var r=o.getItemGraphicEl(t);if(i.hasValue(e)){var a=uz(i,e),s=JF(i,e,a,c),l=mz(i,s);r&&l!==r.__pictorialShapeStr&&(n.remove(r),i.setItemGraphicEl(e,null),r=null),r?fz(r,c,s):r=hz(i,c,s,!0),i.setItemGraphicEl(e,r),r.__pictorialSymbolMeta=s,n.add(r),yz(r,c,s)}else n.remove(r)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&pz(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute();var d=e.get("clip",!0)?US(e.coordinateSystem,!1,e):null;return d?n.setClipPath(d):n.removeClipPath(),this._data=i,this.group},t.prototype.remove=function(e,t){var r=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl((function(t){pz(n,Ts(t).dataIndex,e,t)})):r.removeAll()},t.type="pictorialBar",t}(Gg);function JF(e,t,r,n){var i=e.getItemLayout(t),o=r.get("symbolRepeat"),a=r.get("symbolClip"),s=r.get("symbolPosition")||"start",l=r.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=r.get("symbolPatternSize")||2,d=r.isAnimationEnabled(),h={dataIndex:t,layout:i,itemModel:r,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:r.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:d?r:null,hoverScale:d&&r.get(["emphasis","scale"]),z2:r.getShallow("z",!0)||0};QF(r,o,i,n,h),tz(e,t,i,o,a,h.boundingLength,h.pxSign,c,n,h),rz(r,h.symbolScale,u,n,h);var f=h.symbolSize,p=ly(r.get("symbolOffset"),f);return nz(r,f,i,o,a,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,n,h),h}function QF(e,t,r,n,i){var o,a=n.valueDim,s=e.get("symbolBoundingData"),u=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),d=1-+(r[a.wh]<=0);if(l["t"](s)){var h=[ez(u,s[0])-c,ez(u,s[1])-c];h[1]<h[0]&&h.reverse(),o=h[d]}else o=null!=s?ez(u,s)-c:t?n.coordSysExtent[a.index][d]-c:r[a.wh];i.boundingLength=o,t&&(i.repeatCutLength=r[a.wh]),i.pxSign=o>0?1:-1}function ez(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function tz(e,t,r,n,i,o,a,s,u,c){var d,h=u.valueDim,f=u.categoryDim,p=Math.abs(r[f.wh]),m=e.getItemVisual(t,"symbolSize");d=l["t"](m)?m.slice():null==m?["100%","100%"]:[m,m],d[f.index]=Bn(d[f.index],p),d[h.index]=Bn(d[h.index],n?p:Math.abs(o)),c.symbolSize=d;var g=c.symbolScale=[d[0]/s,d[1]/s];g[h.index]*=(u.isHorizontal?-1:1)*a}function rz(e,t,r,n,i){var o=e.get(qF)||0;o&&(KF.attr({scaleX:t[0],scaleY:t[1],rotation:r}),KF.updateTransform(),o/=KF.getLineScale(),o*=t[n.valueDim.index]),i.valueLineWidth=o||0}function nz(e,t,r,n,i,o,a,s,u,c,d,h){var f=d.categoryDim,p=d.valueDim,m=h.pxSign,g=Math.max(t[p.index]+s,0),v=g;if(n){var y=Math.abs(u),b=l["O"](e.get("symbolMargin"),"15%")+"",_=!1;b.lastIndexOf("!")===b.length-1&&(_=!0,b=b.slice(0,b.length-1));var w=Bn(b,t[p.index]),x=Math.max(g+2*w,0),k=_?0:2*w,S=ni(n),M=S?n:bz((y+k)/x),C=y-M*g;w=C/2/(_?M:Math.max(M-1,1)),x=g+2*w,k=_?0:2*w,S||"fixed"===n||(M=c?bz((Math.abs(c)+k)/x):0),v=M*x-k,h.repeatTimes=M,h.symbolMargin=w}var T=m*(v/2),O=h.pathPosition=[];O[f.index]=r[f.wh]/2,O[p.index]="start"===a?T:"end"===a?u-T:u/2,o&&(O[0]+=o[0],O[1]+=o[1]);var L=h.bundlePosition=[];L[f.index]=r[f.xy],L[p.index]=r[p.xy];var A=h.barRectShape=l["m"]({},r);A[p.wh]=m*Math.max(Math.abs(r[p.wh]),Math.abs(O[p.index]+T)),A[f.wh]=r[f.wh];var D=h.clipShape={};D[f.xy]=-r[f.xy],D[f.wh]=d.ecSize[f.wh],D[p.xy]=0,D[p.wh]=r[p.wh]}function iz(e){var t=e.symbolPatternSize,r=ay(e.symbolType,-t/2,-t/2,t,t);return r.attr({culling:!0}),"image"!==r.type&&r.setStyle({strokeNoScale:!0}),r}function oz(e,t,r,n){var i=e.__pictorialBundle,o=r.symbolSize,a=r.valueLineWidth,s=r.pathPosition,l=t.valueDim,u=r.repeatTimes||0,c=0,d=o[t.valueDim.index]+a+2*r.symbolMargin;for(gz(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?vz(e,null,p(c),r,n):vz(e,null,{scaleX:0,scaleY:0},r,n,(function(){i.remove(e)})),c++}));c<u;c++){var h=iz(r);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,i.add(h);var f=p(c);vz(h,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},r,n)}function p(e){var t=s.slice(),n=r.pxSign,i=e;return("start"===r.symbolRepeatDirection?n>0:n<0)&&(i=u-1-e),t[l.index]=d*(i-u/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation}}}function az(e,t,r,n){var i=e.__pictorialBundle,o=e.__pictorialMainPath;o?vz(o,null,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation},r,n):(o=e.__pictorialMainPath=iz(r),i.add(o),vz(o,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:0,scaleY:0,rotation:r.rotation},{scaleX:r.symbolScale[0],scaleY:r.symbolScale[1]},r,n))}function sz(e,t,r){var n=l["m"]({},t.barRectShape),i=e.__pictorialBarRect;i?vz(i,null,{shape:n},t,r):(i=e.__pictorialBarRect=new ls({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function lz(e,t,r,i){if(r.symbolClip){var o=e.__pictorialClipPath,a=l["m"]({},r.clipShape),s=t.valueDim,u=r.animationModel,c=r.dataIndex;if(o)Ul(o,{shape:a},u,c);else{a[s.wh]=0,o=new ls({shape:a}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var d={};d[s.wh]=r.clipShape[s.wh],n[i?"updateProps":"initProps"](o,{shape:d},u,c)}}}function uz(e,t){var r=e.getItemModel(t);return r.getAnimationDelayParams=cz,r.isAnimationEnabled=dz,r}function cz(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function dz(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function hz(e,t,r,n){var i=new kn,o=new kn;return i.add(o),i.__pictorialBundle=o,o.x=r.bundlePosition[0],o.y=r.bundlePosition[1],r.symbolRepeat?oz(i,t,r):az(i,t,r),sz(i,r,n),lz(i,t,r,n),i.__pictorialShapeStr=mz(e,r),i.__pictorialSymbolMeta=r,i}function fz(e,t,r){var n=r.animationModel,i=r.dataIndex,o=e.__pictorialBundle;Ul(o,{x:r.bundlePosition[0],y:r.bundlePosition[1]},n,i),r.symbolRepeat?oz(e,t,r,!0):az(e,t,r,!0),sz(e,r,!0),lz(e,t,r,!0)}function pz(e,t,r,n){var i=n.__pictorialBarRect;i&&i.removeTextContent();var o=[];gz(n,(function(e){o.push(e)})),n.__pictorialMainPath&&o.push(n.__pictorialMainPath),n.__pictorialClipPath&&(r=null),l["k"](o,(function(e){Gl(e,{scaleX:0,scaleY:0},r,t,(function(){n.parent&&n.parent.remove(n)}))})),e.setItemGraphicEl(t,null)}function mz(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function gz(e,t,r){l["k"](e.__pictorialBundle.children(),(function(n){n!==e.__pictorialBarRect&&t.call(r,n)}))}function vz(e,t,r,i,o,a){t&&e.attr(t),i.symbolClip&&!o?r&&e.attr(r):r&&n[o?"updateProps":"initProps"](e,r,i.animationModel,i.dataIndex,a)}function yz(e,t,r){var n=r.dataIndex,i=r.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),u=i.getModel(["select","itemStyle"]).getItemStyle(),c=i.getShallow("cursor"),d=o.get("focus"),h=o.get("blurScope"),f=o.get("scale");gz(e,(function(e){if(e instanceof Qa){var t=e.style;e.useStyle(l["m"]({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},r.style))}else e.useStyle(r.style);var n=e.ensureState("emphasis");n.style=a,f&&(n.scaleX=1.1*e.scaleX,n.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=u,c&&(e.cursor=c),e.z2=r.z2}));var p=t.valueDim.posDesc[+(r.boundingLength>0)],m=e.__pictorialBarRect;m.ignoreClip=!0,tu(m,ru(i),{labelFetcher:t.seriesModel,labelDataIndex:n,defaultText:gS(t.seriesModel.getData(),n),inheritColor:r.style.fill,defaultOpacity:r.style.opacity,defaultOutsidePosition:p}),Ll(e,d,h,o.get("disabled"))}function bz(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var _z=ZF,wz=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r.defaultSymbol="roundRect",r}return a(t,e),t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Eu(DM.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%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(DM),xz=wz;function kz(e){e.registerChartView(_z),e.registerSeriesModel(xz),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Object(l["h"])(MM,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,CM("pictorialBar"))}var Sz=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._layers=[],r}return a(t,e),t.prototype.render=function(e,t,r){var n=e.getData(),i=this,o=this.group,a=e.getLayerSeries(),s=n.getLayout("layoutInfo"),u=s.rect,c=s.boundaryGap;function d(e){return e.name}o.x=0,o.y=u.y+c[0];var h=new bk(this._layersSeries||[],a,d,d),f=[];function p(t,r,s){var l=i._layers;if("remove"!==t){for(var u,c,d=[],h=[],p=a[r].indices,m=0;m<p.length;m++){var g=n.getItemLayout(p[m]),v=g.x,y=g.y0,b=g.y;d.push(v,y),h.push(v,y+b),u=n.getItemVisual(p[m],"style")}var _=n.getItemLayout(p[0]),w=e.getModel("label"),x=w.get("margin"),k=e.getModel("emphasis");if("add"===t){var S=f[r]=new kn;c=new zS({shape:{points:d,stackedOnPoints:h,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),o.add(S),e.isAnimationEnabled()&&c.setClipPath(Mz(c.getBoundingRect(),e,(function(){c.removeClipPath()})))}else{S=l[s];c=S.childAt(0),o.add(S),f[r]=S,Ul(c,{shape:{points:d,stackedOnPoints:h}},e),Kl(c)}tu(c,ru(e),{labelDataIndex:p[m-1],defaultText:n.getName(p[m-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var M=c.getTextContent();M&&(M.x=_.x-x,M.y=_.y0+_.y/2),c.useStyle(u),n.setItemGraphicEl(r,c),Il(c,e),Ll(c,k.get("focus"),k.get("blurScope"),k.get("disabled"))}else o.remove(l[r])}h.add(Object(l["c"])(p,this,"add")).update(Object(l["c"])(p,this,"update")).remove(Object(l["c"])(p,this,"remove")).execute(),this._layersSeries=a,this._layers=f},t.type="themeRiver",t}(Gg);function Mz(e,t,r){var n=new ls({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Wl(n,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,r),n}var Cz=Sz,Tz=2,Oz=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new DC(l["c"](this.getData,this),l["c"](this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,r={},n=Hi(e,(function(e){return r.hasOwnProperty(e[0]+"")||(r[e[0]+""]=-1),e[2]})),i=[];n.buckets.each((function(e,t){i.push({name:t,dataList:e})}));for(var o=i.length,a=0;a<o;++a){for(var s=i[a].name,l=0;l<i[a].dataList.length;++l){var u=i[a].dataList[l][0]+"";r[u]=a}for(var u in r)r.hasOwnProperty(u)&&r[u]!==a&&(r[u]=a,e[t]=[u,0,s],t++)}return e},t.prototype.getInitialData=function(e,t){for(var r=this.getReferringComponents("singleAxis",Ri).models[0],n=r.get("type"),i=l["n"](e.data,(function(e){return void 0!==e[2]})),o=this.fixData(i||[]),a=[],s=this.nameMap=l["f"](),u=0,c=0;c<o.length;++c)a.push(o[c][Tz]),s.get(o[c][Tz])||(s.set(o[c][Tz],u),u++);var d=Kk(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:kk(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,h=new Xk(d,this);return h.initData(o),h},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),r=[],n=0;n<t;++n)r[n]=n;var i=e.mapDimension("single"),o=Hi(r,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,r){t.sort((function(t,r){return e.get(i,t)-e.get(i,r)})),a.push({name:r,indices:t})})),a},t.prototype.getAxisTooltipData=function(e,t,r){l["t"](e)||(e=e?[e]:[]);for(var n,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,d=-1,h=o[u].indices.length,f=0;f<h;++f){var p=i.get(e[0],o[u].indices[f]),m=Math.abs(p-t);m<=c&&(n=p,c=m,d=o[u].indices[f])}a.push(d)}return{dataIndices:a,nestestValue:n}},t.prototype.formatTooltip=function(e,t,r){var n=this.getData(),i=n.getName(e),o=n.get(n.mapDimension("value"),e);return qf("nameValue",{name:i,value:o})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.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}}},t}(Sp),Lz=Oz;function Az(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),r=e.coordinateSystem,n={},i=r.getRect();n.rect=i;var o=e.get("boundaryGap"),a=r.getAxis();if(n.boundaryGap=o,"horizontal"===a.orient){o[0]=Bn(o[0],i.height),o[1]=Bn(o[1],i.height);var s=i.height-o[0]-o[1];Dz(t,e,s)}else{o[0]=Bn(o[0],i.width),o[1]=Bn(o[1],i.width);var l=i.width-o[0]-o[1];Dz(t,e,l)}t.setLayout("layoutInfo",n)}))}function Dz(e,t,r){if(e.count())for(var n,i=t.coordinateSystem,o=t.getLayerSeries(),a=e.mapDimension("single"),s=e.mapDimension("value"),u=l["H"](o,(function(t){return l["H"](t.indices,(function(t){var r=i.dataToPoint(e.get(a,t));return r[1]=e.get(s,t),r}))})),c=Ez(u),d=c.y0,h=r/c.max,f=o.length,p=o[0].indices.length,m=0;m<p;++m){n=d[m]*h,e.setItemLayout(o[0].indices[m],{layerIndex:0,x:u[0][m][0],y0:n,y:u[0][m][1]*h});for(var g=1;g<f;++g)n+=u[g-1][m][1]*h,e.setItemLayout(o[g].indices[m],{layerIndex:g,x:u[g][m][0],y0:n,y:u[g][m][1]*h})}}function Ez(e){for(var t=e.length,r=e[0].length,n=[],i=[],o=0,a=0;a<r;++a){for(var s=0,l=0;l<t;++l)s+=e[l][a][1];s>o&&(o=s),n.push(s)}for(var u=0;u<r;++u)i[u]=(o-n[u])/2;o=0;for(var c=0;c<r;++c){var d=n[c]+i[c];d>o&&(o=d)}return{y0:i,max:o}}function Iz(e){e.registerChartView(Cz),e.registerSeriesModel(Lz),e.registerLayout(Az),e.registerProcessor(bC("themeRiver"))}var jz=2,Pz=4,Rz=function(e){function t(t,r,n,i){var o=e.call(this)||this;o.z2=jz,o.textConfig={inside:!0},Ts(o).seriesIndex=r.seriesIndex;var a=new Cs({z2:Pz,silent:t.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,t,r,n,i),o}return a(t,e),t.prototype.updateData=function(e,t,r,n,i){this.node=t,t.piece=this,r=r||this._seriesModel,n=n||this._ecModel;var o=this;Ts(o).dataIndex=t.dataIndex;var a=t.getModel(),s=a.getModel("emphasis"),u=t.getLayout(),c=l["m"]({},u);c.label=null;var d=t.getVisual("style");d.lineJoin="bevel";var h=t.getVisual("decal");h&&(d.decal=Xy(h,i));var f=zM(a.getModel("itemStyle"),c,!0);l["m"](c,f),l["k"](Rs,(function(e){var t=o.ensureState(e),r=a.getModel([e,"itemStyle"]);t.style=r.getItemStyle();var n=zM(r,c);n&&(t.shape=n)})),e?(o.setShape(c),o.shape.r=u.r0,Wl(o,{shape:{r:u.r}},r,t.dataIndex)):(Ul(o,{shape:c},r),Kl(o)),o.useStyle(d),this._updateLabel(r);var p=a.getShallow("cursor");p&&o.attr("cursor",p),this._seriesModel=r||this._seriesModel,this._ecModel=n||this._ecModel;var m=s.get("focus"),g="ancestor"===m?t.getAncestorsIndices():"descendant"===m?t.getDescendantIndices():m;Ll(this,g,s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,r=this.node.getModel(),n=r.getModel("label"),i=this.node.getLayout(),o=i.endAngle-i.startAngle,a=(i.startAngle+i.endAngle)/2,s=Math.cos(a),u=Math.sin(a),c=this,d=c.getTextContent(),h=this.node.dataIndex,f=n.get("minAngle")/180*Math.PI,p=n.get("show")&&!(null!=f&&Math.abs(o)<f);function m(e,t){var r=e.get(t);return null==r?n.get(t):r}d.ignore=!p,l["k"](Ns,(function(n){var f="normal"===n?r.getModel("label"):r.getModel([n,"label"]),p="normal"===n,g=p?d:d.ensureState(n),v=e.getFormattedLabel(h,n);p&&(v=v||t.node.name),g.style=nu(f,{},null,"normal"!==n,!0),v&&(g.style.text=v);var y=f.get("show");null==y||p||(g.ignore=!y);var b,_=m(f,"position"),w=p?c:c.states[n],x=w.style.fill;w.textConfig={outsideFill:"inherit"===f.get("color")?x:null,inside:"outside"!==_};var k=m(f,"distance")||0,S=m(f,"align"),M=m(f,"rotate"),C=.5*Math.PI,T=1.5*Math.PI,O=Sa("tangential"===M?Math.PI/2-a:a),L=O>C&&!qn(O-C)&&O<T;"outside"===_?(b=i.r+k,S=L?"right":"left"):S&&"center"!==S?"left"===S?(b=i.r0+k,S=L?"right":"left"):"right"===S&&(b=i.r-k,S=L?"left":"right"):(b=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=m(f,"verticalAlign")||"middle",g.x=b*s+i.cx,g.y=b*u+i.cy;var A=0;"radial"===M?A=Sa(-a)+(L?Math.PI:0):"tangential"===M?A=Sa(Math.PI/2-a)+(L?Math.PI:0):l["z"](M)&&(A=M*Math.PI/180),g.rotation=Sa(A)})),d.dirtyStyle()},t}(_m),Nz=Rz,Bz="sunburstRootToNode",Yz="sunburstHighlight",Fz="sunburstUnhighlight";function zz(e){e.registerAction({type:Bz,update:"updateView"},(function(e,t){function r(t,r){var n=nI(e,[Bz],t);if(n){var i=t.getViewRoot();i&&(e.direction=oI(i,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},r)})),e.registerAction({type:Yz,update:"none"},(function(e,t,r){function n(t){var r=nI(e,[Yz],t);r&&(e.dataIndex=r.node.dataIndex)}e=Object(l["m"])({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},n),r.dispatchAction(Object(l["m"])(e,{type:"highlight"}))})),e.registerAction({type:Fz,update:"updateView"},(function(e,t,r){e=Object(l["m"])({},e),r.dispatchAction(Object(l["m"])(e,{type:"downplay"}))}))}var Hz=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r,n){var i=this;this.seriesModel=e,this.api=r,this.ecModel=t;var o=e.getData(),a=o.tree.root,s=e.getViewRoot(),u=this.group,c=e.get("renderLabelForZeroData"),d=[];s.eachNode((function(e){d.push(e)}));var h=this._oldChildren||[];function f(e,t){function r(e){return e.getId()}function n(r,n){var i=null==r?null:e[r],o=null==n?null:t[n];p(i,o)}0===e.length&&0===t.length||new bk(t,e,r,r).add(n).update(n).remove(l["h"](n,null)).execute()}function p(n,i){if(c||!n||n.getValue()||(n=null),n!==a&&i!==a)if(i&&i.piece)n?(i.piece.updateData(!1,n,e,t,r),o.setItemGraphicEl(n.dataIndex,i.piece)):m(i);else if(n){var s=new Nz(n,e,t,r);u.add(s),o.setItemGraphicEl(n.dataIndex,s)}}function m(e){e&&e.piece&&(u.remove(e.piece),e.piece=null)}function g(n,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,n,e,t,r):(i.virtualPiece=new Nz(n,e,t,r),u.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",(function(e){i._rootToNode(o.parentNode)}))):i.virtualPiece&&(u.remove(i.virtualPiece),i.virtualPiece=null)}f(d,h),g(a,s),this._initEvents(),this._oldChildren=d},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",(function(t){var r=!1,n=e.seriesModel.getViewRoot();n.eachNode((function(n){if(!r&&n.piece&&n.piece===t.target){var i=n.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(n);else if("link"===i){var o=n.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";Ic(a,s)}}r=!0}}))}))},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Bz,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var r=t.getData(),n=r.getItemLayout(0);if(n){var i=e[0]-n.cx,o=e[1]-n.cy,a=Math.sqrt(i*i+o*o);return a<=n.r&&a>=n.r0}},t.type="sunburst",t}(Gg),Vz=Hz,Uz=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.ignoreStyleOnData=!0,r}return a(t,e),t.prototype.getInitialData=function(e,t){var r={name:e.name,children:e.data};Wz(r);var n=this._levelModels=l["H"](e.levels||[],(function(e){return new Tu(e,this,t)}),this),i=rI.createTree(r,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var r=i.getNodeByDataIndex(t),o=n[r.depth];return o&&(e.parentModel=o),e}))}return i.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var r=e.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return r.treePathInfo=aI(n,this),r},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){yI(this)},t.type="series.sunburst",t.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"},t}(Sp);function Wz(e){var t=0;l["k"](e.children,(function(e){Wz(e);var r=e.value;l["t"](r)&&(r=r[0]),t+=r}));var r=e.value;l["t"](r)&&(r=r[0]),(null==r||isNaN(r))&&(r=t),r<0&&(r=0),l["t"](e.value)?e.value[0]=r:e.value=r}var $z=Uz,Gz=Math.PI/180;function qz(e,t,r){t.eachSeriesByType(e,(function(e){var t=e.get("center"),n=e.get("radius");l["t"](n)||(n=[0,n]),l["t"](t)||(t=[t,t]);var i=r.getWidth(),o=r.getHeight(),a=Math.min(i,o),s=Bn(t[0],i),u=Bn(t[1],o),c=Bn(n[0],a/2),d=Bn(n[1],a/2),h=-e.get("startAngle")*Gz,f=e.get("minAngle")*Gz,p=e.getData().tree.root,m=e.getViewRoot(),g=m.depth,v=e.get("sort");null!=v&&Xz(m,v);var y=0;l["k"](m.children,(function(e){!isNaN(e.getValue())&&y++}));var b=m.getValue(),_=Math.PI/(b||y)*2,w=m.depth>0,x=m.height-(w?-1:1),k=(d-c)/(x||1),S=e.get("clockwise"),M=e.get("stillShowZeroSum"),C=S?1:-1,T=function(t,r){if(t){var n=r;if(t!==p){var i=t.getValue(),o=0===b&&M?_:i*_;o<f&&(o=f),n=r+C*o;var d=t.depth-g-(w?-1:1),h=c+k*d,m=c+k*(d+1),v=e.getLevelModel(t);if(v){var y=v.get("r0",!0),x=v.get("r",!0),O=v.get("radius",!0);null!=O&&(y=O[0],x=O[1]),null!=y&&(h=Bn(y,a/2)),null!=x&&(m=Bn(x,a/2))}t.setLayout({angle:o,startAngle:r,endAngle:n,clockwise:S,cx:s,cy:u,r0:h,r:m})}if(t.children&&t.children.length){var L=0;l["k"](t.children,(function(e){L+=T(e,r+L)}))}return n-r}};if(w){var O=c,L=c+k,A=2*Math.PI;p.setLayout({angle:A,startAngle:h,endAngle:h+A,clockwise:S,cx:s,cy:u,r0:O,r:L})}T(m,h)}))}function Xz(e,t){var r=e.children||[];e.children=Kz(r,t),r.length&&l["k"](e.children,(function(e){Xz(e,t)}))}function Kz(e,t){if(l["w"](t)){var r=l["H"](e,(function(e,t){var r=e.getValue();return{params:{depth:e.depth,height:e.height,dataIndex:e.dataIndex,getValue:function(){return r}},index:t}}));return r.sort((function(e,r){return t(e.params,r.params)})),l["H"](r,(function(t){return e[t.index]}))}var n="asc"===t;return e.sort((function(e,t){var r=(e.getValue()-t.getValue())*(n?1:-1);return 0===r?(e.dataIndex-t.dataIndex)*(n?-1:1):r}))}function Zz(e){var t={};function r(e,r,n){var i=e;while(i&&i.depth>1)i=i.parentNode;var o=r.getColorFromPalette(i.name||i.dataIndex+"",t);return e.depth>1&&Object(l["C"])(o)&&(o=Object(Bt["c"])(o,(e.depth-1)/(n-1)*.5)),o}e.eachSeriesByType("sunburst",(function(e){var t=e.getData(),n=t.tree;n.eachNode((function(i){var o=i.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=r(i,e,n.root.height));var s=t.ensureUniqueItemVisual(i.dataIndex,"style");Object(l["m"])(s,a)}))}))}function Jz(e){e.registerChartView(Vz),e.registerSeriesModel($z),e.registerLayout(Object(l["h"])(qz,"sunburst")),e.registerProcessor(Object(l["h"])(bC,"sunburst")),e.registerVisual(Zz),zz(e)}var Qz={color:"fill",borderColor:"stroke"},eH={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},tH=Ei(),rH=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return fS(null,this)},t.prototype.getDataParams=function(t,r,n){var i=e.prototype.getDataParams.call(this,t,r);return n&&(i.info=tH(n).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(Sp),nH=rH;function iH(e,t){return t=t||[0,0],l["H"](["x","y"],(function(r,n){var i=this.getAxis(r),o=t[n],a=e[n]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function oH(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:l["c"](iH,e)}}}function aH(e,t){return t=t||[0,0],l["H"]([0,1],(function(r){var n=t[r],i=e[r]/2,o=[],a=[];return o[r]=n-i,a[r]=n+i,o[1-r]=a[1-r]=t[1-r],Math.abs(this.dataToPoint(o)[r]-this.dataToPoint(a)[r])}),this)}function sH(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:l["c"](aH,e)}}}function lH(e,t){var r=this.getAxis(),n=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(n-i)-r.dataToCoord(n+i))}function uH(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:Object(l["c"])(lH,e)}}}function cH(e,t){return t=t||[0,0],l["H"](["Radius","Angle"],(function(r,n){var i="get"+r+"Axis",o=this[i](),a=t[n],s=e[n]/2,l="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return"Angle"===r&&(l=l*Math.PI/180),l}),this)}function dH(e){var t=e.getRadiusAxis(),r=e.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:n[1],r0:n[0]},api:{coord:function(n){var i=t.dataToRadius(n[0]),o=r.dataToAngle(n[1]),a=e.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:l["c"](cH,e)}}}function hH(e){var t=e.getRect(),r=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:r.start,end:r.end,weeks:r.weeks,dayCount:r.allDay}},api:{coord:function(t,r){return e.dataToPoint(t,r)}}}}function fH(e,t,r,n){return e&&(e.legacy||!1!==e.legacy&&!r&&!n&&"tspan"!==t&&("text"===t||Object(l["q"])(e,"text")))}function pH(e,t,r){var n,i,o,a=e;if("text"===t)o=a;else{o={},Object(l["q"])(a,"text")&&(o.text=a.text),Object(l["q"])(a,"rich")&&(o.rich=a.rich),Object(l["q"])(a,"textFill")&&(o.fill=a.textFill),Object(l["q"])(a,"textStroke")&&(o.stroke=a.textStroke),Object(l["q"])(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(l["q"])(a,"fontSize")&&(o.fontSize=a.fontSize),Object(l["q"])(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(l["q"])(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},n={};var s=Object(l["q"])(a,"textPosition");r?n.position=s?a.textPosition:"inside":s&&(n.position=a.textPosition),Object(l["q"])(a,"textPosition")&&(n.position=a.textPosition),Object(l["q"])(a,"textOffset")&&(n.offset=a.textOffset),Object(l["q"])(a,"textRotation")&&(n.rotation=a.textRotation),Object(l["q"])(a,"textDistance")&&(n.distance=a.textDistance)}return mH(o,e),Object(l["k"])(o.rich,(function(e){mH(e,e)})),{textConfig:n,textContent:i}}function mH(e,t){t&&(t.font=t.textFont||t.font,Object(l["q"])(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Object(l["q"])(t,"textAlign")&&(e.align=t.textAlign),Object(l["q"])(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Object(l["q"])(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Object(l["q"])(t,"textWidth")&&(e.width=t.textWidth),Object(l["q"])(t,"textHeight")&&(e.height=t.textHeight),Object(l["q"])(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Object(l["q"])(t,"textPadding")&&(e.padding=t.textPadding),Object(l["q"])(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Object(l["q"])(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Object(l["q"])(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Object(l["q"])(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Object(l["q"])(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Object(l["q"])(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Object(l["q"])(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function gH(e,t,r){var n=e;n.textPosition=n.textPosition||r.position||"inside",null!=r.offset&&(n.textOffset=r.offset),null!=r.rotation&&(n.textRotation=r.rotation),null!=r.distance&&(n.textDistance=r.distance);var i=n.textPosition.indexOf("inside")>=0,o=e.fill||"#000";vH(n,t);var a=null==n.textFill;return i?a&&(n.textFill=r.insideFill||"#fff",!n.textStroke&&r.insideStroke&&(n.textStroke=r.insideStroke),!n.textStroke&&(n.textStroke=o),null==n.textStrokeWidth&&(n.textStrokeWidth=2)):(a&&(n.textFill=e.fill||r.outsideFill||"#000"),!n.textStroke&&r.outsideStroke&&(n.textStroke=r.outsideStroke)),n.text=t.text,n.rich=t.rich,Object(l["k"])(t.rich,(function(e){vH(e,e)})),n}function vH(e,t){t&&(Object(l["q"])(t,"fill")&&(e.textFill=t.fill),Object(l["q"])(t,"stroke")&&(e.textStroke=t.fill),Object(l["q"])(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Object(l["q"])(t,"font")&&(e.font=t.font),Object(l["q"])(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Object(l["q"])(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Object(l["q"])(t,"fontSize")&&(e.fontSize=t.fontSize),Object(l["q"])(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Object(l["q"])(t,"align")&&(e.textAlign=t.align),Object(l["q"])(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Object(l["q"])(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Object(l["q"])(t,"width")&&(e.textWidth=t.width),Object(l["q"])(t,"height")&&(e.textHeight=t.height),Object(l["q"])(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Object(l["q"])(t,"padding")&&(e.textPadding=t.padding),Object(l["q"])(t,"borderColor")&&(e.textBorderColor=t.borderColor),Object(l["q"])(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Object(l["q"])(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Object(l["q"])(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Object(l["q"])(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Object(l["q"])(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Object(l["q"])(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Object(l["q"])(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Object(l["q"])(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Object(l["q"])(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Object(l["q"])(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var yH={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},bH=Object(l["F"])(yH),_H=(Object(l["N"])(Gr,(function(e,t){return e[t]=1,e}),{}),Gr.join(", "),["","style","shape","extra"]),wH=Ei();function xH(e,t,r,n,i){var o=e+"Animation",a=Hl(e,n,i)||{},s=wH(t).userDuring;return a.duration>0&&(a.during=s?Object(l["c"])(EH,{el:t,userDuring:s}):null,a.setToFinal=!0,a.scope=e),Object(l["m"])(a,r[o]),a}function kH(e,t,r,n){n=n||{};var i=n.dataIndex,o=n.isInit,a=n.clearStyle,s=r.isAnimationEnabled(),u=wH(e),c=t.style;u.userDuring=t.during;var d={},h={};if(RH(e,t,h),jH("shape",t,h),jH("extra",t,h),!o&&s&&(PH(e,t,d),IH("shape",e,t,d),IH("extra",e,t,d),NH(e,t,c,d)),h.style=c,TH(e,h,a),LH(e,t),s)if(o){var f={};Object(l["k"])(_H,(function(e){var r=e?t[e]:t;r&&r.enterFrom&&(e&&(f[e]=f[e]||{}),Object(l["m"])(e?f[e]:f,r.enterFrom))}));var p=xH("enter",e,t,r,i);p.duration>0&&e.animateFrom(f,p)}else OH(e,t,i||0,r,d);SH(e,t),c?e.dirty():e.markRedraw()}function SH(e,t){for(var r=wH(e).leaveToProps,n=0;n<_H.length;n++){var i=_H[n],o=i?t[i]:t;o&&o.leaveTo&&(r||(r=wH(e).leaveToProps={}),i&&(r[i]=r[i]||{}),Object(l["m"])(i?r[i]:r,o.leaveTo))}}function MH(e,t,r,n){if(e){var i=e.parent,o=wH(e).leaveToProps;if(o){var a=xH("update",e,t,r,0);a.done=function(){i.remove(e),n&&n()},e.animateTo(o,a)}else i.remove(e),n&&n()}}function CH(e){return"all"===e}function TH(e,t,r){var n=t.style;if(!e.isGroup&&n){if(r){e.useStyle({});for(var i=e.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(n)}t&&(t.style=null,t&&e.attr(t),t.style=n)}function OH(e,t,r,n,i){if(i){var o=xH("update",e,t,n,r);o.duration>0&&e.animateFrom(i,o)}}function LH(e,t){Object(l["q"])(t,"silent")&&(e.silent=t.silent),Object(l["q"])(t,"ignore")&&(e.ignore=t.ignore),e instanceof Bo&&Object(l["q"])(t,"invisible")&&(e.invisible=t.invisible),e instanceof Wa&&Object(l["q"])(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var AH={},DH={setTransform:function(e,t){return AH.el[e]=t,this},getTransform:function(e){return AH.el[e]},setShape:function(e,t){var r=AH.el,n=r.shape||(r.shape={});return n[e]=t,r.dirtyShape&&r.dirtyShape(),this},getShape:function(e){var t=AH.el.shape;if(t)return t[e]},setStyle:function(e,t){var r=AH.el,n=r.style;return n&&(n[e]=t,r.dirtyStyle&&r.dirtyStyle()),this},getStyle:function(e){var t=AH.el.style;if(t)return t[e]},setExtra:function(e,t){var r=AH.el.extra||(AH.el.extra={});return r[e]=t,this},getExtra:function(e){var t=AH.el.extra;if(t)return t[e]}};function EH(){var e=this,t=e.el;if(t){var r=wH(t).userDuring,n=e.userDuring;r===n?(AH.el=t,n(DH)):e.el=e.userDuring=null}}function IH(e,t,r,n){var i=r[e];if(i){var o,a=t[e];if(a){var s=r.transition,u=i.transition;if(u)if(!o&&(o=n[e]={}),CH(u))Object(l["m"])(o,a);else for(var c=ci(u),d=0;d<c.length;d++){var h=c[d],f=a[h];o[h]=f}else if(CH(s)||Object(l["r"])(s,e)>=0){!o&&(o=n[e]={});var p=Object(l["F"])(a);for(d=0;d<p.length;d++){h=p[d],f=a[h];BH(i[h],f)&&(o[h]=f)}}}}}function jH(e,t,r){var n=t[e];if(n)for(var i=r[e]={},o=Object(l["F"])(n),a=0;a<o.length;a++){var s=o[a];i[s]=qt(n[s])}}function PH(e,t,r){for(var n=t.transition,i=CH(n)?Gr:ci(n||[]),o=0;o<i.length;o++){var a=i[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=e[a];0,r[a]=s}}}function RH(e,t,r){for(var n=0;n<bH.length;n++){var i=bH[n],o=yH[i],a=t[i];a&&(r[o[0]]=a[0],r[o[1]]=a[1])}for(n=0;n<Gr.length;n++){var s=Gr[n];null!=t[s]&&(r[s]=t[s])}}function NH(e,t,r,n){if(r){var i,o=e.style;if(o){var a=r.transition,s=t.transition;if(a&&!CH(a)){var u=ci(a);!i&&(i=n.style={});for(var c=0;c<u.length;c++){var d=u[c],h=o[d];i[d]=h}}else if(e.getAnimationStyleProps&&(CH(s)||CH(a)||Object(l["r"])(s,"style")>=0)){var f=e.getAnimationStyleProps(),p=f?f.style:null;if(p){!i&&(i=n.style={});var m=Object(l["F"])(r);for(c=0;c<m.length;c++){d=m[c];if(p[d]){h=o[d];i[d]=h}}}}}}}function BH(e,t){return Object(l["u"])(e)?e!==t:null!=e&&isFinite(e)}var YH=Ei(),FH=["percent","easing","shape","style","extra"];function zH(e){e.stopAnimation("keyframe"),e.attr(YH(e))}function HH(e,t,r){if(r.isAnimationEnabled()&&t)if(Object(l["t"])(t))Object(l["k"])(t,(function(t){HH(e,t,r)}));else{var n=t.keyframes,i=t.duration;if(r&&null==i){var o=Hl("enter",r,0);i=o&&o.duration}if(n&&i){var a=YH(e);Object(l["k"])(_H,(function(r){if(!r||e[r]){var o;n.sort((function(e,t){return e.percent-t.percent})),Object(l["k"])(n,(function(n){var s=e.animators,u=r?n[r]:n;if(u){var c=Object(l["F"])(u);if(r||(c=Object(l["n"])(c,(function(e){return Object(l["r"])(FH,e)<0}))),c.length){o||(o=e.animate(r,t.loop,!0),o.scope="keyframe");for(var d=0;d<s.length;d++)s[d]!==o&&s[d].targetName===o.targetName&&s[d].stopTracks(c);r&&(a[r]=a[r]||{});var h=r?a[r]:a;Object(l["k"])(c,(function(t){h[t]=((r?e[r]:e)||{})[t]})),o.whenWithKeys(i*n.percent,u,c,n.easing)}}})),o&&o.delay(t.delay||0).duration(i).start(t.easing)}}))}}}var VH="emphasis",UH="normal",WH="blur",$H="select",GH=[UH,VH,WH,$H],qH={normal:["itemStyle"],emphasis:[VH,"itemStyle"],blur:[WH,"itemStyle"],select:[$H,"itemStyle"]},XH={normal:["label"],emphasis:[VH,"label"],blur:[WH,"label"],select:[$H,"label"]},KH=["x","y"],ZH="e\0\0",JH={normal:{},emphasis:{},blur:{},select:{}},QH={cartesian2d:oH,geo:sH,single:uH,polar:dH,calendar:hH};function eV(e){return e instanceof Wa}function tV(e){return e instanceof Bo}function rV(e,t){t.copyTransform(e),tV(t)&&tV(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,eV(t)&&eV(e)&&t.setShape(e.shape))}var nV=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r,n){this._progressiveEls=null;var i=this._data,o=e.getData(),a=this.group,s=cV(e,o,t,r);i||a.removeAll(),o.diff(i).add((function(t){hV(r,null,t,s(t,n),e,a,o)})).remove((function(t){var r=i.getItemGraphicEl(t);r&&MH(r,tH(r).option,e)})).update((function(t,l){var u=i.getItemGraphicEl(l);hV(r,u,t,s(t,n),e,a,o)})).execute();var l=e.get("clip",!0)?US(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},t.prototype.incrementalPrepareRender=function(e,t,r){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,r,n,i){var o=t.getData(),a=cV(t,o,r,n),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var c=hV(null,null,u,a(u,i),t,this.group,o);c&&(c.traverse(l),s.push(c))}},t.prototype.eachRendered=function(e){Bg(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,r,n){var i=t.element;if(null==i||r.name===i)return!0;while((r=r.__hostTarget||r.parent)&&r!==this.group)if(r.name===i)return!0;return!1},t.type="custom",t}(Gg),iV=nV;function oV(e){var t,r=e.type;if("path"===r){var n=e.shape,i=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=CV(n);t=mg(o,null,i,n.layout||"center"),tH(t).customPathData=o}else if("image"===r)t=new Qa({}),tH(t).customImagePath=e.style.image;else if("text"===r)t=new Cs({});else if("group"===r)t=new kn;else{if("compoundPath"===r)throw new Error('"compoundPath" is not supported yet.');var a=pg(r);if(!a){var s="";0,Ed(s)}t=new a}return tH(t).customGraphicType=r,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function aV(e,t,r,n,i,o,a){zH(t);var s=i&&i.normal.cfg;s&&t.setTextConfig(s),n&&null==n.transition&&(n.transition=KH);var u=n&&n.style;if(u){if("text"===t.type){var c=u;Object(l["q"])(c,"textFill")&&(c.fill=c.textFill),Object(l["q"])(c,"textStroke")&&(c.stroke=c.textStroke)}var d=void 0,h=eV(t)?u.decal:null;e&&h&&(h.dirty=!0,d=Xy(h,e)),u.__decalPattern=d}if(tV(t)&&u){d=u.__decalPattern;d&&(u.decal=d)}kH(t,n,o,{dataIndex:r,isInit:a,clearStyle:!0}),HH(t,n.keyframeAnimation,o)}function sV(e,t,r,n,i){var o=t.isGroup?null:t,a=i&&i[e].cfg;if(o){var s=o.ensureState(e);if(!1===n){var l=o.getState(e);l&&(l.style=null)}else s.style=n||null;a&&(s.textConfig=a),sl(o)}}function lV(e,t,r){if(!e.isGroup){var n=e,i=r.currentZ,o=r.currentZLevel;n.z=i,n.zlevel=o;var a=t.z2;null!=a&&(n.z2=a||0);for(var s=0;s<GH.length;s++)uV(n,t,GH[s])}}function uV(e,t,r){var n,i=r===UH,o=i?t:yV(t,r),a=o?o.z2:null;null!=a&&(n=i?e:e.ensureState(r),n.z2=a||0)}function cV(e,t,r,n){var i=e.get("renderItem"),o=e.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):QH[o.type](o));for(var s,u,c=Object(l["i"])({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:w,style:k,ordinalRawValue:x,styleEmphasis:S,visual:T,barLayout:O,currentSeriesIndices:L,font:A},a.api||{}),d={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:dV(e.getData())},h={},f={},p={},m={},g=0;g<GH.length;g++){var v=GH[g];p[v]=e.getModel(qH[v]),m[v]=e.getModel(XH[v])}function y(e){return e===s?u||(u=t.getItemModel(e)):t.getItemModel(e)}function b(e,r){return t.hasItemOption?e===s?h[r]||(h[r]=y(e).getModel(qH[r])):y(e).getModel(qH[r]):p[r]}function _(e,r){return t.hasItemOption?e===s?f[r]||(f[r]=y(e).getModel(XH[r])):y(e).getModel(XH[r]):m[r]}return function(e,r){return s=e,u=null,h={},f={},i&&i(Object(l["i"])({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:r?r.type:null},d),c)};function w(e,r){return null==r&&(r=s),t.getStore().get(t.getDimensionIndex(e||0),r)}function x(e,r){null==r&&(r=s),e=e||0;var n=t.getDimensionInfo(e);if(!n){var i=t.getDimensionIndex(e);return i>=0?t.getStore().get(i,r):void 0}var o=t.get(n.name,r),a=n&&n.ordinalMeta;return a?a.categories[o]:o}function k(r,n){null==n&&(n=s);var i=t.getItemVisual(n,"style"),o=i&&i.fill,a=i&&i.opacity,u=b(n,UH).getItemStyle();null!=o&&(u.fill=o),null!=a&&(u.opacity=a);var c={inheritColor:Object(l["C"])(o)?o:"#000"},d=_(n,UH),h=nu(d,null,c,!1,!0);h.text=d.getShallow("show")?Object(l["P"])(e.getFormattedLabel(n,UH),gS(t,n)):null;var f=iu(d,c,!1);return C(r,u),u=gH(u,h,f),r&&M(u,r),u.legacy=!0,u}function S(r,n){null==n&&(n=s);var i=b(n,VH).getItemStyle(),o=_(n,VH),a=nu(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(l["Q"])(e.getFormattedLabel(n,VH),e.getFormattedLabel(n,UH),gS(t,n)):null;var u=iu(o,null,!0);return C(r,i),i=gH(i,a,u),r&&M(i,r),i.legacy=!0,i}function M(e,t){for(var r in t)Object(l["q"])(t,r)&&(e[r]=t[r])}function C(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}function T(e,r){if(null==r&&(r=s),Object(l["q"])(Qz,e)){var n=t.getItemVisual(r,"style");return n?n[Qz[e]]:null}if(Object(l["q"])(eH,e))return t.getItemVisual(r,e)}function O(e){if("cartesian2d"===o.type){var t=o.getBaseAxis();return bM(Object(l["i"])({axis:t},e))}}function L(){return r.getCurrentSeriesIndices()}function A(e){return du(e,r)}}function dV(e){var t={};return Object(l["k"])(e.dimensions,(function(r){var n=e.getDimensionInfo(r);if(!n.isExtraCoord){var i=n.coordDim,o=t[i]=t[i]||[];o[n.coordDimIndex]=e.getDimensionIndex(r)}})),t}function hV(e,t,r,n,i,o,a){if(n){var s=fV(e,t,r,n,i,o);return s&&a.setItemGraphicEl(r,s),s&&Ll(s,n.focus,n.blurScope,n.emphasisDisabled),s}o.remove(t)}function fV(e,t,r,n,i,o){var a=-1,s=t;t&&pV(t,n,i)&&(a=Object(l["r"])(o.childrenRef(),t),t=null);var u=!t,c=t;c?c.clearStates():(c=oV(n),s&&rV(s,c)),!1===n.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),JH.normal.cfg=JH.normal.conOpt=JH.emphasis.cfg=JH.emphasis.conOpt=JH.blur.cfg=JH.blur.conOpt=JH.select.cfg=JH.select.conOpt=null,JH.isLegacy=!1,gV(c,r,n,i,u,JH),mV(c,r,n,i,u),aV(e,c,r,n,JH,i,u),Object(l["q"])(n,"info")&&(tH(c).info=n.info);for(var d=0;d<GH.length;d++){var h=GH[d];if(h!==UH){var f=yV(n,h),p=bV(n,f,h);sV(h,c,f,p,JH)}}return lV(c,n,i),"group"===n.type&&_V(e,c,r,n,i),a>=0?o.replaceAt(c,a):o.add(c),c}function pV(e,t,r){var n=tH(e),i=t.type,o=t.shape,a=t.style;return r.isUniversalTransitionEnabled()||null!=i&&i!==n.customGraphicType||"path"===i&&TV(o)&&CV(o)!==n.customPathData||"image"===i&&Object(l["q"])(a,"image")&&a.image!==n.customImagePath}function mV(e,t,r,n,i){var o=r.clipPath;if(!1===o)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&pV(a,o,n)&&(a=null),a||(a=oV(o),e.setClipPath(a)),aV(null,a,t,o,null,n,i)}}function gV(e,t,r,n,i,o){if(!e.isGroup){vV(r,null,o),vV(r,VH,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=e.getTextContent();if(!1===a)c&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=oV(a),e.setTextContent(c)),aV(null,c,t,a,null,n,i);for(var d=a&&a.style,h=0;h<GH.length;h++){var f=GH[h];if(f!==UH){var p=o[f].conOpt;sV(f,c,p,bV(a,p,f),null)}}d?c.dirty():c.markRedraw()}}}}function vV(e,t,r){var n=t?yV(e,t):e,i=t?bV(e,n,VH):e.style,o=e.type,a=n?n.textConfig:null,s=e.textContent,l=s?t?yV(s,t):s:null;if(i&&(r.isLegacy||fH(i,o,!!a,!!l))){r.isLegacy=!0;var u=pH(i,o,!t);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;!c.type&&(c.type="text")}var d=t?r[t]:r.normal;d.cfg=a,d.conOpt=l}function yV(e,t){return t?e?e[t]:null:e}function bV(e,t,r){var n=t&&t.style;return null==n&&r===VH&&e&&(n=e.styleEmphasis),n}function _V(e,t,r,n,i){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)xV({api:e,oldChildren:t.children()||[],newChildren:o||[],dataIndex:r,seriesModel:i,group:t});else{u&&t.removeAll();for(var c=0;c<a;c++){var d=o[c],h=t.childAt(c);d?(null==d.ignore&&(d.ignore=!1),fV(e,h,r,d,i,t)):h.ignore=!0}for(var f=t.childCount()-1;f>=c;f--){var p=t.childAt(f);wV(t,p,i)}}}function wV(e,t,r){t&&MH(t,tH(e).option,r)}function xV(e){new bk(e.oldChildren,e.newChildren,kV,kV,e).add(SV).update(SV).remove(MV).execute()}function kV(e,t){var r=e&&e.name;return null!=r?r:ZH+t}function SV(e,t){var r=this.context,n=null!=e?r.newChildren[e]:null,i=null!=t?r.oldChildren[t]:null;fV(r.api,i,r.dataIndex,n,r.seriesModel,r.group)}function MV(e){var t=this.context,r=t.oldChildren[e];r&&MH(r,tH(r).option,t.seriesModel)}function CV(e){return e&&(e.pathData||e.d)}function TV(e){return e&&(Object(l["q"])(e,"pathData")||Object(l["q"])(e,"d"))}function OV(e){e.registerChartView(iV),e.registerSeriesModel(nH)}var LV=Ei(),AV=l["d"],DV=l["c"],EV=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,r,n){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=r,n||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var u={};this.makeElOption(u,i,e,t,r);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(e,t);if(a){var h=l["h"](IV,t,d);this.updatePointerEl(a,u,h),this.updateLabelEl(a,u,h,t)}else a=this._group=new kn,this.createPointerEl(a,u,e,t),this.createLabelEl(a,u,e,t),r.getZr().add(a);NV(a,t,!0),this._renderHandle(i)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var r=t.get("animation"),n=e.axis,i="category"===n.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===r||null==r){var a=this.animationThreshold;if(i&&n.getBandWidth()>a)return!0;if(o){var s=vL(e).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===r},e.prototype.makeElOption=function(e,t,r,n,i){},e.prototype.createPointerEl=function(e,t,r,i){var o=t.pointer;if(o){var a=LV(e).pointerEl=new n[o.type](AV(t.pointer));e.add(a)}},e.prototype.createLabelEl=function(e,t,r,n){if(t.label){var i=LV(e).labelEl=new Cs(AV(t.label));e.add(i),PV(i,n)}},e.prototype.updatePointerEl=function(e,t,r){var n=LV(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),r(n,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,r,n){var i=LV(e).labelEl;i&&(i.setStyle(t.label.style),r(i,{x:t.label.x,y:t.label.y}),PV(i,n))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,o=r.getModel("handle"),a=r.get("status");if(!o.get("show")||!a||"hide"===a)return i&&n.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=Dg(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){re(e.event)},onmousedown:DV(this._onHandleDragMove,this,0,0),drift:DV(this._onHandleDragMove,this),ondragend:DV(this._onHandleDragEnd,this)}),n.add(i)),NV(i,r,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");l["t"](s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,Jg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){IV(this._axisPointerModel,!t&&this._moveAnimation,this._handle,RV(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var r=this._handle;if(r){this._dragging=!0;var n=this.updateHandleTransform(RV(r),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(RV(n)),LV(r).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),r=this._group,n=this._handle;t&&r&&(this._lastGraphicKey=null,r&&t.remove(r),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Qg(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}},e}();function IV(e,t,r,n){jV(LV(r).lastProp,n)||(LV(r).lastProp=n,t?Ul(r,n,e):(r.stopAnimation(),r.attr(n)))}function jV(e,t){if(l["A"](e)&&l["A"](t)){var r=!0;return l["k"](t,(function(t,n){r=r&&jV(e[n],t)})),!!r}return e===t}function PV(e,t){e[t.get(["label","show"])?"show":"hide"]()}function RV(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function NV(e,t,r){var n=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=i&&(e.zlevel=i),e.silent=r)}))}var BV=EV;function YV(e){var t,r=e.get("type"),n=e.getModel(r+"Style");return"line"===r?(t=n.getLineStyle(),t.fill=null):"shadow"===r&&(t=n.getAreaStyle(),t.stroke=null),t}function FV(e,t,r,n,i){var o=r.get("value"),a=HV(o,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),l=Mc(s.get("padding")||0),u=s.getFont(),c=tn(a,u),d=i.position,h=c.width+l[1]+l[3],f=c.height+l[0]+l[2],p=i.align;"right"===p&&(d[0]-=h),"center"===p&&(d[0]-=h/2);var m=i.verticalAlign;"bottom"===m&&(d[1]-=f),"middle"===m&&(d[1]-=f/2),zV(d,h,f,n);var g=s.get("backgroundColor");g&&"auto"!==g||(g=t.get(["axisLine","lineStyle","color"])),e.label={x:d[0],y:d[1],style:nu(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function zV(e,t,r,n){var i=n.getWidth(),o=n.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+r,o)-r,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function HV(e,t,r,n,i){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:i.precision}),a=i.formatter;if(a){var s={value:oO(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};l["k"](n,(function(e){var t=r.getSeriesByIndex(e.seriesIndex),n=e.dataIndexInside,i=t&&t.getDataParams(n);i&&s.seriesData.push(i)})),l["C"](a)?o=a.replace("{value}",o):l["w"](a)&&(o=a(s))}return o}function VV(e,t,r){var n=le();return fe(n,n,r.rotation),he(n,n,r.position),Sg([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function UV(e,t,r,n,i,o){var a=uL.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),FV(t,n,i,o,{position:VV(n.axis,e,r),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function WV(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function $V(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}function GV(e,t,r,n,i,o){return{cx:e,cy:t,r0:r,r:n,startAngle:i,endAngle:o,clockwise:!0}}var qV=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,r,n,i){var o=r.axis,a=o.grid,s=n.get("type"),l=XV(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=YV(n),d=KV[s](o,u,l);d.style=c,e.graphicKey=d.type,e.pointer=d}var h=FO(a.model,r);UV(t,e,h,r,n,i)},t.prototype.getHandleTransform=function(e,t,r){var n=FO(t.axis.grid.model,t,{labelInside:!1});n.labelMargin=r.get(["handle","margin"]);var i=VV(t.axis,e,n);return{x:i[0],y:i[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,r,n){var i=r.axis,o=i.grid,a=i.getGlobalExtent(!0),s=XV(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[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:e.rotation,cursorPoint:d,tooltipOption:h[l]}},t}(BV);function XV(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var KV={line:function(e,t,r){var n=WV([t,r[0]],[t,r[1]],ZV(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=Math.max(1,e.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:$V([t-n/2,r[0]],[n,i],ZV(e))}}};function ZV(e){return"x"===e.dim?0:1}var JV=qV,QV=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!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}},t}(Kc),eU=QV,tU=Ei(),rU=l["k"];function nU(e,t,r){if(!s["a"].node){var n=t.getZr();tU(n).records||(tU(n).records={}),iU(n,t);var i=tU(n).records[e]||(tU(n).records[e]={});i.handler=r}}function iU(e,t){function r(r,n){e.on(r,(function(r){var i=lU(t);rU(tU(e).records,(function(e){e&&n(e,r,i.dispatchAction)})),oU(i.pendings,t)}))}tU(e).initialized||(tU(e).initialized=!0,r("click",l["h"](sU,"click")),r("mousemove",l["h"](sU,"mousemove")),r("globalout",aU))}function oU(e,t){var r,n=e.showTip.length,i=e.hideTip.length;n?r=e.showTip[n-1]:i&&(r=e.hideTip[i-1]),r&&(r.dispatchAction=null,t.dispatchAction(r))}function aU(e,t,r){e.handler("leave",null,r)}function sU(e,t,r,n){t.handler(e,r,n)}function lU(e){var t={showTip:[],hideTip:[]},r=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=r,e.dispatchAction(n))};return{dispatchAction:r,pendings:t}}function uU(e,t){if(!s["a"].node){var r=t.getZr(),n=(tU(r).records||{})[e];n&&(tU(r).records[e]=null)}}var cU=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n=t.getComponent("tooltip"),i=e.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";nU("axisPointer",r,(function(e,t,r){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&r({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){uU("axisPointer",t)},t.prototype.dispose=function(e,t){uU("axisPointer",t)},t.type="axisPointer",t}(Cp),dU=cU;function hU(e,t){var r,n=[],i=e.seriesIndex;if(null==i||!(r=t.getSeriesByIndex(i)))return{point:[]};var o=r.getData(),a=Di(o,e);if(null==a||a<0||l["t"](a))return{point:[]};var s=o.getItemGraphicEl(a),u=r.coordinateSystem;if(r.getTooltipPosition)n=r.getTooltipPosition(a)||[];else if(u&&u.dataToPoint)if(e.isStacked){var c=u.getBaseAxis(),d=u.getOtherAxis(c),h=d.dim,f=c.dim,p="x"===h||"radius"===h?1:0,m=o.mapDimension(f),g=[];g[p]=o.get(m,a),g[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),n=u.dataToPoint(g)||[]}else n=u.dataToPoint(o.getValues(l["H"](u.dimensions,(function(e){return o.mapDimension(e)})),a))||[];else if(s){var v=s.getBoundingRect().clone();v.applyTransform(s.transform),n=[v.x+v.width/2,v.y+v.height/2]}return{point:n,el:s}}var fU=Ei();function pU(e,t,r){var n=e.currTrigger,i=[e.x,e.y],o=e,a=e.dispatchAction||Object(l["c"])(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){SU(i)&&(i=hU({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var u=SU(i),c=o.axesInfo,d=s.axesInfo,h="leave"===n||SU(i),f={},p={},m={list:[],map:{}},g={showPointer:Object(l["h"])(vU,p),showTooltip:Object(l["h"])(yU,m)};Object(l["k"])(s.coordSysMap,(function(e,t){var r=u||e.containPoint(i);Object(l["k"])(s.coordSysAxesInfo[t],(function(e,t){var n=e.axis,o=xU(c,e);if(!h&&r&&(!c||o)){var a=o&&o.value;null!=a||u||(a=n.pointToData(i)),null!=a&&mU(e,a,g,!1,f)}}))}));var v={};return Object(l["k"])(d,(function(e,t){var r=e.linkGroup;r&&!p[t]&&Object(l["k"])(r.axesInfo,(function(t,n){var i=p[n];if(t!==e&&i){var o=i.value;r.mapper&&(o=e.axis.scale.parse(r.mapper(o,kU(t),kU(e)))),v[e.key]=o}}))})),Object(l["k"])(v,(function(e,t){mU(d[t],e,g,!0,f)})),bU(p,d,f),_U(m,i,e,a),wU(d,a,r),f}}function mU(e,t,r,n,i){var o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var a=gU(t,e),s=a.payloadBatch,u=a.snapToValue;s[0]&&null==i.seriesIndex&&Object(l["m"])(i,s[0]),!n&&e.snap&&o.containData(u)&&null!=u&&(t=u),r.showPointer(e,t,s),r.showTooltip(e,a,u)}else r.showPointer(e,t)}function gU(e,t){var r=t.axis,n=r.dim,i=e,o=[],a=Number.MAX_VALUE,s=-1;return Object(l["k"])(t.seriesModels,(function(t,u){var c,d,h=t.getData().mapDimensionsAll(n);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(h,e,r);d=f.dataIndices,c=f.nestestValue}else{if(d=t.getData().indicesOfNearest(h[0],e,"category"===r.type?.5:null),!d.length)return;c=t.getData().get(h[0],d[0])}if(null!=c&&isFinite(c)){var p=e-c,m=Math.abs(p);m<=a&&((m<a||p>=0&&s<0)&&(a=m,s=p,i=c,o.length=0),Object(l["k"])(d,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:i}}function vU(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function yU(e,t,r,n){var i=r.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,u=_L(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function bU(e,t,r){var n=r.axesInfo=[];Object(l["k"])(t,(function(t,r){var i=t.axisPointerModel.option,o=e[r];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&n.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}))}function _U(e,t,r,n){if(!SU(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else n({type:"hideTip"})}function wU(e,t,r){var n=r.getZr(),i="axisPointerLastHighlights",o=fU(n)[i]||{},a=fU(n)[i]={};Object(l["k"])(e,(function(e,t){var r=e.axisPointerModel.option;"show"===r.status&&e.triggerEmphasis&&Object(l["k"])(r.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e}))}));var s=[],u=[];Object(l["k"])(o,(function(e,t){!a[t]&&u.push(e)})),Object(l["k"])(a,(function(e,t){!o[t]&&s.push(e)})),u.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function xU(e,t){for(var r=0;r<(e||[]).length;r++){var n=e[r];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function kU(e){var t=e.axis.model,r={},n=r.axisDim=e.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=t.componentIndex,r.axisName=r[n+"AxisName"]=t.name,r.axisId=r[n+"AxisId"]=t.id,r}function SU(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function MU(e){kL.registerAxisPointerClass("CartesianAxisPointer",JV),e.registerComponentModel(eU),e.registerComponentView(dU),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!Object(l["t"])(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=cL(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},pU)}function CU(e){R_(PL),R_(MU)}var TU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,r,n,i){var o=r.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),u=o.dataToCoord(t),c=n.get("type");if(c&&"none"!==c){var d=YV(n),h=LU[c](o,a,u,l);h.style=d,e.graphicKey=h.type,e.pointer=h}var f=n.get(["label","margin"]),p=OU(t,r,n,a,f);FV(e,r,n,i,p)},t}(BV);function OU(e,t,r,n,i){var o=t.axis,a=o.dataToCoord(e),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,d=n.getRadiusAxis().getExtent();if("radius"===o.dim){var h=le();fe(h,h,s),he(h,h,[n.cx,n.cy]),l=Sg([a,-i],h);var f=t.getModel("axisLabel").get("rotate")||0,p=uL.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var m=d[1];l=n.coordToPoint([m+i,a]);var g=n.cx,v=n.cy;u=Math.abs(l[0]-g)/m<.3?"center":l[0]>g?"left":"right",c=Math.abs(l[1]-v)/m<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var LU={line:function(e,t,r,n){return"angle"===e.dim?{type:"Line",shape:WV(t.coordToPoint([n[0],r]),t.coordToPoint([n[1],r]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:r}}},shadow:function(e,t,r,n){var i=Math.max(1,e.getBandWidth()),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:GV(t.cx,t.cy,n[0],n[1],(-r-i/2)*o,(i/2-r)*o)}:{type:"Sector",shape:GV(t.cx,t.cy,r-i/2,r+i/2,0,2*Math.PI)}}},AU=TU,DU=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.findAxisModel=function(e){var t,r=this.ecModel;return r.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Kc),EU=DU,IU=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ri).models[0]},t.type="polarAxis",t}(Kc);l["K"](IU,qC);var jU=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="angleAxis",t}(IU),PU=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="radiusAxis",t}(IU),RU=function(e){function t(t,r){return e.call(this,"radius",t,r)||this}return a(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(NO);RU.prototype.dataToRadius=NO.prototype.dataToCoord,RU.prototype.radiusToData=NO.prototype.coordToData;var NU=RU,BU=Ei(),YU=function(e){function t(t,r){return e.call(this,"angle",t,r||[0,360])||this}return a(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,t=e.getLabelModel(),r=e.scale,n=r.getExtent(),i=r.count();if(n[1]-n[0]<1)return 0;var o=n[0],a=e.dataToCoord(o+1)-e.dataToCoord(o),s=Math.abs(a),l=tn(null==o?"":o+"",t.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=BU(e.model),f=h.lastAutoInterval,p=h.lastTickCount;return null!=f&&null!=p&&Math.abs(f-d)<=1&&Math.abs(p-i)<=1&&f>d?d=f:(h.lastTickCount=i,h.lastAutoInterval=d),d},t}(NO);YU.prototype.dataToAngle=NO.prototype.dataToCoord,YU.prototype.angleToData=NO.prototype.coordToData;var FU=YU,zU=["radius","angle"],HU=function(){function e(e){this.dimensions=zU,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new NU,this._angleAxis=new FU,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){var t="_"+e+"Axis";return this[t]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],r=this._angleAxis,n=this._radiusAxis;return r.scale.type===e&&t.push(r),n.scale.type===e&&t.push(n),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},e.prototype.pointToData=function(e,t){var r=this.pointToCoord(e);return[this._radiusAxis.radiusToData(r[0],t),this._angleAxis.angleToData(r[1],t)]},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,r=e[1]-this.cy,n=this.getAngleAxis(),i=n.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);n.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+r*r);t/=s,r/=s;var l=Math.atan2(-r,t)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],r=e[1]/180*Math.PI,n=Math.cos(r)*t+this.cx,i=-Math.sin(r)*t+this.cy;return[n,i]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),r=t.getExtent().slice();r[0]>r[1]&&r.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:r[0],r:r[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(e,t){var r=e-this.cx,n=t-this.cy,i=r*r+n*n-1e-4,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}},e.prototype.convertToPixel=function(e,t,r){var n=VU(t);return n===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(e,t,r){var n=VU(t);return n===this?this.pointToData(r):null},e}();function VU(e){var t=e.seriesModel,r=e.polarModel;return r&&r.coordinateSystem||t&&t.coordinateSystem}var UU=HU;function WU(e,t,r){var n=t.get("center"),i=r.getWidth(),o=r.getHeight();e.cx=Bn(n[0],i),e.cy=Bn(n[1],o);var a=e.getRadiusAxis(),s=Math.min(i,o)/2,u=t.get("radius");null==u?u=[0,"100%"]:l["t"](u)||(u=[0,u]);var c=[Bn(u[0],s),Bn(u[1],s)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function $U(e,t){var r=this,n=r.getAngleAxis(),i=r.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===r){var t=e.getData();l["k"](cO(t,"radius"),(function(e){i.scale.unionExtentFromData(t,e)})),l["k"](cO(t,"angle"),(function(e){n.scale.unionExtentFromData(t,e)}))}})),tO(n.scale,n.model),tO(i.scale,i.model),"category"===n.type&&!n.onBand){var o=n.getExtent(),a=360/n.scale.count();n.inverse?o[1]+=a:o[1]-=a,n.setExtent(o[0],o[1])}}function GU(e){return"angleAxis"===e.mainType}function qU(e,t){var r;if(e.type=t.get("type"),e.scale=rO(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),GU(t)){e.inverse=e.inverse!==t.get("clockwise");var n=t.get("startAngle"),i=null!==(r=t.get("endAngle"))&&void 0!==r?r:n+(e.inverse?-360:360);e.setExtent(n,i)}t.axis=e,e.model=t}var XU={dimensions:zU,create:function(e,t){var r=[];return e.eachComponent("polar",(function(e,n){var i=new UU(n+"");i.update=$U;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");qU(o,s),qU(a,l),WU(i,e,t),r.push(i),e.coordinateSystem=i,i.model=e})),e.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",Ri).models[0];0,e.coordinateSystem=t.coordinateSystem}})),r}},KU=XU,ZU=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function JU(e,t,r){t[1]>t[0]&&(t=t.slice().reverse());var n=e.coordToPoint([t[0],r]),i=e.coordToPoint([t[1],r]);return{x1:n[0],y1:n[1],x2:i[0],y2:i[1]}}function QU(e){var t=e.getRadiusAxis();return t.inverse?0:1}function eW(e){var t=e[0],r=e[e.length-1];t&&r&&Math.abs(Math.abs(t.coord-r.coord)-360)<1e-4&&e.pop()}var tW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="PolarAxisPointer",r}return a(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var r=e.axis,n=r.polar,i=n.getRadiusAxis().getExtent(),o=r.getTicksCoords(),a=r.getMinorTicksCoords(),s=l["H"](r.getViewLabels(),(function(e){e=l["d"](e);var t=r.scale,n="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=r.dataToCoord(n),e}));eW(s),eW(o),l["k"](ZU,(function(t){!e.get([t,"show"])||r.scale.isBlank()&&"axisLine"!==t||rW[t](this.group,e,n,o,a,i,s)}),this)}},t.type="angleAxis",t}(kL),rW={axisLine:function(e,t,r,i,o,a){var s,l=t.getModel(["axisLine","lineStyle"]),u=r.getAngleAxis(),c=Math.PI/180,d=u.getExtent(),h=QU(r),f=h?0:1,p=360===Math.abs(d[1]-d[0])?"Circle":"Arc";s=0===a[f]?new n[p]({shape:{cx:r.cx,cy:r.cy,r:a[h],startAngle:-d[0]*c,endAngle:-d[1]*c,clockwise:u.inverse},style:l.getLineStyle(),z2:1,silent:!0}):new km({shape:{cx:r.cx,cy:r.cy,r:a[h],r0:a[f]},style:l.getLineStyle(),z2:1,silent:!0}),s.style.fill=null,e.add(s)},axisTick:function(e,t,r,n,i,o){var a=t.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),u=o[QU(r)],c=l["H"](n,(function(e){return new Pm({shape:JU(r,[u,u+s],e.coord)})}));e.add(yg(c,{style:l["i"](a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,r,n,i,o){if(i.length){for(var a=t.getModel("axisTick"),s=t.getModel("minorTick"),u=(a.get("inside")?-1:1)*s.get("length"),c=o[QU(r)],d=[],h=0;h<i.length;h++)for(var f=0;f<i[h].length;f++)d.push(new Pm({shape:JU(r,[c,c+u],i[h][f].coord)}));e.add(yg(d,{style:l["i"](s.getModel("lineStyle").getLineStyle(),l["i"](a.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,r,n,i,o,a){var s=t.getCategories(!0),u=t.getModel("axisLabel"),c=u.get("margin"),d=t.get("triggerEvent");l["k"](a,(function(n,i){var a=u,h=n.tickValue,f=o[QU(r)],p=r.coordToPoint([f+c,n.coord]),m=r.cx,g=r.cy,v=Math.abs(p[0]-m)/f<.3?"center":p[0]>m?"left":"right",y=Math.abs(p[1]-g)/f<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[h]){var b=s[h];l["A"](b)&&b.textStyle&&(a=new Tu(b.textStyle,u,u.ecModel))}var _=new Cs({silent:uL.isLabelSilent(t),style:nu(a,{x:p[0],y:p[1],fill:a.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:n.formattedLabel,align:v,verticalAlign:y})});if(e.add(_),d){var w=uL.makeAxisEventDataBase(t);w.targetType="axisLabel",w.value=n.rawLabel,Ts(_).eventData=w}}),this)},splitLine:function(e,t,r,n,i,o){var a=t.getModel("splitLine"),s=a.getModel("lineStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=0;h<n.length;h++){var f=c++%u.length;d[f]=d[f]||[],d[f].push(new Pm({shape:JU(r,o,n[h].coord)}))}for(h=0;h<d.length;h++)e.add(yg(d[h],{style:l["i"]({stroke:u[h%u.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,r,n,i,o){if(i.length){for(var a=t.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],u=0;u<i.length;u++)for(var c=0;c<i[u].length;c++)l.push(new Pm({shape:JU(r,o,i[u][c].coord)}));e.add(yg(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,r,n,i,o){if(n.length){var a=t.getModel("splitArea"),s=a.getModel("areaStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=Math.PI/180,f=-n[0].coord*h,p=Math.min(o[0],o[1]),m=Math.max(o[0],o[1]),g=t.get("clockwise"),v=1,y=n.length;v<=y;v++){var b=v===y?n[0].coord:n[v].coord,_=c++%u.length;d[_]=d[_]||[],d[_].push(new _m({shape:{cx:r.cx,cy:r.cy,r0:p,r:m,startAngle:f,endAngle:-b*h,clockwise:g},silent:!0})),f=-b*h}for(v=0;v<d.length;v++)e.add(yg(d[v],{style:l["i"]({fill:u[v%u.length]},s.getAreaStyle()),silent:!0}))}}},nW=tW,iW=["axisLine","axisTickLabel","axisName"],oW=["splitLine","splitArea","minorSplitLine"],aW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="PolarAxisPointer",r}return a(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var r=this._axisGroup,n=this._axisGroup=new kn;this.group.add(n);var i=e.axis,o=i.polar,a=o.getAngleAxis(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),c=a.getExtent()[0],d=i.getExtent(),h=lW(o,e,c),f=new uL(e,h);l["k"](iW,f.add,f),n.add(f.getGroup()),Og(r,n,e),l["k"](oW,(function(t){e.get([t,"show"])&&!i.scale.isBlank()&&sW[t](this.group,e,o,c,d,s,u)}),this)}},t.type="radiusAxis",t}(kL),sW={splitLine:function(e,t,r,i,o,a){var s=t.getModel("splitLine"),u=s.getModel("lineStyle"),c=u.get("color"),d=0,h=r.getAngleAxis(),f=Math.PI/180,p=h.getExtent(),m=360===Math.abs(p[1]-p[0])?"Circle":"Arc";c=c instanceof Array?c:[c];for(var g=[],v=0;v<a.length;v++){var y=d++%c.length;g[y]=g[y]||[],g[y].push(new n[m]({shape:{cx:r.cx,cy:r.cy,r:Math.max(a[v].coord,0),startAngle:-p[0]*f,endAngle:-p[1]*f,clockwise:h.inverse}}))}for(v=0;v<g.length;v++)e.add(yg(g[v],{style:l["i"]({stroke:c[v%c.length],fill:null},u.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,r,n,i,o,a){if(a.length){for(var s=t.getModel("minorSplitLine"),u=s.getModel("lineStyle"),c=[],d=0;d<a.length;d++)for(var h=0;h<a[d].length;h++)c.push(new Qp({shape:{cx:r.cx,cy:r.cy,r:a[d][h].coord}}));e.add(yg(c,{style:l["i"]({fill:null},u.getLineStyle()),silent:!0}))}},splitArea:function(e,t,r,n,i,o){if(o.length){var a=t.getModel("splitArea"),s=a.getModel("areaStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=o[0].coord,f=1;f<o.length;f++){var p=c++%u.length;d[p]=d[p]||[],d[p].push(new _m({shape:{cx:r.cx,cy:r.cy,r0:h,r:o[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=o[f].coord}for(f=0;f<d.length;f++)e.add(yg(d[f],{style:l["i"]({fill:u[f%u.length]},s.getAreaStyle()),silent:!0}))}}};function lW(e,t,r){return{position:[e.cx,e.cy],rotation:r/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}var uW=aW;function cW(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function dW(e,t){return t.dim+e.model.componentIndex}function hW(e,t,r){var n={},i=fW(l["n"](t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),r=e.coordinateSystem,o=r.getBaseAxis(),a=dW(r,o),s=cW(e),l=i[a][s],u=l.offset,c=l.width,d=r.getOtherAxis(o),h=e.coordinateSystem.cx,f=e.coordinateSystem.cy,p=e.get("barMinHeight")||0,m=e.get("barMinAngle")||0;n[s]=n[s]||[];for(var g=t.mapDimension(d.dim),v=t.mapDimension(o.dim),y=aS(t,g),b="radius"!==o.dim||!e.get("roundCap",!0),_=d.dataToCoord(0),w=0,x=t.count();w<x;w++){var k=t.get(g,w),S=t.get(v,w),M=k>=0?"p":"n",C=_;y&&(n[s][S]||(n[s][S]={p:_,n:_}),C=n[s][S][M]);var T=void 0,O=void 0,L=void 0,A=void 0;if("radius"===d.dim){var D=d.dataToCoord(k)-_,E=o.dataToCoord(S);Math.abs(D)<p&&(D=(D<0?-1:1)*p),T=C,O=C+D,L=E-u,A=L-c,y&&(n[s][S][M]=O)}else{var I=d.dataToCoord(k,b)-_,j=o.dataToCoord(S);Math.abs(I)<m&&(I=(I<0?-1:1)*m),T=j+u,O=T+c,L=C,A=C+I,y&&(n[s][S][M]=A)}t.setItemLayout(w,{cx:h,cy:f,r0:T,r:O,startAngle:-L*Math.PI/180,endAngle:-A*Math.PI/180,clockwise:L>=A})}}}))}function fW(e){var t={};l["k"](e,(function(e,r){var n=e.getData(),i=e.coordinateSystem,o=i.getBaseAxis(),a=dW(i,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/n.count(),u=t[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;t[a]=u;var d=cW(e);c[d]||u.autoWidthCount++,c[d]=c[d]||{width:0,maxWidth:0};var h=Bn(e.get("barWidth"),l),f=Bn(e.get("barMaxWidth"),l),p=e.get("barGap"),m=e.get("barCategoryGap");h&&!c[d].width&&(h=Math.min(u.remainedWidth,h),c[d].width=h,u.remainedWidth-=h),f&&(c[d].maxWidth=f),null!=p&&(u.gap=p),null!=m&&(u.categoryGap=m)}));var r={};return l["k"](t,(function(e,t){r[t]={};var n=e.stacks,i=e.bandWidth,o=Bn(e.categoryGap,i),a=Bn(e.gap,1),s=e.remainedWidth,u=e.autoWidthCount,c=(s-o)/(u+(u-1)*a);c=Math.max(c,0),l["k"](n,(function(e,t){var r=e.maxWidth;r&&r<c&&(r=Math.min(r,s),e.width&&(r=Math.min(r,e.width)),s-=r,e.width=r,u--)})),c=(s-o)/(u+(u-1)*a),c=Math.max(c,0);var d,h=0;l["k"](n,(function(e,t){e.width||(e.width=c),d=e,h+=e.width*(1+a)})),d&&(h-=d.width*a);var f=-h/2;l["k"](n,(function(e,n){r[t][n]=r[t][n]||{offset:f,width:e.width},f+=e.width*(1+a)}))})),r}var pW=hW,mW={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},gW={splitNumber:5},vW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="polar",t}(Cp);function yW(e){R_(MU),kL.registerAxisPointerClass("PolarAxisPointer",AU),e.registerCoordinateSystem("polar",KU),e.registerComponentModel(EU),e.registerComponentView(vW),sT(e,"angle",jU,mW),sT(e,"radius",PU,gW),e.registerComponentView(nW),e.registerComponentView(uW),e.registerLayout(Object(l["h"])(pW,"bar"))}function bW(e,t){t=t||{};var r=e.coordinateSystem,n=e.axis,i={},o=n.position,a=n.orient,s=r.getRect(),u=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};i.position=["vertical"===a?c.vertical[o]:u[0],"horizontal"===a?c.horizontal[o]:u[3]];var d={horizontal:0,vertical:1};i.rotation=Math.PI/2*d[a];var h={top:-1,bottom:1,right:1,left:-1};i.labelDirection=i.tickDirection=i.nameDirection=h[o],e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),l["O"](t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var f=t.rotate;return null==f&&(f=e.get(["axisLabel","rotate"])),i.labelRotation="top"===o?-f:f,i.z2=1,i}var _W=["axisLine","axisTickLabel","axisName"],wW=["splitArea","splitLine"],xW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="SingleAxisPointer",r}return a(t,e),t.prototype.render=function(t,r,n,i){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new kn;var s=bW(t),u=new uL(t,s);l["k"](_W,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),l["k"](wW,(function(e){t.get([e,"show"])&&kW[e](this,this.group,this._axisGroup,t)}),this),Og(a,this._axisGroup,t),e.prototype.render.call(this,t,r,n,i)},t.prototype.remove=function(){CL(this)},t.type="singleAxis",t}(kL),kW={splitLine:function(e,t,r,n){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var u=a.get("width"),c=n.coordinateSystem.getRect(),d=i.isHorizontal(),h=[],f=0,p=i.getTicksCoords({tickModel:o}),m=[],g=[],v=0;v<p.length;++v){var y=i.toGlobalCoord(p[v].coord);d?(m[0]=y,m[1]=c.y,g[0]=y,g[1]=c.y+c.height):(m[0]=c.x,m[1]=y,g[0]=c.x+c.width,g[1]=y);var b=new Pm({shape:{x1:m[0],y1:m[1],x2:g[0],y2:g[1]},silent:!0});_g(b.shape,u);var _=f++%s.length;h[_]=h[_]||[],h[_].push(b)}var w=a.getLineStyle(["color"]);for(v=0;v<h.length;++v)t.add(yg(h[v],{style:l["i"]({stroke:s[v%s.length]},w),silent:!0}))}},splitArea:function(e,t,r,n){ML(e,r,n,n)}},SW=xW,MW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.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}}},t}(Kc);Object(l["K"])(MW,qC.prototype);var CW=MW,TW=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r,n)||this;return a.type=i||"value",a.position=o||"bottom",a}return a(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.pointToData=function(e,t){return this.coordinateSystem.pointToData(e)[0]},t}(NO),OW=TW,LW=["single"],AW=function(){function e(e,t,r){this.type="single",this.dimension="single",this.dimensions=LW,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,r)}return e.prototype._init=function(e,t,r){var n=this.dimension,i=new OW(n,rO(e),[0,0],e.get("type"),e.get("position")),o="category"===i.type;i.onBand=o&&e.get("boundaryGap"),i.inverse=e.get("inverse"),i.orient=e.get("orient"),e.axis=i,i.model=e,i.coordinateSystem=this,this._axis=i},e.prototype.update=function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();Object(l["k"])(t.mapDimensionsAll(this.dimension),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),tO(this._axis.scale,this._axis.model)}}),this)},e.prototype.resize=function(e,t){this._rect=Fc({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var e=this._rect,t=this._axis,r=t.isHorizontal(),n=r?[0,e.width]:[0,e.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),this._updateAxisTransform(t,r?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var r=e.getExtent(),n=r[0]+r[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return n-e+t}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(e){var t=this.getRect(),r=this.getAxis(),n=r.orient;return"horizontal"===n?r.contain(r.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:r.contain(r.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),r=this.getRect(),n=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),n[i]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-i]=0===i?r.y+r.height/2:r.x+r.width/2,n},e.prototype.convertToPixel=function(e,t,r){var n=DW(t);return n===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(e,t,r){var n=DW(t);return n===this?this.pointToData(r):null},e}();function DW(e){var t=e.seriesModel,r=e.singleAxisModel;return r&&r.coordinateSystem||t&&t.coordinateSystem}var EW=AW;function IW(e,t){var r=[];return e.eachComponent("singleAxis",(function(n,i){var o=new EW(n,e,t);o.name="single_"+i,o.resize(n,t),n.coordinateSystem=o,r.push(o)})),e.eachSeries((function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",Ri).models[0];e.coordinateSystem=t&&t.coordinateSystem}})),r}var jW={create:IW,dimensions:LW},PW=jW,RW=["x","y"],NW=["width","height"],BW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.makeElOption=function(e,t,r,n,i){var o=r.axis,a=o.coordinateSystem,s=zW(a,1-FW(o)),l=a.dataToPoint(t)[0],u=n.get("type");if(u&&"none"!==u){var c=YV(n),d=YW[u](o,l,s);d.style=c,e.graphicKey=d.type,e.pointer=d}var h=bW(r);UV(t,e,h,r,n,i)},t.prototype.getHandleTransform=function(e,t,r){var n=bW(t,{labelInside:!1});n.labelMargin=r.get(["handle","margin"]);var i=VV(t.axis,e,n);return{x:i[0],y:i[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,r,n){var i=r.axis,o=i.coordinateSystem,a=FW(i),s=zW(o,a),l=[e.x,e.y];l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=zW(o,1-a),c=(u[1]+u[0])/2,d=[c,c];return d[a]=l[a],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},t}(BV),YW={line:function(e,t,r){var n=WV([t,r[0]],[t,r[1]],FW(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=e.getBandWidth(),i=r[1]-r[0];return{type:"Rect",shape:$V([t-n/2,r[0]],[n,i],FW(e))}}};function FW(e){return e.isHorizontal()?0:1}function zW(e,t){var r=e.getRect();return[r[RW[t]],r[RW[t]]+r[NW[t]]]}var HW=BW,VW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="single",t}(Cp);function UW(e){R_(MU),kL.registerAxisPointerClass("SingleAxisPointer",HW),e.registerComponentView(VW),e.registerComponentView(SW),e.registerComponentModel(CW),sT(e,"single",CW,CW.defaultOption),e.registerCoordinateSystem("single",PW)}var WW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(t,r,n){var i=Wc(t);e.prototype.init.apply(this,arguments),$W(t,i)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),$W(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.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}},t}(Kc);function $W(e,t){var r,n=e.cellSize;r=l["t"](n)?n:e.cellSize=[n,n],1===r.length&&(r[1]=r[0]);var i=l["H"]([0,1],(function(e){return Hc(t,e)&&(r[e]="auto"),null!=r[e]&&"auto"!==r[e]}));Uc(e,t,{type:"box",ignoreSize:i})}var GW=WW,qW=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){var n=this.group;n.removeAll();var i=e.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,o,n),this._renderLines(e,o,a,n),this._renderYearText(e,o,a,n),this._renderMonthText(e,s,a,n),this._renderWeekText(e,s,o,a,n)},t.prototype._renderDayRect=function(e,t,r){for(var n=e.coordinateSystem,i=e.getModel("itemStyle").getItemStyle(),o=n.getCellWidth(),a=n.getCellHeight(),s=t.start.time;s<=t.end.time;s=n.getNextNDay(s,1).time){var l=n.dataToRect([s],!1).tl,u=new ls({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});r.add(u)}},t.prototype._renderLines=function(e,t,r,n){var i=this,o=e.coordinateSystem,a=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function h(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=i._getLinePointsOfOneWeek(e,t,r);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,n)}h(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,r),a,n),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,r),a,n)},t.prototype._getEdgesPoints=function(e,t,r){var n=[e[0].slice(),e[e.length-1].slice()],i="horizontal"===r?0:1;return n[0][i]=n[0][i]-t/2,n[1][i]=n[1][i]+t/2,n},t.prototype._drawSplitline=function(e,t,r){var n=new Dm({z2:20,shape:{points:e},style:t});r.add(n)},t.prototype._getLinePointsOfOneWeek=function(e,t,r){for(var n=e.coordinateSystem,i=n.getDateInfo(t),o=[],a=0;a<7;a++){var s=n.getNextNDay(i.time,a),l=n.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===r?"bl":"tr"]}return o},t.prototype._formatterLabel=function(e,t){return Object(l["C"])(e)&&e?Ac(e,t):Object(l["w"])(e)?e(t):t.nameMap},t.prototype._yearTextPositionControl=function(e,t,r,n,i){var o=t[0],a=t[1],s=["center","bottom"];"bottom"===n?(a+=i,s=["center","top"]):"left"===n?o-=i:"right"===n?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==n&&"right"!==n||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,r,n){var i=e.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.get("position");a||(a="horizontal"!==r?"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"===r?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=t.start.y;+t.end.y>+t.start.y&&(h=h+"-"+t.end.y);var f=i.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:h},m=this._formatterLabel(f,p),g=new Cs({z2:30,style:nu(i,{text:m})});g.attr(this._yearTextPositionControl(g,d[a],r,a,o)),n.add(g)}},t.prototype._monthTextPositionControl=function(e,t,r,n,i){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===r?(l+=i,t&&(o="center"),"start"===n&&(a="bottom")):(s+=i,t&&(a="middle"),"start"===n&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderMonthText=function(e,t,r,n){var i=e.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),u=i.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(l["C"])(o)||(o&&(t=Vu(o)||t),o=t.get(["time","monthAbbr"])||[]);var d="start"===s?0:1,h="horizontal"===r?0:1;a="start"===s?-a:a;for(var f="center"===u,p=0;p<c[d].length-1;p++){var m=c[d][p].slice(),g=this._firstDayOfMonth[p];if(f){var v=this._firstDayPoints[p];m[h]=(v[h]+c[0][p+1][h])/2}var y=i.get("formatter"),b=o[+g.m-1],_={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:b},w=this._formatterLabel(y,_),x=new Cs({z2:30,style:Object(l["m"])(nu(i,{text:w}),this._monthTextPositionControl(m,f,r,s,a))});n.add(x)}}},t.prototype._weekTextPositionControl=function(e,t,r,n,i){var o="center",a="middle",s=e[0],l=e[1],u="start"===r;return"horizontal"===t?(s=s+n+(u?1:-1)*i[0]/2,o=u?"right":"left"):(l=l+n+(u?1:-1)*i[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderWeekText=function(e,t,r,n,i){var o=e.getModel("dayLabel");if(o.get("show")){var a=e.coordinateSystem,s=o.get("position"),u=o.get("nameMap"),c=o.get("margin"),d=a.getFirstDayOfWeek();if(!u||Object(l["C"])(u)){u&&(t=Vu(u)||t);var h=t.get(["time","dayOfWeekShort"]);u=h||Object(l["H"])(t.get(["time","dayOfWeekAbbr"]),(function(e){return e[0]}))}var f=a.getNextNDay(r.end.time,7-r.lweek).time,p=[a.getCellWidth(),a.getCellHeight()];c=Bn(c,Math.min(p[1],p[0])),"start"===s&&(f=a.getNextNDay(r.start.time,-(7+r.fweek)).time,c=-c);for(var m=0;m<7;m++){var g=a.getNextNDay(f,m),v=a.dataToRect([g.time],!1).center,y=m;y=Math.abs((m+d)%7);var b=new Cs({z2:30,style:Object(l["m"])(nu(o,{text:u[y]}),this._weekTextPositionControl(v,n,s,c,p))});i.add(b)}}},t.type="calendar",t}(Cp),XW=qW,KW=864e5,ZW=function(){function e(t,r,n){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(e){e=Kn(e);var t=e.getFullYear(),r=e.getMonth()+1,n=r<10?"0"+r:""+r,i=e.getDate(),o=i<10?"0"+i:""+i,a=e.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:t+"",m:n,d:o,day:a,time:e.getTime(),formatedDate:t+"-"+n+"-"+o,date:e}},e.prototype.getNextNDay=function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},e.prototype.update=function(e,t){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 r=this._rangeInfo.weeks||1,n=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[r,7]:[7,r];l["k"]([0,1],(function(e){c(i,e)&&(o[n[e]]=i[e]*a[e])}));var s={width:t.getWidth(),height:t.getHeight()},u=this._rect=Fc(o,s);function c(e,t){return null!=e[t]&&"auto"!==e[t]}l["k"]([0,1],(function(e){c(i,e)||(i[e]=u[n[e]]/a[e])})),this._sw=i[0],this._sh=i[1]},e.prototype.dataToPoint=function(e,t){l["t"](e)&&(e=e[0]),null==t&&(t=!0);var r=this.getDateInfo(e),n=this._rangeInfo,i=r.formatedDate;if(t&&!(r.time>=n.start.time&&r.time<n.end.time+KW))return[NaN,NaN];var o=r.day,a=this._getRangeInfo([n.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},e.prototype.pointToData=function(e){var t=this.pointToDate(e);return t&&t.time},e.prototype.dataToRect=function(e,t){var r=this.dataToPoint(e,t);return{contentShape:{x:r[0]-(this._sw-this._lineWidth)/2,y:r[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:r,tl:[r[0]-this._sw/2,r[1]-this._sh/2],tr:[r[0]+this._sw/2,r[1]-this._sh/2],br:[r[0]+this._sw/2,r[1]+this._sh/2],bl:[r[0]-this._sw/2,r[1]+this._sh/2]}},e.prototype.pointToDate=function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,r=Math.floor((e[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(r,t-1,n):this._getDateByWeeksAndDay(t,r-1,n)},e.prototype.convertToPixel=function(e,t,r){var n=JW(t);return n===this?n.dataToPoint(r):null},e.prototype.convertFromPixel=function(e,t,r){var n=JW(t);return n===this?n.pointToData(r):null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(l["t"](t)&&1===t.length&&(t=t[0]),l["t"](t))e=t;else{var r=t.toString();if(/^\d{4}$/.test(r)&&(e=[r+"-01-01",r+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(r)){var n=this.getDateInfo(r),i=n.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(e=[r,r])}if(!e)return t;var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},e.prototype._getRangeInfo=function(e){var t,r=[this.getDateInfo(e[0]),this.getDateInfo(e[1])];r[0].time>r[1].time&&(t=!0,r.reverse());var n=Math.floor(r[1].time/KW)-Math.floor(r[0].time/KW)+1,i=new Date(r[0].time),o=i.getDate(),a=r[1].date.getDate();i.setDate(o+n-1);var s=i.getDate();if(s!==a){var l=i.getTime()-r[1].time>0?1:-1;while((s=i.getDate())!==a&&(i.getTime()-r[1].time)*l>0)n-=l,i.setDate(s-l)}var u=Math.floor((n+r[0].day+6)/7),c=t?1-u:u-1;return t&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:n,weeks:u,nthWeek:c,fweek:r[0].day,lweek:r[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,r){var n=this._getRangeInfo(r);if(e>n.weeks||0===e&&t<n.fweek||e===n.weeks&&t>n.lweek)return null;var i=7*(e-1)-n.fweek+t,o=new Date(n.start.time);return o.setDate(+n.start.d+i),this.getDateInfo(o)},e.create=function(t,r){var n=[];return t.eachComponent("calendar",(function(i){var o=new e(i,t,r);n.push(o),i.coordinateSystem=o})),t.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},e.dimensions=["time","value"],e}();function JW(e){var t=e.calendarModel,r=e.seriesModel,n=t?t.coordinateSystem:r?r.coordinateSystem:null;return n}var QW=ZW;function e$(e){e.registerComponentModel(GW),e.registerComponentView(XW),e.registerCoordinateSystem("calendar",QW)}function t$(e,t){var r=e.existing;if(t.id=e.keyInfo.id,!t.type&&r&&(t.type=r.type),null==t.parentId){var n=t.parentOption;n?t.parentId=n.id:r&&(t.parentId=r.parentId)}t.parentOption=null}function r$(e,t){var r;return l["k"](t,(function(t){null!=e[t]&&"auto"!==e[t]&&(r=!0)})),r}function n$(e,t,r){var n=l["m"]({},r),i=e[t],o=r.$action||"merge";"merge"===o?i?(l["I"](i,n,!0),Uc(i,n,{ignoreSize:!0}),$c(r,i),a$(r,i),a$(r,i,"shape"),a$(r,i,"style"),a$(r,i,"extra"),r.clipPath=i.clipPath):e[t]=n:"replace"===o?e[t]=n:"remove"===o&&i&&(e[t]=null)}var i$=["transition","enterFrom","leaveTo"],o$=i$.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function a$(e,t,r){if(r&&(!e[r]&&t[r]&&(e[r]={}),e=e[r],t=t[r]),e&&t)for(var n=r?i$:o$,i=0;i<n.length;i++){var o=n[i];null==e[o]&&null!=t[o]&&(e[o]=t[o])}}function s$(e,t){if(e&&(e.hv=t.hv=[r$(t,["left","right"]),r$(t,["top","bottom"])],"group"===e.type)){var r=e,n=t;null==r.width&&(r.width=n.width=0),null==r.height&&(r.height=n.height=0)}}var l$=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.preventAutoZ=!0,r}return a(t,e),t.prototype.mergeOption=function(t,r){var n=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,r),this.option.elements=n},t.prototype.optionUpdated=function(e,t){var r=this.option,n=(t?r:e).elements,i=r.elements=t?[]:r.elements,o=[];this._flatten(n,o,null);var a=mi(i,o,"normalMerge"),s=this._elOptionsToUpdate=[];l["k"](a,(function(e,t){var r=e.newOption;r&&(s.push(r),t$(e,r),n$(i,t,r),s$(i[t],r))}),this),r.elements=l["n"](i,(function(e){return e&&delete e.$action,null!=e}))},t.prototype._flatten=function(e,t,r){l["k"](e,(function(e){if(e){r&&(e.parentOption=r),t.push(e);var n=e.children;n&&n.length&&this._flatten(n,t,e),delete e.children}}),this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(Kc),u$={path:null,compoundPath:null,group:kn,image:Qa,text:Cs},c$=Ei(),d$=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(){this._elMap=l["f"]()},t.prototype.render=function(e,t,r){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,r)},t.prototype._updateElements=function(e){var t=e.useElOptionsToUpdate();if(t){var r=this._elMap,n=this.group,i=e.get("z"),o=e.get("zlevel");l["k"](t,(function(t){var a=Si(t.id,null),s=null!=a?r.get(a):null,l=Si(t.parentId,null),u=null!=l?r.get(l):n,c=t.type,d=t.style;"text"===c&&d&&t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=d.verticalAlign=d.align=null);var h=t.textContent,f=t.textConfig;if(d&&fH(d,c,!!f,!!h)){var p=pH(d,c,!0);!f&&p.textConfig&&(f=t.textConfig=p.textConfig),!h&&p.textContent&&(h=p.textContent)}var m=g$(t);var g=t.$action||"merge",v="merge"===g,y="replace"===g;if(v){var b=!s,_=s;b?_=f$(a,u,t.type,r):(_&&(c$(_).isNew=!1),zH(_)),_&&(kH(_,m,e,{isInit:b}),m$(_,t,i,o))}else if(y){p$(s,t,r,e);var w=f$(a,u,t.type,r);w&&(kH(w,m,e,{isInit:!0}),m$(w,t,i,o))}else"remove"===g&&(SH(s,t),p$(s,t,r,e));var x=r.get(a);if(x&&h)if(v){var k=x.getTextContent();k?k.attr(h):x.setTextContent(new Cs(h))}else y&&x.setTextContent(new Cs(h));if(x){var S=t.clipPath;if(S){var M=S.type,C=void 0;b=!1;if(v){var T=x.getClipPath();b=!T||c$(T).type!==M,C=b?h$(M):T}else y&&(b=!0,C=h$(M));x.setClipPath(C),kH(C,S,e,{isInit:b}),HH(C,S.keyframeAnimation,e)}var O=c$(x);x.setTextConfig(f),O.option=t,v$(x,e,t),Rg({el:x,componentModel:e,itemName:x.name,itemTooltipOption:t.tooltip}),HH(x,t.keyframeAnimation,e)}}))}},t.prototype._relocate=function(e,t){for(var r=e.option.elements,n=this.group,i=this._elMap,o=t.getWidth(),a=t.getHeight(),s=["x","y"],u=0;u<r.length;u++){var c=r[u],d=Si(c.id,null),h=null!=d?i.get(d):null;if(h&&h.isGroup){var f=h.parent,p=f===n,m=c$(h),g=c$(f);m.width=Bn(m.option.width,p?o:g.width)||0,m.height=Bn(m.option.height,p?a:g.height)||0}}for(u=r.length-1;u>=0;u--){c=r[u],d=Si(c.id,null),h=null!=d?i.get(d):null;if(h){f=h.parent,g=c$(f);var v=f===n?{width:o,height:a}:{width:g.width,height:g.height},y={},b=zc(h,c,v,null,{hv:c.hv,boundingMode:c.bounding},y);if(!c$(h).isNew&&b){for(var _=c.transition,w={},x=0;x<s.length;x++){var k=s[x],S=y[k];_&&(CH(_)||l["r"](_,k)>=0)?w[k]=S:h[k]=S}Ul(h,w,e,0)}else h.attr(y)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each((function(r){p$(r,c$(r).option,t,e._lastGraphicModel)})),this._elMap=l["f"]()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Cp);function h$(e){var t=l["q"](u$,e)?u$[e]:pg(e);var r=new t({});return c$(r).type=e,r}function f$(e,t,r,n){var i=h$(r);return t.add(i),n.set(e,i),c$(i).id=e,c$(i).isNew=!0,i}function p$(e,t,r,n){var i=e&&e.parent;i&&("group"===e.type&&e.traverse((function(e){p$(e,t,r,n)})),MH(e,t,n),r.removeKey(c$(e).id))}function m$(e,t,r,n){e.isGroup||l["k"]([["cursor",Bo.prototype.cursor],["zlevel",n||0],["z",r||0],["z2",0]],(function(r){var n=r[0];l["q"](t,n)?e[n]=l["P"](t[n],r[1]):null==e[n]&&(e[n]=r[1])})),l["k"](l["F"](t),(function(r){if(0===r.indexOf("on")){var n=t[r];e[r]=l["w"](n)?n:null}})),l["q"](t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}function g$(e){return e=l["m"]({},e),l["k"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Pc),(function(t){delete e[t]})),e}function v$(e,t,r){var n=Ts(e).eventData;e.silent||e.ignore||n||(n=Ts(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),n&&(n.info=r.info)}function y$(e){e.registerComponentModel(l$),e.registerComponentView(d$),e.registerPreprocessor((function(e){var t=e.graphic;Object(l["t"])(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}))}var b$=["x","y","radius","angle","single"],_$=["cartesian2d","polar","singleAxis"];function w$(e){var t=e.get("coordinateSystem");return Object(l["r"])(_$,t)>=0}function x$(e){return e+"Axis"}function k$(e,t){var r,n=Object(l["f"])(),i=[],o=Object(l["f"])();e.eachComponent({mainType:"dataZoom",query:t},(function(e){o.get(e.uid)||s(e)}));do{r=!1,e.eachComponent("dataZoom",a)}while(r);function a(e){!o.get(e.uid)&&u(e)&&(s(e),r=!0)}function s(e){o.set(e.uid,!0),i.push(e),c(e)}function u(e){var t=!1;return e.eachTargetAxis((function(e,r){var i=n.get(e);i&&i[r]&&(t=!0)})),t}function c(e){e.eachTargetAxis((function(e,t){(n.get(e)||n.set(e,[]))[t]=!0}))}return i}function S$(e){var t=e.ecModel,r={infoList:[],infoMap:Object(l["f"])()};return e.eachTargetAxis((function(e,n){var i=t.getComponent(x$(e),n);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=r.infoMap.get(a);s||(s={model:o,axisModels:[]},r.infoList.push(s),r.infoMap.set(a,s)),s.axisModels.push(i)}}})),r}var M$=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),C$=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return a(t,e),t.prototype.init=function(e,t,r){var n=T$(e);this.settledOption=n,this.mergeDefaultAndTheme(e,r),this._doInit(n)},t.prototype.mergeOption=function(e){var t=T$(e);Object(l["I"])(this.option,e,!0),Object(l["I"])(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var r=this.settledOption;Object(l["k"])([["start","startValue"],["end","endValue"]],(function(e,n){"value"===this._rangePropMode[n]&&(t[e[0]]=r[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Object(l["f"])(),r=this._fillSpecifiedTargetAxis(t);r?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each((function(e){e.indexList.length&&(this._noTarget=!1)}),this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return Object(l["k"])(b$,(function(r){var n=this.getReferringComponents(x$(r),Ni);if(n.specified){t=!0;var i=new M$;Object(l["k"])(n.models,(function(e){i.add(e.componentIndex)})),e.set(r,i)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var r=this.ecModel,n=!0;if(n){var i="vertical"===t?"y":"x",o=r.findComponents({mainType:i+"Axis"});a(o,i)}if(n){o=r.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});a(o,"single")}function a(t,r){var i=t[0];if(i){var o=new M$;if(o.add(i.componentIndex),e.set(r,o),n=!1,"x"===r||"y"===r){var a=i.getReferringComponents("grid",Ri).models[0];a&&Object(l["k"])(t,(function(e){i.componentIndex!==e.componentIndex&&a===e.getReferringComponents("grid",Ri).models[0]&&o.add(e.componentIndex)}))}}}n&&Object(l["k"])(b$,(function(t){if(n){var i=r.findComponents({mainType:x$(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new M$;o.add(i[0].componentIndex),e.set(t,o),n=!1}}}),this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis((function(t){!e&&(e=t)}),this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,r=this.get("rangeMode");Object(l["k"])([["start","startValue"],["end","endValue"]],(function(n,i){var o=null!=e[n[0]],a=null!=e[n[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":r?t[i]=r[i]:o&&(t[i]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,r){null==e&&(e=this.ecModel.getComponent(x$(t),r))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(r,n){Object(l["k"])(r.indexList,(function(r){e.call(t,n,r)}))}))},t.prototype.getAxisProxy=function(e,t){var r=this.getAxisModel(e,t);if(r)return r.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var r=this._targetAxisInfoMap.get(e);if(r&&r.indexMap[t])return this.ecModel.getComponent(x$(e),t)},t.prototype.setRawRange=function(e){var t=this.option,r=this.settledOption;Object(l["k"])([["start","startValue"],["end","endValue"]],(function(n){null==e[n[0]]&&null==e[n[1]]||(t[n[0]]=r[n[0]]=e[n[0]],t[n[1]]=r[n[1]]=e[n[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(l["k"])(["start","startValue","end","endValue"],(function(r){t[r]=e[r]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var r=this.findRepresentativeAxisProxy();return r?r.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,r=this._targetAxisInfoMap.keys(),n=0;n<r.length;n++)for(var i=r[n],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(Kc);function T$(e){var t={};return Object(l["k"])(["start","end","startValue","endValue","throttle"],(function(r){e.hasOwnProperty(r)&&(t[r]=e[r])})),t}var O$=C$,L$=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="dataZoom.select",t}(O$),A$=L$,D$=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r,n){this.dataZoomModel=e,this.ecModel=t,this.api=r},t.type="dataZoom",t}(Cp),E$=D$,I$=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="dataZoom.select",t}(E$),j$=I$,P$=l["k"],R$=Fn,N$=function(){function e(e,t,r,n){this._dimName=e,this._axisIndex=t,this.ecModel=n,this._dataZoomModel=r}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries((function(t){if(w$(t)){var r=x$(this._dimName),n=t.getReferringComponents(r,Ri).models[0];n&&this._axisIndex===n.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return l["d"](this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,r=this._dataExtent,n=this.getAxisModel(),i=n.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];P$(["start","end"],(function(n,u){var c=e[n],d=e[n+"Value"];"percent"===o[u]?(null==c&&(c=a[u]),d=i.parse(Nn(c,a,r))):(t=!0,d=null==d?r[u]:i.parse(d),c=Nn(d,r,a)),l[u]=null==d||isNaN(d)?r[u]:d,s[u]=null==c||isNaN(c)?a[u]:c})),R$(l),R$(s);var u=this._minMaxSpan;function c(e,t,r,n,o){var a=o?"Span":"ValueSpan";iN(0,e,r,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)t[s]=Nn(e[s],r,n,!0),o&&(t[s]=i.parse(t[s]))}return t?c(l,s,r,a,!1):c(s,l,a,r,!0),{valueWindow:l,percentWindow:s}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=B$(this,this._dimName,t),this._updateMinMaxSpan();var r=this.calculateDataWindow(e.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var r=this._dimName,n=this.getTargetSeriesModels(),i=e.get("filterMode"),o=this._valueWindow;"none"!==i&&P$(n,(function(e){var t=e.getData(),n=t.mapDimensionsAll(r);if(n.length){if("weakFilter"===i){var s=t.getStore(),u=l["H"](n,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,r,i,a=0;a<n.length;a++){var l=s.get(u[a],e),c=!isNaN(l),d=l<o[0],h=l>o[1];if(c&&!d&&!h)return!0;c&&(i=!0),d&&(t=!0),h&&(r=!0)}return i&&t&&r}))}else P$(n,(function(r){if("empty"===i)e.setData(t=t.map(r,(function(e){return a(e)?e:NaN})));else{var n={};n[r]=o,t.selectRange(n)}}));P$(n,(function(e){t.setApproximateExtent(o,e)}))}}))}function a(e){return e>=o[0]&&e<=o[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,r=this._dataExtent;P$(["min","max"],(function(n){var i=t.get(n+"Span"),o=t.get(n+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=Nn(r[0]+o,r,[0,100],!0):null!=i&&(o=Nn(i,[0,100],r,!0)-r[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=o}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,r=this._valueWindow;if(t){var n=Vn(r,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+r[0].toFixed(n)),100!==t[1]&&i.setDeterminedMinMax("max",+r[1].toFixed(n)),i.freeze()}},e}();function B$(e,t,r){var n=[1/0,-1/0];P$(r,(function(e){dO(n,e.getData(),t)}));var i=e.getAxisModel(),o=ZT(i.axis.scale,i,n).calculate();return[o.min,o.max]}var Y$=N$,F$={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(r){r.eachTargetAxis((function(n,i){var o=e.getComponent(x$(n),i);t(n,i,o,r)}))}))}t((function(e,t,r,n){r.__dzAxisProxy=null}));var r=[];t((function(t,n,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new Y$(t,n,o,e),r.push(i.__dzAxisProxy))}));var n=Object(l["f"])();return Object(l["k"])(r,(function(e){Object(l["k"])(e.getTargetSeriesModels(),(function(e){n.set(e.uid,e)}))})),n},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,r){e.getAxisProxy(t,r).reset(e)})),e.eachTargetAxis((function(r,n){e.getAxisProxy(r,n).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var r=t.getDataPercentWindow(),n=t.getDataValueWindow();e.setCalculatedRange({start:r[0],end:r[1],startValue:n[0],endValue:n[1]})}}))}},z$=F$;function H$(e){e.registerAction("dataZoom",(function(e,t){var r=k$(t,e);Object(l["k"])(r,(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}var V$=!1;function U$(e){V$||(V$=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,z$),H$(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function W$(e){e.registerComponentModel(A$),e.registerComponentView(j$),U$(e)}var $$=function(){function e(){}return e}(),G$={};function q$(e,t){G$[e]=t}function X$(e){return G$[e]}var K$=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;l["k"](this.option.feature,(function(e,r){var n=X$(r);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(t)),l["I"](e,n.defaultOption))}))},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.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"}},t}(Kc),Z$=K$;function J$(e,t,r){var n=t.getBoxLayoutParams(),i=t.get("padding"),o={width:r.getWidth(),height:r.getHeight()},a=Fc(n,o,i);Bc(t.get("orient"),e,t.get("itemGap"),a.width,a.height),zc(e,n,o,i)}function Q$(e,t){var r=Mc(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new ls({shape:{x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),e}var eG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,r,n){var i=this.group;if(i.removeAll(),e.get("show")){var o=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},u=this._features||(this._features={}),c=[];l["k"](s,(function(e,t){c.push(t)})),new bk(this._featureNames||[],c).add(d).update(d).remove(l["h"](d,null)).execute(),this._featureNames=c,J$(i,e,r),i.add(Q$(i.getBoundingRect(),e)),a||i.eachChild((function(e){var t=e.__title,n=e.ensureState("emphasis"),a=n.textConfig||(n.textConfig={}),s=e.getTextContent(),u=s&&s.ensureState("emphasis");if(u&&!l["w"](u)&&t){var c=u.style||(u.style={}),d=tn(t,Cs.makeFont(c)),h=e.x+i.x,f=e.y+i.y+o,p=!1;f+d.height>r.getHeight()&&(a.position="top",p=!0);var m=p?-5-d.height:o+10;h+d.width/2>r.getWidth()?(a.position=["100%",m],c.align="right"):h-d.width/2<0&&(a.position=[0,m],c.align="left")}}))}function d(i,o){var a,l=c[i],d=c[o],f=s[l],p=new Tu(f,e,e.ecModel);if(n&&null!=n.newTitle&&n.featureName===l&&(f.title=n.newTitle),l&&!d){if(tG(l))a={onclick:p.option.onclick,featureName:l};else{var m=X$(l);if(!m)return;a=new m}u[l]=a}else if(a=u[d],!a)return;a.uid=Lu("toolbox-feature"),a.model=p,a.ecModel=t,a.api=r;var g=a instanceof $$;l||!d?!p.get("show")||g&&a.unusable?g&&a.remove&&a.remove(t,r):(h(p,a,l),p.setIconStatus=function(e,t){var r=this.option,n=this.iconPaths;r.iconStatus=r.iconStatus||{},r.iconStatus[e]=t,n[e]&&("emphasis"===t?cl:dl)(n[e])},a instanceof $$&&a.render&&a.render(p,t,r,n)):g&&a.dispose&&a.dispose(t,r)}function h(n,s,u){var c,d,h=n.getModel("iconStyle"),f=n.getModel(["emphasis","iconStyle"]),p=s instanceof $$&&s.getIcons?s.getIcons():n.get("icon"),m=n.get("title")||{};l["C"](p)?(c={},c[u]=p):c=p,l["C"](m)?(d={},d[u]=m):d=m;var g=n.iconPaths={};l["k"](c,(function(u,c){var p=Dg(u,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle());var m=p.ensureState("emphasis");m.style=f.getItemStyle();var v=new Cs({style:{text:d[c],align:f.get("textAlign"),borderRadius:f.get("textBorderRadius"),padding:f.get("textPadding"),fill:null,font:du({fontStyle:f.get("textFontStyle"),fontFamily:f.get("textFontFamily"),fontSize:f.get("textFontSize"),fontWeight:f.get("textFontWeight")},t)},ignore:!0});p.setTextContent(v),Rg({el:p,componentModel:e,itemName:c,formatterParamsExtra:{title:d[c]}}),p.__title=d[c],p.on("mouseover",(function(){var t=f.getItemStyle(),n=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";v.setStyle({fill:f.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:f.get("textBackgroundColor")}),p.setTextConfig({position:f.get("textPosition")||n}),v.ignore=!e.get("showTitle"),r.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==n.get(["iconStatus",c])&&r.leaveEmphasis(this),v.hide()})),("emphasis"===n.get(["iconStatus",c])?cl:dl)(p),i.add(p),p.on("click",l["c"](s.onclick,s,t,r,c)),g[c]=p}))}},t.prototype.updateView=function(e,t,r,n){l["k"](this._features,(function(e){e instanceof $$&&e.updateView&&e.updateView(e.model,t,r,n)}))},t.prototype.remove=function(e,t){l["k"](this._features,(function(r){r instanceof $$&&r.remove&&r.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){l["k"](this._features,(function(r){r instanceof $$&&r.dispose&&r.dispose(e,t)}))},t.type="toolbox",t}(Cp);function tG(e){return 0===e.indexOf("my")}var rG=eG,nG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){var r=this.model,n=r.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),o=i?"svg":r.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:r.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")}),u=s["a"].browser;if(Object(l["w"])(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=n+"."+o,c.target="_blank",c.href=a;var d=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(d)}else if(window.navigator.msSaveOrOpenBlob||i){var h=a.split(","),f=h[0].indexOf("base64")>-1,p=i?decodeURIComponent(h[1]):h[1];f&&(p=window.atob(p));var m=n+"."+o;if(window.navigator.msSaveOrOpenBlob){var g=p.length,v=new Uint8Array(g);while(g--)v[g]=p.charCodeAt(g);var y=new Blob([v]);window.navigator.msSaveOrOpenBlob(y,m)}else{var b=document.createElement("iframe");document.body.appendChild(b);var _=b.contentWindow,w=_.document;w.open("image/svg+xml","replace"),w.write(p),w.close(),_.focus(),w.execCommand("SaveAs",!0,m),document.body.removeChild(b)}}else{var x=r.get("lang"),k='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(x&&x[0]||"")+'" /></body>',S=window.open();S.document.write(k),S.document.title=n}},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return t},t}($$),iG=nG,oG="__ec_magicType_stack__",aG=[["line","bar"],["stack"]],sG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),r={};return l["k"](e.get("type"),(function(e){t[e]&&(r[e]=t[e])})),r},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return t},t.prototype.onclick=function(e,t,r){var n=this.model,i=n.get(["seriesIndex",r]);if(lG[r]){var o,a={series:[]},s=function(e){var t=e.subType,i=e.id,o=lG[r](t,i,e,n);o&&(l["i"](o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===r||"bar"===r)){var u=s.getAxesByScale("ordinal")[0];if(u){var c=u.dim,d=c+"Axis",h=e.getReferringComponents(d,Ri).models[0],f=h.componentIndex;a[d]=a[d]||[];for(var p=0;p<=f;p++)a[d][f]=a[d][f]||{};a[d][f].boundaryGap="bar"===r}}};l["k"](aG,(function(e){l["r"](e,r)>=0&&l["k"](e,(function(e){n.setIconStatus(e,"normal")}))})),n.setIconStatus(r,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},s);var u=r;"stack"===r&&(o=l["I"]({stack:n.option.title.tiled,tiled:n.option.title.stack},n.option.title),"emphasis"!==n.get(["iconStatus",r])&&(u="tiled")),t.dispatchAction({type:"changeMagicType",currentType:u,newOption:a,newTitle:o,featureName:"magicType"})}},t}($$),lG={line:function(e,t,r,n){if("bar"===e)return l["I"]({id:t,type:"line",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(e,t,r,n){if("line"===e)return l["I"]({id:t,type:"bar",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(e,t,r,n){var i=r.get("stack")===oG;if("line"===e||"bar"===e)return n.setIconStatus("stack",i?"normal":"emphasis"),l["I"]({id:t,stack:i?"":oG},n.get(["option","stack"])||{},!0)}};S_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));var uG=sG,cG=new Array(60).join("-"),dG="\t";function hG(e){var t={},r=[],n=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)r.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else r.push(e)}})),{seriesGroupByCategoryAxis:t,other:r,meta:n}}function fG(e){var t=[];return l["k"](e,(function(e,r){var n=e.categoryAxis,i=e.valueAxis,o=i.dim,a=[" "].concat(l["H"](e.series,(function(e){return e.name}))),s=[n.model.getCategories()];l["k"](e.series,(function(e){var t=e.getRawData();s.push(e.getRawData().mapArray(t.mapDimension(o),(function(e){return e})))}));for(var u=[a.join(dG)],c=0;c<s[0].length;c++){for(var d=[],h=0;h<s.length;h++)d.push(s[h][c]);u.push(d.join(dG))}t.push(u.join("\n"))})),t.join("\n\n"+cG+"\n\n")}function pG(e){return l["H"](e,(function(e){var t=e.getRawData(),r=[e.name],n=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)n[a]=arguments[a];r.push((o?o+dG:"")+n.join(dG))})),r.join("\n")})).join("\n\n"+cG+"\n\n")}function mG(e){var t=hG(e);return{value:l["n"]([fG(t.seriesGroupByCategoryAxis),pG(t.other)],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+cG+"\n\n"),meta:t.meta}}function gG(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function vG(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(dG)>=0)return!0}var yG=new RegExp("["+dG+"]+","g");function bG(e){for(var t=e.split(/\n+/g),r=gG(t.shift()).split(yG),n=[],i=l["H"](r,(function(e){return{name:e,data:[]}})),o=0;o<t.length;o++){var a=gG(t[o]).split(yG);n.push(a.shift());for(var s=0;s<a.length;s++)i[s]&&(i[s].data[o]=a[s])}return{series:i,categories:n}}function _G(e){for(var t=e.split(/\n+/g),r=gG(t.shift()),n=[],i=0;i<t.length;i++){var o=gG(t[i]);if(o){var a=o.split(yG),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),n[i]={name:s,value:[]},l=n[i].value):l=n[i]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?n[i].value=l[0]:n[i]=l[0])}}return{name:r,data:n}}function wG(e,t){var r=e.split(new RegExp("\n*"+cG+"\n*","g")),n={series:[]};return l["k"](r,(function(e,r){if(vG(e)){var i=bG(e),o=t[r],a=o.axisDim+"Axis";o&&(n[a]=n[a]||[],n[a][o.axisIndex]={data:i.categories},n.series=n.series.concat(i.series))}else{i=_G(e);n.series.push(i)}})),n}var xG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var r=t.getDom(),n=this.model;this._dom&&r.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=n.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=n.get("lang")||[];o.innerHTML=a[0]||n.get("title"),o.style.cssText="margin:10px 20px",o.style.color=n.get("textColor");var s=document.createElement("div"),u=document.createElement("textarea");s.style.cssText="overflow:auto";var c=n.get("optionToContent"),d=n.get("contentToOption"),h=mG(e);if(l["w"](c)){var f=c(t.getOption());l["C"](f)?s.innerHTML=f:l["v"](f)&&s.appendChild(f)}else{u.readOnly=n.get("readOnly");var p=u.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=n.get("textColor"),p.borderColor=n.get("textareaBorderColor"),p.backgroundColor=n.get("textareaColor"),u.value=h.value,s.appendChild(u)}var m=h.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),b=document.createElement("div");v+=";background-color:"+n.get("buttonColor"),v+=";color:"+n.get("buttonTextColor");var _=this;function w(){r.removeChild(i),_._dom=null}ee(y,"click",w),ee(b,"click",(function(){if(null==d&&null!=c||null!=d&&null==c)w();else{var e;try{e=l["w"](d)?d(s,t.getOption()):wG(u.value,m)}catch(r){throw w(),new Error("Data view format error "+r)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),w()}})),y.innerHTML=a[1],b.innerHTML=a[2],b.style.cssText=y.style.cssText=v,!n.get("readOnly")&&g.appendChild(b),g.appendChild(y),i.appendChild(o),i.appendChild(s),i.appendChild(g),s.style.height=r.clientHeight-80+"px",r.appendChild(i),this._dom=i},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return t},t}($$);function kG(e,t){return l["H"](e,(function(e,r){var n=t&&t[r];if(l["A"](n)&&!l["t"](n)){var i=l["A"](e)&&!l["t"](e);i||(e={value:e});var o=null!=n.name&&null==e.name;return e=l["i"](e,n),o&&delete e.name,e}return e}))}S_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var r=[];l["k"](e.newOption.series,(function(e){var n=t.getSeriesByName(e.name)[0];if(n){var i=n.get("data");r.push({name:e.name,data:kG(e.data,i)})}else r.push(l["m"]({type:"scatter"},e))})),t.mergeOption(l["i"]({series:r},e.newOption))}));var SG=xG,MG=l["k"],CG=Ei();function TG(e,t){var r=DG(e);MG(t,(function(t,n){for(var i=r.length-1;i>=0;i--){var o=r[i];if(o[n])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var s=a.getPercentRange();r[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),r.push(t)}function OG(e){var t=DG(e),r=t[t.length-1];t.length>1&&t.pop();var n={};return MG(r,(function(e,r){for(var i=t.length-1;i>=0;i--)if(e=t[i][r],e){n[r]=e;break}})),n}function LG(e){CG(e).snapshots=null}function AG(e){return DG(e).length}function DG(e){var t=CG(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var EG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.onclick=function(e,t){LG(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","restore","title"])};return t},t}($$);S_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var IG=EG,jG=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],PG=function(){function e(e,t,r){var n=this;this._targetInfoList=[];var i=NG(t,e);Object(l["k"])(BG,(function(e,t){(!r||!r.include||Object(l["r"])(r.include,t)>=0)&&e(i,n._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,r){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var n=zG[e.brushType](0,r,t);e.__rangeOffset={offset:VG[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,r){Object(l["k"])(e,(function(e){var n=this.findTargetInfo(e,t);n&&!0!==n&&Object(l["k"])(n.coordSyses,(function(n){var i=zG[e.brushType](1,n,e.range,!0);r(e,i.values,n,t)}))}),this)},e.prototype.setInputRanges=function(e,t){Object(l["k"])(e,(function(e){var r=this.findTargetInfo(e,t);if(e.range=e.range||[],r&&!0!==r){e.panelId=r.panelId;var n=zG[e.brushType](0,r.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?VG[e.brushType](n.values,i.offset,WG(n.xyMinMax,i.xyMinMax)):n.values}}),this)},e.prototype.makePanelOpts=function(e,t){return Object(l["H"])(this._targetInfoList,(function(r){var n=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:t?t(r):null,clipPath:_B(n),isTargetByCursor:xB(n,e,r.coordSysModel),getLinearBrushOtherExtent:wB(n)}}))},e.prototype.controlSeries=function(e,t,r){var n=this.findTargetInfo(e,r);return!0===n||n&&Object(l["r"])(n.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var r=this._targetInfoList,n=NG(t,e),i=0;i<r.length;i++){var o=r[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<YG.length;s++)if(YG[s](n,o))return o}return!0},e}();function RG(e){return e[0]>e[1]&&e.reverse(),e}function NG(e,t){return ji(e,t,{includeMainTypes:jG})}var BG={grid:function(e,t){var r=e.xAxisModels,n=e.yAxisModels,i=e.gridModels,o=Object(l["f"])(),a={},s={};(r||n||i)&&(Object(l["k"])(r,(function(e){var t=e.axis.grid.model;o.set(t.id,t),a[t.id]=!0})),Object(l["k"])(n,(function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0})),Object(l["k"])(i,(function(e){o.set(e.id,e),a[e.id]=!0,s[e.id]=!0})),o.each((function(e){var i=e.coordinateSystem,o=[];Object(l["k"])(i.getCartesians(),(function(e,t){(Object(l["r"])(r,e.getAxis("x").model)>=0||Object(l["r"])(n,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:FG.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})})))},geo:function(e,t){Object(l["k"])(e.geoModels,(function(e){var r=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:r,coordSyses:[r],getPanelRect:FG.geo})}))}},YG=[function(e,t){var r=e.xAxisModel,n=e.yAxisModel,i=e.gridModel;return!i&&r&&(i=r.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===t.gridModel},function(e,t){var r=e.geoModel;return r&&r===t.geoModel}],FG={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(kg(e)),t}},zG={lineX:Object(l["h"])(HG,0),lineY:Object(l["h"])(HG,1),rect:function(e,t,r,n){var i=e?t.pointToData([r[0][0],r[1][0]],n):t.dataToPoint([r[0][0],r[1][0]],n),o=e?t.pointToData([r[0][1],r[1][1]],n):t.dataToPoint([r[0][1],r[1][1]],n),a=[RG([i[0],o[0]]),RG([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,r,n){var i=[[1/0,-1/0],[1/0,-1/0]],o=Object(l["H"])(r,(function(r){var o=e?t.pointToData(r,n):t.dataToPoint(r,n);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}));return{values:o,xyMinMax:i}}};function HG(e,t,r,n){var i=r.getAxis(["x","y"][e]),o=RG(Object(l["H"])([0,1],(function(e){return t?i.coordToData(i.toLocalCoord(n[e]),!0):i.toGlobalCoord(i.dataToCoord(n[e]))}))),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var VG={lineX:Object(l["h"])(UG,0),lineY:Object(l["h"])(UG,1),rect:function(e,t,r){return[[e[0][0]-r[0]*t[0][0],e[0][1]-r[0]*t[0][1]],[e[1][0]-r[1]*t[1][0],e[1][1]-r[1]*t[1][1]]]},polygon:function(e,t,r){return Object(l["H"])(e,(function(e,n){return[e[0]-r[0]*t[n][0],e[1]-r[1]*t[n][1]]}))}};function UG(e,t,r,n){return[t[0]-n[e]*r[0],t[1]-n[e]*r[1]]}function WG(e,t){var r=$G(e),n=$G(t),i=[r[0]/n[0],r[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function $G(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var GG=PG,qG=l["k"],XG=Ti("toolbox-dataZoom_"),KG=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,r,n){this._brushController||(this._brushController=new bB(r.getZr()),this._brushController.on("brush",l["c"](this._onBrush,this)).mount()),eq(e,t,this,n,r),QG(e,t)},t.prototype.onclick=function(e,t,r){ZG[r].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var r={},n=this.ecModel;this._brushController.updateCovers([]);var i=new GG(JG(this.model),n,{include:["grid"]});i.matchOutputRanges(t,n,(function(e,t,r){if("cartesian2d"===r.type){var n=e.brushType;"rect"===n?(o("x",r,t[0]),o("y",r,t[1])):o({lineX:"x",lineY:"y"}[n],r,t)}})),TG(n,r),this._dispatchZoomAction(r)}function o(e,t,i){var o=t.getAxis(e),s=o.model,l=a(e,s,n),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=iN(0,i.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(r[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function a(e,t,r){var n;return r.eachComponent({mainType:"dataZoom",subType:"select"},(function(r){var i=r.getAxisModel(e,t.componentIndex);i&&(n=r)})),n}},t.prototype._dispatchZoomAction=function(e){var t=[];qG(e,(function(e,r){t.push(l["d"](e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return t},t}($$),ZG={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(OG(this.ecModel))}};function JG(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function QG(e,t){e.setIconStatus("back",AG(t)>1?"emphasis":"normal")}function eq(e,t,r,n,i){var o=r._isZoomActive;n&&"takeGlobalCursor"===n.type&&(o="dataZoomSelect"===n.key&&n.dataZoomSelectActive),r._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new GG(JG(e),t,{include:["grid"]}),s=a.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));r._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}bd("dataZoom",(function(e){var t=e.getComponent("toolbox",0),r=["feature","dataZoom"];if(t&&null!=t.get(r)){var n=t.getModel(r),i=[],o=JG(n),a=ji(e,o);return qG(a.xAxisModels,(function(e){return s(e,"xAxis","xAxisIndex")})),qG(a.yAxisModels,(function(e){return s(e,"yAxis","yAxisIndex")})),i}function s(e,t,r){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:XG+t+o};a[r]=o,i.push(a)}}));var tq=KG;function rq(e){e.registerComponentModel(Z$),e.registerComponentView(rG),q$("saveAsImage",iG),q$("magicType",uG),q$("dataView",SG),q$("dataZoom",tq),q$("restore",IG),R_(W$)}var nq=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.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}},t}(Kc),iq=nq;function oq(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function aq(e){if(s["a"].domSupported)for(var t=document.documentElement.style,r=0,n=e.length;r<n;r++)if(e[r]in t)return e[r]}var sq=aq(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),lq=aq(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function uq(e,t){if(!e)return t;t=Sc(t,!0);var r=e.indexOf(t);return e=-1===r?t:"-"+e.slice(0,r)+"-"+t,e.toLowerCase()}function cq(e,t){var r=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return r?t?r[t]:r:null}var dq=uq(lq,"transition"),hq=uq(sq,"transform"),fq="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(s["a"].transform3dSupported?"will-change:transform;":"");function pq(e){return e="left"===e?"right":"right"===e?"left":"top"===e?"bottom":"top",e}function mq(e,t,r){if(!Object(l["C"])(r)||"inside"===r)return"";var n=e.get("backgroundColor"),i=e.get("borderWidth");t=Ec(t);var o,a=pq(r),s=Math.max(1.5*Math.round(i),6),u="",c=hq+":";Object(l["r"])(["left","right"],a)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var d=o*Math.PI/180,h=s+i,f=h*Math.abs(Math.cos(d))+h*Math.abs(Math.sin(d)),p=Math.round(100*((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-h)/2))/100;u+=";"+a+":-"+p+"px";var m=t+" solid "+i+"px;",g=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",u+";"+c+";","border-bottom:"+m,"border-right:"+m,"background-color:"+n+";"];return'<div style="'+g.join("")+'"></div>'}function gq(e,t){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+e/2+"s "+r,i="opacity"+n+",visibility"+n;return t||(n=" "+e+"s "+r,i+=s["a"].transformSupported?","+hq+n:",left"+n+",top"+n),dq+":"+i}function vq(e,t,r){var n=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!s["a"].transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var o=s["a"].transform3dSupported,a="translate"+(o?"3d":"")+"("+n+","+i+(o?",0":"")+")";return r?"top:0;left:0;"+hq+":"+a+";":[["top",0],["left",0],[sq,a]]}function yq(e){var t=[],r=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont()),r&&t.push("line-height:"+Math.round(3*r/2)+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),Object(l["k"])(["decoration","align"],(function(r){var n=e.get(r);n&&t.push("text-"+r+":"+n)})),t.join(";")}function bq(e,t,r){var n=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),u=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),d=e.getModel("textStyle"),h=lp(e,"html"),f=u+"px "+c+"px "+a+"px "+s;return n.push("box-shadow:"+f),t&&i&&n.push(gq(i,r)),o&&n.push("background-color:"+o),Object(l["k"])(["width","color","radius"],(function(t){var r="border-"+t,i=Sc(r),o=e.get(i);null!=o&&n.push(r+":"+o+("color"===t?"":"px"))})),n.push(yq(d)),null!=h&&n.push("padding:"+Mc(h).join("px ")+"px"),n.join(";")+";"}function _q(e,t,r,n,i){var o=t&&t.painter;if(r){var a=o&&o.getViewportRoot();a&&B(e,a,r,n,i)}else{e[0]=n,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var wq=function(){function e(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,s["a"].wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var n=this._zr=e.getZr(),i=t.appendTo,o=i&&(Object(l["C"])(i)?document.querySelector(i):Object(l["v"])(i)?i:Object(l["w"])(i)&&i(e.getDom()));_q(this._styleCoord,n,o,e.getWidth()/2,e.getHeight()/2),(o||e.getDom()).appendChild(r),this._api=e,this._container=o;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=n.handler,r=n.painter.getViewportRoot();J(r,e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),r=cq(t,"position"),n=t.style;"absolute"!==n.position&&"absolute"!==r&&(n.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,n=r.style,i=this._styleCoord;r.innerHTML?n.cssText=fq+bq(e,!this._firstShow,this._longHide)+vq(i[0],i[1],!0)+"border-color:"+Ec(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,r,n,i){var o=this.el;if(null!=e){var a="";if(Object(l["C"])(i)&&"item"===r.get("trigger")&&!oq(r)&&(a=mq(r,n,i)),Object(l["C"])(e))o.innerHTML=e+a;else if(e){o.innerHTML="",Object(l["t"])(e)||(e=[e]);for(var s=0;s<e.length;s++)Object(l["v"])(e[s])&&e[s].parentNode!==o&&o.appendChild(e[s]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}}else o.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},e.prototype.moveTo=function(e,t){var r=this._styleCoord;if(_q(r,this._zr,this._container,e,t),null!=r[0]&&null!=r[1]){var n=this.el.style,i=vq(r[0],r[1]);Object(l["k"])(i,(function(e){n[e[0]]=e[1]}))}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",s["a"].transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return e._longHide=!0}),500)},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Object(l["c"])(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null},e}(),xq=wq,kq=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),Cq(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return e.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(e,t,r,n,i){var o=this;l["A"](e)&&Ed(""),this.el&&this._zr.remove(this.el);var a=r.getModel("textStyle");this.el=new Cs({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:a.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:lp(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),l["k"](["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){o.el.style[e]=r.get(e)})),l["k"](["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){o.el.style[e]=a.get(e)||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}))},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),r=Mq(e.style);return[t.width+r.left+r.right,t.height+r.top+r.bottom]},e.prototype.moveTo=function(e,t){var r=this.el;if(r){var n=this._styleCoord;Cq(n,this._zr,e,t),e=n[0],t=n[1];var i=r.style,o=Sq(i.borderWidth||0),a=Mq(i);r.x=e+o+a.left,r.y=t+o+a.top,r.markRedraw()}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(l["c"](this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function Sq(e){return Math.max(0,e)}function Mq(e){var t=Sq(e.shadowBlur||0),r=Sq(e.shadowOffsetX||0),n=Sq(e.shadowOffsetY||0);return{left:Sq(t-r),right:Sq(t+r),top:Sq(t-n),bottom:Sq(t+n)}}function Cq(e,t,r,n){e[0]=r,e[1]=n,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var Tq=kq,Oq=new ls({shape:{x:-1,y:-1,width:2,height:2}}),Lq=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(e,t){if(!s["a"].node&&t.getDom()){var r=e.getComponent("tooltip"),n=this._renderMode=zi(r.get("renderMode"));this._tooltipContent="richText"===n?new Tq(t):new xq(t,{appendTo:r.get("appendToBody",!0)?"body":r.get("appendTo",!0)})}},t.prototype.render=function(e,t,r){if(!s["a"].node&&r.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=r;var n=this._tooltipContent;n.update(e),n.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?Jg(this,"_updatePosition",50,"fixRate"):Qg(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,t=e.get("triggerOn");nU("itemTooltip",this._api,Object(l["c"])((function(e,r,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(r,n):"leave"===e&&this._hide(n))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,r=this._api,n=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==n&&"click"!==n){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!r.isDisposed()&&i.manuallyShowTip(e,t,r,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,r,n){if(n.from!==this.uid&&!s["a"].node&&r.getDom()){var i=Dq(n,r);this._ticket="";var o=n.dataByCoordSys,a=Rq(n,t,r);if(a){var l=a.el.getBoundingRect().clone();l.applyTransform(a.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:a.el,position:n.position,positionDefault:"bottom"},i)}else if(n.tooltip&&null!=n.x&&null!=n.y){var u=Oq;u.x=n.x,u.y=n.y,u.update(),Ts(u).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:u},i)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:o,tooltipOption:n.tooltipOption},i);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(e,t,r,n))return;var c=hU(n,t),d=c.point[0],h=c.point[1];null!=d&&null!=h&&this._tryShow({offsetX:d,offsetY:h,target:c.el,position:n.position,positionDefault:"bottom"},i)}else null!=n.x&&null!=n.y&&(r.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:r.getZr().findHover(n.x,n.y).target},i))}},t.prototype.manuallyHideTip=function(e,t,r,n){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide(Dq(n,r))},t.prototype._manuallyAxisShowTip=function(e,t,r,n){var i=n.seriesIndex,o=n.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData(),u=Aq([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return r.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:n.position}),!0}}},t.prototype._tryShow=function(e,t){var r=e.target,n=this._tooltipModel;if(n){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,e);else if(r){var o,a,s=Ts(r);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,$v(r,(function(e){return null!=Ts(e).dataIndex?(o=e,!0):null!=Ts(e).tooltipConfig?(a=e,!0):void 0}),!0),o?this._showSeriesItemTooltip(e,o,t):a?this._showComponentItemTooltip(e,a,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var r=e.get("showDelay");t=Object(l["c"])(t,this),clearTimeout(this._showTimout),r>0?this._showTimout=setTimeout(t,r):t()},t.prototype._showAxisTooltip=function(e,t){var r=this._ecModel,n=this._tooltipModel,i=[t.offsetX,t.offsetY],o=Aq([t.tooltipOption],n),a=this._renderMode,s=[],u=qf("section",{blocks:[],noHeader:!0}),c=[],d=new up;Object(l["k"])(e,(function(e){Object(l["k"])(e.dataByAxis,(function(e){var t=r.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value;if(t&&null!=i){var o=HV(i,t.axis,r,e.seriesDataIndices,e.valueLabelOpt),h=qf("section",{header:o,noHeader:!Object(l["T"])(o),sortBlocks:!0,blocks:[]});u.blocks.push(h),Object(l["k"])(e.seriesDataIndices,(function(u){var f=r.getSeriesByIndex(u.seriesIndex),p=u.dataIndexInside,m=f.getDataParams(p);if(!(m.dataIndex<0)){m.axisDim=e.axisDim,m.axisIndex=e.axisIndex,m.axisType=e.axisType,m.axisId=e.axisId,m.axisValue=oO(t.axis,{value:i}),m.axisValueLabel=o,m.marker=d.makeTooltipMarker("item",Ec(m.color),a);var g=nf(f.formatTooltip(p,!0,null)),v=g.frag;if(v){var y=Aq([f],n).get("valueFormatter");h.blocks.push(y?Object(l["m"])({valueFormatter:y},v):v)}g.text&&c.push(g.text),s.push(m)}}))}}))})),u.blocks.reverse(),c.reverse();var h=t.position,f=o.get("order"),p=ep(u,d,a,f,r.get("useUTC"),o.get("textStyle"));p&&c.unshift(p);var m="richText"===a?"\n\n":"<br/>",g=c.join(m);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,h,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",i[0],i[1],h,null,d)}))},t.prototype._showSeriesItemTooltip=function(e,t,r){var n=this._ecModel,i=Ts(t),o=i.seriesIndex,a=n.getSeriesByIndex(o),s=i.dataModel||a,u=i.dataIndex,c=i.dataType,d=s.getData(c),h=this._renderMode,f=e.positionDefault,p=Aq([d.getItemModel(u),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),m=p.get("trigger");if(null==m||"item"===m){var g=s.getDataParams(u,c),v=new up;g.marker=v.makeTooltipMarker("item",Ec(g.color),h);var y=nf(s.formatTooltip(u,!1,c)),b=p.get("order"),_=p.get("valueFormatter"),w=y.frag,x=w?ep(_?Object(l["m"])({valueFormatter:_},w):w,v,h,b,n.get("useUTC"),p.get("textStyle")):y.text,k="item_"+s.name+"_"+u;this._showOrMove(p,(function(){this._showTooltipContent(p,x,g,k,e.offsetX,e.offsetY,e.position,e.target,v)})),r({type:"showTip",dataIndexInside:u,dataIndex:d.getRawIndex(u),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,r){var n=Ts(t),i=n.tooltipConfig,o=i.option||{};if(Object(l["C"])(o)){var a=o;o={content:a,formatter:a}}var s=[o],u=this._ecModel.getComponent(n.componentMainType,n.componentIndex);u&&s.push(u),s.push({formatter:o.content});var c=e.positionDefault,d=Aq(s,this._tooltipModel,c?{position:c}:null),h=d.get("content"),f=Math.random()+"",p=new up;this._showOrMove(d,(function(){var r=Object(l["d"])(d.get("formatterParams")||{});this._showTooltipContent(d,h,r,f,e.offsetX,e.offsetY,e.position,t,p)})),r({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,r,n,i,o,a,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent;c.setEnterable(e.get("enterable"));var d=e.get("formatter");a=a||e.get("position");var h=t,f=this._getNearestPoint([i,o],r,e.get("trigger"),e.get("borderColor")),p=f.color;if(d)if(Object(l["C"])(d)){var m=e.ecModel.get("useUTC"),g=Object(l["t"])(r)?r[0]:r,v=g&&g.axisType&&g.axisType.indexOf("time")>=0;h=d,v&&(h=oc(g.axisValue,h,m)),h=Lc(h,r,!0)}else if(Object(l["w"])(d)){var y=Object(l["c"])((function(t,n){t===this._ticket&&(c.setContent(n,u,e,p,a),this._updatePosition(e,a,i,o,c,r,s))}),this);this._ticket=n,h=d(r,n,y)}else h=d;c.setContent(h,u,e,p,a),c.show(e,p),this._updatePosition(e,a,i,o,c,r,s)}},t.prototype._getNearestPoint=function(e,t,r,n){return"axis"===r||Object(l["t"])(t)?{color:n||("html"===this._renderMode?"#fff":"none")}:Object(l["t"])(t)?void 0:{color:n||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,r,n,i,o,a){var s=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=i.getSize(),d=e.get("align"),h=e.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),Object(l["w"])(t)&&(t=t([r,n],o,i.el,f,{viewSize:[s,u],contentSize:c.slice()})),Object(l["t"])(t))r=Bn(t[0],s),n=Bn(t[1],u);else if(Object(l["A"])(t)){var p=t;p.width=c[0],p.height=c[1];var m=Fc(p,{width:s,height:u});r=m.x,n=m.y,d=null,h=null}else if(Object(l["C"])(t)&&a){var g=jq(t,f,c,e.get("borderWidth"));r=g[0],n=g[1]}else{g=Eq(r,n,i,s,u,d?null:20,h?null:20);r=g[0],n=g[1]}if(d&&(r-=Pq(d)?c[0]/2:"right"===d?c[0]:0),h&&(n-=Pq(h)?c[1]/2:"bottom"===h?c[1]:0),oq(e)){g=Iq(r,n,i,s,u);r=g[0],n=g[1]}i.moveTo(r,n)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var r=this._lastDataByCoordSys,n=this._cbParamsList,i=!!r&&r.length===e.length;return i&&Object(l["k"])(r,(function(r,o){var a=r.dataByAxis||[],s=e[o]||{},u=s.dataByAxis||[];i=i&&a.length===u.length,i&&Object(l["k"])(a,(function(e,r){var o=u[r]||{},a=e.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===s.length,i&&Object(l["k"])(a,(function(e,t){var r=s[t];i=i&&e.seriesIndex===r.seriesIndex&&e.dataIndex===r.dataIndex})),n&&Object(l["k"])(e.seriesDataIndices,(function(e){var r=e.seriesIndex,o=t[r],a=n[r];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!s["a"].node&&t.getDom()&&(Qg(this,"_updatePosition"),this._tooltipContent.dispose(),uU("itemTooltip",t))},t.type="tooltip",t}(Cp);function Aq(e,t,r){var n,i=t.ecModel;r?(n=new Tu(r,i,i),n=new Tu(t.option,n,i)):n=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof Tu&&(a=a.get("tooltip",!0)),Object(l["C"])(a)&&(a={formatter:a}),a&&(n=new Tu(a,n,i)))}return n}function Dq(e,t){return e.dispatchAction||Object(l["c"])(t.dispatchAction,t)}function Eq(e,t,r,n,i,o,a){var s=r.getSize(),l=s[0],u=s[1];return null!=o&&(e+l+o+2>n?e-=l+o:e+=o),null!=a&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function Iq(e,t,r,n,i){var o=r.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,n)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function jq(e,t,r,n){var i=r[0],o=r[1],a=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+a;break;case"left":s=t.x-i-a,l=t.y+c/2-o/2;break;case"right":s=t.x+u+a,l=t.y+c/2-o/2}return[s,l]}function Pq(e){return"center"===e||"middle"===e}function Rq(e,t,r){var n=Pi(e).queryOptionMap,i=n.keys()[0];if(i&&"series"!==i){var o=Bi(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=r.getViewOfComponentModel(a);return l.group.traverse((function(t){var r=Ts(t).tooltipConfig;if(r&&r.name===e.name)return s=t,!0})),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}var Nq=Lq;function Bq(e){R_(MU),e.registerComponentModel(iq),e.registerComponentView(Nq),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},l["L"]),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},l["L"])}var Yq=["rect","polygon","keep","clear"];function Fq(e,t){var r=ci(e?e.brush:[]);if(r.length){var n=[];l["k"](r,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(n=n.concat(t))}));var i=e&&e.toolbox;l["t"](i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,n),zq(s),t&&!s.length&&s.push.apply(s,Yq)}}function zq(e){var t={};l["k"](e,(function(e){t[e]=1})),e.length=0,l["k"](t,(function(t,r){e.push(r)}))}var Hq=l["k"];function Vq(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function Uq(e,t,r){var n={};return Hq(t,(function(t){var o=n[t]=i();Hq(e[t],(function(e,n){if(dj.isValidType(n)){var i={type:n,visual:e};r&&r(i,t),o[n]=new dj(i),"opacity"===n&&(i=l["d"](i),i.type="colorAlpha",o.__hidden.__alphaForOpacity=new dj(i))}}))})),n;function i(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function Wq(e,t,r){var n;l["k"](r,(function(e){t.hasOwnProperty(e)&&Vq(t[e])&&(n=!0)})),n&&l["k"](r,(function(r){t.hasOwnProperty(r)&&Vq(t[r])?e[r]=l["d"](t[r]):delete e[r]}))}function $q(e,t,r,n,i,o){var a,s={};function u(e){return Fv(r,a,e)}function c(e,t){Hv(r,a,e,t)}function d(e,l){a=null==o?e:l;var d=r.getRawDataItem(a);if(!d||!1!==d.visualMap)for(var h=n.call(i,e),f=t[h],p=s[h],m=0,g=p.length;m<g;m++){var v=p[m];f[v]&&f[v].applyVisual(e,u,c)}}l["k"](e,(function(e){var r=dj.prepareVisualTypes(t[e]);s[e]=r})),null==o?r.each(d):r.each([o],d)}function Gq(e,t,r,n){var i={};return l["k"](e,(function(e){var r=dj.prepareVisualTypes(t[e]);i[e]=r})),{progress:function(e,o){var a,s;function l(e){return Fv(o,s,e)}function u(e,t){Hv(o,s,e,t)}null!=n&&(a=o.getDimensionIndex(n));var c=o.getStore();while(null!=(s=e.next())){var d=o.getRawDataItem(s);if(!d||!1!==d.visualMap)for(var h=null!=n?c.get(a,s):s,f=r(h),p=t[f],m=i[f],g=0,v=m.length;g<v;g++){var y=m[g];p[y]&&p[y].applyVisual(h,l,u)}}}}}function qq(e){var t=e.brushType,r={point:function(n){return Xq[t].point(n,r,e)},rect:function(n){return Xq[t].rect(n,r,e)}};return r}var Xq={lineX:Kq(0),lineY:Kq(1),rect:{point:function(e,t,r){return e&&r.boundingRect.contain(e[0],e[1])},rect:function(e,t,r){return e&&r.boundingRect.intersect(e)}},polygon:{point:function(e,t,r){return e&&r.boundingRect.contain(e[0],e[1])&&GA(r.range,e[0],e[1])},rect:function(e,t,r){var n=r.range;if(!e||n.length<=1)return!1;var i=e.x,o=e.y,a=e.width,s=e.height,l=n[0];return!!(GA(n,i,o)||GA(n,i+a,o)||GA(n,i,o+s)||GA(n,i+a,o+s)||Oe.create(e).contain(l[0],l[1])||Eg(i,o,i+a,o,n)||Eg(i,o,i,o+s,n)||Eg(i+a,o,i+a,o+s,n)||Eg(i,o+s,i+a,o+s,n))||void 0}}};function Kq(e){var t=["x","y"],r=["width","height"];return{point:function(t,r,n){if(t){var i=n.range,o=t[e];return Zq(o,i)}},rect:function(n,i,o){if(n){var a=o.range,s=[n[t[e]],n[t[e]]+n[r[e]]];return s[1]<s[0]&&s.reverse(),Zq(s[0],a)||Zq(s[1],a)||Zq(a[0],s)||Zq(a[1],s)}}}}function Zq(e,t){return t[0]<=e&&e<=t[1]}var Jq=["inBrush","outOfBrush"],Qq="__ecBrushSelect",eX="__ecInBrushSelectEvent";function tX(e){e.eachComponent({mainType:"brush"},(function(t){var r=t.brushTargetManager=new GG(t.option,e);r.setInputRanges(t.areas,e)}))}function rX(e,t,r){var n,i,o=[];e.eachComponent({mainType:"brush"},(function(e){r&&"takeGlobalCursor"===r.type&&e.setBrushOption("brush"===r.key?r.brushOption:{brushType:!1})})),tX(e),e.eachComponent({mainType:"brush"},(function(t,r){var a={brushId:t.id,brushIndex:r,brushName:t.name,areas:l["d"](t.areas),selected:[]};o.push(a);var s=t.option,u=s.brushLink,c=[],d=[],h=[],f=!1;r||(n=s.throttleType,i=s.throttleDelay);var p=l["H"](t.areas,(function(e){var t=sX[e.brushType],r=l["i"]({boundingRect:t?t(e):void 0},e);return r.selectors=qq(r),r})),m=Uq(t.option,Jq,(function(e){e.mappingMethod="fixed"}));function g(e){return"all"===u||!!c[e]}function v(e){return!!e.length}function y(e,t){var r=e.coordinateSystem;f=f||r.hasAxisBrushed(),g(t)&&r.eachActiveState(e.getData(),(function(e,t){"active"===e&&(d[t]=1)}))}function b(r,n,i){if(r.brushSelector&&!aX(t,n)&&(l["k"](p,(function(n){t.brushTargetManager.controlSeries(n,r,e)&&i.push(n),f=f||v(i)})),g(n)&&v(i))){var o=r.getData();o.each((function(e){oX(r,i,o,e)&&(d[e]=1)}))}}l["t"](u)&&l["k"](u,(function(e){c[e]=1})),e.eachSeries((function(e,t){var r=h[t]=[];"parallel"===e.subType?y(e,t):b(e,t,r)})),e.eachSeries((function(e,t){var r={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(r);var n=h[t],i=e.getData(),o=g(t)?function(e){return d[e]?(r.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return oX(e,n,i,t)?(r.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"};(g(t)?f:v(n))&&$q(Jq,m,i,o)}))})),nX(t,n,i,o,r)}function nX(e,t,r,n,i){if(i){var o=e.getZr();if(!o[eX]){o[Qq]||(o[Qq]=iX);var a=Jg(o,Qq,r,t);a(e,n)}}}function iX(e,t){if(!e.isDisposed()){var r=e.getZr();r[eX]=!0,e.dispatchAction({type:"brushSelect",batch:t}),r[eX]=!1}}function oX(e,t,r,n){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e.brushSelector(n,r,a.selectors,a))return!0}}function aX(e,t){var r=e.option.seriesIndex;return null!=r&&"all"!==r&&(l["t"](r)?l["r"](r,t)<0:t!==r)}var sX={rect:function(e){return lX(e.range)},polygon:function(e){for(var t,r=e.range,n=0,i=r.length;n<i;n++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=r[n];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&lX(t)}};function lX(e){return new Oe(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var uX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new bB(t.getZr())).on("brush",l["c"](this._onBrush,this)).mount()},t.prototype.render=function(e,t,r,n){this.model=e,this._updateController(e,t,r,n)},t.prototype.updateTransform=function(e,t,r,n){tX(t),this._updateController(e,t,r,n)},t.prototype.updateVisual=function(e,t,r,n){this.updateTransform(e,t,r,n)},t.prototype.updateView=function(e,t,r,n){this._updateController(e,t,r,n)},t.prototype._updateController=function(e,t,r,n){(!n||n.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(r)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,r=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:l["d"](r),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:l["d"](r),$from:t})},t.type="brush",t}(Cp),cX=uX,dX="#ddd",hX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.areas=[],r.brushOption={},r}return a(t,e),t.prototype.optionUpdated=function(e,t){var r=this.option;!t&&Wq(r,e,["inBrush","outOfBrush"]);var n=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:dX},n.hasOwnProperty("liftZ")||(n.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=l["H"](e,(function(e){return fX(this.option,e)}),this))},t.prototype.setBrushOption=function(e){this.brushOption=fX(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.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},t}(Kc);function fX(e,t){return l["I"]({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new Tu(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var pX=hX,mX=["rect","polygon","lineX","lineY","keep","clear"],gX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(e,t,r){var n,i,o;t.eachComponent({mainType:"brush"},(function(e){n=e.brushType,i=e.brushOption.brushMode||"single",o=o||!!e.areas.length})),this._brushType=n,this._brushMode=i,l["k"](e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===i:"clear"===t?o:t===n)?"emphasis":"normal")}))},t.prototype.updateView=function(e,t,r){this.render(e,t,r)},t.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),r={};return l["k"](e.get("type",!0),(function(e){t[e]&&(r[e]=t[e])})),r},t.prototype.onclick=function(e,t,r){var n=this._brushType,i=this._brushMode;"clear"===r?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===r?n:n!==r&&r,brushMode:"keep"===r?"multiple"===i?"single":"multiple":i}})},t.getDefaultOption=function(e){var t={show:!0,type:mX.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:e.getLocaleModel().get(["toolbox","brush","title"])};return t},t}($$),vX=gX;function yX(e){e.registerComponentView(cX),e.registerComponentModel(pX),e.registerPreprocessor(Fq),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,rX),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},l["L"]),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},l["L"]),q$("brush",vX)}var bX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return a(t,e),t.type="title",t.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"}},t}(Kc),_X=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.render=function(e,t,r){if(this.group.removeAll(),e.get("show")){var n=this.group,i=e.getModel("textStyle"),o=e.getModel("subtextStyle"),a=e.get("textAlign"),s=l["P"](e.get("textBaseline"),e.get("textVerticalAlign")),u=new Cs({style:nu(i,{text:e.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),c=u.getBoundingRect(),d=e.get("subtext"),h=new Cs({style:nu(o,{text:d,fill:o.getTextColor(),y:c.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),f=e.get("link"),p=e.get("sublink"),m=e.get("triggerEvent",!0);u.silent=!f&&!m,h.silent=!p&&!m,f&&u.on("click",(function(){Ic(f,"_"+e.get("target"))})),p&&h.on("click",(function(){Ic(p,"_"+e.get("subtarget"))})),Ts(u).eventData=Ts(h).eventData=m?{componentType:"title",componentIndex:e.componentIndex}:null,n.add(u),d&&n.add(h);var g=n.getBoundingRect(),v=e.getBoxLayoutParams();v.width=g.width,v.height=g.height;var y=Fc(v,{width:r.getWidth(),height:r.getHeight()},e.get("padding"));a||(a=e.get("left")||e.get("right"),"middle"===a&&(a="center"),"right"===a?y.x+=y.width:"center"===a&&(y.x+=y.width/2)),s||(s=e.get("top")||e.get("bottom"),"center"===s&&(s="middle"),"bottom"===s?y.y+=y.height:"middle"===s&&(y.y+=y.height/2),s=s||"top"),n.x=y.x,n.y=y.y,n.markRedraw();var b={align:a,verticalAlign:s};u.setStyle(b),h.setStyle(b),g=n.getBoundingRect();var _=y.margin,w=e.getItemStyle(["color","opacity"]);w.fill=e.get("backgroundColor");var x=new ls({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:e.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});n.add(x)}},t.type="title",t}(Cp);function wX(e){e.registerComponentModel(bX),e.registerComponentView(_X)}var xX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode="box",r}return a(t,e),t.prototype.init=function(e,t,r){this.mergeDefaultAndTheme(e,r),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,r=t.data||[],n=t.axisType,i=this._names=[];"category"===n?(e=[],Object(l["k"])(r,(function(t,r){var n,o=Si(fi(t),"");Object(l["A"])(t)?(n=Object(l["d"])(t),n.value=r):n=r,e.push(n),i.push(o)}))):e=r;var o={category:"ordinal",time:"time",value:"number"}[n]||"number",a=this._data=new Xk([{name:"value",type:o}],this);a.initData(e,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.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:[]},t}(Kc),kX=xX,SX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="timeline.slider",t.defaultOption=Eu(kX.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:[]}),t}(kX);Object(l["K"])(SX,rf.prototype);var MX=SX,CX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="timeline",t}(Cp),TX=CX,OX=function(e){function t(t,r,n,i){var o=e.call(this,t,r,n)||this;return o.type=i||"value",o}return a(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(NO),LX=OX,AX=Math.PI,DX=Ei(),EX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,r){if(this.model=e,this.api=r,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var n=this._layout(e,r),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(n,e);e.formatTooltip=function(e){var t=a.scale.getLabel({value:e});return qf("nameValue",{noName:!0,value:t})},Object(l["k"])(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](n,i,a,e)}),this),this._renderAxisLabel(n,o,a,e),this._position(n,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var r,n=e.get(["label","position"]),i=e.get("orient"),o=jX(e,t);r=null==n||"auto"===n?"horizontal"===i?o.y+o.height/2<t.getHeight()/2?"-":"+":o.x+o.width/2<t.getWidth()/2?"+":"-":Object(l["C"])(n)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]:n;var a,s,u,c={horizontal:"center",vertical:r>=0||"+"===r?"left":"right"},d={horizontal:r>=0||"+"===r?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:AX/2},f="vertical"===i?o.height:o.width,p=e.getModel("controlStyle"),m=p.get("show",!0),g=m?p.get("itemSize"):0,v=m?p.get("itemGap"):0,y=g+v,b=e.get(["label","rotate"])||0;b=b*AX/180;var _=p.get("position",!0),w=m&&p.get("showPlayBtn",!0),x=m&&p.get("showPrevBtn",!0),k=m&&p.get("showNextBtn",!0),S=0,M=f;"left"===_||"bottom"===_?(w&&(a=[0,0],S+=y),x&&(s=[S,0],S+=y),k&&(u=[M-g,0],M-=y)):(w&&(a=[M-g,0],M-=y),x&&(s=[0,0],S+=y),k&&(u=[M-g,0],M-=y));var C=[S,M];return e.get("inverse")&&C.reverse(),{viewRect:o,mainLength:f,orient:i,rotation:h[i],labelRotation:b,labelPosOpt:r,labelAlign:e.get(["label","align"])||c[i],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||d[i],playPosition:a,prevBtnPosition:s,nextBtnPosition:u,axisExtent:C,controlSize:g,controlGap:v}},t.prototype._position=function(e,t){var r=this._mainGroup,n=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var o=le(),a=i.x,s=i.y+i.height;he(o,o,[-a,-s]),fe(o,o,-AX/2),he(o,o,[a,s]),i=i.clone(),i.applyTransform(o)}var u=v(i),c=v(r.getBoundingRect()),d=v(n.getBoundingRect()),h=[r.x,r.y],f=[n.x,n.y];f[0]=h[0]=u[0][0];var p=e.labelPosOpt;if(null==p||Object(l["C"])(p)){var m="+"===p?0:1;y(h,c,u,1,m),y(f,d,u,1,1-m)}else{m=p>=0?0:1;y(h,c,u,1,m),f[1]=h[1]+p}function g(e){e.originX=u[0][0]-e.x,e.originY=u[1][0]-e.y}function v(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function y(e,t,r,n,i){e[n]+=r[n][i]-t[n][i]}r.setPosition(h),n.setPosition(f),r.rotation=n.rotation=e.rotation,g(r),g(n)},t.prototype._createAxis=function(e,t){var r=t.getData(),n=t.get("axisType"),i=IX(t,n);i.getTicks=function(){return r.mapArray(["value"],(function(e){return{value:e}}))};var o=r.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new LX("value",i,e.axisExtent,n);return a.model=t,a},t.prototype._createGroup=function(e){var t=this[e]=new kn;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,r,n){var i=r.getExtent();if(n.get(["lineStyle","show"])){var o=new Pm({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:Object(l["m"])({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(o);var a=this._progressLine=new Pm({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:Object(l["i"])({lineCap:"round",lineWidth:o.style.lineWidth},n.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(a)}},t.prototype._renderAxisTick=function(e,t,r,n){var i=this,o=n.getData(),a=r.scale.getTicks();this._tickSymbols=[],Object(l["k"])(a,(function(e){var a=r.dataToCoord(e.value),s=o.getItemModel(e.value),u=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),d=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:Object(l["c"])(i._changeTimeline,i,e.value)},f=RX(s,u,t,h);f.ensureState("emphasis").style=c.getItemStyle(),f.ensureState("progress").style=d.getItemStyle(),Tl(f);var p=Ts(f);s.get("tooltip")?(p.dataIndex=e.value,p.dataModel=n):p.dataIndex=p.dataModel=null,i._tickSymbols.push(f)}))},t.prototype._renderAxisLabel=function(e,t,r,n){var i=this,o=r.getLabelModel();if(o.get("show")){var a=n.getData(),s=r.getViewLabels();this._tickLabels=[],Object(l["k"])(s,(function(n){var o=n.tickValue,s=a.getItemModel(o),u=s.getModel("label"),c=s.getModel(["emphasis","label"]),d=s.getModel(["progress","label"]),h=r.dataToCoord(n.tickValue),f=new Cs({x:h,y:0,rotation:e.labelRotation-e.rotation,onclick:Object(l["c"])(i._changeTimeline,i,o),silent:!1,style:nu(u,{text:n.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});f.ensureState("emphasis").style=nu(c),f.ensureState("progress").style=nu(d),t.add(f),Tl(f),DX(f).dataIndex=o,i._tickLabels.push(f)}))}},t.prototype._renderControl=function(e,t,r,n){var i=e.controlSize,o=e.rotation,a=n.getModel("controlStyle").getItemStyle(),s=n.getModel(["emphasis","controlStyle"]).getItemStyle(),u=n.getPlayState(),c=n.get("inverse",!0);function d(e,r,u,c){if(e){var d=an(Object(l["P"])(n.get(["controlStyle",r+"BtnSize"]),i),i),h=[0,-d/2,d,d],f=PX(n,r+"Icon",h,{x:e[0],y:e[1],originX:i/2,originY:0,rotation:c?-o:0,rectHover:!0,style:a,onclick:u});f.ensureState("emphasis").style=s,t.add(f),Tl(f)}}d(e.nextBtnPosition,"next",Object(l["c"])(this._changeTimeline,this,c?"-":"+")),d(e.prevBtnPosition,"prev",Object(l["c"])(this._changeTimeline,this,c?"+":"-")),d(e.playPosition,u?"stop":"play",Object(l["c"])(this._handlePlayClick,this,!u),!0)},t.prototype._renderCurrentPointer=function(e,t,r,n){var i=n.getData(),o=n.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,u={onCreate:function(e){e.draggable=!0,e.drift=Object(l["c"])(s._handlePointerDrag,s),e.ondragend=Object(l["c"])(s._handlePointerDragend,s),NX(e,s._progressLine,o,r,n,!0)},onUpdate:function(e){NX(e,s._progressLine,o,r,n)}};this._currentPointer=RX(a,a,this._mainGroup,{},this._currentPointer,u)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,r){this._clearTimer(),this._pointerChangeTimeline([r.offsetX,r.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var r=this._toAxisCoord(e)[0],n=this._axis,i=Fn(n.getExtent().slice());r>i[1]&&(r=i[1]),r<i[0]&&(r=i[0]),this._currentPointer.x=r,this._currentPointer.markRedraw();var o=this._progressLine;o&&(o.shape.x2=r,o.dirty());var a=this._findNearestTick(r),s=this.model;(t||a!==s.getCurrentIndex()&&s.get("realtime"))&&this._changeTimeline(a)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var t=e.model;e._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){var t=this._mainGroup.getLocalTransform();return Sg(e,t,!0)},t.prototype._findNearestTick=function(e){var t,r=this.model.getData(),n=1/0,i=this._axis;return r.each(["value"],(function(r,o){var a=i.dataToCoord(r),s=Math.abs(a-e);s<n&&(n=s,t=o)})),t},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),t=this._tickSymbols,r=this._tickLabels;if(t)for(var n=0;n<t.length;n++)t&&t[n]&&t[n].toggleState("progress",n<e);if(r)for(n=0;n<r.length;n++)r&&r[n]&&r[n].toggleState("progress",DX(r[n]).dataIndex<=e)},t.type="timeline.slider",t}(TX);function IX(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new wT({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new RT({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new ST}}function jX(e,t){return Fc(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function PX(e,t,r,n){var i=n.style,o=Dg(e.get(["controlStyle",t]),n||{},new Oe(r[0],r[1],r[2],r[3]));return i&&o.setStyle(i),o}function RX(e,t,r,n,i,o){var a=t.get("color");if(i)i.setColor(a),r.add(i),o&&o.onUpdate(i);else{var s=e.get("symbol");i=ay(s,-1,-1,2,2,a),i.setStyle("strokeNoScale",!0),r.add(i),o&&o.onCreate(i)}var u=t.getItemStyle(["color"]);i.setStyle(u),n=Object(l["I"])({rectHover:!0,z2:100},n,!0);var c=sy(e.get("symbolSize"));n.scaleX=c[0]/2,n.scaleY=c[1]/2;var d=ly(e.get("symbolOffset"),c);d&&(n.x=(n.x||0)+d[0],n.y=(n.y||0)+d[1]);var h=e.get("symbolRotate");return n.rotation=(h||0)*Math.PI/180||0,i.attr(n),i.updateTransform(),i}function NX(e,t,r,n,i,o){if(!e.dragging){var a=i.getModel("checkpointStyle"),s=n.dataToCoord(i.getData().get("value",r));if(o||!a.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}var BX=EX;function YX(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t,r){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.getPlayState()&&(n.setPlayState(!1),r.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:n.get("replaceMerge",!0)}),Object(l["i"])({currentIndex:n.option.currentIndex},e)})),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var r=t.getComponent("timeline");r&&null!=e.playState&&r.setPlayState(e.playState)}))}function FX(e){var t=e&&e.timeline;l["t"](t)||(t=t?[t]:[]),l["k"](t,(function(e){e&&zX(e)}))}function zX(e){var t=e.type,r={number:"value",time:"time"};if(r[t]&&(e.axisType=r[t],delete e.type),HX(e),VX(e,"controlPosition")){var n=e.controlStyle||(e.controlStyle={});VX(n,"position")||(n.position=e.controlPosition),"none"!==n.position||VX(n,"show")||(n.show=!1,delete n.position),delete e.controlPosition}l["k"](e.data||[],(function(e){l["A"](e)&&!l["t"](e)&&(!VX(e,"value")&&VX(e,"name")&&(e.value=e.name),HX(e))}))}function HX(e){var t=e.itemStyle||(e.itemStyle={}),r=t.emphasis||(t.emphasis={}),n=e.label||e.label||{},i=n.normal||(n.normal={}),o={normal:1,emphasis:1};l["k"](n,(function(e,t){o[t]||VX(i,t)||(i[t]=e)})),r.label&&!VX(n,"emphasis")&&(n.emphasis=r.label,delete r.label)}function VX(e,t){return e.hasOwnProperty(t)}function UX(e){e.registerComponentModel(MX),e.registerComponentView(BX),e.registerSubTypeDefaulter("timeline",(function(){return"slider"})),YX(e),e.registerPreprocessor(FX)}function WX(e,t){if(!e)return!1;for(var r=Object(l["t"])(e)?e:[e],n=0;n<r.length;n++)if(r[n]&&r[n][t])return!0;return!1}function $X(e){di(e,"label",["show"])}var GX=Ei(),qX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.createdBySelf=!1,r}return a(t,e),t.prototype.init=function(e,t,r){this.mergeDefaultAndTheme(e,r),this._mergeOption(e,r,!1,!0)},t.prototype.isAnimationEnabled=function(){if(s["a"].node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,r,n){var i=this.mainType;r||t.eachSeries((function(e){var r=e.get(this.mainType,!0),o=GX(e)[i];r&&r.data?(o?o._mergeOption(r,t,!0):(n&&$X(r),l["k"](r.data,(function(e){e instanceof Array?($X(e[0]),$X(e[1])):$X(e)})),o=this.createMarkerModelFromSeries(r,this,t),l["m"](o,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),GX(e)[i]=o):GX(e)[i]=null}),this)},t.prototype.formatTooltip=function(e,t,r){var n=this.getData(),i=this.getRawValue(e),o=n.getName(e);return qf("section",{header:this.name,blocks:[qf("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.getMarkerModelFromSeries=function(e,t){return GX(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Kc);l["K"](qX,rf.prototype);var XX=qX,KX=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,r,n){return new t(e,r,n)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(XX),ZX=KX;function JX(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function QX(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function eK(e,t,r,n,i,o){var a=[],s=aS(t,n),l=s?t.getCalculationInfo("stackResultDimension"):n,u=lK(t,l,e),c=t.indicesOfNearest(l,u)[0];a[i]=t.get(r,c),a[o]=t.get(l,c);var d=t.get(n,c),h=zn(t.get(n,c));return h=Math.min(h,20),h>=0&&(a[o]=+a[o].toFixed(h)),[a,d]}var tK={min:Object(l["h"])(eK,"min"),max:Object(l["h"])(eK,"max"),average:Object(l["h"])(eK,"average"),median:Object(l["h"])(eK,"median")};function rK(e,t){if(t){var r=e.getData(),n=e.coordinateSystem,i=n&&n.dimensions;if(!QX(t)&&!Object(l["t"])(t.coord)&&Object(l["t"])(i)){var o=nK(t,r,n,e);if(t=Object(l["d"])(t),t.type&&tK[t.type]&&o.baseAxis&&o.valueAxis){var a=Object(l["r"])(i,o.baseAxis.dim),s=Object(l["r"])(i,o.valueAxis.dim),u=tK[t.type](r,o.baseDataDim,o.valueDataDim,a,s);t.coord=u[0],t.value=u[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&Object(l["t"])(i))for(var c=t.coord,d=0;d<2;d++)tK[c[d]]&&(c[d]=lK(r,r.mapDimension(i[d]),c[d]));else t.coord=[];return t}}function nK(e,t,r,n){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=r.getAxis(iK(n,i.valueDataDim)),i.baseAxis=r.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=n.getBaseAxis(),i.valueAxis=r.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function iK(e,t){var r=e.getData().getDimensionInfo(t);return r&&r.coordDim}function oK(e,t){return!(e&&e.containData&&t.coord&&!JX(t))||e.containData(t.coord)}function aK(e,t,r){return!(e&&e.containZone&&t.coord&&r.coord&&!JX(t)&&!JX(r))||e.containZone(t.coord,r.coord)}function sK(e,t){return e?function(e,r,n,i){var o=i<2?e.coord&&e.coord[i]:e.value;return lf(o,t[i])}:function(e,r,n,i){return lf(e.value,t[i])}}function lK(e,t,r){if("average"===r){var n=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(n+=e,i++)})),n/i}return"median"===r?e.getMedian(t):e.getDataExtent(t)["max"===r?1:0]}var uK=Ei(),cK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.init=function(){this.markerGroupMap=Object(l["f"])()},t.prototype.render=function(e,t,r){var n=this,i=this.markerGroupMap;i.each((function(e){uK(e).keep=!1})),t.eachSeries((function(e){var i=XX.getMarkerModelFromSeries(e,n.type);i&&n.renderSeries(e,i,t,r)})),i.each((function(e){!uK(e).keep&&n.group.remove(e.group)}))},t.prototype.markKeep=function(e){uK(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var r=this;Object(l["k"])(e,(function(e){var n=XX.getMarkerModelFromSeries(e,r.type);if(n){var i=n.getData();i.eachItemGraphicEl((function(e){e&&(t?hl(e):fl(e))}))}}))},t.type="marker",t}(Cp),dK=cK;function hK(e,t,r){var n=t.coordinateSystem;e.each((function(i){var o,a=e.getItemModel(i),s=Bn(a.get("x"),r.getWidth()),l=Bn(a.get("y"),r.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(n){var u=e.get(n.dimensions[0],i),c=e.get(n.dimensions[1],i);o=n.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(i,o)}))}var fK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.updateTransform=function(e,t,r){t.eachSeries((function(e){var t=XX.getMarkerModelFromSeries(e,"markPoint");t&&(hK(t.getData(),e,r),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,r,n){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,new MS),c=pK(i,e,t);t.setData(c),hK(t.getData(),e,n),c.each((function(e){var r=c.getItemModel(e),n=r.getShallow("symbol"),i=r.getShallow("symbolSize"),o=r.getShallow("symbolRotate"),s=r.getShallow("symbolOffset"),u=r.getShallow("symbolKeepAspect");if(Object(l["w"])(n)||Object(l["w"])(i)||Object(l["w"])(o)||Object(l["w"])(s)){var d=t.getRawValue(e),h=t.getDataParams(e);Object(l["w"])(n)&&(n=n(d,h)),Object(l["w"])(i)&&(i=i(d,h)),Object(l["w"])(o)&&(o=o(d,h)),Object(l["w"])(s)&&(s=s(d,h))}var f=r.getModel("itemStyle").getItemStyle(),p=zv(a,"color");f.fill||(f.fill=p),c.setItemVisual(e,{symbol:n,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:u,style:f})})),u.updateData(c),this.group.add(u.group),c.eachItemGraphicEl((function(e){e.traverse((function(e){Ts(e).dataModel=t}))})),this.markKeep(u),u.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(dK);function pK(e,t,r){var n;n=e?Object(l["H"])(e&&e.dimensions,(function(e){var r=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},r),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Xk(n,r),o=Object(l["H"])(r.get("data"),Object(l["h"])(rK,t));e&&(o=Object(l["n"])(o,Object(l["h"])(oK,e)));var a=sK(!!e,n);return i.initData(o,null,a),i}var mK=fK;function gK(e){e.registerComponentModel(ZX),e.registerComponentView(mK),e.registerPreprocessor((function(e){WX(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))}var vK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,r,n){return new t(e,r,n)},t.type="markLine",t.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"},t}(XX),yK=vK,bK=Ei(),_K=function(e,t,r,n){var i,o=e.getData();if(Object(l["t"])(n))i=n;else{var a=n.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=n.xAxis||null!=n.yAxis){var s=void 0,u=void 0;if(null!=n.yAxis||null!=n.xAxis)s=t.getAxis(null!=n.yAxis?"y":"x"),u=Object(l["O"])(n.yAxis,n.xAxis);else{var c=nK(n,o,t,e);s=c.valueAxis;var d=sS(o,c.valueDataDim);u=lK(o,d,a)}var h="x"===s.dim?0:1,f=1-h,p=Object(l["d"])(n),m={coord:[]};p.type=null,p.coord=[],p.coord[f]=-1/0,m.coord[f]=1/0;var g=r.get("precision");g>=0&&Object(l["z"])(u)&&(u=+u.toFixed(Math.min(g,20))),p.coord[h]=m.coord[h]=u,i=[p,m,{type:a,valueIndex:n.valueIndex,value:u}]}else i=[]}var v=[rK(e,i[0]),rK(e,i[1]),Object(l["m"])({},i[2])];return v[2].type=v[2].type||null,Object(l["I"])(v[2],v[0]),Object(l["I"])(v[2],v[1]),v};function wK(e){return!isNaN(e)&&!isFinite(e)}function xK(e,t,r,n){var i=1-e,o=n.dimensions[e];return wK(t[i])&&wK(r[i])&&t[e]===r[e]&&n.getAxis(o).containData(t[e])}function kK(e,t){if("cartesian2d"===e.type){var r=t[0].coord,n=t[1].coord;if(r&&n&&(xK(1,r,n,e)||xK(0,r,n,e)))return!0}return oK(e,t[0])&&oK(e,t[1])}function SK(e,t,r,n,i){var o,a=n.coordinateSystem,s=e.getItemModel(t),l=Bn(s.get("x"),i.getWidth()),u=Bn(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition)o=n.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=a.dimensions,d=e.get(c[0],t),h=e.get(c[1],t);o=a.dataToPoint([d,h])}if(WS(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");c=a.dimensions;wK(e.get(c[0],t))?o[0]=f.toGlobalCoord(f.getExtent()[r?0:1]):wK(e.get(c[1],t))&&(o[1]=p.toGlobalCoord(p.getExtent()[r?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];e.setItemLayout(t,o)}var MK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.updateTransform=function(e,t,r){t.eachSeries((function(e){var t=XX.getMarkerModelFromSeries(e,"markLine");if(t){var n=t.getData(),i=bK(t).from,o=bK(t).to;i.each((function(t){SK(i,t,!0,e,r),SK(o,t,!1,e,r)})),n.each((function(e){n.setItemLayout(e,[i.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},t.prototype.renderSeries=function(e,t,r,n){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,new FP);this.group.add(u.group);var c=CK(i,e,t),d=c.from,h=c.to,f=c.line;bK(t).from=d,bK(t).to=h,t.setData(f);var p=t.get("symbol"),m=t.get("symbolSize"),g=t.get("symbolRotate"),v=t.get("symbolOffset");function y(t,r,i){var o=t.getItemModel(r);SK(t,r,i,e,n);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=zv(a,"color")),t.setItemVisual(r,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(l["P"])(o.get("symbolOffset",!0),v[i?0:1]),symbolRotate:Object(l["P"])(o.get("symbolRotate",!0),g[i?0:1]),symbolSize:Object(l["P"])(o.get("symbolSize"),m[i?0:1]),symbol:Object(l["P"])(o.get("symbol",!0),p[i?0:1]),style:s})}Object(l["t"])(p)||(p=[p,p]),Object(l["t"])(m)||(m=[m,m]),Object(l["t"])(g)||(g=[g,g]),Object(l["t"])(v)||(v=[v,v]),c.from.each((function(e){y(d,e,!0),y(h,e,!1)})),f.each((function(e){var t=f.getItemModel(e).getModel("lineStyle").getLineStyle();f.setItemLayout(e,[d.getItemLayout(e),h.getItemLayout(e)]),null==t.stroke&&(t.stroke=d.getItemVisual(e,"style").fill),f.setItemVisual(e,{fromSymbolKeepAspect:d.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:d.getItemVisual(e,"symbolOffset"),fromSymbolRotate:d.getItemVisual(e,"symbolRotate"),fromSymbolSize:d.getItemVisual(e,"symbolSize"),fromSymbol:d.getItemVisual(e,"symbol"),toSymbolKeepAspect:h.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(e,"symbolOffset"),toSymbolRotate:h.getItemVisual(e,"symbolRotate"),toSymbolSize:h.getItemVisual(e,"symbolSize"),toSymbol:h.getItemVisual(e,"symbol"),style:t})})),u.updateData(f),c.line.eachItemGraphicEl((function(e){Ts(e).dataModel=t,e.traverse((function(e){Ts(e).dataModel=t}))})),this.markKeep(u),u.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(dK);function CK(e,t,r){var n;n=e?Object(l["H"])(e&&e.dimensions,(function(e){var r=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},r),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Xk(n,r),o=new Xk(n,r),a=new Xk([],r),s=Object(l["H"])(r.get("data"),Object(l["h"])(_K,t,e,r));e&&(s=Object(l["n"])(s,Object(l["h"])(kK,e)));var u=sK(!!e,n);return i.initData(Object(l["H"])(s,(function(e){return e[0]})),null,u),o.initData(Object(l["H"])(s,(function(e){return e[1]})),null,u),a.initData(Object(l["H"])(s,(function(e){return e[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}var TK=MK;function OK(e){e.registerComponentModel(yK),e.registerComponentView(TK),e.registerPreprocessor((function(e){WX(e.series,"markLine")&&(e.markLine=e.markLine||{})}))}var LK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.createMarkerModelFromSeries=function(e,r,n){return new t(e,r,n)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(XX),AK=LK,DK=Ei(),EK=function(e,t,r,n){var i=n[0],o=n[1];if(i&&o){var a=rK(e,i),s=rK(e,o),u=a.coord,c=s.coord;u[0]=Object(l["O"])(u[0],-1/0),u[1]=Object(l["O"])(u[1],-1/0),c[0]=Object(l["O"])(c[0],1/0),c[1]=Object(l["O"])(c[1],1/0);var d=Object(l["J"])([{},a,s]);return d.coord=[a.coord,s.coord],d.x0=a.x,d.y0=a.y,d.x1=s.x,d.y1=s.y,d}};function IK(e){return!isNaN(e)&&!isFinite(e)}function jK(e,t,r,n){var i=1-e;return IK(t[i])&&IK(r[i])}function PK(e,t){var r=t.coord[0],n=t.coord[1],i={coord:r,x:t.x0,y:t.y0},o={coord:n,x:t.x1,y:t.y1};return WS(e,"cartesian2d")?!(!r||!n||!jK(1,r,n,e)&&!jK(0,r,n,e))||aK(e,i,o):oK(e,i)||oK(e,o)}function RK(e,t,r,n,i){var o,a=n.coordinateSystem,s=e.getItemModel(t),l=Bn(s.get(r[0]),i.getWidth()),u=Bn(s.get(r[1]),i.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition){var c=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),h=a.clampData(c),f=a.clampData(d),p=[];"x0"===r[0]?p[0]=h[0]>f[0]?d[0]:c[0]:p[0]=h[0]>f[0]?c[0]:d[0],"y0"===r[1]?p[1]=h[1]>f[1]?d[1]:c[1]:p[1]=h[1]>f[1]?c[1]:d[1],o=n.getMarkerPosition(p,r,!0)}else{var m=e.get(r[0],t),g=e.get(r[1],t),v=[m,g];a.clampData&&a.clampData(v,v),o=a.dataToPoint(v,!0)}if(WS(a,"cartesian2d")){var y=a.getAxis("x"),b=a.getAxis("y");m=e.get(r[0],t),g=e.get(r[1],t);IK(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===r[0]?0:1]):IK(g)&&(o[1]=b.toGlobalCoord(b.getExtent()["y0"===r[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var NK=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],BK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.updateTransform=function(e,t,r){t.eachSeries((function(e){var t=XX.getMarkerModelFromSeries(e,"markArea");if(t){var n=t.getData();n.each((function(t){var i=Object(l["H"])(NK,(function(i){return RK(n,t,i,e,r)}));n.setItemLayout(t,i);var o=n.getItemGraphicEl(t);o.setShape("points",i)}))}}),this)},t.prototype.renderSeries=function(e,t,r,n){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=s.get(o)||s.set(o,{group:new kn});this.group.add(u.group),this.markKeep(u);var c=YK(i,e,t);t.setData(c),c.each((function(t){var r=Object(l["H"])(NK,(function(r){return RK(c,t,r,e,n)})),o=i.getAxis("x").scale,s=i.getAxis("y").scale,u=o.getExtent(),d=s.getExtent(),h=[o.parse(c.get("x0",t)),o.parse(c.get("x1",t))],f=[s.parse(c.get("y0",t)),s.parse(c.get("y1",t))];Fn(h),Fn(f);var p=!(u[0]>h[1]||u[1]<h[0]||d[0]>f[1]||d[1]<f[0]),m=!p;c.setItemLayout(t,{points:r,allClipped:m});var g=c.getItemModel(t).getModel("itemStyle").getItemStyle(),v=zv(a,"color");g.fill||(g.fill=v,Object(l["C"])(g.fill)&&(g.fill=Bt["f"](g.fill,.4))),g.stroke||(g.stroke=v),c.setItemVisual(t,"style",g)})),c.diff(DK(u).data).add((function(e){var t=c.getItemLayout(e);if(!t.allClipped){var r=new Om({shape:{points:t.points}});c.setItemGraphicEl(e,r),u.group.add(r)}})).update((function(e,r){var n=DK(u).data.getItemGraphicEl(r),i=c.getItemLayout(e);i.allClipped?n&&u.group.remove(n):(n?Ul(n,{shape:{points:i.points}},t,e):n=new Om({shape:{points:i.points}}),c.setItemGraphicEl(e,n),u.group.add(n))})).remove((function(e){var t=DK(u).data.getItemGraphicEl(e);u.group.remove(t)})).execute(),c.eachItemGraphicEl((function(e,r){var n=c.getItemModel(r),i=c.getItemVisual(r,"style");e.useStyle(c.getItemVisual(r,"style")),tu(e,ru(n),{labelFetcher:t,labelDataIndex:r,defaultText:c.getName(r)||"",inheritColor:Object(l["C"])(i.fill)?Bt["f"](i.fill,1):"#000"}),Il(e,n),Ll(e,null,null,n.get(["emphasis","disabled"])),Ts(e).dataModel=t})),DK(u).data=c,u.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(dK);function YK(e,t,r){var n,i,o=["x0","y0","x1","y1"];if(e){var a=Object(l["H"])(e&&e.dimensions,(function(e){var r=t.getData(),n=r.getDimensionInfo(r.mapDimension(e))||{};return Object(l["m"])(Object(l["m"])({},n),{name:e,ordinalMeta:null})}));i=Object(l["H"])(o,(function(e,t){return{name:e,type:a[t%2].type}})),n=new Xk(i,r)}else i=[{name:"value",type:"float"}],n=new Xk(i,r);var s=Object(l["H"])(r.get("data"),Object(l["h"])(EK,t,e,r));e&&(s=Object(l["n"])(s,Object(l["h"])(PK,e)));var u=e?function(e,t,r,n){var o=e.coord[Math.floor(n/2)][n%2];return lf(o,i[n])}:function(e,t,r,n){return lf(e.value,i[n])};return n.initData(s,null,u),n.hasItemOption=!0,n}var FK=BK;function zK(e){e.registerComponentModel(AK),e.registerComponentView(FK),e.registerPreprocessor((function(e){WX(e.series,"markArea")&&(e.markArea=e.markArea||{})}))}var HK=function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0},VK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return a(t,e),t.prototype.init=function(e,t,r){this.mergeDefaultAndTheme(e,r),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,r){e.prototype.mergeOption.call(this,t,r),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,r=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),l["t"](t)&&l["k"](t,(function(e,n){l["C"](e)&&(e={type:e}),t[n]=l["I"](e,HK(r,e.type))}))},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,r=0;r<e.length;r++){var n=e[r].get("name");if(this.isSelected(n)){this.select(n),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],r=[];e.eachRawSeries((function(n){var i,o=n.name;if(r.push(o),n.legendVisualProvider){var a=n.legendVisualProvider,s=a.getAllNames();e.isSeriesFiltered(n)||(r=r.concat(s)),s.length?t=t.concat(s):i=!0}else i=!0;i&&Mi(n)&&t.push(n.name)})),this._availableNames=r;var n=this.get("data")||t,i=l["f"](),o=l["H"](n,(function(e){return(l["C"](e)||l["z"](e))&&(e={name:e}),i.get(e.name)?null:(i.set(e.name,!0),new Tu(e,this,this.ecModel))}),this);this._data=l["n"](o,(function(e){return!!e}))},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected,r=this.get("selectedMode");if("single"===r){var n=this._data;l["k"](n,(function(e){t[e.get("name")]=!1}))}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;l["k"](e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;l["k"](e,(function(e){var r=e.get("name",!0);t.hasOwnProperty(r)||(t[r]=!0),t[r]=!t[r]}))},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&l["r"](this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.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}},t}(Kc),UK=VK,WK=l["h"],$K=l["k"],GK=kn,qK=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return a(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new GK),this.group.add(this._selectorGroup=new GK),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,r){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),o=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===o?"right":"left");var a=e.get("selector",!0),s=e.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(i,e,t,r,a,o,s);var u=e.getBoxLayoutParams(),c={width:r.getWidth(),height:r.getHeight()},d=e.get("padding"),h=Fc(u,c,d),f=this.layoutInner(e,i,h,n,a,s),p=Fc(l["i"]({width:f.width,height:f.height},u),c,d);this.group.x=p.x-f.x,this.group.y=p.y-f.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Q$(f,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,r,n,i,o,a){var s=this.getContentGroup(),u=l["f"](),c=t.get("selectedMode"),d=[];r.eachRawSeries((function(e){!e.get("legendHoverLink")&&d.push(e.id)})),$K(t.getData(),(function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new GK;return h.newline=!0,void s.add(h)}var f=r.getSeriesByName(a)[0];if(!u.get(a)){if(f){var p=f.getData(),m=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),v=p.getVisual("style"),y=this._createItem(f,a,o,i,t,e,m,v,g,c,n);y.on("click",WK(ZK,a,null,n,d)).on("mouseover",WK(QK,f.name,null,n,d)).on("mouseout",WK(eZ,f.name,null,n,d)),r.ssr&&y.eachChild((function(e){var t=Ts(e);t.seriesIndex=f.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),u.set(a,!0)}else r.eachRawSeries((function(s){if(!u.get(a)&&s.legendVisualProvider){var h=s.legendVisualProvider;if(!h.containName(a))return;var f=h.indexOfName(a),p=h.getItemVisual(f,"style"),m=h.getItemVisual(f,"legendIcon"),g=Object(Bt["h"])(p.fill);g&&0===g[3]&&(g[3]=.2,p=l["m"](l["m"]({},p),{fill:Object(Bt["i"])(g,"rgba")}));var v=this._createItem(s,a,o,i,t,e,{},p,m,c,n);v.on("click",WK(ZK,null,a,n,d)).on("mouseover",WK(QK,null,a,n,d)).on("mouseout",WK(eZ,null,a,n,d)),r.ssr&&v.eachChild((function(e){var t=Ts(e);t.seriesIndex=s.seriesIndex,t.dataIndex=o,t.ssrType="legend"})),u.set(a,!0)}}),this);0}}),this),i&&this._createSelector(i,t,n,o,a)},t.prototype._createSelector=function(e,t,r,n,i){var o=this.getSelectorGroup();$K(e,(function(e){var n=e.type,i=new Cs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){r.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);tu(i,{normal:a,emphasis:s},{defaultText:e.title}),Tl(i)}))},t.prototype._createItem=function(e,t,r,n,i,o,a,s,u,c,d){var h=e.visualDrawType,f=i.get("itemWidth"),p=i.get("itemHeight"),m=i.isSelected(t),g=n.get("symbolRotate"),v=n.get("symbolKeepAspect"),y=n.get("icon");u=y||u||"roundRect";var b=XK(u,n,a,s,h,m,d),_=new GK,w=n.getModel("textStyle");if(!l["w"](e.getLegendIcon)||y&&"inherit"!==y){var x="inherit"===y&&e.getData().getVisual("symbol")?"inherit"===g?e.getData().getVisual("symbolRotate"):g:0;_.add(KK({itemWidth:f,itemHeight:p,icon:u,iconRotate:x,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}))}else _.add(e.getLegendIcon({itemWidth:f,itemHeight:p,icon:u,iconRotate:g,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}));var k="left"===o?f+5:-5,S=o,M=i.get("formatter"),C=t;l["C"](M)&&M?C=M.replace("{name}",null!=t?t:""):l["w"](M)&&(C=M(t));var T=m?w.getTextColor():n.get("inactiveColor");_.add(new Cs({style:nu(w,{text:C,x:k,y:p/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var O=new ls({shape:_.getBoundingRect(),style:{fill:"transparent"}}),L=n.getModel("tooltip");return L.get("show")&&Rg({el:O,componentModel:i,itemName:t,itemTooltipOption:L.option}),_.add(O),_.eachChild((function(e){e.silent=!0})),O.silent=!c,this.getContentGroup().add(_),Tl(_),_.__legendDataIndex=r,_},t.prototype.layoutInner=function(e,t,r,n,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Bc(e.get("orient"),a,e.get("itemGap"),r.width,r.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){Bc("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],h=e.get("selectorButtonGap",!0),f=e.getOrient().index,p=0===f?"width":"height",m=0===f?"height":"width",g=0===f?"y":"x";"end"===o?d[f]+=l[p]+h:u[f]+=c[p]+h,d[1-f]+=l[m]/2-c[m]/2,s.x=d[0],s.y=d[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[p]=l[p]+h+c[p],v[m]=Math.max(l[m],c[m]),v[g]=Math.min(0,c[g]+d[1-f]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Cp);function XK(e,t,r,n,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),$K(e,(function(r,n){"inherit"===e[n]&&(e[n]=t[n])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?Xy(d,a):n.decal,"inherit"===u.fill&&(u.fill=n[i]),"inherit"===u.stroke&&(u.stroke=n[c]),"inherit"===u.opacity&&(u.opacity=("fill"===i?n:r).opacity),s(u,n);var h=t.getModel("lineStyle"),f=h.getLineStyle();if(s(f,r),"auto"===u.fill&&(u.fill=n.fill),"auto"===u.stroke&&(u.stroke=n.fill),"auto"===f.stroke&&(f.stroke=n.fill),!o){var p=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth="auto"===p?n.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),f.stroke=h.get("inactiveColor"),f.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function KK(e){var t=e.icon||"roundRect",r=ay(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function ZK(e,t,r,n){eZ(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),QK(e,t,r,n)}function JK(e){var t,r=e.getZr().storage.getDisplayList(),n=0,i=r.length;while(n<i&&!(t=r[n].states.emphasis))n++;return t&&t.hoverLayer}function QK(e,t,r,n){JK(r)||r.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function eZ(e,t,r,n){JK(r)||r.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}var tZ=qK;function rZ(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var r=0;r<t.length;r++)if(!t[r].isSelected(e.name))return!1;return!0}))}function nZ(e,t,r){var n,i={},o="toggleSelected"===e;return r.eachComponent("legend",(function(r){o&&null!=n?r[n?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?r[e]():(r[e](t.name),n=r.isSelected(t.name));var a=r.getData();Object(l["k"])(a,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var n=r.isSelected(t);i.hasOwnProperty(t)?i[t]=i[t]&&n:i[t]=n}}))})),"allSelect"===e||"inverseSelect"===e?{selected:i}:{name:t.name,selected:i}}function iZ(e){e.registerAction("legendToggleSelect","legendselectchanged",Object(l["h"])(nZ,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Object(l["h"])(nZ,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Object(l["h"])(nZ,"inverseSelect")),e.registerAction("legendSelect","legendselected",Object(l["h"])(nZ,"select")),e.registerAction("legendUnSelect","legendunselected",Object(l["h"])(nZ,"unSelect"))}function oZ(e){e.registerComponentModel(UK),e.registerComponentView(tZ),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,rZ),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),iZ(e)}var aZ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,r,n){var i=Wc(t);e.prototype.init.call(this,t,r,n),sZ(this,t,i)},t.prototype.mergeOption=function(t,r){e.prototype.mergeOption.call(this,t,r),sZ(this,this.option,t)},t.type="legend.scroll",t.defaultOption=Eu(UK.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}),t}(UK);function sZ(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,Uc(t,r,{type:"box",ignoreSize:!!i})}var lZ=aZ,uZ=kn,cZ=["width","height"],dZ=["x","y"],hZ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return a(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new uZ),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new uZ)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,r,n,i,o,a,s){var u=this;e.prototype.renderInner.call(this,t,r,n,i,o,a,s);var c=this._controllerGroup,d=r.get("pageIconSize",!0),h=l["t"](d)?d:[d,d];p("pagePrev",0);var f=r.getModel("pageTextStyle");function p(e,t){var n=e+"DataIndex",o=Dg(r.get("pageIcons",!0)[r.getOrient().name][t],{onclick:l["c"](u._pageGo,u,n,r,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=e,c.add(o)}c.add(new Cs({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},t.prototype.layoutInner=function(e,t,r,n,i,o){var a=this.getSelectorGroup(),s=e.getOrient().index,u=cZ[s],c=dZ[s],d=cZ[1-s],h=dZ[1-s];i&&Bc("horizontal",a,e.get("selectorItemGap",!0));var f=e.get("selectorButtonGap",!0),p=a.getBoundingRect(),m=[-p.x,-p.y],g=l["d"](r);i&&(g[u]=r[u]-p[u]-f);var v=this._layoutContentAndController(e,n,g,s,u,d,h,c);if(i){if("end"===o)m[s]+=v[u]+f;else{var y=p[u]+f;m[s]-=y,v[c]-=y}v[u]+=p[u]+f,m[1-s]+=v[h]+v[d]/2-p[d]/2,v[d]=Math.max(v[d],p[d]),v[h]=Math.min(v[h],p[h]+m[1-s]),a.x=m[0],a.y=m[1],a.markRedraw()}return v},t.prototype._layoutContentAndController=function(e,t,r,n,i,o,a,s){var u=this.getContentGroup(),c=this._containerGroup,d=this._controllerGroup;Bc(e.get("orient"),u,e.get("itemGap"),n?r.width:null,n?null:r.height),Bc("horizontal",d,e.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),f=d.getBoundingRect(),p=this._showController=h[i]>r[i],m=[-h.x,-h.y];t||(m[n]=u[s]);var g=[0,0],v=[-f.x,-f.y],y=l["P"](e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var b=e.get("pageButtonPosition",!0);"end"===b?v[n]+=r[i]-f[i]:g[n]+=f[i]+y}v[1-n]+=h[o]/2-f[o]/2,u.setPosition(m),c.setPosition(g),d.setPosition(v);var _={x:0,y:0};if(_[i]=p?r[i]:h[i],_[o]=Math.max(h[o],f[o]),_[a]=Math.min(0,f[a]+v[1-n]),c.__rectSize=r[i],p){var w={x:0,y:0};w[i]=Math.max(r[i]-f[i]-y,0),w[o]=_[o],c.setClipPath(new ls({shape:w})),c.__rectSize=w[i]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(e);return null!=x.pageIndex&&Ul(u,{x:x.contentPosition[0],y:x.contentPosition[1]},p?e:null),this._updatePageInfoView(e,x),_},t.prototype._pageGo=function(e,t,r){var n=this._getPageInfo(t)[e];null!=n&&r.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var r=this._controllerGroup;l["k"](["pagePrev","pageNext"],(function(n){var i=n+"DataIndex",o=null!=t[i],a=r.childOfName(n);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var n=r.childOfName("pageText"),i=e.get("pageFormatter"),o=t.pageIndex,a=null!=o?o+1:0,s=t.pageCount;n&&i&&n.setStyle("text",l["C"](i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),r=this.getContentGroup(),n=this._containerGroup.__rectSize,i=e.getOrient().index,o=cZ[i],a=dZ[i],s=this._findTargetItemIndex(t),l=r.children(),u=l[s],c=l.length,d=c?1:0,h={contentPosition:[r.x,r.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var f=y(u);h.contentPosition[i]=-f.s;for(var p=s+1,m=f,g=f,v=null;p<=c;++p)v=y(l[p]),(!v&&g.e>m.s+n||v&&!b(v,m.s))&&(m=g.i>m.i?g:v,m&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=m.i),++h.pageCount)),g=v;for(p=s-1,m=f,g=f,v=null;p>=-1;--p)v=y(l[p]),v&&b(g,v.s)||!(m.i<g.i)||(g=m,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=m.i),++h.pageCount,++h.pageIndex),m=v;return h;function y(e){if(e){var t=e.getBoundingRect(),r=t[a]+e[a];return{s:r,e:r+t[o],i:e.__legendDataIndex}}}function b(e,t){return e.e>=t&&e.s<=t+n}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,r,n=this.getContentGroup();return n.eachChild((function(n,i){var o=n.__legendDataIndex;null==r&&null!=o&&(r=i),o===e&&(t=i)})),null!=t?t:r},t.type="legend.scroll",t}(tZ),fZ=hZ;function pZ(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var r=e.scrollDataIndex;null!=r&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(r)}))}))}function mZ(e){R_(oZ),e.registerComponentModel(lZ),e.registerComponentView(fZ),pZ(e)}function gZ(e){R_(oZ),R_(mZ)}var vZ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="dataZoom.inside",t.defaultOption=Eu(O$.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(O$),yZ=vZ,bZ=Ei();function _Z(e,t,r){bZ(e).coordSysRecordMap.each((function(e){var n=e.dataZoomInfoMap.get(t.uid);n&&(n.getRange=r)}))}function wZ(e,t){for(var r=bZ(e).coordSysRecordMap,n=r.keys(),i=0;i<n.length;i++){var o=n[i],a=r.get(o),s=a.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||xZ(r,a))}}}function xZ(e,t){if(t){e.removeKey(t.model.uid);var r=t.controller;r&&r.dispose()}}function kZ(e,t){var r={model:t,containsPoint:Object(l["h"])(MZ,t),dispatchAction:Object(l["h"])(SZ,e),dataZoomInfoMap:null,controller:null},n=r.controller=new fA(e.getZr());return Object(l["k"])(["pan","zoom","scrollMove"],(function(e){n.on(e,(function(t){var n=[];r.dataZoomInfoMap.each((function(i){if(t.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[e],a=o&&o(i.dzReferCoordSysInfo,r.model.mainType,r.controller,t);!i.model.get("disabled",!0)&&a&&n.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}})),n.length&&r.dispatchAction(n)}))})),r}function SZ(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function MZ(e,t,r,n){return e.coordinateSystem.containPoint([r,n])}function CZ(e){var t,r="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return e.each((function(e){var o=e.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");n[r+a]>n[r+t]&&(t=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function TZ(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var r=bZ(t),n=r.coordSysRecordMap||(r.coordSysRecordMap=Object(l["f"])());n.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){var r=S$(e);Object(l["k"])(r.infoList,(function(r){var i=r.model.uid,o=n.get(i)||n.set(i,kZ(t,r.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(l["f"])());a.set(e.uid,{dzReferCoordSysInfo:r,model:e,getRange:null})}))})),n.each((function(e){var t,r=e.controller,i=e.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(t=i.get(o))}if(t){var a=CZ(i);r.enable(a.controlType,a.opt),r.setPointerChecker(e.containsPoint),Jg(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else xZ(n,e)}))}))}var OZ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return a(t,e),t.prototype.render=function(t,r,n){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),_Z(n,t,{pan:Object(l["c"])(LZ.pan,this),zoom:Object(l["c"])(LZ.zoom,this),scrollMove:Object(l["c"])(LZ.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){wZ(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(E$),LZ={zoom:function(e,t,r,n){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var s=DZ[t](null,[n.originX,n.originY],a,r,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/n.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return iN(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:AZ((function(e,t,r,n,i,o){var a=DZ[n]([o.oldX,o.oldY],[o.newX,o.newY],t,i,r);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:AZ((function(e,t,r,n,i,o){var a=DZ[n]([0,0],[o.scrollDelta,o.scrollDelta],t,i,r);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function AZ(e){return function(t,r,n,i){var o=this.range,a=o.slice(),s=t.axisModels[0];if(s){var l=e(a,s,t,r,n,i);return iN(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var DZ={grid:function(e,t,r,n,i){var o=r.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,r,n,i){var o=r.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===r.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,r,n,i){var o=r.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},EZ=OZ;function IZ(e){U$(e),e.registerComponentModel(yZ),e.registerComponentView(EZ),TZ(e)}var jZ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Eu(O$.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"}}}),t}(O$),PZ=jZ,RZ=ls,NZ=7,BZ=1,YZ=30,FZ=7,zZ="horizontal",HZ="vertical",VZ=5,UZ=["line","bar","candlestick","scatter"],WZ={easing:"cubicOut",duration:100,delay:0},$Z=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._displayables={},r}return a(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=Object(l["c"])(this._onBrush,this),this._onBrushEnd=Object(l["c"])(this._onBrushEnd,this)},t.prototype.render=function(t,r,n,i){if(e.prototype.render.apply(this,arguments),Jg(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Qg(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new kn;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,r=e.get("brushSelect"),n=r?FZ:0,i=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a=this._orient===zZ?{right:o.width-i.x-i.width,top:o.height-YZ-NZ-n,width:i.width,height:YZ}:{right:NZ,top:i.y,width:YZ,height:i.height},s=Wc(e.option);Object(l["k"])(["right","top","width","height"],(function(e){"ph"===s[e]&&(s[e]=a[e])}));var u=Fc(s,o);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===HZ&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,r=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),i=n&&n.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(r!==zZ||i?r===zZ&&i?{scaleY:a?1:-1,scaleX:-1}:r!==HZ||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,r=this._displayables.sliderGroup,n=e.get("brushSelect");r.add(new RZ({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var i=new RZ({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:Object(l["c"])(this._onClickPanel,this)}),o=this.api.getZr();n?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),r.add(i)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,r=this._shadowSize||[],n=e.series,i=n.getRawData(),o=n.getShadowDim&&n.getShadowDim(),a=o&&i.getDimensionInfo(o)?n.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||t[0]!==r[0]||t[1]!==r[1]){var u=i.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var d,h=[0,t[1]],f=[0,t[0]],p=[[t[0],0],[0,0]],m=[],g=f[1]/(i.count()-1),v=0,y=Math.round(i.count()/t[0]);i.each([a],(function(e,t){if(y>0&&t%y)v+=g;else{var r=null==e||isNaN(e)||""===e,n=r?0:Nn(e,u,h,!0);r&&!d&&t?(p.push([p[p.length-1][0],0]),m.push([m[m.length-1][0],0])):!r&&d&&(p.push([v,0]),m.push([v,0])),p.push([v,n]),m.push([v,n]),v+=g,d=r}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=m}this._shadowData=i,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var b=this.dataZoomModel,_=0;_<3;_++){var w=x(1===_);this._displayables.sliderGroup.add(w),this._displayables.dataShadowSegs.push(w)}}}function x(e){var t=b.getModel(e?"selectedDataBackground":"dataBackground"),r=new kn,n=new Om({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new Dm({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return r.add(n),r.add(i),r}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var r,n=this.ecModel;return e.eachTargetAxis((function(i,o){var a=e.getAxisProxy(i,o).getTargetSeriesModels();Object(l["k"])(a,(function(e){if(!r&&!(!0!==t&&Object(l["r"])(UZ,e.get("type"))<0)){var a,s=n.getComponent(x$(i),o).axis,u=GZ(i),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),u=e.getData().mapDimension(u),r={thisAxis:s,series:e,thisDim:i,otherDim:u,otherAxisInverse:a}}}),this)}),this),r}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,r=t.handles=[null,null],n=t.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,u=a.get("borderRadius")||0,c=a.get("brushSelect"),d=t.filler=new RZ({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(d),i.add(new RZ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:BZ,fill:"rgba(0,0,0,0)"}})),Object(l["k"])([0,1],(function(t){var o=a.get("handleIcon");!ny[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=ay(o,-1,0,2,2,null,!0);s.attr({cursor:qZ(this._orient),draggable:!0,drift:Object(l["c"])(this._onDragMove,this,t),ondragend:Object(l["c"])(this._onDragEnd,this),onmouseover:Object(l["c"])(this._showDataInfo,this,!0),onmouseout:Object(l["c"])(this._showDataInfo,this,!1),z2:5});var u=s.getBoundingRect(),c=a.get("handleSize");this._handleHeight=Bn(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Tl(s);var d=a.get("handleColor");null!=d&&(s.style.fill=d),i.add(r[t]=s);var h=a.getModel("textStyle");e.add(n[t]=new Cs({silent:!0,invisible:!0,style:nu(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=d;if(c){var f=Bn(a.get("moveHandleSize"),o[1]),p=t.moveHandle=new ls({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:f}}),m=.8*f,g=t.moveHandleIcon=ay(a.get("moveHandleIcon"),-m/2,-m/2,m,m,"#fff",!0);g.silent=!0,g.y=o[1]+f/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(f,10));h=t.moveZone=new ls({invisible:!0,shape:{y:o[1]-v,height:f+v}}),h.on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),i.add(p),i.add(g),i.add(h)}h.attr({draggable:!0,cursor:qZ(this._orient),drift:Object(l["c"])(this._onDragMove,this,"all"),ondragstart:Object(l["c"])(this._showDataInfo,this,!0),ondragend:Object(l["c"])(this._onDragEnd,this),onmouseover:Object(l["c"])(this._showDataInfo,this,!0),onmouseout:Object(l["c"])(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[Nn(e[0],[0,100],t,!0),Nn(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var r=this.dataZoomModel,n=this._handleEnds,i=this._getViewExtent(),o=r.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];iN(t,n,i,r.get("zoomLock")?"all":e,null!=o.minSpan?Nn(o.minSpan,a,i,!0):null,null!=o.maxSpan?Nn(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=Fn([Nn(n[0],i,a,!0),Nn(n[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,r=this._handleEnds,n=Fn(r.slice()),i=this._size;Object(l["k"])([0,1],(function(e){var n=t.handles[e],o=this._handleHeight;n.attr({scaleX:o/2,scaleY:o/2,x:r[e]+(e?-1:1),y:i[1]/2-o/2})}),this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:i[1]});var o={x:n[0],width:n[1]-n[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=t.dataShadowSegs,s=[0,n[0],n[1],i[0]],u=0;u<a.length;u++){var c=a[u],d=c.getClipPath();d||(d=new ls,c.setClipPath(d)),d.setShape({x:s[u],y:0,width:s[u+1]-s[u],height:i[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,r=this._displayables,n=r.handleLabels,i=this._orient,o=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=Fn(this._handleEnds.slice());function d(e){var t=kg(r.handles[e].parent,this.group),a=Mg(0===e?"right":"left",t),s=this._handleWidth/2+VZ,l=Sg([c[e]+(0===e?-s:s),this._size[1]/2],t);n[e].setStyle({x:l[0],y:l[1],verticalAlign:i===zZ?"middle":a,align:i===zZ?a:"center",text:o[e]})}d.call(this,0),d.call(this,1)},t.prototype._formatLabel=function(e,t){var r=this.dataZoomModel,n=r.get("labelFormatter"),i=r.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(i,20));return Object(l["w"])(n)?n(e,o):Object(l["C"])(n)?n.replace("{value}",o):o},t.prototype._showDataInfo=function(e){e=this._dragging||e;var t=this._displayables,r=t.handleLabels;r[0].attr("invisible",!e),r[1].attr("invisible",!e),t.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](t.moveHandle,1)},t.prototype._onDragMove=function(e,t,r,n){this._dragging=!0,re(n.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=Sg([t,r],i,!0),a=this._updateInterval(e,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,r=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(r[0]<0||r[0]>t[0]||r[1]<0||r[1]>t[1])){var n=this._handleEnds,i=(n[0]+n[1])/2,o=this._updateInterval("all",r[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,r=e.offsetY;this._brushStart=new ye(t,r),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var r=t.shape,n=+new Date;if(!(n-this._brushStartTime<200&&Math.abs(r.width)<5)){var i=this._getViewExtent(),o=[0,100];this._range=Fn([Nn(r.x,i,o,!0),Nn(r.x+r.width,i,o,!0)]),this._handleEnds=[r.x,r.x+r.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(re(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var r=this._displayables,n=this.dataZoomModel,i=r.brushRect;i||(i=r.brushRect=new RZ({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),r.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?WZ:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=S$(this.dataZoomModel).infoList;if(!e&&t.length){var r=t[0].model.coordinateSystem;e=r.getRect&&r.getRect()}if(!e){var n=this.api.getWidth(),i=this.api.getHeight();e={x:.2*n,y:.2*i,width:.6*n,height:.6*i}}return e},t.type="dataZoom.slider",t}(E$);function GZ(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function qZ(e){return"vertical"===e?"ns-resize":"ew-resize"}var XZ=$Z;function KZ(e){e.registerComponentModel(PZ),e.registerComponentView(XZ),U$(e)}function ZZ(e){R_(IZ),R_(KZ)}var JZ={get:function(e,t,r){var n=l["d"]((QZ[e]||{})[t]);return r&&l["t"](n)?n[n.length-1]:n}},QZ={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]}},eJ=JZ,tJ=dj.mapVisual,rJ=dj.eachVisual,nJ=l["t"],iJ=l["k"],oJ=Fn,aJ=Nn,sJ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.stateList=["inRange","outOfRange"],r.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],r.layoutMode={type:"box",ignoreSize:!0},r.dataBound=[-1/0,1/0],r.targetVisuals={},r.controllerVisuals={},r}return a(t,e),t.prototype.init=function(e,t,r){this.mergeDefaultAndTheme(e,r)},t.prototype.optionUpdated=function(e,t){var r=this.option;!t&&Wq(r,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=l["c"](e,this),this.controllerVisuals=Uq(this.option.controller,t,e),this.targetVisuals=Uq(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,r){t.push(r)})):t=ci(e),t},t.prototype.eachTargetSeries=function(e,t){l["k"](this.getTargetSeriesIndices(),(function(r){var n=this.ecModel.getSeriesByIndex(r);n&&e.call(t,n)}),this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries((function(r){r===e&&(t=!0)})),t},t.prototype.formatValueText=function(e,t,r){var n,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;r=r||["<",">"],l["t"](e)&&(e=e.slice(),n=!0);var u=t?e:n?[c(e[0]),c(e[1])]:c(e);return l["C"](s)?s.replace("{value}",n?u[0]:u).replace("{value2}",n?u[1]:u):l["w"](s)?n?s(e[0],e[1]):s(e):n?e[0]===a[0]?r[0]+" "+u[1]:e[1]===a[1]?r[1]+" "+u[0]:u[0]+" - "+u[1]:u;function c(e){return e===a[0]?"min":e===a[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=oJ([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var r=e.dimensions,n=r.length-1;n>=0;n--){var i=r[n],o=e.getDimensionInfo(i);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,r={inRange:t.inRange,outOfRange:t.outOfRange},n=t.target||(t.target={}),i=t.controller||(t.controller={});l["I"](n,r),l["I"](i,r);var o=this.isCategory();function a(r){nJ(t.color)&&!r.inRange&&(r.inRange={color:t.color.slice().reverse()}),r.inRange=r.inRange||{color:e.get("gradientColor")}}function s(e,t,r){var n=e[t],i=e[r];n&&!i&&(i=e[r]={},iJ(n,(function(e,t){if(dj.isValidType(t)){var r=eJ.get(t,"inactive",o);null!=r&&(i[t]=r,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function u(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,r=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,n=this.get("inactiveColor"),i=this.getItemSymbol(),a=i||"roundRect";iJ(this.stateList,(function(i){var s=this.itemSize,u=e[i];u||(u=e[i]={color:o?n:[n]}),null==u.symbol&&(u.symbol=t&&l["d"](t)||(o?a:[a])),null==u.symbolSize&&(u.symbolSize=r&&l["d"](r)||(o?s[0]:[s[0],s[0]])),u.symbol=tJ(u.symbol,(function(e){return"none"===e?a:e}));var c=u.symbolSize;if(null!=c){var d=-1/0;rJ(c,(function(e){e>d&&(d=e)})),u.symbolSize=tJ(c,(function(e){return aJ(e,[0,d],[0,s[0]],!0)}))}}),this)}a.call(this,n),a.call(this,i),s.call(this,n,"inRange","outOfRange"),u.call(this,i)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.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"}},t}(Kc),lJ=sJ,uJ=[20,140],cJ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.optionUpdated=function(t,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=uJ[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=uJ[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):l["t"](t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),l["k"](this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)}),this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=Fn((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,r=this.getExtent();return(t[0]<=r[0]||t[0]<=e)&&(t[1]>=r[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries((function(r){var n=[],i=r.getData();i.each(this.getDataDimensionIndex(i),(function(t,r){e[0]<=t&&t<=e[1]&&n.push(r)}),this),t.push({seriesId:r.id,dataIndex:n})}),this),t},t.prototype.getVisualMeta=function(e){var t=dJ(this,"outOfRange",this.getExtent()),r=dJ(this,"inRange",this.option.range.slice()),n=[];function i(t,r){n.push({value:t,color:e(t,r)})}for(var o=0,a=0,s=r.length,l=t.length;a<l&&(!r.length||t[a]<=r[0]);a++)t[a]<r[o]&&i(t[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&n.length&&i(r[o],"outOfRange"),i(r[o],"inRange");for(u=1;a<l;a++)(!r.length||r[r.length-1]<t[a])&&(u&&(n.length&&i(n[n.length-1].value,"outOfRange"),u=0),i(t[a],"outOfRange"));var c=n.length;return{stops:n,outerColors:[c?n[0].color:"transparent",c?n[c-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=Eu(lJ.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)"}}),t}(lJ);function dJ(e,t,r){if(r[0]===r[1])return r.slice();for(var n=200,i=(r[1]-r[0])/n,o=r[0],a=[],s=0;s<=n&&o<r[1];s++)a.push(o),o+=i;return a.push(r[1]),a}var hJ=cJ,fJ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r.autoPositionValues={left:1,right:1,top:1,bottom:1},r}return a(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,r,n){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,r,n):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,r=Mc(t.get("padding")||0),n=e.getBoundingRect();e.add(new ls({z2:-1,silent:!0,shape:{x:n.x-r[3],y:n.y-r[0],width:n.width+r[3]+r[1],height:n.height+r[0]+r[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,r){r=r||{};var n=r.forceState,i=this.visualMapModel,o={};if("color"===t){var a=i.get("contentColor");o.color=a}function s(e){return o[e]}function u(e,t){o[e]=t}var c=i.controllerVisuals[n||i.getValueState(e)],d=dj.prepareVisualTypes(c);return l["k"](d,(function(n){var i=c[n];r.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",i=c.__alphaForOpacity),dj.dependsOn(n,t)&&i&&i.applyVisual(e,s,u)})),o[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,r=this.api;zc(e,t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},t.prototype.doRender=function(e,t,r,n){},t.type="visualMap",t}(Cp),pJ=fJ,mJ=[["left","right","width"],["top","bottom","height"]];function gJ(e,t,r){var n=e.option,i=n.align;if(null!=i&&"auto"!==i)return i;for(var o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===n.orient?1:0,s=mJ[a],l=[0,null,10],u={},c=0;c<3;c++)u[mJ[1-a][c]]=l[c],u[s[c]]=2===c?r[0]:n[s[c]];var d=[["x","width",3],["y","height",0]][a],h=Fc(u,o,n.padding);return s[(h.margin[d[2]]||0)+h[d[0]]+.5*h[d[1]]<.5*o[d[1]]?0:1]}function vJ(e,t){return l["k"](e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}var yJ=Nn,bJ=l["k"],_J=Math.min,wJ=Math.max,xJ=12,kJ=6,SJ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._shapes={},r._dataInterval=[],r._handleEnds=[],r._hoverLinkDataIndices=[],r}return a(t,e),t.prototype.init=function(t,r){e.prototype.init.call(this,t,r),this._hoverLinkFromSeriesMouseOver=l["c"](this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=l["c"](this._hideIndicator,this)},t.prototype.doRender=function(e,t,r,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var r=e.get("text");this._renderEndsText(t,r,0),this._renderEndsText(t,r,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,r){if(t){var n=t[1-r];n=null!=n?n+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===r?-o:a[1]+o],s),u=this._applyTransform(0===r?"bottom":"top",s),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new Cs({style:nu(d,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:n})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,r=this._shapes,n=t.itemSize,i=this._orient,o=this._useHandle,a=gJ(t,this.api,n),s=r.mainGroup=this._createBarGroup(a),u=new kn;s.add(u),u.add(r.outOfRange=MJ()),u.add(r.inRange=MJ(null,o?OJ(this._orient):null,l["c"](this._dragHandle,this,"all",!1),l["c"](this._dragHandle,this,"all",!0))),u.setClipPath(new ls({shape:{x:0,y:0,width:n[0],height:n[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),d=wJ(c.width,c.height);o&&(r.handleThumbs=[],r.handleLabels=[],r.handleLabelPoints=[],this._createHandle(t,s,0,n,d,i),this._createHandle(t,s,1,n,d,i)),this._createIndicator(t,s,n,d,i),e.add(s)},t.prototype._createHandle=function(e,t,r,n,i,o){var a=l["c"](this._dragHandle,this,r,!1),s=l["c"](this._dragHandle,this,r,!0),u=an(e.get("handleSize"),n[0]),c=ay(e.get("handleIcon"),-u/2,-u/2,u,u,null,!0),d=OJ(this._orient);c.attr({cursor:d,draggable:!0,drift:a,ondragend:s,onmousemove:function(e){re(e.event)}}),c.x=n[0]/2,c.useStyle(e.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),jl(c,!0),t.add(c);var h=this.visualMapModel.textStyleModel,f=new Cs({cursor:d,draggable:!0,drift:a,onmousemove:function(e){re(e.event)},ondragend:s,style:nu(h,{x:0,y:0,text:""})});f.ensureState("blur").style={opacity:.1},f.stateTransition={duration:200},this.group.add(f);var p=[u,0],m=this._shapes;m.handleThumbs[r]=c,m.handleLabelPoints[r]=p,m.handleLabels[r]=f},t.prototype._createIndicator=function(e,t,r,n,i){var o=an(e.get("indicatorSize"),r[0]),a=ay(e.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:r[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(a instanceof Qa){var u=a.style;a.useStyle(l["m"]({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},s))}else a.useStyle(s);t.add(a);var c=this.visualMapModel.textStyleModel,d=new Cs({silent:!0,invisible:!0,style:nu(c,{x:0,y:0,text:""})});this.group.add(d);var h=[("horizontal"===i?n/2:kJ)+r[0]/2,0],f=this._shapes;f.indicator=a,f.indicatorLabel=d,f.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,r,n){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([r,n],this._shapes.mainGroup,!0);this._updateInterval(e,i[1]),this._hideIndicator(),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():TJ(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),r=e.getExtent(),n=[0,e.itemSize[1]];this._handleEnds=[yJ(t[0],r,n,!0),yJ(t[1],r,n,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var r=this.visualMapModel,n=this._handleEnds,i=[0,r.itemSize[1]];iN(t,n,i,e,0);var o=r.getExtent();this._dataInterval=[yJ(n[0],i,o,!0),yJ(n[1],i,o,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,r=t.getExtent(),n=this._shapes,i=[0,t.itemSize[1]],o=e?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,r,o,"inRange"),s=this._createBarVisual(r,r,i,"outOfRange");n.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),n.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},t.prototype._createBarVisual=function(e,t,r,n){var i={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,i),a=[this.getControllerVisual(e[0],"symbolSize",i),this.getControllerVisual(e[1],"symbolSize",i)],s=this._createBarPoints(r,a);return{barColor:new Xm(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var r=100,n=[],i=(e[1]-e[0])/r;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<r;o++){var a=e[0]+i*o;if(a>e[1])break;n.push({color:this.getControllerVisual(a,"color",t),offset:o/r})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},t.prototype._createBarPoints=function(e,t){var r=this.visualMapModel.itemSize;return[[r[0]-t[0],e[0]],[r[0],e[0]],[r[0],e[1]],[r[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,r=this.visualMapModel.get("inverse");return new kn("horizontal"!==t||r?"horizontal"===t&&r?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||r?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var r=this._shapes,n=this.visualMapModel,i=r.handleThumbs,o=r.handleLabels,a=n.itemSize,s=n.getExtent();bJ([0,1],(function(l){var u=i[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var c=yJ(e[l],[0,a[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=d/a[0],u.x=a[0]-d/2;var h=Sg(r.handleLabelPoints[l],kg(u,this.group));o[l].setStyle({x:h[0],y:h[1],text:n.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",r.mainGroup):"center"})}),this)}},t.prototype._showIndicator=function(e,t,r,n){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},d=this.getControllerVisual(e,"color",c),h=this.getControllerVisual(e,"symbolSize"),f=yJ(e,o,s,!0),p=a[0]-h/2,m={x:u.x,y:u.y};u.y=f,u.x=p;var g=Sg(l.indicatorLabelPoint,kg(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",l.mainGroup),b=this._orient,_="horizontal"===b;v.setStyle({text:(r||"")+i.formatValueText(t),verticalAlign:_?y:"middle",align:_?"center":y});var w={x:p,y:f,style:{fill:d}},x={style:{x:g[0],y:g[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var k={duration:100,easing:"cubicInOut",additive:!0};u.x=m.x,u.y=m.y,u.animateTo(w,k),v.animateTo(x,k)}else u.attr(w),v.attr(x);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var M=0;M<S.length;M++)this.api.enterBlur(S[M])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var r=e.visualMapModel.itemSize,n=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);n[1]=_J(wJ(0,n[1]),r[1]),e._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=r[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var r=this.visualMapModel,n=r.itemSize;if(r.option.hoverLink){var i=[0,n[1]],o=r.getExtent();e=_J(wJ(i[0],e),i[1]);var a=CJ(r,o,i),s=[e-a,e+a],l=yJ(e,i,o,!0),u=[yJ(s[0],i,o,!0),yJ(s[1],i,o,!0)];s[0]<i[0]&&(u[0]=-1/0),s[1]>i[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,d=[];(t||TJ(r))&&(d=this._hoverLinkDataIndices=r.findTargetDataIndices(u));var h=Ai(c,d);this._dispatchHighDown("downplay",vJ(h[0],r)),this._dispatchHighDown("highlight",vJ(h[1],r))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if($v(e.target,(function(e){var r=Ts(e);if(null!=r.dataIndex)return t=r,!0}),!0),t){var r=this.ecModel.getSeriesByIndex(t.seriesIndex),n=this.visualMapModel;if(n.isTargetSeries(r)){var i=r.getData(t.dataType),o=i.getStore().get(n.getDataDimensionIndex(i),t.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var r=0;r<t.length;r++)this.api.leaveBlur(t[r])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",vJ(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,r,n){var i=kg(t,n?null:this.group);return l["t"](e)?Sg(e,i,r):Mg(e,i,r)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(pJ);function MJ(e,t,r,n){return new Om({shape:{points:e},draggable:!!r,cursor:t,drift:r,onmousemove:function(e){re(e.event)},ondragend:n})}function CJ(e,t,r){var n=xJ/2,i=e.get("hoverLinkDataSize");return i&&(n=yJ(i,t,r,!0)/2),n}function TJ(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function OJ(e){return"vertical"===e?"ns-resize":"ew-resize"}var LJ=SJ,AJ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},DJ=function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))},EJ=[{createOnAllSeries:!0,reset:function(e,t){var r=[];return t.eachComponent("visualMap",(function(t){var n=e.pipelineContext;!t.isTargetSeries(e)||n&&n.large||r.push(Gq(t.stateList,t.targetVisuals,l["c"](t.getValueState,t),t.getDataDimensionIndex(e.getData())))})),r}},{createOnAllSeries:!0,reset:function(e,t){var r=e.getData(),n=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var i=t.getVisualMeta(l["c"](IJ,null,e,t))||{stops:[],outerColors:[]},o=t.getDataDimensionIndex(r);o>=0&&(i.dimension=o,n.push(i))}})),e.getData().setVisual("visualMeta",n)}}];function IJ(e,t,r,n){for(var i=t.targetVisuals[n],o=dj.prepareVisualTypes(i),a={color:zv(e.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=i["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(r,d,h)}return a.color;function d(e){return a[e]}function h(e,t){a[e]=t}}var jJ=l["k"];function PJ(e){var t=e&&e.visualMap;l["t"](t)||(t=t?[t]:[]),jJ(t,(function(e){if(e){RJ(e,"splitList")&&!RJ(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&l["t"](t)&&jJ(t,(function(e){l["A"](e)&&(RJ(e,"start")&&!RJ(e,"min")&&(e.min=e.start),RJ(e,"end")&&!RJ(e,"max")&&(e.max=e.end))}))}}))}function RJ(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var NJ=!1;function BJ(e){NJ||(NJ=!0,e.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})),e.registerAction(AJ,DJ),Object(l["k"])(EJ,(function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)})),e.registerPreprocessor(PJ))}function YJ(e){e.registerComponentModel(hJ),e.registerComponentView(LJ),BJ(e)}var FJ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r._pieceList=[],r}return a(t,e),t.prototype.optionUpdated=function(t,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],zJ[this._mode].call(this,this._pieceList),this._resetSelected(t,r);var i=this.option.categories;this.resetVisual((function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=l["d"](i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=l["H"](this._pieceList,(function(e){return e=l["d"](e),"inRange"!==t&&(e.visual=null),e})))}))},t.prototype.completeVisualOption=function(){var t=this.option,r={},n=dj.listVisualTypes(),i=this.isCategory();function o(e,t,r){return e&&e[t]&&e[t].hasOwnProperty(r)}l["k"](t.pieces,(function(e){l["k"](n,(function(t){e.hasOwnProperty(t)&&(r[t]=1)}))})),l["k"](r,(function(e,r){var n=!1;l["k"](this.stateList,(function(e){n=n||o(t,e,r)||o(t.target,e,r)}),this),!n&&l["k"](this.stateList,(function(e){(t[e]||(t[e]={}))[r]=eJ.get(r,"inRange"===e?"active":"inactive",i)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var r=this.option,n=this._pieceList,i=(t?r:e).selected||{};if(r.selected=i,l["k"](n,(function(e,t){var r=this.getSelectedMapKey(e);i.hasOwnProperty(r)||(i[r]=!0)}),this),"single"===r.selectedMode){var o=!1;l["k"](n,(function(e,t){var r=this.getSelectedMapKey(e);i[r]&&(o?i[r]=!1:o=!0)}),this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=l["d"](e)},t.prototype.getValueState=function(e){var t=dj.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],r=this._pieceList;return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimensionIndex(o),(function(t,n){var o=dj.findPieceIndex(t,r);o===e&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var r=e.interval||[];t=r[0]===-1/0&&r[1]===1/0?0:(r[0]+r[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],r=["",""],n=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),o=i[i.length-1].interval[1],o!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return l["k"](i,(function(e){var t=e.interval;t&&(t[0]>a&&s([a,t[0]],"outOfRange"),s(t.slice()),a=t[1])}),this),{stops:t,outerColors:r}}function s(i,o){var a=n.getRepresentValue({interval:i});o||(o=n.getValueState(a));var s=e(a,o);i[0]===-1/0?r[0]=s:i[1]===1/0?r[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=Eu(lJ.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}),t}(lJ),zJ={splitNumber:function(e){var t=this.option,r=Math.min(t.precision,20),n=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;var o=(n[1]-n[0])/i;while(+o.toFixed(r)!==o&&r<5)r++;t.precision=r,o=+o.toFixed(r),t.minOpen&&e.push({interval:[-1/0,n[0]],close:[0,0]});for(var a=0,s=n[0];a<i;s+=o,a++){var u=a===i-1?n[1]:s+o;e.push({interval:[s,u],close:[1,1]})}t.maxOpen&&e.push({interval:[n[1],1/0],close:[0,0]}),ti(e),l["k"](e,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(e){var t=this.option;l["k"](t.categories,(function(t){e.push({text:this.formatValueText(t,!0),value:t})}),this),HJ(t,e)},pieces:function(e){var t=this.option;l["k"](t.pieces,(function(t,r){l["A"](t)||(t={value:t});var n={text:"",index:r};if(null!=t.label&&(n.text=t.label),t.hasOwnProperty("value")){var i=n.value=t.value;n.interval=[i,i],n.close=[1,1]}else{for(var o=n.interval=[],a=n.close=[0,0],s=[1,0,1],u=[-1/0,1/0],c=[],d=0;d<2;d++){for(var h=[["gte","gt","min"],["lte","lt","max"]][d],f=0;f<3&&null==o[d];f++)o[d]=t[h[f]],a[d]=s[f],c[d]=2===f;null==o[d]&&(o[d]=u[d])}c[0]&&o[1]===1/0&&(a[0]=0),c[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(n.value=o[0])}n.visual=dj.retrieveVisuals(t),e.push(n)}),this),HJ(t,e),ti(e),l["k"](e,(function(e){var t=e.close,r=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,r)}),this)}};function HJ(e,t){var r=e.inverse;("vertical"===e.orient?!r:r)&&t.reverse()}var VJ=FJ,UJ=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.type=t.type,r}return a(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,r=t.get("textGap"),n=t.textStyleModel,i=n.getFont(),o=n.getTextColor(),a=this._getItemAlign(),s=t.itemSize,u=this._getViewData(),c=u.endsText,d=l["O"](t.get("showLabel",!0),!c);c&&this._renderEndsText(e,c[0],s,d,a),l["k"](u.viewPieceList,(function(n){var u=n.piece,c=new kn;c.onclick=l["c"](this._onItemClick,this,u),this._enableHoverLink(c,n.indexInModelPieceList);var h=t.getRepresentValue(u);if(this._createItemSymbol(c,h,[0,0,s[0],s[1]]),d){var f=this.visualMapModel.getValueState(h);c.add(new Cs({style:{x:"right"===a?-r:s[0]+r,y:s[1]/2,text:u.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===f?.5:1}}))}e.add(c)}),this),c&&this._renderEndsText(e,c[1],s,d,a),Bc(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var r=this;e.on("mouseover",(function(){return n("highlight")})).on("mouseout",(function(){return n("downplay")}));var n=function(e){var n=r.visualMapModel;n.option.hoverLink&&r.api.dispatchAction({type:e,batch:vJ(n.findTargetDataIndices(t),n)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return gJ(e,this.api,e.itemSize);var r=t.align;return r&&"auto"!==r||(r="left"),r},t.prototype._renderEndsText=function(e,t,r,n,i){if(t){var o=new kn,a=this.visualMapModel.textStyleModel;o.add(new Cs({style:nu(a,{x:n?"right"===i?r[0]:0:r[0]/2,y:r[1]/2,verticalAlign:"middle",align:n?i:"center",text:t})})),e.add(o)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=l["H"](e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),r=e.get("text"),n=e.get("orient"),i=e.get("inverse");return("horizontal"===n?i:!i)?t.reverse():r&&(r=r.slice().reverse()),{viewPieceList:t,endsText:r}},t.prototype._createItemSymbol=function(e,t,r){e.add(ay(this.getControllerVisual(t,"symbol"),r[0],r[1],r[2],r[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,r=t.option,n=r.selectedMode;if(n){var i=l["d"](r.selected),o=t.getSelectedMapKey(e);"single"===n||!0===n?(i[o]=!0,l["k"](i,(function(e,t){i[t]=t===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},t.type="visualMap.piecewise",t}(pJ),WJ=UJ;function $J(e){e.registerComponentModel(VJ),e.registerComponentView(WJ),BJ(e)}function GJ(e){R_(YJ),R_($J)}var qJ={label:{enabled:!0},decal:{show:!1}},XJ=Ei(),KJ={};function ZJ(e,t){var r=e.getModel("aria");if(r.get("enabled")){var n=l["d"](qJ);l["I"](n.label,e.getLocaleModel().get("aria"),!1),l["I"](r.option,n,!1),i(),o()}function i(){var t=r.getModel("decal"),n=t.get("show");if(n){var i=l["f"]();e.eachSeries((function(e){if(!e.isColorBySeries()){var t=i.get(e.type);t||(t={},i.set(e.type,t)),XJ(e).scope=t}})),e.eachRawSeries((function(t){if(!e.isSeriesFiltered(t))if(l["w"](t.enableAriaDecal))t.enableAriaDecal();else{var r=t.getData();if(t.isColorBySeries()){var n=Sd(t.ecModel,t.name,KJ,e.getSeriesCount()),i=r.getVisual("decal");r.setVisual("decal",c(i,n))}else{var o=t.getRawData(),a={},s=XJ(t).scope;r.each((function(e){var t=r.getRawIndex(e);a[t]=e}));var u=o.count();o.each((function(e){var n=a[e],i=o.getName(e)||e+"",l=Sd(t.ecModel,i,s,u),d=r.getItemVisual(n,"decal");r.setItemVisual(n,"decal",c(d,l))}))}}function c(e,t){var r=e?l["m"](l["m"]({},t),e):t;return r.dirty=!0,r}}))}}function o(){var n=e.getLocaleModel().get("aria"),i=r.getModel("label");if(i.option=l["i"](i.option,n),i.get("enabled")){var o=t.getZr().dom;if(i.get("description"))o.setAttribute("aria-label",i.get("description"));else{var c,d=e.getSeriesCount(),h=i.get(["data","maxCount"])||10,f=i.get(["series","maxCount"])||10,p=Math.min(d,f);if(!(d<1)){var m=s();if(m){var g=i.get(["general","withTitle"]);c=a(g,{title:m})}else c=i.get(["general","withoutTitle"]);var v=[],y=d>1?i.get(["series","multiple","prefix"]):i.get(["series","single","prefix"]);c+=a(y,{seriesCount:d}),e.eachSeries((function(e,t){if(t<p){var r=void 0,n=e.get("name"),o=n?"withName":"withoutName";r=d>1?i.get(["series","multiple",o]):i.get(["series","single",o]),r=a(r,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:u(e.subType)});var s=e.getData();if(s.count()>h){var l=i.get(["data","partialData"]);r+=a(l,{displayCnt:h})}else r+=i.get(["data","allData"]);for(var c=i.get(["data","separator","middle"]),f=i.get(["data","separator","end"]),m=[],g=0;g<s.count();g++)if(g<h){var y=s.getName(g),b=s.getValues(g),_=i.get(["data",y?"withName":"withoutName"]);m.push(a(_,{name:y,value:b.join(c)}))}r+=m.join(c)+f,v.push(r)}}));var b=i.getModel(["series","multiple","separator"]),_=b.get("middle"),w=b.get("end");c+=v.join(_)+w,o.setAttribute("aria-label",c)}}}}function a(e,t){if(!l["C"](e))return e;var r=e;return l["k"](t,(function(e,t){r=r.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),r}function s(){var t=e.get("title");return t&&t.length&&(t=t[0]),t&&t.text}function u(t){var r=e.getLocaleModel().get(["series","typeNames"]);return r[t]||r.chart}}function JJ(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},l["k"](["description","general","series","data"],(function(e){null!=t[e]&&(t.label[e]=t[e])}))}}function QJ(e){e.registerPreprocessor(JJ),e.registerVisual(e.PRIORITY.VISUAL.ARIA,ZJ)}var eQ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},tQ=function(){function e(e){var t=this._condVal=Object(l["C"])(e)?new RegExp(e):Object(l["B"])(e)?e:null;if(null==t){var r="";0,Ed(r)}}return e.prototype.evaluate=function(e){var t=typeof e;return Object(l["C"])(t)?this._condVal.test(e):!!Object(l["z"])(t)&&this._condVal.test(e+"")},e}(),rQ=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),nQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(!e[t].evaluate())return!1;return!0},e}(),iQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(e[t].evaluate())return!0;return!1},e}(),oQ=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),aQ=function(){function e(){}return e.prototype.evaluate=function(){for(var e=!!this.valueParser,t=this.getValue,r=t(this.valueGetterParam),n=e?this.valueParser(r):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(e?n:r))return!1;return!0},e}();function sQ(e,t){if(!0===e||!1===e){var r=new rQ;return r.value=e,r}var n="";return dQ(e)||Ed(n),e.and?lQ("and",e,t):e.or?lQ("or",e,t):e.not?uQ(e,t):cQ(e,t)}function lQ(e,t,r){var n=t[e],i="";Object(l["t"])(n)||Ed(i),n.length||Ed(i);var o="and"===e?new nQ:new iQ;return o.children=Object(l["H"])(n,(function(e){return sQ(e,r)})),o.children.length||Ed(i),o}function uQ(e,t){var r=e.not,n="";dQ(r)||Ed(n);var i=new oQ;return i.child=sQ(r,t),i.child||Ed(n),i}function cQ(e,t){for(var r="",n=t.prepareGetValue(e),i=[],o=Object(l["F"])(e),a=e.parser,s=a?cf(a):null,u=0;u<o.length;u++){var c=o[u];if("parser"!==c&&!t.valueGetterAttrMap.get(c)){var d=Object(l["q"])(eQ,c)?eQ[c]:c,h=e[c],f=s?s(h):h,p=mf(d,f)||"reg"===d&&new tQ(f);p||Ed(r),i.push(p)}}i.length||Ed(r);var m=new aQ;return m.valueGetterParam=n,m.valueParser=s,m.getValue=t.getValue,m.subCondList=i,m}function dQ(e){return Object(l["A"])(e)&&!Object(l["u"])(e)}var hQ=function(){function e(e,t){this._cond=sQ(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function fQ(e,t){return new hQ(e,t)}var pQ={type:"echarts:filter",transform:function(e){for(var t,r=e.upstream,n=fQ(e.config,{valueGetterAttrMap:Object(l["f"])({dimension:!0}),prepareGetValue:function(e){var t="",n=e.dimension;Object(l["q"])(e,"dimension")||Ed(t);var i=r.getDimensionInfo(n);return i||Ed(t),{dimIdx:i.index}},getValue:function(e){return r.retrieveValueFromItem(t,e.dimIdx)}}),i=[],o=0,a=r.count();o<a;o++)t=r.getRawDataItem(o),n.evaluate()&&i.push(t);return{data:i}}};var mQ={type:"echarts:sort",transform:function(e){var t=e.upstream,r=e.config,n="",i=ci(r);i.length||Ed(n);var o=[];Object(l["k"])(i,(function(e){var r=e.dimension,i=e.order,a=e.parser,s=e.incomparable;if(null==r&&Ed(n),"asc"!==i&&"desc"!==i&&Ed(n),s&&"min"!==s&&"max"!==s){var l="";0,Ed(l)}if("asc"!==i&&"desc"!==i){var u="";0,Ed(u)}var c=t.getDimensionInfo(r);c||Ed(n);var d=a?cf(a):null;a&&!d&&Ed(n),o.push({dimIdx:c.index,parser:d,comparator:new ff(i,s)})}));var a=t.sourceFormat;a!==rd&&a!==nd&&Ed(n);for(var s=[],u=0,c=t.count();u<c;u++)s.push(t.getRawDataItem(u));return s.sort((function(e,r){for(var n=0;n<o.length;n++){var i=o[n],a=t.retrieveValueFromItem(e,i.dimIdx),s=t.retrieveValueFromItem(r,i.dimIdx);i.parser&&(a=i.parser(a),s=i.parser(s));var l=i.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};function gQ(e){e.registerTransform(pQ),e.registerTransform(mQ)}var vQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return a(t,e),t.prototype.init=function(t,r,n){e.prototype.init.call(this,t,r,n),this._sourceManager=new Ff(this),zf(this)},t.prototype.mergeOption=function(t,r){e.prototype.mergeOption.call(this,t,r),zf(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:sd},t}(Kc),yQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return a(t,e),t.type="dataset",t}(Cp);function bQ(e){e.registerComponentModel(vQ),e.registerComponentView(yQ)}var _Q=ba.CMD;function wQ(e,t){return Math.abs(e-t)<1e-5}function xQ(e){var t,r,n,i,o,a=e.data,s=e.len(),l=[],u=0,c=0,d=0,h=0;function f(e,r){t&&t.length>2&&l.push(t),t=[e,r]}function p(e,r,n,i){wQ(e,n)&&wQ(r,i)||t.push(e,r,n,i,n,i)}function m(e,r,n,i,o,a){var s=Math.abs(r-e),l=4*Math.tan(s/4)/3,u=r<e?-1:1,c=Math.cos(e),d=Math.sin(e),h=Math.cos(r),f=Math.sin(r),p=c*o+n,m=d*a+i,g=h*o+n,v=f*a+i,y=o*l*u,b=a*l*u;t.push(p-y*d,m+b*c,g+y*f,v-b*h,g,v)}for(var g=0;g<s;){var v=a[g++],y=1===g;switch(y&&(u=a[g],c=a[g+1],d=u,h=c,v!==_Q.L&&v!==_Q.C&&v!==_Q.Q||(t=[d,h])),v){case _Q.M:u=d=a[g++],c=h=a[g++],f(d,h);break;case _Q.L:r=a[g++],n=a[g++],p(u,c,r,n),u=r,c=n;break;case _Q.C:t.push(a[g++],a[g++],a[g++],a[g++],u=a[g++],c=a[g++]);break;case _Q.Q:r=a[g++],n=a[g++],i=a[g++],o=a[g++],t.push(u+2/3*(r-u),c+2/3*(n-c),i+2/3*(r-i),o+2/3*(n-o),i,o),u=i,c=o;break;case _Q.A:var b=a[g++],_=a[g++],w=a[g++],x=a[g++],k=a[g++],S=a[g++]+k;g+=1;var M=!a[g++];r=Math.cos(k)*w+b,n=Math.sin(k)*x+_,y?(d=r,h=n,f(d,h)):p(u,c,r,n),u=Math.cos(S)*w+b,c=Math.sin(S)*x+_;for(var C=(M?-1:1)*Math.PI/2,T=k;M?T>S:T<S;T+=C){var O=M?Math.max(T+C,S):Math.min(T+C,S);m(T,O,b,_,w,x)}break;case _Q.R:d=u=a[g++],h=c=a[g++],r=d+a[g++],n=h+a[g++],f(r,h),p(r,h,r,n),p(r,n,d,n),p(d,n,d,h),p(d,h,r,h);break;case _Q.Z:t&&p(u,c,d,h),u=d,c=h;break}}return t&&t.length>2&&l.push(t),l}function kQ(e,t,r,n,i,o,a,s,l,u){if(wQ(e,r)&&wQ(t,n)&&wQ(i,a)&&wQ(o,s))l.push(a,s);else{var c=2/u,d=c*c,h=a-e,f=s-t,p=Math.sqrt(h*h+f*f);h/=p,f/=p;var m=r-e,g=n-t,v=i-a,y=o-s,b=m*m+g*g,_=v*v+y*y;if(b<d&&_<d)l.push(a,s);else{var w=h*m+f*g,x=-h*v-f*y,k=b-w*w,S=_-x*x;if(k<d&&w>=0&&S<d&&x>=0)l.push(a,s);else{var M=[],C=[];St(e,r,i,a,.5,M),St(t,n,o,s,.5,C),kQ(M[0],C[0],M[1],C[1],M[2],C[2],M[3],C[3],l,u),kQ(M[4],C[4],M[5],C[5],M[6],C[6],M[7],C[7],l,u)}}}}function SQ(e,t){var r=xQ(e),n=[];t=t||1;for(var i=0;i<r.length;i++){var o=r[i],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],d=o[u++],h=o[u++],f=o[u++],p=o[u++],m=o[u++];kQ(s,l,c,d,h,f,p,m,a,t),s=p,l=m}n.push(a)}return n}function MQ(e,t,r){var n=e[t],i=e[1-t],o=Math.abs(n/i),a=Math.ceil(Math.sqrt(o*r)),s=Math.floor(r/a);0===s&&(s=1,a=r);for(var l=[],u=0;u<a;u++)l.push(s);var c=a*s,d=r-c;if(d>0)for(u=0;u<d;u++)l[u%a]+=1;return l}function CQ(e,t,r){for(var n=e.r0,i=e.r,o=e.startAngle,a=e.endAngle,s=Math.abs(a-o),l=s*i,u=i-n,c=l>Math.abs(u),d=MQ([l,u],c?0:1,t),h=(c?s:u)/d.length,f=0;f<d.length;f++)for(var p=(c?u:s)/d[f],m=0;m<d[f];m++){var g={};c?(g.startAngle=o+h*f,g.endAngle=o+h*(f+1),g.r0=n+p*m,g.r=n+p*(m+1)):(g.startAngle=o+p*m,g.endAngle=o+p*(m+1),g.r0=n+h*f,g.r=n+h*(f+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,r.push(g)}}function TQ(e,t,r){for(var n=e.width,i=e.height,o=n>i,a=MQ([n,i],o?0:1,t),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=e[s]/a.length,h=0;h<a.length;h++)for(var f=e[l]/a[h],p=0;p<a[h];p++){var m={};m[u]=h*d,m[c]=p*f,m[s]=d,m[l]=f,m.x+=e.x,m.y+=e.y,r.push(m)}}function OQ(e,t,r,n){return e*n-r*t}function LQ(e,t,r,n,i,o,a,s){var l=r-e,u=n-t,c=a-i,d=s-o,h=OQ(c,d,l,u);if(Math.abs(h)<1e-6)return null;var f=e-i,p=t-o,m=OQ(f,p,c,d)/h;return m<0||m>1?null:new ye(m*l+e,m*u+t)}function AQ(e,t,r){var n=new ye;ye.sub(n,r,t),n.normalize();var i=new ye;ye.sub(i,e,t);var o=i.dot(n);return o}function DQ(e,t){var r=e[e.length-1];r&&r[0]===t[0]&&r[1]===t[1]||e.push(t)}function EQ(e,t,r){for(var n=e.length,i=[],o=0;o<n;o++){var a=e[o],s=e[(o+1)%n],l=LQ(a[0],a[1],s[0],s[1],t.x,t.y,r.x,r.y);l&&i.push({projPt:AQ(l,t,r),pt:l,idx:o})}if(i.length<2)return[{points:e},{points:e}];i.sort((function(e,t){return e.projPt-t.projPt}));var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var d=u;u=c,c=d}var h=[u.pt.x,u.pt.y],f=[c.pt.x,c.pt.y],p=[h],m=[f];for(o=u.idx+1;o<=c.idx;o++)DQ(p,e[o].slice());DQ(p,f),DQ(p,h);for(o=c.idx+1;o<=u.idx+n;o++)DQ(m,e[o%n].slice());return DQ(m,h),DQ(m,f),[{points:p},{points:m}]}function IQ(e){var t=e.points,r=[],n=[];Go(t,r,n);var i=new Oe(r[0],r[1],n[0]-r[0],n[1]-r[1]),o=i.width,a=i.height,s=i.x,l=i.y,u=new ye,c=new ye;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),EQ(t,u,c)}function jQ(e,t,r,n){if(1===r)n.push(t);else{var i=Math.floor(r/2),o=e(t);jQ(e,o[0],i,n),jQ(e,o[1],r-i,n)}return n}function PQ(e,t){for(var r=[],n=0;n<t;n++)r.push(Kp(e));return r}function RQ(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function NQ(e){for(var t=[],r=0;r<e.length;)t.push([e[r++],e[r++]]);return t}function BQ(e,t){var r,n=[],i=e.shape;switch(e.type){case"rect":TQ(i,t,n),r=ls;break;case"sector":CQ(i,t,n),r=_m;break;case"circle":CQ({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},t,n),r=_m;break;default:var o=e.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=Object(l["H"])(SQ(e.getUpdatedPathProxy(),a),(function(e){return NQ(e)})),u=s.length;if(0===u)jQ(IQ,{points:s[0]},t,n);else if(u===t)for(var c=0;c<u;c++)n.push({points:s[c]});else{var d=0,h=Object(l["H"])(s,(function(e){var t=[],r=[];Go(e,t,r);var n=(r[1]-t[1])*(r[0]-t[0]);return d+=n,{poly:e,area:n}}));h.sort((function(e,t){return t.area-e.area}));var f=t;for(c=0;c<u;c++){var p=h[c];if(f<=0)break;var m=c===u-1?f:Math.ceil(p.area/d*t);m<0||(jQ(IQ,{points:p.poly},m,n),f-=m)}}r=Om;break}if(!r)return PQ(e,t);var g=[];for(c=0;c<n.length;c++){var v=new r;v.setShape(n[c]),RQ(e,v),g.push(v)}return g}function YQ(e,t){var r=e.length,n=t.length;if(r===n)return[e,t];for(var i=[],o=[],a=r<n?e:t,s=Math.min(r,n),l=Math.abs(n-r)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,d=[a[0],a[1]],h=l,f=2;f<s;){var p=a[f-2],m=a[f-1],g=a[f++],v=a[f++],y=a[f++],b=a[f++],_=a[f++],w=a[f++];if(h<=0)d.push(g,v,y,b,_,w);else{for(var x=Math.min(h,c-1)+1,k=1;k<=x;k++){var S=k/x;St(p,g,y,_,S,i),St(m,v,b,w,S,o),p=i[3],m=o[3],d.push(i[1],o[1],i[2],o[2],p,m),g=i[5],v=o[5],y=i[6],b=o[6]}h-=x-1}}return a===e?[d,t]:[e,d]}function FQ(e,t){for(var r=e.length,n=e[r-2],i=e[r-1],o=[],a=0;a<t.length;)o[a++]=n,o[a++]=i;return o}function zQ(e,t){for(var r,n,i,o=[],a=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],u=t[s],c=void 0,d=void 0;l?u?(r=YQ(l,u),c=r[0],d=r[1],n=c,i=d):(d=FQ(i||l,l),c=l):(c=FQ(n||u,u),d=u),o.push(c),a.push(d)}return[o,a]}function HQ(e){for(var t=0,r=0,n=0,i=e.length,o=0,a=i-2;o<i;a=o,o+=2){var s=e[a],l=e[a+1],u=e[o],c=e[o+1],d=s*c-u*l;t+=d,r+=(s+u)*d,n+=(l+c)*d}return 0===t?[e[0]||0,e[1]||0]:[r/t/3,n/t/3,t]}function VQ(e,t,r,n){for(var i=(e.length-2)/6,o=1/0,a=0,s=e.length,l=s-2,u=0;u<i;u++){for(var c=6*u,d=0,h=0;h<s;h+=2){var f=0===h?c:(c+h-2)%l+2,p=e[f]-r[0],m=e[f+1]-r[1],g=t[h]-n[0],v=t[h+1]-n[1],y=g-p,b=v-m;d+=y*y+b*b}d<o&&(o=d,a=u)}return a}function UQ(e){for(var t=[],r=e.length,n=0;n<r;n+=2)t[n]=e[r-n-2],t[n+1]=e[r-n-1];return t}function WQ(e,t,r,n){for(var i,o=[],a=0;a<e.length;a++){var s=e[a],l=t[a],u=HQ(s),c=HQ(l);null==i&&(i=u[2]<0!==c[2]<0);var d=[],h=[],f=0,p=1/0,m=[],g=s.length;i&&(s=UQ(s));for(var v=6*VQ(s,l,u,c),y=g-2,b=0;b<y;b+=2){var _=(v+b)%y+2;d[b+2]=s[_]-u[0],d[b+3]=s[_+1]-u[1]}if(d[0]=s[v]-u[0],d[1]=s[v+1]-u[1],r>0)for(var w=n/r,x=-n/2;x<=n/2;x+=w){var k=Math.sin(x),S=Math.cos(x),M=0;for(b=0;b<s.length;b+=2){var C=d[b],T=d[b+1],O=l[b]-c[0],L=l[b+1]-c[1],A=O*S-L*k,D=O*k+L*S;m[b]=A,m[b+1]=D;var E=A-C,I=D-T;M+=E*E+I*I}if(M<p){p=M,f=x;for(var j=0;j<m.length;j++)h[j]=m[j]}}else for(var P=0;P<g;P+=2)h[P]=l[P]-c[0],h[P+1]=l[P+1]-c[1];o.push({from:d,to:h,fromCp:u,toCp:c,rotation:-f})}return o}function $Q(e){return e.__isCombineMorphing}var GQ="__mOriginal_";function qQ(e,t,r){var n=GQ+t,i=e[n]||e[t];e[n]||(e[n]=e[t]);var o=r.replace,a=r.after,s=r.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=o?o.apply(this,t):i.apply(this,t),a&&a.apply(this,t),e}}function XQ(e,t){var r=GQ+t;e[r]&&(e[t]=e[r],e[r]=null)}function KQ(e,t){for(var r=0;r<e.length;r++)for(var n=e[r],i=0;i<n.length;){var o=n[i],a=n[i+1];n[i++]=t[0]*o+t[2]*a+t[4],n[i++]=t[1]*o+t[3]*a+t[5]}}function ZQ(e,t){var r=e.getUpdatedPathProxy(),n=t.getUpdatedPathProxy(),i=zQ(xQ(r),xQ(n)),o=i[0],a=i[1],s=e.getComputedTransform(),l=t.getComputedTransform();function u(){this.transform=null}s&&KQ(o,s),l&&KQ(a,l),qQ(t,"updateTransform",{replace:u}),t.transform=null;var c=WQ(o,a,10,Math.PI),d=[];qQ(t,"buildPath",{replace:function(e){for(var r=t.__morphT,n=1-r,i=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,u=a.rotation*r,h=a.fromCp,f=a.toCp,p=Math.sin(u),m=Math.cos(u);S(i,h,f,r);for(var g=0;g<s.length;g+=2){var v=s[g],y=s[g+1],b=l[g],_=l[g+1],w=v*n+b*r,x=y*n+_*r;d[g]=w*m-x*p+i[0],d[g+1]=w*p+x*m+i[1]}var k=d[0],M=d[1];e.moveTo(k,M);for(g=2;g<s.length;){b=d[g++],_=d[g++];var C=d[g++],T=d[g++],O=d[g++],L=d[g++];k===b&&M===_&&C===O&&T===L?e.lineTo(O,L):e.bezierCurveTo(b,_,C,T,O,L),k=O,M=L}}}})}function JQ(e,t,r){if(!e||!t)return t;var n=r.done,i=r.during;function o(){XQ(t,"buildPath"),XQ(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return ZQ(e,t),t.__morphT=0,t.animateTo({__morphT:1},Object(l["i"])({during:function(e){t.dirtyShape(),i&&i(e)},done:function(){o(),n&&n()}},r)),t}function QQ(e,t,r,n,i,o){var a=16;e=i===r?0:Math.round(32767*(e-r)/(i-r)),t=o===n?0:Math.round(32767*(t-n)/(o-n));for(var s,l=0,u=(1<<a)/2;u>0;u/=2){var c=0,d=0;(e&u)>0&&(c=1),(t&u)>0&&(d=1),l+=u*u*(3*c^d),0===d&&(1===c&&(e=u-1-e,t=u-1-t),s=e,e=t,t=s)}return l}function e0(e){var t=1/0,r=1/0,n=-1/0,i=-1/0,o=Object(l["H"])(e,(function(e){var o=e.getBoundingRect(),a=e.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return t=Math.min(s,t),r=Math.min(l,r),n=Math.max(s,n),i=Math.max(l,i),[s,l]})),a=Object(l["H"])(o,(function(o,a){return{cp:o,z:QQ(o[0],o[1],t,r,n,i),path:e[a]}}));return a.sort((function(e,t){return e.z-t.z})).map((function(e){return e.path}))}function t0(e){return BQ(e.path,e.count)}function r0(){return{fromIndividuals:[],toIndividuals:[],count:0}}function n0(e,t,r){var n=[];function i(e){for(var t=0;t<e.length;t++){var r=e[t];$Q(r)?i(r.childrenRef()):r instanceof Wa&&n.push(r)}}i(e);var o=n.length;if(!o)return r0();var a=r.dividePath||t0,s=a({path:t,count:o});if(s.length!==o)return console.error("Invalid morphing: unmatched splitted path"),r0();n=e0(n),s=e0(s);for(var u=r.done,c=r.during,d=r.individualDelay,h=new Xr,f=0;f<o;f++){var p=n[f],m=s[f];m.parent=t,m.copyTransform(h),d||ZQ(p,m)}function g(e){for(var t=0;t<s.length;t++)s[t].addSelfToZr(e)}function v(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,XQ(t,"addSelfToZr"),XQ(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return s},qQ(t,"addSelfToZr",{after:function(e){g(e)}}),qQ(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<s.length;t++)s[t].removeSelfFromZr(e)}});var y=s.length;if(d){var b=y,_=function(){b--,0===b&&(v(),u&&u())};for(f=0;f<y;f++){var w=d?Object(l["i"])({delay:(r.delay||0)+d(f,y,n[f],s[f]),done:_},r):r;JQ(n[f],s[f],w)}}else t.__morphT=0,t.animateTo({__morphT:1},Object(l["i"])({during:function(e){for(var r=0;r<y;r++){var n=s[r];n.__morphT=t.__morphT,n.dirtyShape()}c&&c(e)},done:function(){v();for(var t=0;t<e.length;t++)XQ(e[t],"updateTransform");u&&u()}},r));return t.__zr&&g(t.__zr),{fromIndividuals:n,toIndividuals:s,count:y}}function i0(e,t,r){var n=t.length,i=[],o=r.dividePath||t0;function a(e){for(var t=0;t<e.length;t++){var r=e[t];$Q(r)?a(r.childrenRef()):r instanceof Wa&&i.push(r)}}if($Q(e)){a(e.childrenRef());var s=i.length;if(s<n)for(var u=0,c=s;c<n;c++)i.push(Kp(i[u++%s]));i.length=n}else{i=o({path:e,count:n});var d=e.getComputedTransform();for(c=0;c<i.length;c++)i[c].setLocalTransform(d);if(i.length!==n)return console.error("Invalid morphing: unmatched splitted path"),r0()}i=e0(i),t=e0(t);var h=r.individualDelay;for(c=0;c<n;c++){var f=h?Object(l["i"])({delay:(r.delay||0)+h(c,n,i[c],t[c])},r):r;JQ(i[c],t[c],f)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}function o0(e){return Object(l["t"])(e[0])}function a0(e,t){for(var r=[],n=e.length,i=0;i<n;i++)r.push({one:e[i],many:[]});for(i=0;i<t.length;i++){var o=t[i].length,a=void 0;for(a=0;a<o;a++)r[a%n].many.push(t[i][a])}var s=0;for(i=n-1;i>=0;i--)if(!r[i].many.length){var l=r[s].many;if(l.length<=1){if(!s)return r;s=0}o=l.length;var u=Math.ceil(o/2);r[i].many=l.slice(u,o),r[s].many=l.slice(0,u),s++}return r}var s0={clone:function(e){for(var t=[],r=1-Math.pow(1-e.path.style.opacity,1/e.count),n=0;n<e.count;n++){var i=Kp(e.path);i.setStyle("opacity",r),t.push(i)}return t},split:null};function l0(e,t,r,n,i,o){if(e.length&&t.length){var a=Hl("update",n,i);if(a&&a.duration>0){var s,u,c=n.getModel("universalTransition").get("delay"),d=Object.assign({setToFinal:!0},a);o0(e)&&(s=e,u=t),o0(t)&&(s=t,u=e);for(var h=s?s===e:e.length>t.length,f=s?a0(u,s):a0(h?t:e,[h?e:t]),p=0,m=0;m<f.length;m++)p+=f[m].many.length;var g=0;for(m=0;m<f.length;m++)v(f[m],h,g,p),g+=f[m].many.length}}function v(e,t,n,i,a){var s=e.many,u=e.one;if(1!==s.length||a)for(var h=Object(l["i"])({dividePath:s0[r],individualDelay:c&&function(e,t,r,o){return c(e+n,i)}},d),f=t?n0(s,u,h):i0(u,s,h),p=f.fromIndividuals,m=f.toIndividuals,g=p.length,y=0;y<g;y++){w=c?Object(l["i"])({delay:c(y,g)},d):d;o(p[y],m[y],t?s[y]:e.one,t?e.one:s[y],w)}else{var b=t?s[0]:u,_=t?u:s[0];if($Q(b))v({many:[b],one:_},!0,n,i,!0);else{var w=c?Object(l["i"])({delay:c(n,i)},d):d;JQ(b,_,w),o(b,_,b,_,w)}}}}function u0(e){if(!e)return[];if(Object(l["t"])(e)){for(var t=[],r=0;r<e.length;r++)t.push(u0(e[r]));return t}var n=[];return e.traverse((function(e){e instanceof Wa&&!e.disableMorphing&&!e.invisible&&!e.ignore&&n.push(e)})),n}var c0=1e4,d0=0,h0=1,f0=2,p0=Ei();function m0(e,t){for(var r=e.dimensions,n=0;n<r.length;n++){var i=e.getDimensionInfo(r[n]);if(i&&0===i.otherDims[t])return r[n]}}function g0(e,t,r){var n=e.getDimensionInfo(r),i=n&&n.ordinalMeta;if(n){var o=e.get(n.name,t);return i&&i.categories[o]||o+""}}function v0(e,t,r,n){var i=n?"itemChildGroupId":"itemGroupId",o=m0(e,i);if(o){var a=g0(e,t,o);return a}var s=e.getRawDataItem(t),l=n?"childGroupId":"groupId";return s&&s[l]?s[l]+"":n?void 0:r||e.getId(t)}function y0(e){var t=[];return Object(l["k"])(e,(function(e){var r=e.data,n=e.dataGroupId;if(!(r.count()>c0))for(var i=r.getIndices(),o=0;o<i.length;o++)t.push({data:r,groupId:v0(r,o,n,!1),childGroupId:v0(r,o,n,!0),divide:e.divide,dataIndex:o})})),t}function b0(e,t,r){e.traverse((function(e){e instanceof Wa&&Wl(e,{style:{opacity:0}},t,{dataIndex:r,isFrom:!0})}))}function _0(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function w0(e){e.stopAnimation(),e.isGroup&&e.traverse((function(e){e.stopAnimation()}))}function x0(e,t,r){var n=Hl("update",r,t);n&&e.traverse((function(e){if(e instanceof Bo){var t=Zl(e);t&&e.animateFrom({style:t},n)}}))}function k0(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++){var i=e[n],o=t[n];if(i.data.getId(i.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}function S0(e,t,r){var n=y0(e),i=y0(t);function o(e,t,r,n,i){(r||e)&&t.animateFrom({style:r&&r!==e?Object(l["m"])(Object(l["m"])({},r.style),e.style):e.style},i)}var a=!1,s=d0,u=Object(l["f"])(),c=Object(l["f"])();n.forEach((function(e){e.groupId&&u.set(e.groupId,!0),e.childGroupId&&c.set(e.childGroupId,!0)}));for(var d=0;d<i.length;d++){var h=i[d].groupId;if(c.get(h)){s=h0;break}var f=i[d].childGroupId;if(f&&u.get(f)){s=f0;break}}function p(e,t){return function(r){var n=r.data,i=r.dataIndex;return t?n.getId(i):e?s===h0?r.childGroupId:r.groupId:s===f0?r.childGroupId:r.groupId}}var m=k0(n,i),g={};if(!m)for(d=0;d<i.length;d++){var v=i[d],y=v.data.getItemGraphicEl(v.dataIndex);y&&(g[y.id]=!0)}function b(e,t){var r=n[t],s=i[e],l=s.data.hostModel,u=r.data.getItemGraphicEl(r.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&g[u.id]||c&&(w0(c),u?(w0(u),_0(u),a=!0,l0(u0(u),u0(c),s.divide,l,e,o)):b0(c,l,e)):c&&x0(c,s.dataIndex,l)}new bk(n,i,p(!0,m),p(!1,m),null,"multiple").update(b).updateManyToOne((function(e,t){var r=i[e],s=r.data,u=s.hostModel,c=s.getItemGraphicEl(r.dataIndex),d=Object(l["n"])(Object(l["H"])(t,(function(e){return n[e].data.getItemGraphicEl(n[e].dataIndex)})),(function(e){return e&&e!==c&&!g[e.id]}));c&&(w0(c),d.length?(Object(l["k"])(d,(function(e){w0(e),_0(e)})),a=!0,l0(u0(d),u0(c),r.divide,u,e,o)):b0(c,u,r.dataIndex))})).updateOneToMany((function(e,t){var r=n[t],s=r.data.getItemGraphicEl(r.dataIndex);if(!s||!g[s.id]){var u=Object(l["n"])(Object(l["H"])(e,(function(e){return i[e].data.getItemGraphicEl(i[e].dataIndex)})),(function(e){return e&&e!==s})),c=i[e[0]].data.hostModel;u.length&&(Object(l["k"])(u,(function(e){return w0(e)})),s?(w0(s),_0(s),a=!0,l0(u0(s),u0(u),r.divide,c,e[0],o)):Object(l["k"])(u,(function(t){return b0(t,c,e[0])})))}})).updateManyToMany((function(e,t){new bk(t,e,(function(e){return n[e].data.getId(n[e].dataIndex)}),(function(e){return i[e].data.getId(i[e].dataIndex)})).update((function(r,n){b(e[r],t[n])})).execute()})).execute(),a&&Object(l["k"])(t,(function(e){var t=e.data,n=t.hostModel,i=n&&r.getViewOfSeriesModel(n),o=Hl("update",n,0);i&&n.isAnimationEnabled()&&o&&o.duration>0&&i.group.traverse((function(e){e instanceof Wa&&!e.animators.length&&e.animateFrom({style:{opacity:0}},o)}))}))}function M0(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function C0(e){return Object(l["t"])(e)?e.sort().join(","):e}function T0(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function O0(e,t){var r=Object(l["f"])(),n=Object(l["f"])(),i=Object(l["f"])();return Object(l["k"])(e.oldSeries,(function(t,r){var o=e.oldDataGroupIds[r],a=e.oldData[r],s=M0(t),u=C0(s);n.set(u,{dataGroupId:o,data:a}),Object(l["t"])(s)&&Object(l["k"])(s,(function(e){i.set(e,{key:u,dataGroupId:o,data:a})}))})),Object(l["k"])(t.updatedSeries,(function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),o=e.getData(),a=M0(e),s=C0(a),u=n.get(s);if(u)r.set(s,{oldSeries:[{dataGroupId:u.dataGroupId,divide:T0(u.data),data:u.data}],newSeries:[{dataGroupId:t,divide:T0(o),data:o}]});else if(Object(l["t"])(a)){0;var c=[];Object(l["k"])(a,(function(e){var t=n.get(e);t.data&&c.push({dataGroupId:t.dataGroupId,divide:T0(t.data),data:t.data})})),c.length&&r.set(s,{oldSeries:c,newSeries:[{dataGroupId:t,data:o,divide:T0(o)}]})}else{var d=i.get(a);if(d){var h=r.get(d.key);h||(h={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:T0(d.data)}],newSeries:[]},r.set(d.key,h)),h.newSeries.push({dataGroupId:t,data:o,divide:T0(o)})}}}})),r}function L0(e,t){for(var r=0;r<e.length;r++){var n=null!=t.seriesIndex&&t.seriesIndex===e[r].seriesIndex||null!=t.seriesId&&t.seriesId===e[r].id;if(n)return r}}function A0(e,t,r,n){var i=[],o=[];Object(l["k"])(ci(e.from),(function(e){var r=L0(t.oldSeries,e);r>=0&&i.push({dataGroupId:t.oldDataGroupIds[r],data:t.oldData[r],divide:T0(t.oldData[r]),groupIdDim:e.dimension})})),Object(l["k"])(ci(e.to),(function(e){var n=L0(r.updatedSeries,e);if(n>=0){var i=r.updatedSeries[n].getData();o.push({dataGroupId:t.oldDataGroupIds[n],data:i,divide:T0(i),groupIdDim:e.dimension})}})),i.length>0&&o.length>0&&S0(i,o,n)}function D0(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,r){Object(l["k"])(ci(r.seriesTransition),(function(e){Object(l["k"])(ci(e.to),(function(e){for(var t=r.updatedSeries,n=0;n<t.length;n++)(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)&&(t[n][pp]=!0)}))}))})),e.registerUpdateLifecycle("series:transition",(function(e,t,r){var n=p0(t);if(n.oldSeries&&r.updatedSeries&&r.optionChanged){var i=r.seriesTransition;if(i)Object(l["k"])(ci(i),(function(e){A0(e,n,r,t)}));else{var o=O0(n,r);Object(l["k"])(o.keys(),(function(e){var r=o.get(e);S0(r.oldSeries,r.newSeries,t)}))}Object(l["k"])(r.updatedSeries,(function(e){e[pp]&&(e[pp]=!1)}))}for(var a=e.getSeries(),s=n.oldSeries=[],u=n.oldDataGroupIds=[],c=n.oldData=[],d=0;d<a.length;d++){var h=a[d].getData();h.count()<c0&&(s.push(a[d]),u.push(a[d].get("dataGroupId")),c.push(h))}}))}r.d(t,"c",(function(){return g_})),r.d(t,"d",(function(){return D_})),r.d(t,"a",(function(){return E_})),r.d(t,"b",(function(){return i})),R_([Pw]),R_([mk]),R_([mM,fC,RC,RL,nA,vE,mI,Vj,lR,yR,LR,jB,fY,DY,oF,fF,RF,GF,kz,Iz,Jz,OV]),R_(CU),R_(yW),R_(gE),R_(UW),R_(IB),R_(e$),R_(y$),R_(rq),R_(Bq),R_(MU),R_(yX),R_(wX),R_(UX),R_(gK),R_(OK),R_(zK),R_(gZ),R_(ZZ),R_(IZ),R_(KZ),R_(GJ),R_(YJ),R_($J),R_(QJ),R_(gQ),R_(bQ),R_(D0),R_(kw)},"31f4":function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},"323e":function(e,t,r){var n,i;
|
||
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
* @license MIT */(function(o,a){n=a,i="function"===typeof n?n.call(t,r,t,e):n,void 0===i||(e.exports=i)})(0,(function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function r(e,t,r){return e<t?t:e>r?r:e}function n(e){return 100*(-1+e)}function i(e,r,i){var o;return o="translate3d"===t.positionUsing?{transform:"translate3d("+n(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+n(e)+"%,0)"}:{"margin-left":n(e)+"%"},o.transition="all "+r+"ms "+i,o}e.configure=function(e){var r,n;for(r in e)n=e[r],void 0!==n&&e.hasOwnProperty(r)&&(t[r]=n);return this},e.status=null,e.set=function(n){var s=e.isStarted();n=r(n,t.minimum,1),e.status=1===n?null:n;var l=e.render(!s),u=l.querySelector(t.barSelector),c=t.speed,d=t.easing;return l.offsetWidth,o((function(r){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(u,i(n,c,d)),1===n?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){e.remove(),r()}),c)}),c)):setTimeout(r,c)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var r=function(){setTimeout((function(){e.status&&(e.trickle(),r())}),t.trickleSpeed)};return t.trickle&&r(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var n=e.status;return n?("number"!==typeof t&&(t=(1-n)*r(Math.random()*n,.1,.95)),n=r(n+t,0,.994),e.set(n)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,r=0;e.promise=function(n){return n&&"resolved"!==n.state()?(0===r&&e.start(),t++,r++,n.always((function(){r--,0===r?(t=0,e.done()):e.set((t-r)/t)})),this):this}}(),e.render=function(r){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=t.template;var o,s=i.querySelector(t.barSelector),u=r?"-100":n(e.status||0),c=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),t.showSpinner||(o=i.querySelector(t.spinnerSelector),o&&d(o)),c!=document.body&&l(c,"nprogress-custom-parent"),c.appendChild(i),i},e.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=function(){var e=[];function t(){var r=e.shift();r&&r(t)}return function(r){e.push(r),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function n(t){var r=document.body.style;if(t in r)return t;var n,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);while(i--)if(n=e[i]+o,n in r)return n;return t}function i(e){return e=r(e),t[e]||(t[e]=n(e))}function o(e,t,r){t=i(t),e.style[t]=r}return function(e,t){var r,n,i=arguments;if(2==i.length)for(r in t)n=t[r],void 0!==n&&t.hasOwnProperty(r)&&o(e,r,n);else o(e,i[1],i[2])}}();function s(e,t){var r="string"==typeof e?e:c(e);return r.indexOf(" "+t+" ")>=0}function l(e,t){var r=c(e),n=r+t;s(r,t)||(e.className=n.substring(1))}function u(e,t){var r,n=c(e);s(e,t)&&(r=n.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e}))},3252:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,a=r.x64={};a.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=i.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}})}(),e}))},"32a6":function(e,t,r){var n=r("241e"),i=r("c3a1");r("ce7e")("keys",(function(){return function(e){return i(n(e))}}))},"32d7":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},"32e9":function(e,t,r){var n=r("86cc"),i=r("4630");e.exports=r("9e1e")?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},"32fc":function(e,t,r){var n=r("e53d").document;e.exports=n&&n.documentElement},"335c":function(e,t,r){var n=r("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},"335d":function(e,t,r){},"33a4":function(e,t,r){var n=r("84f2"),i=r("2b4c")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},3452:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"),r("17e1"),r("a8ce"),r("1132"),r("c1bc"),r("72fe"),r("df2f"),r("94f8"),r("191b"),r("d6e6"),r("b86b"),r("e61b"),r("10b7"),r("5980"),r("7bbcc"),r("2b79"),r("38ba"),r("00bb"),r("f4ea"),r("aaef"),r("4ba91"),r("81bf"),r("a817"),r("a11b"),r("8cef"),r("2a66"),r("b86c"),r("6d08"),r("c198"),r("a40e"),r("c3b6"),r("1382"),r("3d5a"),r("af5b"))})(0,(function(e){return e}))},"34ef":function(e,t,r){r("ec30")("Uint8",1,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},3535:function(e,t,r){"use strict";var n=r("5ca1"),i=r("02f4")(!0),o=r("79e5"),a=o((function(){return"𠮷"!=="𠮷".at(0)}));n(n.P+n.F*a,"String",{at:function(e){return i(this,e)}})},"355d":function(e,t){t.f={}.propertyIsEnumerable},"357d":function(e,t,r){},"35e8":function(e,t,r){var n=r("d9f6"),i=r("aebd");e.exports=r("8e60")?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},3648:function(e,t,r){},"366e":function(e,t,r){e.exports=r("ccb9").f("toPrimitive")},"36bd":function(e,t,r){"use strict";var n=r("4bf8"),i=r("77f1"),o=r("9def");e.exports=function(e){var t=n(this),r=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),l=a>2?arguments[2]:void 0,u=void 0===l?r:i(l,r);while(u>s)t[s++]=e;return t}},"36c3":function(e,t,r){var n=r("335c"),i=r("25eb");e.exports=function(e){return n(i(e))}},3702:function(e,t,r){var n=r("481b"),i=r("5168")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},"373f":function(e,t,r){"use strict";var n=r("5ca1"),i=r("6821"),o=[].join;n(n.P+n.F*(r("626a")!=Object||!r("2f21")(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},"37a7":function(e,t,r){var n=r("f400"),i=r("5ca1"),o=r("5537")("metadata"),a=o.store||(o.store=new(r("10ad"))),s=function(e,t,r){var i=a.get(e);if(!i){if(!r)return;a.set(e,i=new n)}var o=i.get(t);if(!o){if(!r)return;i.set(t,o=new n)}return o},l=function(e,t,r){var n=s(t,r,!1);return void 0!==n&&n.has(e)},u=function(e,t,r){var n=s(t,r,!1);return void 0===n?void 0:n.get(e)},c=function(e,t,r,n){s(r,n,!0).set(e,t)},d=function(e,t){var r=s(e,t,!1),n=[];return r&&r.forEach((function(e,t){n.push(t)})),n},h=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},f=function(e){i(i.S,"Reflect",e)};e.exports={store:a,map:s,has:l,get:u,set:c,keys:d,key:h,exp:f}},"37b5":function(e,t,r){"use strict";var n=r("5ca1"),i=r("7726"),o=r("8378"),a=r("8079")(),s=r("2b4c")("observable"),l=r("d8e8"),u=r("cb7c"),c=r("f605"),d=r("dcbc"),h=r("32e9"),f=r("4a59"),p=f.RETURN,m=function(e){return null==e?void 0:l(e)},g=function(e){var t=e._c;t&&(e._c=void 0,t())},v=function(e){return void 0===e._o},y=function(e){v(e)||(e._o=void 0,g(e))},b=function(e,t){u(e),this._c=void 0,this._o=e,e=new _(this);try{var r=t(e),n=r;null!=r&&("function"===typeof r.unsubscribe?r=function(){n.unsubscribe()}:l(r),this._c=r)}catch(i){return void e.error(i)}v(this)&&g(this)};b.prototype=d({},{unsubscribe:function(){y(this)}});var _=function(e){this._s=e};_.prototype=d({},{next:function(e){var t=this._s;if(!v(t)){var r=t._o;try{var n=m(r.next);if(n)return n.call(r,e)}catch(i){try{y(t)}finally{throw i}}}},error:function(e){var t=this._s;if(v(t))throw e;var r=t._o;t._o=void 0;try{var n=m(r.error);if(!n)throw e;e=n.call(r,e)}catch(i){try{g(t)}finally{throw i}}return g(t),e},complete:function(e){var t=this._s;if(!v(t)){var r=t._o;t._o=void 0;try{var n=m(r.complete);e=n?n.call(r,e):void 0}catch(i){try{g(t)}finally{throw i}}return g(t),e}}});var w=function(e){c(this,w,"Observable","_f")._f=l(e)};d(w.prototype,{subscribe:function(e){return new b(e,this._f)},forEach:function(e){var t=this;return new(o.Promise||i.Promise)((function(r,n){l(e);var i=t.subscribe({next:function(t){try{return e(t)}catch(r){n(r),i.unsubscribe()}},error:n,complete:r})}))}}),d(w,{from:function(e){var t="function"===typeof this?this:w,r=m(u(e)[s]);if(r){var n=u(r.call(e));return n.constructor===t?n:new t((function(e){return n.subscribe(e)}))}return new t((function(t){var r=!1;return a((function(){if(!r){try{if(f(e,!1,(function(e){if(t.next(e),r)return p}))===p)return}catch(n){if(r)throw n;return void t.error(n)}t.complete()}})),function(){r=!0}}))},of:function(){for(var e=0,t=arguments.length,r=new Array(t);e<t;)r[e]=arguments[e++];return new("function"===typeof this?this:w)((function(e){var t=!1;return a((function(){if(!t){for(var n=0;n<r.length;++n)if(e.next(r[n]),t)return;e.complete()}})),function(){t=!0}}))}}),h(w.prototype,s,(function(){return this})),n(n.G,{Observable:w}),r("7a56")("Observable")},"37c8":function(e,t,r){t.f=r("2b4c")},3846:function(e,t,r){r("9e1e")&&"g"!=/./g.flags&&r("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:r("0bfb")})},"386b":function(e,t,r){var n=r("5ca1"),i=r("79e5"),o=r("be13"),a=/"/g,s=function(e,t,r,n){var i=String(o(e)),s="<"+t;return""!==r&&(s+=" "+r+'="'+String(n).replace(a,""")+'"'),s+">"+i+"</"+t+">"};e.exports=function(e,t){var r={};r[e]=t(s),n(n.P+n.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",r)}},"386d":function(e,t,r){"use strict";var n=r("cb7c"),i=r("83a1"),o=r("5f1b");r("214f")("search",1,(function(e,t,r,a){return[function(r){var n=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,n):new RegExp(r)[t](String(n))},function(e){var t=a(r,e,this);if(t.done)return t.value;var s=n(e),l=String(this),u=s.lastIndex;i(u,0)||(s.lastIndex=0);var c=o(s,l);return i(s.lastIndex,u)||(s.lastIndex=u),null===c?-1:c.index}]}))},"387f":function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e}},3886:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}});return t}))},"38ba":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("2b79"))})(0,(function(e){e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,a=n.BufferedBlockAlgorithm,s=r.enc,l=(s.Utf8,s.Base64),u=r.algo,c=u.EvpKDF,d=n.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?k:_}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),h=(n.StreamCipher=d.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),r.mode={}),f=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=h.CBC=function(){var e=f.extend();function r(e,r,n){var i,o=this._iv;o?(i=o,this._iv=t):i=this._prevBlock;for(var a=0;a<n;a++)e[r+a]^=i[a]}return e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),e.Decryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=e.slice(t,t+i);n.decryptBlock(e,t),r.call(this,e,t,i),this._prevBlock=o}}),e}(),m=r.pad={},g=m.Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(i);var l=o.create(a,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},v=(n.BlockCipher=d.extend({cfg:d.cfg.extend({mode:p,padding:g}),reset:function(){var e;d.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=r.format={},b=y.OpenSSL={stringify:function(e){var t,r=e.ciphertext,n=e.salt;return t=n?o.create([1398893684,1701076831]).concat(n).concat(r):r,t.toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=o.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),v.create({ciphertext:r,salt:t})}},_=n.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),a=i.cfg;return v.create({ciphertext:o,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=e.createDecryptor(r,n).finalize(t.ciphertext);return i},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=r.kdf={},x=w.OpenSSL={execute:function(e,t,r,n,i){if(n||(n=o.random(8)),i)a=c.create({keySize:t+r,hasher:i}).compute(e,n);else var a=c.create({keySize:t+r}).compute(e,n);var s=o.create(a.words.slice(t),4*r);return a.sigBytes=4*t,v.create({key:a,iv:s,salt:n})}},k=n.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:x}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=n.kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var o=_.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);n.iv=i.iv;var o=_.decrypt.call(this,e,t,i.key,n);return o}})}()}))},"38fd":function(e,t,r){var n=r("69a8"),i=r("4bf8"),o=r("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},3934:function(e,t,r){"use strict";var n=r("c532");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return function(){return!0}}()},3938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarConfig=void 0;var n={show:!0,name:"",data:[],radarStyle:{lineWidth:1},point:{show:!0,radius:2,style:{fill:"#fff"}},label:{show:!0,offset:[0,0],labelGap:5,formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrane:50};t.radarConfig=n},3953:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r("f921"),i=r.n(n),o=r("d8d6"),a=r.n(o),s=r("d2d5"),l=r.n(s);function u(e){if("undefined"!==typeof i.a&&null!=e[a.a]||null!=e["@@iterator"])return l()(e)}},"39a6":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},"39bd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,r,n){var i="";if(t)switch(r){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे";break}else switch(r){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां";break}return i.replace(/%d/i,e)}var i=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,r){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i}))},"3a38":function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},"3a39":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,r){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return n}))},"3a6c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"3a72":function(e,t,r){var n=r("7726"),i=r("8378"),o=r("2d00"),a=r("37c8"),s=r("86cc").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"3a9c":function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=r("d8e8"),a=n.key,s=n.set;n.exp({metadata:function(e,t){return function(r,n){s(e,t,(void 0!==n?i:o)(r),a(n))}}})},"3b1b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},r=e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}});return r}))},"3b2b":function(e,t,r){var n=r("7726"),i=r("5dbc"),o=r("86cc").f,a=r("9093").f,s=r("aae3"),l=r("0bfb"),u=n.RegExp,c=u,d=u.prototype,h=/a/g,f=/a/g,p=new u(h)!==h;if(r("9e1e")&&(!p||r("79e5")((function(){return f[r("2b4c")("match")]=!1,u(h)!=h||u(f)==f||"/a/i"!=u(h,"i")})))){u=function(e,t){var r=this instanceof u,n=s(e),o=void 0===t;return!r&&n&&e.constructor===u&&o?e:i(p?new c(n&&!o?e.source:e,t):c((n=e instanceof u)?e.source:e,n&&o?l.call(e):t),r?this:d,u)};for(var m=function(e){e in u||o(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},g=a(c),v=0;g.length>v;)m(g[v++]);d.constructor=u,u.prototype=d,r("2aba")(n,"RegExp",u)}r("7a56")("RegExp")},"3b8d":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("696e"),i=r.n(n);function o(e,t,r,n,o,a,s){try{var l=e[a](s),u=l.value}catch(c){return void r(c)}l.done?t(u):i.a.resolve(u).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new i.a((function(n,i){var a=e.apply(t,r);function s(e){o(a,n,i,s,l,"next",e)}function l(e){o(a,n,i,s,l,"throw",e)}s(void 0)}))}}},"3c0d":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!==~~(e/10)}function a(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?i+(o(e)?"dny":"dní"):i+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?i+(o(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?i+(o(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3c0e":function(e,t,r){},"3c11":function(e,t,r){"use strict";var n=r("63b6"),i=r("584a"),o=r("e53d"),a=r("f201"),s=r("cd78");n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then((function(){return r}))}:e,r?function(r){return s(t,e()).then((function(){throw r}))}:e)}})},"3c4e":function(e,t,r){"use strict";var n=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var r=t&&!0===t.clone;return r&&n(e)?f(u(e),e,t):e}function d(e,t,r){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,r):n(t)?i[o]=f(e[o],t,r):-1===e.indexOf(t)&&i.push(c(t,r))})),i}function h(e,t,r){var i={};return n(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],r)})),Object.keys(t).forEach((function(o){n(t[o])&&e[o]?i[o]=f(e[o],t[o],r):i[o]=c(t[o],r)})),i}function f(e,t,r){var n=Array.isArray(t),i=Array.isArray(e),o=r||{arrayMerge:d},a=n===i;if(a){if(n){var s=o.arrayMerge||d;return s(e,t,r)}return h(e,t,r)}return c(t,r)}f.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,r){return f(e,r,t)}))};var p=f;e.exports=p},"3ca5":function(e,t,r){var n=r("7726").parseInt,i=r("aa77").trim,o=r("fdef"),a=/^[-+]?0[xX]/;e.exports=8!==n(o+"08")||22!==n(o+"0x16")?function(e,t){var r=i(String(e),3);return n(r,t>>>0||(a.test(r)?16:10))}:n},"3d5a":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.StreamCipher,i=t.algo,o=[],a=[],s=[],l=i.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)u.call(this);for(i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&c,h=c<<16|65535&l;n[0]^=l,n[1]^=d,n[2]^=c,n[3]^=h,n[4]^=l,n[5]^=d,n[6]^=c,n[7]^=h;for(i=0;i<4;i++)u.call(this)}},_doProcessBlock:function(e,t){var r=this._X;u.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=n._createHelper(l)}(),e.RabbitLegacy}))},"3de5":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},r={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},n=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,r){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return n}))},"3e8a":function(e,t,r){},"3e92":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},r={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},n=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return n}))},"3f6b":function(e,t,r){e.exports={default:r("51b6"),__esModule:!0}},"3f71":function(e,t,r){var n=r("0d58"),i=r("6821");e.exports=function(e,t){var r,o=i(e),a=n(o),s=a.length,l=0;while(s>l)if(o[r=a[l++]]===t)return r}},"40b3":function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s="./index.js")}({"./index.js":
|
||
/*!******************!*\
|
||
!*** ./index.js ***!
|
||
\******************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./src/cos */"./src/cos.js");e.exports=n},"./lib/base64.js":
|
||
/*!***********************!*\
|
||
!*** ./lib/base64.js ***!
|
||
\***********************/
|
||
/*! no static exports found */function(e,t){var r=function(e){e=e||{};var t,r=e.Base64,n="2.1.9",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=function(e){for(var t={},r=0,n=e.length;r<n;r++)t[e.charAt(r)]=r;return t}(i),a=String.fromCharCode,s=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?a(192|t>>>6)+a(128|63&t):a(224|t>>>12&15)+a(128|t>>>6&63)+a(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return a(240|t>>>18&7)+a(128|t>>>12&63)+a(128|t>>>6&63)+a(128|63&t)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,u=function(e){return e.replace(l,s)},c=function(e){var t=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),n=[i.charAt(r>>>18),i.charAt(r>>>12&63),t>=2?"=":i.charAt(r>>>6&63),t>=1?"=":i.charAt(63&r)];return n.join("")},d=e.btoa?function(t){return e.btoa(t)}:function(e){return e.replace(/[\s\S]{1,3}/g,c)},h=t?function(e){return(e.constructor===t.constructor?e:new t(e)).toString("base64")}:function(e){return d(u(e))},f=function(e,t){return t?h(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):h(String(e))},p=function(e){return f(e,!0)},m=new RegExp(["[À-ß][-¿]","[à-ï][-¿]{2}","[ð-÷][-¿]{3}"].join("|"),"g"),g=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),r=t-65536;return a(55296+(r>>>10))+a(56320+(1023&r));case 3:return a((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return a((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},v=function(e){return e.replace(m,g)},y=function(e){var t=e.length,r=t%4,n=(t>0?o[e.charAt(0)]<<18:0)|(t>1?o[e.charAt(1)]<<12:0)|(t>2?o[e.charAt(2)]<<6:0)|(t>3?o[e.charAt(3)]:0),i=[a(n>>>16),a(n>>>8&255),a(255&n)];return i.length-=[0,0,2,1][r],i.join("")},b=e.atob?function(t){return e.atob(t)}:function(e){return e.replace(/[\s\S]{1,4}/g,y)},_=t?function(e){return(e.constructor===t.constructor?e:new t(e,"base64")).toString()}:function(e){return v(b(e))},w=function(e){return _(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(){var t=e.Base64;return e.Base64=r,t},k={VERSION:n,atob:b,btoa:d,fromBase64:w,toBase64:f,utob:u,encode:f,encodeURI:p,btou:v,decode:w,noConflict:x};return k}();e.exports=r},"./lib/crypto.js":
|
||
/*!***********************!*\
|
||
!*** ./lib/crypto.js ***!
|
||
\***********************/
|
||
/*! no static exports found */function(e,t,r){(function(e){var t=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),n=n||function(e,t){var r={},n=r.lib={},i=function(){},o=n.Base={extend:function(e){i.prototype=this;var t=new i;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=n.WordArray=o.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes;if(e=e.sigBytes,this.clamp(),n%4)for(var i=0;i<e;i++)t[n+i>>>2]|=(r[i>>>2]>>>24-i%4*8&255)<<24-(n+i)%4*8;else if(65535<r.length)for(i=0;i<e;i+=4)t[n+i>>>2]=r[i>>>2];else t.push.apply(t,r);return this.sigBytes+=e,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r=[],n=0;n<t;n+=4)r.push(4294967296*e.random()|0);return new a.init(r,t)}}),s=r.enc={},l=s.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n<e;n++){var i=t[n>>>2]>>>24-n%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(r,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n<e;n++)r.push(String.fromCharCode(t[n>>>2]>>>24-n%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(r,t)}},c=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,s=i/(4*o);s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0);if(t=s*o,i=e.min(4*t,i),t){for(var l=0;l<t;l+=o)this._doProcessBlock(n,l);l=n.splice(0,t),r.sigBytes-=i}return new a.init(l,i)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});n.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new h.HMAC.init(e,r).finalize(t)}}});var h=r.algo={};return r}(Math);(function(){var e=n,t=e.lib,r=t.WordArray,i=t.Hasher,o=[];t=e.algo.SHA1=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],s=r[3],l=r[4],u=0;80>u;u++){if(16>u)o[u]=0|e[t+u];else{var c=o[u-3]^o[u-8]^o[u-14]^o[u-16];o[u]=c<<1|c>>>31}c=(n<<5|n>>>27)+l+o[u],c=20>u?c+(1518500249+(i&a|~i&s)):40>u?c+(1859775393+(i^a^s)):60>u?c+((i&a|i&s|a&s)-1894007588):c+((i^a^s)-899497514),l=s,s=a,a=i<<30|i>>>2,i=n,n=c}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=i._createHelper(t),e.HmacSHA1=i._createHmacHelper(t)})(),function(){var e=n,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,r){e=this._hasher=new e.init,"string"==typeof r&&(r=t.parse(r));var n=e.blockSize,i=4*n;r.sigBytes>i&&(r=e.finalize(r)),r.clamp();for(var o=this._oKey=r.clone(),a=this._iKey=r.clone(),s=o.words,l=a.words,u=0;u<n;u++)s[u]^=1549556828,l[u]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}(),function(){var e=n,t=e.lib,r=t.WordArray,i=e.enc;i.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var a=t[o>>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,l=t[o+2>>>2]>>>24-(o+2)%4*8&255,u=a<<16|s<<8|l,c=0;c<4&&o+.75*c<r;c++)i.push(n.charAt(u>>>6*(3-c)&63));var d=n.charAt(64);if(d)while(i.length%4)i.push(d);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=n.charAt(64);if(i){var o=e.indexOf(i);-1!=o&&(t=o)}for(var a=[],s=0,l=0;l<t;l++)if(l%4){var u=n.indexOf(e.charAt(l-1))<<l%4*2,c=n.indexOf(e.charAt(l))>>>6-l%4*2;a[s>>>2]|=(u|c)<<24-s%4*8,s++}return r.create(a,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),"object"===t(e)?e.exports=n:window.CryptoJS=n}).call(this,r(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./lib/json2xml.js":
|
||
/*!*************************!*\
|
||
!*** ./lib/json2xml.js ***!
|
||
\*************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i="a-zA-Z_À-ÖØ-öø-ÿͰ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>",o="-.0-9·̀-ͯ‿⁀",a=new RegExp("^([^"+i+"])|^((x|X)(m|M)(l|L))|([^"+i+o+"])","g"),s=/[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm,l=function(e){var t=[];if(e instanceof Object)for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t},u=function(e,t){var r=function(e,r,n,i,o){var s=void 0!==t.indent?t.indent:"\t",l=t.prettyPrint?"\n"+new Array(i).join(s):"";t.removeIllegalNameCharacters&&(e=e.replace(a,"_"));var u=[l,"<",e,n||""];return r&&r.length>0?(u.push(">"),u.push(r),o&&u.push(l),u.push("</"),u.push(e),u.push(">")):u.push("/>"),u.join("")};return function e(i,o,a){var s=n(i);switch((Array.isArray?Array.isArray(i):i instanceof Array)?s="array":i instanceof Date&&(s="date"),s){case"array":var u=[];return i.map((function(t){u.push(e(t,1,a+1))})),t.prettyPrint&&u.push("\n"),u.join("");case"date":return i.toJSON?i.toJSON():i+"";case"object":var c=[];for(var h in i)if(i.hasOwnProperty(h))if(i[h]instanceof Array)for(var f=0;f<i[h].length;f++)i[h].hasOwnProperty(f)&&c.push(r(h,e(i[h][f],0,a+1),null,a+1,l(i[h][f]).length));else c.push(r(h,e(i[h],0,a+1),null,a+1));return t.prettyPrint&&c.length>0&&c.push("\n"),c.join("");case"function":return i();default:return t.escape?d(i):""+i}}(e,0,0)},c=function(e){var t=['<?xml version="1.0" encoding="UTF-8"'];return e&&t.push(' standalone="yes"'),t.push("?>"),t.join("")};function d(e){return(""+e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(s,"")}e.exports=function(e,t){if(t||(t={xmlHeader:{standalone:!0},prettyPrint:!0,indent:" ",escape:!0}),"string"==typeof e)try{e=JSON.parse(e.toString())}catch(a){return!1}var r="",i="";t&&("object"==n(t)?(t.xmlHeader&&(r=c(!!t.xmlHeader.standalone)),"undefined"!=typeof t.docType&&(i="<!DOCTYPE "+t.docType+">")):r=c()),t=t||{};var o=[r,t.prettyPrint&&i?"\n":"",i,u(e,t)];return o.join("").replace(/\n{2,}/g,"\n").replace(/\s+$/g,"")}},"./lib/md5.js":
|
||
/*!********************!*\
|
||
!*** ./lib/md5.js ***!
|
||
\********************/
|
||
/*! no static exports found */function(e,t,r){(function(e){var t,n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");(function(){"use strict";var i="object"===("undefined"===typeof window?"undefined":n(window)),o=i?window:{};o.JS_MD5_NO_WINDOW&&(i=!1);var a=!i&&"object"===("undefined"===typeof self?"undefined":n(self));a&&(o=self);var s,l=!o.JS_MD5_NO_COMMON_JS&&"object"===n(e)&&e.exports,u=r(/*! !webpack amd options */"./node_modules/webpack/buildin/amd-options.js"),c=!o.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,d="0123456789abcdef".split(""),h=[128,32768,8388608,-2147483648],f=[0,8,16,24],p=["hex","array","digest","buffer","arrayBuffer","base64"],m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(c){var v=new ArrayBuffer(68);s=new Uint8Array(v),g=new Uint32Array(v)}!o.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!c||!o.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===n(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});var y=function(e){return function(t,r){return new _(!0).update(t,r)[e]()}},b=function(){var e=y("hex");e.getCtx=e.create=function(){return new _},e.update=function(t){return e.create().update(t)};for(var t=0;t<p.length;++t){var r=p[t];e[r]=y(r)}return e};function _(e){if(e)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=s;else if(c){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}_.prototype.update=function(e,t){if(!this.finalized){var r,n,i=0,o=e.length,a=this.blocks,s=this.buffer8;while(i<o){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),c)for(n=this.start;i<o&&n<64;++i)r=e.charCodeAt(i),t||r<128?s[n++]=r:r<2048?(s[n++]=192|r>>6,s[n++]=128|63&r):r<55296||r>=57344?(s[n++]=224|r>>12,s[n++]=128|r>>6&63,s[n++]=128|63&r):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++i)),s[n++]=240|r>>18,s[n++]=128|r>>12&63,s[n++]=128|r>>6&63,s[n++]=128|63&r);else for(n=this.start;i<o&&n<64;++i)r=e.charCodeAt(i),t||r<128?a[n>>2]|=r<<f[3&n++]:r<2048?(a[n>>2]|=(192|r>>6)<<f[3&n++],a[n>>2]|=(128|63&r)<<f[3&n++]):r<55296||r>=57344?(a[n>>2]|=(224|r>>12)<<f[3&n++],a[n>>2]|=(128|r>>6&63)<<f[3&n++],a[n>>2]|=(128|63&r)<<f[3&n++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++i)),a[n>>2]|=(240|r>>18)<<f[3&n++],a[n>>2]|=(128|r>>12&63)<<f[3&n++],a[n>>2]|=(128|r>>6&63)<<f[3&n++],a[n>>2]|=(128|63&r)<<f[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},_.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=h[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},_.prototype.hash=function(){var e,t,r,n,i,o,a=this.blocks;this.first?(e=a[0]-680876937,e=(e<<7|e>>>25)-271733879<<0,n=(-1732584194^2004318071&e)+a[1]-117830708,n=(n<<12|n>>>20)+e<<0,r=(-271733879^n&(-271733879^e))+a[2]-1126478375,r=(r<<17|r>>>15)+n<<0,t=(e^r&(n^e))+a[3]-1316259209,t=(t<<22|t>>>10)+r<<0):(e=this.h0,t=this.h1,r=this.h2,n=this.h3,e+=(n^t&(r^n))+a[0]-680876936,e=(e<<7|e>>>25)+t<<0,n+=(r^e&(t^r))+a[1]-389564586,n=(n<<12|n>>>20)+e<<0,r+=(t^n&(e^t))+a[2]+606105819,r=(r<<17|r>>>15)+n<<0,t+=(e^r&(n^e))+a[3]-1044525330,t=(t<<22|t>>>10)+r<<0),e+=(n^t&(r^n))+a[4]-176418897,e=(e<<7|e>>>25)+t<<0,n+=(r^e&(t^r))+a[5]+1200080426,n=(n<<12|n>>>20)+e<<0,r+=(t^n&(e^t))+a[6]-1473231341,r=(r<<17|r>>>15)+n<<0,t+=(e^r&(n^e))+a[7]-45705983,t=(t<<22|t>>>10)+r<<0,e+=(n^t&(r^n))+a[8]+1770035416,e=(e<<7|e>>>25)+t<<0,n+=(r^e&(t^r))+a[9]-1958414417,n=(n<<12|n>>>20)+e<<0,r+=(t^n&(e^t))+a[10]-42063,r=(r<<17|r>>>15)+n<<0,t+=(e^r&(n^e))+a[11]-1990404162,t=(t<<22|t>>>10)+r<<0,e+=(n^t&(r^n))+a[12]+1804603682,e=(e<<7|e>>>25)+t<<0,n+=(r^e&(t^r))+a[13]-40341101,n=(n<<12|n>>>20)+e<<0,r+=(t^n&(e^t))+a[14]-1502002290,r=(r<<17|r>>>15)+n<<0,t+=(e^r&(n^e))+a[15]+1236535329,t=(t<<22|t>>>10)+r<<0,e+=(r^n&(t^r))+a[1]-165796510,e=(e<<5|e>>>27)+t<<0,n+=(t^r&(e^t))+a[6]-1069501632,n=(n<<9|n>>>23)+e<<0,r+=(e^t&(n^e))+a[11]+643717713,r=(r<<14|r>>>18)+n<<0,t+=(n^e&(r^n))+a[0]-373897302,t=(t<<20|t>>>12)+r<<0,e+=(r^n&(t^r))+a[5]-701558691,e=(e<<5|e>>>27)+t<<0,n+=(t^r&(e^t))+a[10]+38016083,n=(n<<9|n>>>23)+e<<0,r+=(e^t&(n^e))+a[15]-660478335,r=(r<<14|r>>>18)+n<<0,t+=(n^e&(r^n))+a[4]-405537848,t=(t<<20|t>>>12)+r<<0,e+=(r^n&(t^r))+a[9]+568446438,e=(e<<5|e>>>27)+t<<0,n+=(t^r&(e^t))+a[14]-1019803690,n=(n<<9|n>>>23)+e<<0,r+=(e^t&(n^e))+a[3]-187363961,r=(r<<14|r>>>18)+n<<0,t+=(n^e&(r^n))+a[8]+1163531501,t=(t<<20|t>>>12)+r<<0,e+=(r^n&(t^r))+a[13]-1444681467,e=(e<<5|e>>>27)+t<<0,n+=(t^r&(e^t))+a[2]-51403784,n=(n<<9|n>>>23)+e<<0,r+=(e^t&(n^e))+a[7]+1735328473,r=(r<<14|r>>>18)+n<<0,t+=(n^e&(r^n))+a[12]-1926607734,t=(t<<20|t>>>12)+r<<0,i=t^r,e+=(i^n)+a[5]-378558,e=(e<<4|e>>>28)+t<<0,n+=(i^e)+a[8]-2022574463,n=(n<<11|n>>>21)+e<<0,o=n^e,r+=(o^t)+a[11]+1839030562,r=(r<<16|r>>>16)+n<<0,t+=(o^r)+a[14]-35309556,t=(t<<23|t>>>9)+r<<0,i=t^r,e+=(i^n)+a[1]-1530992060,e=(e<<4|e>>>28)+t<<0,n+=(i^e)+a[4]+1272893353,n=(n<<11|n>>>21)+e<<0,o=n^e,r+=(o^t)+a[7]-155497632,r=(r<<16|r>>>16)+n<<0,t+=(o^r)+a[10]-1094730640,t=(t<<23|t>>>9)+r<<0,i=t^r,e+=(i^n)+a[13]+681279174,e=(e<<4|e>>>28)+t<<0,n+=(i^e)+a[0]-358537222,n=(n<<11|n>>>21)+e<<0,o=n^e,r+=(o^t)+a[3]-722521979,r=(r<<16|r>>>16)+n<<0,t+=(o^r)+a[6]+76029189,t=(t<<23|t>>>9)+r<<0,i=t^r,e+=(i^n)+a[9]-640364487,e=(e<<4|e>>>28)+t<<0,n+=(i^e)+a[12]-421815835,n=(n<<11|n>>>21)+e<<0,o=n^e,r+=(o^t)+a[15]+530742520,r=(r<<16|r>>>16)+n<<0,t+=(o^r)+a[2]-995338651,t=(t<<23|t>>>9)+r<<0,e+=(r^(t|~n))+a[0]-198630844,e=(e<<6|e>>>26)+t<<0,n+=(t^(e|~r))+a[7]+1126891415,n=(n<<10|n>>>22)+e<<0,r+=(e^(n|~t))+a[14]-1416354905,r=(r<<15|r>>>17)+n<<0,t+=(n^(r|~e))+a[5]-57434055,t=(t<<21|t>>>11)+r<<0,e+=(r^(t|~n))+a[12]+1700485571,e=(e<<6|e>>>26)+t<<0,n+=(t^(e|~r))+a[3]-1894986606,n=(n<<10|n>>>22)+e<<0,r+=(e^(n|~t))+a[10]-1051523,r=(r<<15|r>>>17)+n<<0,t+=(n^(r|~e))+a[1]-2054922799,t=(t<<21|t>>>11)+r<<0,e+=(r^(t|~n))+a[8]+1873313359,e=(e<<6|e>>>26)+t<<0,n+=(t^(e|~r))+a[15]-30611744,n=(n<<10|n>>>22)+e<<0,r+=(e^(n|~t))+a[6]-1560198380,r=(r<<15|r>>>17)+n<<0,t+=(n^(r|~e))+a[13]+1309151649,t=(t<<21|t>>>11)+r<<0,e+=(r^(t|~n))+a[4]-145523070,e=(e<<6|e>>>26)+t<<0,n+=(t^(e|~r))+a[11]-1120210379,n=(n<<10|n>>>22)+e<<0,r+=(e^(n|~t))+a[2]+718787259,r=(r<<15|r>>>17)+n<<0,t+=(n^(r|~e))+a[9]-343485551,t=(t<<21|t>>>11)+r<<0,this.first?(this.h0=e+1732584193<<0,this.h1=t-271733879<<0,this.h2=r-1732584194<<0,this.h3=n+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+r<<0,this.h3=this.h3+n<<0)},_.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3;return d[e>>4&15]+d[15&e]+d[e>>12&15]+d[e>>8&15]+d[e>>20&15]+d[e>>16&15]+d[e>>28&15]+d[e>>24&15]+d[t>>4&15]+d[15&t]+d[t>>12&15]+d[t>>8&15]+d[t>>20&15]+d[t>>16&15]+d[t>>28&15]+d[t>>24&15]+d[r>>4&15]+d[15&r]+d[r>>12&15]+d[r>>8&15]+d[r>>20&15]+d[r>>16&15]+d[r>>28&15]+d[r>>24&15]+d[n>>4&15]+d[15&n]+d[n>>12&15]+d[n>>8&15]+d[n>>20&15]+d[n>>16&15]+d[n>>28&15]+d[n>>24&15]},_.prototype.toString=_.prototype.hex,_.prototype.digest=function(e){if("hex"===e)return this.hex();this.finalize();var t=this.h0,r=this.h1,n=this.h2,i=this.h3,o=[255&t,t>>8&255,t>>16&255,t>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255];return o},_.prototype.array=_.prototype.digest,_.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},_.prototype.buffer=_.prototype.arrayBuffer,_.prototype.base64=function(){for(var e,t,r,n="",i=this.array(),o=0;o<15;)e=i[o++],t=i[o++],r=i[o++],n+=m[e>>>2]+m[63&(e<<4|t>>>4)]+m[63&(t<<2|r>>>6)]+m[63&r];return e=i[o],n+=m[e>>>2]+m[e<<4&63]+"==",n};var w=b();l?e.exports=w:(o.md5=w,u&&(t=function(){return w}.call(w,r,w,e),void 0===t||(e.exports=t)))})()}).call(this,r(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./lib/request.js":
|
||
/*!************************!*\
|
||
!*** ./lib/request.js ***!
|
||
\************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=function(e){switch(n(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},o=function(e,t,r,o){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===n(e)?Object.keys(e).map((function(n){var o=encodeURIComponent(i(n))+r;return Array.isArray(e[n])?e[n].map((function(e){return o+encodeURIComponent(i(e))})).join(t):o+encodeURIComponent(i(e[n]))})).filter(Boolean).join(t):o?encodeURIComponent(i(o))+r+encodeURIComponent(i(e)):""},a=function(e,t,r){var n={},i=t.getAllResponseHeaders();return i&&i.length>0&&i.trim().split("\n").forEach((function(e){if(e){var t=e.indexOf(":"),r=e.substr(0,t).trim().toLowerCase(),i=e.substr(t+1).trim();n[r]=i}})),{error:e,statusCode:t.status,statusMessage:t.statusText,headers:n,body:r}},s=function(e,t){return t||"text"!==t?e.response:e.responseText},l=function(e,t){var r=(e.method||"GET").toUpperCase(),n=e.url;if(e.qs){var i=o(e.qs);i&&(n+=(-1===n.indexOf("?")?"?":"&")+i)}var l=new XMLHttpRequest;if(l.open(r,n,!0),l.responseType=e.dataType||"text",e.xhrFields)for(var u in e.xhrFields)l[u]=e.xhrFields[u];var c=e.headers;if(c)for(var d in c)c.hasOwnProperty(d)&&"content-length"!==d.toLowerCase()&&"user-agent"!==d.toLowerCase()&&"origin"!==d.toLowerCase()&&"host"!==d.toLowerCase()&&l.setRequestHeader(d,c[d]);return e.onProgress&&l.upload&&(l.upload.onprogress=e.onProgress),e.onDownloadProgress&&(l.onprogress=e.onDownloadProgress),e.timeout&&(l.timeout=e.timeout),l.ontimeout=function(e){var r=new Error("timeout");t(a(r,l))},l.onload=function(){t(a(null,l,s(l,e.dataType)))},l.onerror=function(r){var n=s(l,e.dataType);if(n)t(a(null,l,n));else{var i=l.statusText;i||0!==l.status||(i=new Error("CORS blocked or network error")),t(a(i,l,n))}},l.send(e.body||""),l};e.exports=l},"./lib/xml2json.js":
|
||
/*!*************************!*\
|
||
!*** ./lib/xml2json.js ***!
|
||
\*************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! @xmldom/xmldom */"./node_modules/@xmldom/xmldom/lib/index.js").DOMParser,i=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var r=this.stringToXML(e);return r.getElementsByTagName("parsererror").length?null:this.parseXML(r,t)}return null},this.parseXML=function(r,n){for(var o in n)e[o]=n[o];var a={},s=0,l="",u=r.childNodes.length;if(u)for(var c,d,h,f=0;f<r.childNodes.length;f++)c=r.childNodes.item(f),4===c.nodeType?e.mergeCDATA&&(l+=c.nodeValue):3===c.nodeType?l+=c.nodeValue:1===c.nodeType&&(0===s&&(a={}),d=e.stripElemPrefix?c.nodeName.replace(t,""):c.nodeName,h=i.parseXML(c),a.hasOwnProperty(d)?(a[d].constructor!==Array&&(a[d]=[a[d]]),a[d].push(h)):(a[d]=h,s++));return Object.keys(a).length||(a=l||""),a},this.xmlToString=function(e){try{var t=e.xml?e.xml:(new XMLSerializer).serializeToString(e);return t}catch(r){return null}},this.stringToXML=function(e){try{var t=null;if(window.DOMParser){var r=new n;return t=r.parseFromString(e,"text/xml"),t}return t=new ActiveXObject("Microsoft.XMLDOM"),t.async=!1,t.loadXML(e),t}catch(i){return null}},this}.call({}),o=function(e){return i.parseString(e)};e.exports=o},"./node_modules/@babel/runtime/helpers/classCallCheck.js":
|
||
/*!***************************************************************!*\
|
||
!*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
||
\***************************************************************/
|
||
/*! no static exports found */function(e,t){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/createClass.js":
|
||
/*!************************************************************!*\
|
||
!*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
|
||
\************************************************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/toPropertyKey.js");function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,n(i.key),i)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":
|
||
/*!************************************************************!*\
|
||
!*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
|
||
\************************************************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js")["default"];function i(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":
|
||
/*!**************************************************************!*\
|
||
!*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
|
||
\**************************************************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js")["default"],i=r(/*! ./toPrimitive.js */"./node_modules/@babel/runtime/helpers/toPrimitive.js");function o(e){var t=i(e,"string");return"symbol"===n(t)?t:String(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":
|
||
/*!*******************************************************!*\
|
||
!*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
|
||
\*******************************************************/
|
||
/*! no static exports found */function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@xmldom/xmldom/lib/conventions.js":
|
||
/*!********************************************************!*\
|
||
!*** ./node_modules/@xmldom/xmldom/lib/conventions.js ***!
|
||
\********************************************************/
|
||
/*! no static exports found */function(e,t,r){"use strict";function n(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"===typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];if(t.call(void 0,i,n,e))return i}}function i(e,t){return void 0===t&&(t=Object),t&&"function"===typeof t.freeze?t.freeze(e):e}function o(e,t){if(null===e||"object"!==typeof e)throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}var a=i({HTML:"text/html",isHTML:function(e){return e===a.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=i({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===s.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=o,t.find=n,t.freeze=i,t.MIME_TYPE=a,t.NAMESPACE=s},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":
|
||
/*!*******************************************************!*\
|
||
!*** ./node_modules/@xmldom/xmldom/lib/dom-parser.js ***!
|
||
\*******************************************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js"),i=r(/*! ./dom */"./node_modules/@xmldom/xmldom/lib/dom.js"),o=r(/*! ./entities */"./node_modules/@xmldom/xmldom/lib/entities.js"),a=r(/*! ./sax */"./node_modules/@xmldom/xmldom/lib/sax.js"),s=i.DOMImplementation,l=n.NAMESPACE,u=a.ParseError,c=a.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function h(e){this.options=e||{locator:{}}}function f(e,t,r){if(!e){if(t instanceof p)return t;e=t}var n={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(r){e(t,r)}:e),n[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+g(r))}||function(){}}return r=r||{},o("warning"),o("error"),o("fatalError"),n}function p(){this.cdata=!1}function m(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function g(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function v(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function y(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}h.prototype.parseFromString=function(e,t){var r=this.options,n=new c,i=r.domBuilder||new p,a=r.errorHandler,s=r.locator,u=r.xmlns||{},h=/\/x?html?$/.test(t),m=h?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),n.errorHandler=f(a,i,s),n.domBuilder=r.domBuilder||i,h&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var g=r.normalizeLineEndings||d;return e&&"string"===typeof e?n.parse(g(e),u,m):n.errorHandler.error("invalid doc source"),i.doc},p.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var i=this.doc,o=i.createElementNS(e,r||t),a=n.length;y(this,o),this.currentElement=o,this.locator&&m(this.locator,o);for(var s=0;s<a;s++){e=n.getURI(s);var l=n.getValue(s),u=(r=n.getQName(s),i.createAttributeNS(e,r));this.locator&&m(n.getLocator(s),u),u.value=u.nodeValue=l,o.setAttributeNode(u)}},endElement:function(e,t,r){var n=this.currentElement;n.tagName;this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&m(this.locator,r),y(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=v.apply(this,arguments),e){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&m(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=v.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&m(this.locator,n),y(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,r);this.locator&&m(this.locator,i),y(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,g(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,g(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){p.prototype[e]=function(){return null}})),t.__DOMHandler=p,t.normalizeLineEndings=d,t.DOMParser=h},"./node_modules/@xmldom/xmldom/lib/dom.js":
|
||
/*!************************************************!*\
|
||
!*** ./node_modules/@xmldom/xmldom/lib/dom.js ***!
|
||
\************************************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js"),i=n.find,o=n.NAMESPACE;function a(e){return""!==e}function s(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}function l(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function u(e){if(!e)return[];var t=s(e);return Object.keys(t.reduce(l,{}))}function c(e){return function(t){return e&&-1!==e.indexOf(t)}}function d(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function h(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,n=new n,d(r,n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var f={},p=f.ELEMENT_NODE=1,m=f.ATTRIBUTE_NODE=2,g=f.TEXT_NODE=3,v=f.CDATA_SECTION_NODE=4,y=f.ENTITY_REFERENCE_NODE=5,b=f.ENTITY_NODE=6,_=f.PROCESSING_INSTRUCTION_NODE=7,w=f.COMMENT_NODE=8,x=f.DOCUMENT_NODE=9,k=f.DOCUMENT_TYPE_NODE=10,S=f.DOCUMENT_FRAGMENT_NODE=11,M=f.NOTATION_NODE=12,C={},T={},O=(C.INDEX_SIZE_ERR=(T[1]="Index size error",1),C.DOMSTRING_SIZE_ERR=(T[2]="DOMString size error",2),C.HIERARCHY_REQUEST_ERR=(T[3]="Hierarchy request error",3)),L=(C.WRONG_DOCUMENT_ERR=(T[4]="Wrong document",4),C.INVALID_CHARACTER_ERR=(T[5]="Invalid character",5),C.NO_DATA_ALLOWED_ERR=(T[6]="No data allowed",6),C.NO_MODIFICATION_ALLOWED_ERR=(T[7]="No modification allowed",7),C.NOT_FOUND_ERR=(T[8]="Not found",8)),A=(C.NOT_SUPPORTED_ERR=(T[9]="Not supported",9),C.INUSE_ATTRIBUTE_ERR=(T[10]="Attribute in use",10));C.INVALID_STATE_ERR=(T[11]="Invalid state",11),C.SYNTAX_ERR=(T[12]="Syntax error",12),C.INVALID_MODIFICATION_ERR=(T[13]="Invalid modification",13),C.NAMESPACE_ERR=(T[14]="Invalid namespace",14),C.INVALID_ACCESS_ERR=(T[15]="Invalid access",15);function D(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,T[e]),this.message=T[e],Error.captureStackTrace&&Error.captureStackTrace(this,D);return r.code=e,t&&(this.message=this.message+": "+t),r}function E(){}function I(e,t){this._node=e,this._refresh=t,j(this)}function j(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(Me(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var n=r.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];d(r,e),e._inc=t}}function P(){}function R(e,t){var r=e.length;while(r--)if(e[r]===t)return r}function N(e,t,r,n){if(n?t[R(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var i=e.ownerDocument;i&&(n&&W(i,e,n),U(i,e,r))}}function B(e,t,r){var n=R(t,r);if(!(n>=0))throw new D(L,new Error(e.tagName+"@"+r));var i=t.length-1;while(n<i)t[n]=t[++n];if(t.length=i,e){var o=e.ownerDocument;o&&(W(o,e,r),r.ownerElement=null)}}function Y(){}function F(){}function z(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function H(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(H(e,t))return!0}while(e=e.nextSibling)}function V(){this.ownerDocument=this}function U(e,t,r){e&&e._inc++;var n=r.namespaceURI;n===o.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}function W(e,t,r,n){e&&e._inc++;var i=r.namespaceURI;i===o.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function $(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{var i=t.firstChild,o=0;while(i)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length]}}}function G(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,$(e.ownerDocument,e),t}function q(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}function X(e){return e&&(Z(e)||J(e)||K(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}function K(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===F.ELEMENT_NODE}function J(e){return e&&e.nodeType===F.TEXT_NODE}function Q(e,t){var r=e.childNodes||[];if(i(r,Z)||K(t))return!1;var n=i(r,K);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function ee(e,t){var r=e.childNodes||[];function n(e){return Z(e)&&e!==t}if(i(r,n))return!1;var o=i(r,K);return!(t&&o&&r.indexOf(o)>r.indexOf(t))}function te(e,t,r){if(!q(e))throw new D(O,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new D(L,"child not in parent");if(!X(t)||K(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new D(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function re(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Z);if(a.length>1||i(o,J))throw new D(O,"More than one element or text in fragment");if(1===a.length&&!Q(e,r))throw new D(O,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!Q(e,r))throw new D(O,"Only one element can be added and only after doctype");if(K(t)){if(i(n,K))throw new D(O,"Only one doctype is allowed");var s=i(n,Z);if(r&&n.indexOf(s)<n.indexOf(r))throw new D(O,"Doctype can only be inserted before an element");if(!r&&s)throw new D(O,"Doctype can not be appended since element is present")}}function ne(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Z);if(a.length>1||i(o,J))throw new D(O,"More than one element or text in fragment");if(1===a.length&&!ee(e,r))throw new D(O,"Element in fragment can not be inserted before doctype")}if(Z(t)&&!ee(e,r))throw new D(O,"Only one element can be added and only after doctype");if(K(t)){function s(e){return K(e)&&e!==r}if(i(n,s))throw new D(O,"Only one doctype is allowed");var l=i(n,Z);if(r&&n.indexOf(l)<n.indexOf(r))throw new D(O,"Doctype can only be inserted before an element")}}function ie(e,t,r,n){te(e,t,r),e.nodeType===F.DOCUMENT_NODE&&(n||re)(e,t,r);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===S){var o=t.firstChild;if(null==o)return t;var a=t.lastChild}else o=a=t;var s=r?r.previousSibling:e.lastChild;o.previousSibling=s,a.nextSibling=r,s?s.nextSibling=o:e.firstChild=o,null==r?e.lastChild=a:r.previousSibling=a;do{o.parentNode=e}while(o!==a&&(o=o.nextSibling));return $(e.ownerDocument||e,e),t.nodeType==S&&(t.firstChild=t.lastChild=null),t}function oe(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,$(e.ownerDocument,e,t),t}function ae(){this._nsMap={}}function se(){}function le(){}function ue(){}function ce(){}function de(){}function he(){}function fe(){}function pe(){}function me(){}function ge(){}function ve(){}function ye(){}function be(e,t){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,o=n.namespaceURI;if(o&&null==i){i=n.lookupPrefix(o);if(null==i)var a=[{namespace:o,prefix:null}]}return xe(this,r,e,t,a),r.join("")}function _e(e,t,r){var n=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===n&&i===o.XML||i===o.XMLNS)return!1;var a=r.length;while(a--){var s=r[a];if(s.prefix===n)return s.namespace!==i}return!0}function we(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,z),'"')}function xe(e,t,r,n,i){if(i||(i=[]),n){if(e=n(e),!e)return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case p:var a=e.attributes,s=a.length,l=e.firstChild,u=e.tagName;r=o.isHTML(e.namespaceURI)||r;var c=u;if(!r&&!e.prefix&&e.namespaceURI){for(var d,h=0;h<a.length;h++)if("xmlns"===a.item(h).name){d=a.item(h).value;break}if(!d)for(var f=i.length-1;f>=0;f--){var b=i[f];if(""===b.prefix&&b.namespace===e.namespaceURI){d=b.namespace;break}}if(d!==e.namespaceURI)for(f=i.length-1;f>=0;f--){b=i[f];if(b.namespace===e.namespaceURI){b.prefix&&(c=b.prefix+":"+u);break}}}t.push("<",c);for(var M=0;M<s;M++){var C=a.item(M);"xmlns"==C.prefix?i.push({prefix:C.localName,namespace:C.value}):"xmlns"==C.nodeName&&i.push({prefix:"",namespace:C.value})}for(M=0;M<s;M++){C=a.item(M);if(_e(C,r,i)){var T=C.prefix||"",O=C.namespaceURI;we(t,T?"xmlns:"+T:"xmlns",O),i.push({prefix:T,namespace:O})}xe(C,t,r,n,i)}if(u===c&&_e(e,r,i)){T=e.prefix||"",O=e.namespaceURI;we(t,T?"xmlns:"+T:"xmlns",O),i.push({prefix:T,namespace:O})}if(l||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(t.push(">"),r&&/^script$/i.test(u))while(l)l.data?t.push(l.data):xe(l,t,r,n,i.slice()),l=l.nextSibling;else while(l)xe(l,t,r,n,i.slice()),l=l.nextSibling;t.push("</",c,">")}else t.push("/>");return;case x:case S:l=e.firstChild;while(l)xe(l,t,r,n,i.slice()),l=l.nextSibling;return;case m:return we(t,e.name,e.value);case g:return t.push(e.data.replace(/[<&>]/g,z));case v:return t.push("<![CDATA[",e.data,"]]>");case w:return t.push("\x3c!--",e.data,"--\x3e");case k:var L=e.publicId,A=e.systemId;if(t.push("<!DOCTYPE ",e.name),L)t.push(" PUBLIC ",L),A&&"."!=A&&t.push(" ",A),t.push(">");else if(A&&"."!=A)t.push(" SYSTEM ",A,">");else{var D=e.internalSubset;D&&t.push(" [",D,"]"),t.push(">")}return;case _:return t.push("<?",e.target," ",e.data,"?>");case y:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ke(e,t,r){var n;switch(t.nodeType){case p:n=t.cloneNode(!1),n.ownerDocument=e;case S:break;case m:r=!0;break}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,r){var i=t.firstChild;while(i)n.appendChild(ke(e,i,r)),i=i.nextSibling}return n}function Se(e,t,r){var n=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];"object"!=typeof o&&o!=n[i]&&(n[i]=o)}switch(t.childNodes&&(n.childNodes=new E),n.ownerDocument=e,n.nodeType){case p:var a=t.attributes,s=n.attributes=new P,l=a.length;s._ownerElement=n;for(var u=0;u<l;u++)n.setAttributeNode(Se(e,a.item(u),!0));break;case m:r=!0}if(r){var c=t.firstChild;while(c)n.appendChild(Se(e,c,r)),c=c.nextSibling}return n}function Me(e,t,r){e[t]=r}D.prototype=Error.prototype,d(C,D),E.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var r=[],n=0;n<this.length;n++)xe(this[n],r,e,t);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},I.prototype.item=function(e){return j(this),this[e]||null},h(I,E),P.prototype={length:0,item:E.prototype.item,getNamedItem:function(e){var t=this.length;while(t--){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new D(A);var r=this.getNamedItem(e.nodeName);return N(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new D(A);return t=this.getNamedItemNS(e.namespaceURI,e.localName),N(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return B(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return B(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){var r=this.length;while(r--){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},Y.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new V;if(n.implementation=this,n.childNodes=new E,n.doctype=r||null,r&&n.appendChild(r),t){var i=n.createElementNS(e,t);n.appendChild(i)}return n},createDocumentType:function(e,t,r){var n=new he;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},F.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return ie(this,e,t)},replaceChild:function(e,t){ie(this,e,t,ne),t&&this.removeChild(t)},removeChild:function(e){return G(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Se(this.ownerDocument||this,this,e)},normalize:function(){var e=this.firstChild;while(e){var t=e.nextSibling;t&&t.nodeType==g&&e.nodeType==g?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){var t=this;while(t){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){var t=this;while(t){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==m?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return null==t}},d(f,F),d(f,F.prototype),V.prototype={nodeName:"#document",nodeType:x,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==S){var r=e.firstChild;while(r){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return ie(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),G(this,e)},replaceChild:function(e,t){ie(this,e,t,ne),e.ownerDocument=this,t&&this.removeChild(t),Z(e)&&(this.documentElement=e)},importNode:function(e,t){return ke(this,e,t)},getElementById:function(e){var t=null;return H(this.documentElement,(function(r){if(r.nodeType==p&&r.getAttribute("id")==e)return t=r,!0})),t},getElementsByClassName:function(e){var t=u(e);return new I(this,(function(r){var n=[];return t.length>0&&H(r.documentElement,(function(i){if(i!==r&&i.nodeType===p){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=u(o);a=t.every(c(s))}a&&n.push(i)}}})),n}))},createElement:function(e){var t=new ae;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new E;var r=t.attributes=new P;return r._ownerElement=t,t},createDocumentFragment:function(){var e=new ge;return e.ownerDocument=this,e.childNodes=new E,e},createTextNode:function(e){var t=new ue;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ce;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new de;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new ve;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new se;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new me;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new ae,n=t.split(":"),i=r.attributes=new P;return r.childNodes=new E,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,i._ownerElement=r,r},createAttributeNS:function(e,t){var r=new se,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},h(V,F),ae.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===S?this.insertBefore(e,null):oe(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new I(this,(function(t){var r=[];return H(t,(function(n){n===t||n.nodeType!=p||"*"!==e&&n.tagName!=e||r.push(n)})),r}))},getElementsByTagNameNS:function(e,t){return new I(this,(function(r){var n=[];return H(r,(function(i){i===r||i.nodeType!==p||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||n.push(i)})),n}))}},V.prototype.getElementsByTagName=ae.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=ae.prototype.getElementsByTagNameNS,h(ae,F),se.prototype.nodeType=m,h(se,F),le.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(T[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){var n=this.data.substring(0,e),i=this.data.substring(e+t);r=n+r+i,this.nodeValue=this.data=r,this.length=r.length}},h(le,F),ue.prototype={nodeName:"#text",nodeType:g,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},h(ue,le),ce.prototype={nodeName:"#comment",nodeType:w},h(ce,le),de.prototype={nodeName:"#cdata-section",nodeType:v},h(de,le),he.prototype.nodeType=k,h(he,F),fe.prototype.nodeType=M,h(fe,F),pe.prototype.nodeType=b,h(pe,F),me.prototype.nodeType=y,h(me,F),ge.prototype.nodeName="#document-fragment",ge.prototype.nodeType=S,h(ge,F),ve.prototype.nodeType=_,h(ve,F),ye.prototype.serializeToString=function(e,t,r){return be.call(e,t,r)},F.prototype.toString=be;try{if(Object.defineProperty){function Ce(e){switch(e.nodeType){case p:case S:var t=[];e=e.firstChild;while(e)7!==e.nodeType&&8!==e.nodeType&&t.push(Ce(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(I.prototype,"length",{get:function(){return j(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return Ce(this)},set:function(e){switch(this.nodeType){case p:case S:while(this.firstChild)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Me=function(e,t,r){e["$$"+t]=r}}}catch(Te){}t.DocumentType=he,t.DOMException=D,t.DOMImplementation=Y,t.Element=ae,t.Node=F,t.NodeList=E,t.XMLSerializer=ye},"./node_modules/@xmldom/xmldom/lib/entities.js":
|
||
/*!*****************************************************!*\
|
||
!*** ./node_modules/@xmldom/xmldom/lib/entities.js ***!
|
||
\*****************************************************/
|
||
/*! no static exports found */function(e,t,r){"use strict";var n=r(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js").freeze;t.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=n({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}),t.entityMap=t.HTML_ENTITIES},"./node_modules/@xmldom/xmldom/lib/index.js":
|
||
/*!**************************************************!*\
|
||
!*** ./node_modules/@xmldom/xmldom/lib/index.js ***!
|
||
\**************************************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./dom */"./node_modules/@xmldom/xmldom/lib/dom.js");t.DOMImplementation=n.DOMImplementation,t.XMLSerializer=n.XMLSerializer,t.DOMParser=r(/*! ./dom-parser */"./node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser},"./node_modules/@xmldom/xmldom/lib/sax.js":
|
||
/*!************************************************!*\
|
||
!*** ./node_modules/@xmldom/xmldom/lib/sax.js ***!
|
||
\************************************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$"),s=0,l=1,u=2,c=3,d=4,h=5,f=6,p=7;function m(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,m)}function g(){}function v(e,t,r,i,o){function a(e){if(e>65535){e-=65536;var t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}function s(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(r,t)?r[t]:"#"===t.charAt(0)?a(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function l(t){if(t>v){var r=e.substring(v,t).replace(/&#?\w+;/g,s);f&&u(v),i.characters(r,0,t-v),v=t}}function u(t,r){while(t>=d&&(r=h.exec(e)))c=r.index,d=c+r[0].length,f.lineNumber++;f.columnNumber=t-c+1}var c=0,d=0,h=/.*(?:\r\n?|\n)|.*$/g,f=i.locator,p=[{currentNSMap:t}],g={},v=0;while(1){try{var k=e.indexOf("<",v);if(k<0){if(!e.substr(v).match(/^\s*$/)){var T=i.doc,O=T.createTextNode(e.substr(v));T.appendChild(O),i.currentElement=O}return}switch(k>v&&l(k),e.charAt(k+1)){case"/":var L=e.indexOf(">",k+3),A=e.substring(k+2,L).replace(/[ \t\n\r]+$/g,""),D=p.pop();L<0?(A=e.substring(k+2).replace(/[\s<].*/,""),o.error("end tag name: "+A+" is not complete:"+D.tagName),L=k+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),o.error("end tag name: "+A+" maybe not complete"),L=k+1+A.length);var E=D.localNSMap,I=D.tagName==A,j=I||D.tagName&&D.tagName.toLowerCase()==A.toLowerCase();if(j){if(i.endElement(D.uri,D.localName,A),E)for(var P in E)Object.prototype.hasOwnProperty.call(E,P)&&i.endPrefixMapping(P);I||o.fatalError("end tag name: "+A+" is not match the current start tagName:"+D.tagName)}else p.push(D);L++;break;case"?":f&&u(k),L=M(e,k,i);break;case"!":f&&u(k),L=S(e,k,i,o);break;default:f&&u(k);var R=new C,N=p[p.length-1].currentNSMap,B=(L=b(e,k,R,N,s,o),R.length);if(!R.closed&&x(e,L,R.tagName,g)&&(R.closed=!0,r.nbsp||o.warning("unclosed xml attribute")),f&&B){for(var Y=y(f,{}),F=0;F<B;F++){var z=R[F];u(z.offset),z.locator=y(f,{})}i.locator=Y,_(R,i,N)&&p.push(R),i.locator=f}else _(R,i,N)&&p.push(R);n.isHTML(R.uri)&&!R.closed?L=w(e,L,R.tagName,s,i):L++}}catch(H){if(H instanceof m)throw H;o.error("element parse error: "+H),L=-1}L>v?v=L:l(Math.max(k,v)+1)}}function y(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function b(e,t,r,i,o,a){function m(e,t,n){r.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n)}var g,v=++t,y=s;while(1){var b=e.charAt(v);switch(b){case"=":if(y===l)g=e.slice(t,v),y=c;else{if(y!==u)throw new Error("attribute equal must after attrName");y=c}break;case"'":case'"':if(y===c||y===l){if(y===l&&(a.warning('attribute value must after "="'),g=e.slice(t,v)),t=v+1,v=e.indexOf(b,t),!(v>0))throw new Error("attribute value no end '"+b+"' match");_=e.slice(t,v),m(g,_,t-1),y=h}else{if(y!=d)throw new Error('attribute value must after "="');_=e.slice(t,v),m(g,_,t),a.warning('attribute "'+g+'" missed start quot('+b+")!!"),t=v+1,y=h}break;case"/":switch(y){case s:r.setTagName(e.slice(t,v));case h:case f:case p:y=p,r.closed=!0;case d:case l:break;case u:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),y==s&&r.setTagName(e.slice(t,v)),v;case">":switch(y){case s:r.setTagName(e.slice(t,v));case h:case f:case p:break;case d:case l:_=e.slice(t,v),"/"===_.slice(-1)&&(r.closed=!0,_=_.slice(0,-1));case u:y===u&&(_=g),y==d?(a.warning('attribute "'+_+'" missed quot(")!'),m(g,_,t)):(n.isHTML(i[""])&&_.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+_+'" missed value!! "'+_+'" instead!!'),m(_,_,t));break;case c:throw new Error("attribute value missed!!")}return v;case"":b=" ";default:if(b<=" ")switch(y){case s:r.setTagName(e.slice(t,v)),y=f;break;case l:g=e.slice(t,v),y=u;break;case d:var _=e.slice(t,v);a.warning('attribute "'+_+'" missed quot(")!!'),m(g,_,t);case h:y=f;break}else switch(y){case u:r.tagName;n.isHTML(i[""])&&g.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+g+'" missed value!! "'+g+'" instead2!!'),m(g,g,t),t=v,y=l;break;case h:a.warning('attribute space is required"'+g+'"!!');case f:y=l,t=v;break;case c:y=d,t=v;break;case p:throw new Error("elements closed character '/' and '>' must be connected to")}}v++}}function _(e,t,r){var i=e.tagName,o=null,a=e.length;while(a--){var s=e[a],l=s.qName,u=s.value,c=l.indexOf(":");if(c>0)var d=s.prefix=l.slice(0,c),h=l.slice(c+1),f="xmlns"===d&&h;else h=l,d=null,f="xmlns"===l&&"";s.localName=h,!1!==f&&(null==o&&(o={},k(r,r={})),r[f]=o[f]=u,s.uri=n.XMLNS,t.startPrefixMapping(f,u))}a=e.length;while(a--){s=e[a];d=s.prefix;d&&("xml"===d&&(s.uri=n.XML),"xmlns"!==d&&(s.uri=r[d||""]))}c=i.indexOf(":");c>0?(d=e.prefix=i.slice(0,c),h=e.localName=i.slice(c+1)):(d=null,h=e.localName=i);var p=e.uri=r[d||""];if(t.startElement(p,h,i,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(p,h,i),o)for(d in o)Object.prototype.hasOwnProperty.call(o,d)&&t.endPrefixMapping(d)}function w(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("</"+r+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(r)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,n),i.characters(a,0,a.length),o)}return t+1}function x(e,t,r,n){var i=n[r];return null==i&&(i=e.lastIndexOf("</"+r+">"),i<t&&(i=e.lastIndexOf("</"+r)),n[r]=i),i<t}function k(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function S(e,t,r,n){var i=e.charAt(t+2);switch(i){case"-":if("-"===e.charAt(t+3)){var o=e.indexOf("--\x3e",t+4);return o>t?(r.comment(e,t+4,o-t-4),o+3):(n.error("Unclosed comment"),-1)}return-1;default:if("CDATA["==e.substr(t+3,6)){o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var a=T(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var l=a[1][0],u=!1,c=!1;s>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var d=a[s-1];return r.startDTD(l,u,c),r.endDTD(),d.index+d[0].length}}return-1}function M(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function C(){this.attributeNames={}}function T(e,t){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);while(r=i.exec(e))if(n.push(r),r[1])return n}m.prototype=new Error,m.prototype.name=m.name,g.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),k(t,t={}),v(e,t,r,n,this.errorHandler),n.endDocument()}},C.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=g,t.ParseError=m},"./node_modules/process/browser.js":
|
||
/*!*****************************************!*\
|
||
!*** ./node_modules/process/browser.js ***!
|
||
\*****************************************/
|
||
/*! no static exports found */function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}function l(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(function(){try{r="function"===typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"===typeof clearTimeout?clearTimeout:a}catch(e){n=a}})();var u,c=[],d=!1,h=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=s(f);d=!0;var t=c.length;while(t){u=c,c=[];while(++h<t)u&&u[h].run();h=-1,t=c.length}u=null,d=!1,l(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new m(e,t)),1!==c.length||d||s(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},"./node_modules/webpack/buildin/amd-options.js":
|
||
/*!****************************************!*\
|
||
!*** (webpack)/buildin/amd-options.js ***!
|
||
\****************************************/
|
||
/*! no static exports found */function(e,t){(function(t){e.exports=t}).call(this,{})},"./node_modules/webpack/buildin/module.js":
|
||
/*!***********************************!*\
|
||
!*** (webpack)/buildin/module.js ***!
|
||
\***********************************/
|
||
/*! no static exports found */function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./package.json":
|
||
/*!**********************!*\
|
||
!*** ./package.json ***!
|
||
\**********************/
|
||
/*! exports provided: name, version, description, main, types, scripts, repository, keywords, author, license, bugs, homepage, dependencies, devDependencies, default */function(e){e.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.7.1","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"@xmldom/xmldom":"^0.8.6"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":
|
||
/*!************************!*\
|
||
!*** ./src/advance.js ***!
|
||
\************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=r(/*! ./session */"./src/session.js"),o=r(/*! ./async */"./src/async.js"),a=r(/*! ./event */"./src/event.js").EventProxy,s=r(/*! ./util */"./src/util.js"),l=r(/*! ./tracker */"./src/tracker.js");function u(e,t){var r,n,o=this,l=new a,u=e.TaskId,d=e.Bucket,h=e.Region,p=e.Key,g=e.Body,v=e.ChunkSize||e.SliceSize||o.options.ChunkSize,y=e.AsyncLimit,b=e.StorageClass,_=e.ServerSideEncryption,w=e.onHashProgress,x=e.tracker;x&&x.setParams({chunkSize:v}),l.on("error",(function(r){if(o._isRunningTask(u))return r.UploadId=e.UploadData.UploadId||"",t(r)})),l.on("upload_complete",(function(r){var n=s.extend({UploadId:e.UploadData.UploadId||""},r);t(null,n)})),l.on("upload_slice_complete",(function(t){var a={};s.each(e.Headers,(function(e,t){var r=t.toLowerCase();0!==r.indexOf("x-cos-meta-")&&"pic-operations"!==r||(a[t]=e)})),m.call(o,{Bucket:d,Region:h,Key:p,UploadId:t.UploadId,SliceList:t.SliceList,Headers:a,tracker:x},(function(e,a){if(o._isRunningTask(u)){if(i.removeUsing(t.UploadId),e)return n(null,!0),l.emit("error",e);i.removeUploadId.call(o,t.UploadId),n({loaded:r,total:r},!0),l.emit("upload_complete",a)}}))})),l.on("get_upload_data_finish",(function(t){var a=i.getFileId(g,e.ChunkSize,d,p);a&&i.saveUploadId.call(o,a,t.UploadId,o.options.UploadIdCacheLimit),i.setUsing(t.UploadId),n(null,!0),f.call(o,{TaskId:u,Bucket:d,Region:h,Key:p,Body:g,FileSize:r,SliceSize:v,AsyncLimit:y,ServerSideEncryption:_,UploadData:t,Headers:e.Headers,onProgress:n,tracker:x},(function(e,t){if(o._isRunningTask(u))return e?(n(null,!0),l.emit("error",e)):void l.emit("upload_slice_complete",t)}))})),l.on("get_file_size_finish",(function(){if(n=s.throttleOnProgress.call(o,r,e.onProgress),e.UploadData.UploadId)l.emit("get_upload_data_finish",e.UploadData);else{var t=s.extend({TaskId:u,Bucket:d,Region:h,Key:p,Headers:e.Headers,StorageClass:b,Body:g,FileSize:r,SliceSize:v,onHashProgress:w,tracker:x},e);c.call(o,t,(function(t,r){if(o._isRunningTask(u)){if(t)return l.emit("error",t);e.UploadData.UploadId=r.UploadId,e.UploadData.PartList=r.PartList,l.emit("get_upload_data_finish",e.UploadData)}}))}})),r=e.ContentLength,delete e.ContentLength,!e.Headers&&(e.Headers={}),s.each(e.Headers,(function(t,r){"content-length"===r.toLowerCase()&&delete e.Headers[r]})),function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,i=0;i<t.length;i++)if(n=1024*t[i]*1024,r/n<=o.options.MaxPartNumber)break;e.ChunkSize=e.SliceSize=v=Math.max(v,n)}(),0===r?(e.Body="",e.ContentLength=0,e.SkipTask=!0,o.putObject(e,t)):l.emit("get_file_size_finish")}function c(e,t){var r=e.TaskId,n=e.Bucket,l=e.Region,u=e.Key,c=e.StorageClass,f=this,p={},m=e.FileSize,g=e.SliceSize,v=Math.ceil(m/g),y=0,b=s.throttleOnProgress.call(f,m,e.onHashProgress),_=function(t,r){var n=g*(t-1),i=Math.min(n+g,m),o=i-n;p[t]?r(null,{PartNumber:t,ETag:p[t],Size:o}):s.fileSlice(e.Body,n,i,!1,(function(e){s.getFileMd5(e,(function(e,n){if(e)return r(s.error(e));var i='"'+n+'"';p[t]=i,1,y+=o,b({loaded:y,total:m}),r(null,{PartNumber:t,ETag:i,Size:o})}))}))},w=function(e,t){var r=e.length;if(0===r)return t(null,!0);if(r>v)return t(null,!1);if(r>1){var n=Math.max(e[0].Size,e[1].Size);if(n!==g)return t(null,!1)}var i=function n(i){if(i<r){var o=e[i];_(o.PartNumber,(function(e,r){r&&r.ETag===o.ETag&&r.Size===o.Size?n(i+1):t(null,!1)}))}else t(null,!0)};i(0)},x=new a;x.on("error",(function(e){if(f._isRunningTask(r))return t(e)})),x.on("upload_id_available",(function(e){var r={},n=[];s.each(e.PartList,(function(e){r[e.PartNumber]=e}));for(var i=1;i<=v;i++){var o=r[i];o?(o.PartNumber=i,o.Uploaded=!0):o={PartNumber:i,ETag:null,Uploaded:!1},n.push(o)}e.PartList=n,t(null,e)})),x.on("no_available_upload_id",(function(){if(f._isRunningTask(r)){var i=s.extend({Bucket:n,Region:l,Key:u,Query:s.clone(e.Query),StorageClass:c,Body:e.Body,calledBySdk:"sliceUploadFile",tracker:e.tracker},e),o=s.clone(e.Headers);delete o["x-cos-mime-limit"],i.Headers=o,f.multipartInit(i,(function(e,n){if(f._isRunningTask(r)){if(e)return x.emit("error",e);var i=n.UploadId;if(!i)return t(s.error(new Error("no such upload id")));x.emit("upload_id_available",{UploadId:i,PartList:[]})}}))}})),x.on("has_and_check_upload_id",(function(t){t=t.reverse(),o.eachLimit(t,1,(function(t,o){f._isRunningTask(r)&&(i.using[t]?o():h.call(f,{Bucket:n,Region:l,Key:u,UploadId:t,tracker:e.tracker},(function(e,n){if(f._isRunningTask(r)){if(e)return i.removeUsing(t),x.emit("error",e);var a=n.PartList;a.forEach((function(e){e.PartNumber*=1,e.Size*=1,e.ETag=e.ETag||""})),w(a,(function(e,n){if(f._isRunningTask(r))return e?x.emit("error",e):void(n?o({UploadId:t,PartList:a}):o())}))}})))}),(function(e){f._isRunningTask(r)&&(b(null,!0),e&&e.UploadId?x.emit("upload_id_available",e):x.emit("no_available_upload_id"))}))})),x.on("seek_local_avail_upload_id",(function(t){var o=i.getFileId(e.Body,e.ChunkSize,n,u),a=i.getUploadIdList.call(f,o);if(o&&a){var c=function o(c){if(c>=a.length)x.emit("has_and_check_upload_id",t);else{var d=a[c];if(!s.isInArray(t,d))return i.removeUploadId.call(f,d),void o(c+1);i.using[d]?o(c+1):h.call(f,{Bucket:n,Region:l,Key:u,UploadId:d,tracker:e.tracker},(function(e,t){f._isRunningTask(r)&&(e?(i.removeUploadId.call(f,d),o(c+1)):x.emit("upload_id_available",{UploadId:d,PartList:t.PartList}))}))}};c(0)}else x.emit("has_and_check_upload_id",t)})),x.on("get_remote_upload_id_list",(function(){d.call(f,{Bucket:n,Region:l,Key:u,tracker:e.tracker},(function(t,o){if(f._isRunningTask(r)){if(t)return x.emit("error",t);var a=s.filter(o.UploadList,(function(e){return e.Key===u&&(!c||e.StorageClass.toUpperCase()===c.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(a.length)x.emit("seek_local_avail_upload_id",a);else{var l,d=i.getFileId(e.Body,e.ChunkSize,n,u);d&&(l=i.getUploadIdList.call(f,d))&&s.each(l,(function(e){i.removeUploadId.call(f,e)})),x.emit("no_available_upload_id")}}}))})),x.emit("get_remote_upload_id_list")}function d(e,t){var r=this,n=[],i={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key,calledBySdk:e.calledBySdk||"sliceUploadFile",tracker:e.tracker},o=function e(){r.multipartList(i,(function(r,o){if(r)return t(r);n.push.apply(n,o.Upload||[]),"true"===o.IsTruncated?(i.KeyMarker=o.NextKeyMarker,i.UploadIdMarker=o.NextUploadIdMarker,e()):t(null,{UploadList:n})}))};o()}function h(e,t){var r=this,n=[],i={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId,calledBySdk:"sliceUploadFile",tracker:e.tracker},o=function e(){r.multipartListPart(i,(function(r,o){if(r)return t(r);n.push.apply(n,o.Part||[]),"true"===o.IsTruncated?(i.PartNumberMarker=o.NextPartNumberMarker,e()):t(null,{PartList:n})}))};o()}function f(e,t){var r=this,n=e.TaskId,i=e.Bucket,a=e.Region,l=e.Key,u=e.UploadData,c=e.FileSize,d=e.SliceSize,h=Math.min(e.AsyncLimit||r.options.ChunkParallelLimit||1,256),f=e.Body,m=Math.ceil(c/d),g=0,v=e.ServerSideEncryption,y=e.Headers,b=s.filter(u.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&c%d||d),!e["Uploaded"]})),_=e.onProgress;o.eachLimit(b,h,(function(t,o){if(r._isRunningTask(n)){var s=t["PartNumber"],h=Math.min(c,t["PartNumber"]*d)-(t["PartNumber"]-1)*d,m=0;p.call(r,{TaskId:n,Bucket:i,Region:a,Key:l,SliceSize:d,FileSize:c,PartNumber:s,ServerSideEncryption:v,Body:f,UploadData:u,Headers:y,onProgress:function(e){g+=e.loaded-m,m=e.loaded,_({loaded:g,total:c})},tracker:e.tracker},(function(e,i){r._isRunningTask(n)&&(e||i.ETag||(e='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),e?g-=m:(g+=h-m,t.ETag=i.ETag),_({loaded:g,total:c}),o(e||null,i))}))}}),(function(e){if(r._isRunningTask(n))return e?t(e):void t(null,{UploadId:u.UploadId,SliceList:u.PartList})}))}function p(e,t){var r=this,n=e.TaskId,i=e.Bucket,a=e.Region,l=e.Key,u=e.FileSize,c=e.Body,d=1*e.PartNumber,h=e.SliceSize,f=e.ServerSideEncryption,p=e.UploadData,m=e.Headers||{},g=r.options.ChunkRetryTimes+1,v=h*(d-1),y=h,b=v+h;b>u&&(b=u,y=b-v);var _=["x-cos-traffic-limit","x-cos-mime-limit"],w={};s.each(m,(function(e,t){_.indexOf(t)>-1&&(w[t]=e)}));var x=p.PartList[d-1];o.retry(g,(function(t){r._isRunningTask(n)&&s.fileSlice(c,v,b,!0,(function(o){r.multipartUpload({TaskId:n,Bucket:i,Region:a,Key:l,ContentLength:y,PartNumber:d,UploadId:p.UploadId,ServerSideEncryption:f,Body:o,Headers:w,onProgress:e.onProgress,calledBySdk:"sliceUploadFile",tracker:e.tracker},(function(e,i){if(r._isRunningTask(n))return e?t(e):(x.Uploaded=!0,t(null,i))}))}))}),(function(e,i){if(r._isRunningTask(n))return t(e,i)}))}function m(e,t){var r=e.Bucket,n=e.Region,i=e.Key,a=e.UploadId,s=e.SliceList,l=this,u=this.options.ChunkRetryTimes+1,c=e.Headers,d=s.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));o.retry(u,(function(t){l.multipartComplete({Bucket:r,Region:n,Key:i,UploadId:a,Parts:d,Headers:c,calledBySdk:"sliceUploadFile",tracker:e.tracker},t)}),(function(e,r){t(e,r)}))}function g(e,t){var r=e.Bucket,n=e.Region,i=e.Key,o=e.UploadId,l=e.Level||"task",u=e.AsyncLimit,c=this,h=new a;if(h.on("error",(function(e){return t(e)})),h.on("get_abort_array",(function(o){v.call(c,{Bucket:r,Region:n,Key:i,Headers:e.Headers,AsyncLimit:u,AbortArray:o},t)})),"bucket"===l)d.call(c,{Bucket:r,Region:n,calledBySdk:"abortUploadTask"},(function(e,r){if(e)return t(e);h.emit("get_abort_array",r.UploadList||[])}));else if("file"===l){if(!i)return t(s.error(new Error("abort_upload_task_no_key")));d.call(c,{Bucket:r,Region:n,Key:i,calledBySdk:"abortUploadTask"},(function(e,r){if(e)return t(e);h.emit("get_abort_array",r.UploadList||[])}))}else{if("task"!==l)return t(s.error(new Error("abort_unknown_level")));if(!o)return t(s.error(new Error("abort_upload_task_no_id")));if(!i)return t(s.error(new Error("abort_upload_task_no_key")));h.emit("get_abort_array",[{Key:i,UploadId:o}])}}function v(e,t){var r=e.Bucket,n=e.Region,i=e.Key,a=e.AbortArray,s=e.AsyncLimit||1,l=this,u=0,c=new Array(a.length);o.eachLimit(a,s,(function(t,o){var a=u;if(i&&i!==t.Key)return c[a]={error:{KeyNotMatch:!0}},void o(null);var s=t.UploadId||t.UploadID;l.multipartAbort({Bucket:r,Region:n,Key:t.Key,Headers:e.Headers,UploadId:s},(function(e){var i={Bucket:r,Region:n,Key:t.Key,UploadId:s};c[a]={error:e,task:i},o(null)})),u++}),(function(e){if(e)return t(e);for(var r=[],n=[],i=0,o=c.length;i<o;i++){var a=c[i];a["task"]&&(a["error"]?n.push(a["task"]):r.push(a["task"]))}return t(null,{successList:r,errorList:n})}))}function y(e,t){var r=this,i=void 0===e.SliceSize?r.options.SliceSize:e.SliceSize,o=[],a=e.Body,u=a.size||a.length||0,c={TaskId:""};if(r.options.EnableReporter){var d=r.options.UseAccelerate||"string"===typeof r.options.Domain&&r.options.Domain.includes("accelerate."),h=u>i?"sliceUploadFile":"putObject";e.tracker=new l({Beacon:r.options.BeaconReporter,clsReporter:r.options.ClsReporter,bucket:e.Bucket,region:e.Region,apiName:"uploadFile",realApi:h,fileKey:e.Key,fileSize:u,accelerate:d,deepTracker:r.options.DeepTracker,customId:r.options.CustomId,delay:r.options.TrackerDelay})}s.each(e,(function(e,t){"object"!==n(e)&&"function"!==typeof e&&(c[t]=e)}));var f=e.onTaskReady,p=function(e){c.TaskId=e,f&&f(e)};e.onTaskReady=p;var m=u>i?"sliceUploadFile":"putObject",g=e.onFileFinish,v=function(r,n){e.tracker&&e.tracker.report(r,n),g&&g(r,n,c),t&&t(r,n)};o.push({api:m,params:e,callback:v}),r._addTasks(o)}function b(e,t){var r=this,i=void 0===e.SliceSize?r.options.SliceSize:e.SliceSize,o=0,a=0,u=s.throttleOnProgress.call(r,a,e.onProgress),c=e.files.length,d=e.onFileFinish,h=Array(c),f=function(e,r,n){u(null,!0),d&&d(e,r,n),h[n.Index]={options:n,error:e,data:r},--c<=0&&t&&t(null,{files:h})},p=[];s.each(e.files,(function(e,t){(function(){var c=e.Body,d=c.size||c.length||0,h={Index:t,TaskId:""};if(!r.options.UseRawKey&&e.Key&&"/"===e.Key.substr(0,1)&&(e.Key=e.Key.substr(1)),o+=d,r.options.EnableReporter){var m=r.options.UseAccelerate||"string"===typeof r.options.Domain&&r.options.Domain.includes("accelerate."),g=d>i?"sliceUploadFile":"putObject";e.tracker=new l({Beacon:r.options.BeaconReporter,clsReporter:r.options.ClsReporter,bucket:e.Bucket,region:e.Region,apiName:"uploadFiles",realApi:g,fileKey:e.Key,fileSize:d,accelerate:m,deepTracker:r.options.DeepTracker,customId:r.options.CustomId,delay:r.options.TrackerDelay})}s.each(e,(function(e,t){"object"!==n(e)&&"function"!==typeof e&&(h[t]=e)}));var v=e.onTaskReady,y=function(e){h.TaskId=e,v&&v(e)};e.onTaskReady=y;var b=0,_=e.onProgress,w=function(e){a=a-b+e.loaded,b=e.loaded,_&&_(e),u({loaded:a,total:o})};e.onProgress=w;var x=d>i?"sliceUploadFile":"putObject",k=e.onFileFinish,S=function(t,r){e.tracker&&e.tracker.report(t,r),k&&k(t,r),f&&f(t,r,h)};p.push({api:x,params:e,callback:S})})()})),r._addTasks(p)}function _(e,t){var r=new a,n=this,l=e.Bucket,u=e.Region,c=e.Key,d=e.CopySource,f=s.getSourceParams.call(this,d);if(f){var p=f.Bucket,m=f.Region,g=decodeURIComponent(f.Key),v=void 0===e.CopySliceSize?n.options.CopySliceSize:e.CopySliceSize;v=Math.max(0,v);var y,b,_=e.CopyChunkSize||this.options.CopyChunkSize,x=this.options.CopyChunkParallelLimit,k=this.options.ChunkRetryTimes+1,S=0,M=0,C={},T={},O={};r.on("copy_slice_complete",(function(r){var a={};s.each(e.Headers,(function(e,t){0===t.toLowerCase().indexOf("x-cos-meta-")&&(a[t]=e)}));var d=s.map(r.PartList,(function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));o.retry(k,(function(t){n.multipartComplete({Bucket:l,Region:u,Key:c,UploadId:r.UploadId,Parts:d,tracker:e.tracker,calledBySdk:"sliceCopyFile"},t)}),(function(e,n){if(i.removeUsing(r.UploadId),e)return b(null,!0),t(e);i.removeUploadId(r.UploadId),b({loaded:y,total:y},!0),t(null,n)}))})),r.on("get_copy_data_finish",(function(a){var h=i.getCopyFileId(d,C,_,l,c);h&&i.saveUploadId(h,a.UploadId,n.options.UploadIdCacheLimit),i.setUsing(a.UploadId);var f=s.filter(a.PartList,(function(e){return e["Uploaded"]&&(M+=e["PartNumber"]>=S&&y%_||_),!e["Uploaded"]}));o.eachLimit(f,x,(function(t,r){var i=t.PartNumber,s=t.CopySourceRange,h=t.end-t.start;o.retry(k,(function(t){w.call(n,{Bucket:l,Region:u,Key:c,CopySource:d,UploadId:a.UploadId,PartNumber:i,CopySourceRange:s,tracker:e.tracker,calledBySdk:"sliceCopyFile"},t)}),(function(e,n){if(e)return r(e);M+=h,b({loaded:M,total:y}),t.ETag=n.ETag,r(e||null,n)}))}),(function(e){if(e)return i.removeUsing(a.UploadId),b(null,!0),t(e);r.emit("copy_slice_complete",a)}))})),r.on("get_chunk_size_finish",(function(){var o=function(){n.multipartInit({Bucket:l,Region:u,Key:c,Headers:O,tracker:e.tracker,calledBySdk:"sliceCopyFile"},(function(n,i){if(n)return t(n);e.UploadId=i.UploadId,r.emit("get_copy_data_finish",{UploadId:e.UploadId,PartList:e.PartList})}))},a=i.getCopyFileId(d,C,_,l,c),f=i.getUploadIdList(a);if(!a||!f)return o();var p=function t(a){if(a>=f.length)return o();var d=f[a];if(i.using[d])return t(a+1);h.call(n,{Bucket:l,Region:u,Key:c,UploadId:d,tracker:e.tracker,calledBySdk:"sliceCopyFile"},(function(n,o){if(n)i.removeUploadId(d),t(a+1);else{if(i.using[d])return t(a+1);var l={},u=0;s.each(o.PartList,(function(e){var t=parseInt(e.Size),r=u+t-1;l[e.PartNumber+"|"+u+"|"+r]=e.ETag,u+=t})),s.each(e.PartList,(function(e){var t=l[e.PartNumber+"|"+e.start+"|"+e.end];t&&(e.ETag=t,e.Uploaded=!0)})),r.emit("get_copy_data_finish",{UploadId:d,PartList:e.PartList})}}))};p(0)})),r.on("get_file_size_finish",(function(){if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],r=1048576,i=0;i<t.length;i++)if(r=1024*t[i]*1024,y/r<=n.options.MaxPartNumber)break;e.ChunkSize=_=Math.max(_,r),S=Math.ceil(y/_);for(var o=[],a=1;a<=S;a++){var s=(a-1)*_,l=a*_<y?a*_-1:y-1,u={PartNumber:a,start:s,end:l,CopySourceRange:"bytes="+s+"-"+l};o.push(u)}e.PartList=o}(),O="Replaced"===e.Headers["x-cos-metadata-directive"]?e.Headers:T,O["x-cos-storage-class"]=e.Headers["x-cos-storage-class"]||T["x-cos-storage-class"],O=s.clearKey(O),"ARCHIVE"===T["x-cos-storage-class"]||"DEEP_ARCHIVE"===T["x-cos-storage-class"]){var i=T["x-cos-restore"];if(!i||'ongoing-request="true"'===i)return void t(s.error(new Error("Unrestored archive object is not allowed to be copied")))}delete O["x-cos-copy-source"],delete O["x-cos-metadata-directive"],delete O["x-cos-copy-source-If-Modified-Since"],delete O["x-cos-copy-source-If-Unmodified-Since"],delete O["x-cos-copy-source-If-Match"],delete O["x-cos-copy-source-If-None-Match"],r.emit("get_chunk_size_finish")})),n.headObject({Bucket:p,Region:m,Key:g,tracker:e.tracker,calledBySdk:"sliceCopyFile"},(function(i,o){if(i)i.statusCode&&404===i.statusCode?t(s.error(i,{ErrorStatus:g+" Not Exist"})):t(i);else if(y=e.FileSize=o.headers["content-length"],void 0!==y&&y)if(e.tracker&&e.tracker.setParams({httpSize:y}),b=s.throttleOnProgress.call(n,y,e.onProgress),y<=v)e.Headers["x-cos-metadata-directive"]||(e.Headers["x-cos-metadata-directive"]="Copy"),n.putObjectCopy(Object.assign(e,{calledBySdk:"sliceCopyFile"}),(function(e,r){if(e)return b(null,!0),t(e);b({loaded:y,total:y},!0),t(e,r)}));else{var a=o.headers;C=a,T={"Cache-Control":a["cache-control"],"Content-Disposition":a["content-disposition"],"Content-Encoding":a["content-encoding"],"Content-Type":a["content-type"],Expires:a["expires"],"x-cos-storage-class":a["x-cos-storage-class"]},s.each(a,(function(e,t){var r="x-cos-meta-";0===t.indexOf(r)&&t.length>r.length&&(T[t]=e)})),r.emit("get_file_size_finish")}else t(s.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.( 获取Content-Length失败,请在CORS ExposeHeader设置中添加Content-Length,请参考文档:https://cloud.tencent.com/document/product/436/13318 )')))}))}else t(s.error(new Error("CopySource format error")))}function w(e,t){var r=e.TaskId,n=e.Bucket,i=e.Region,a=e.Key,s=e.CopySource,l=e.UploadId,u=1*e.PartNumber,c=e.CopySourceRange,d=this.options.ChunkRetryTimes+1,h=this;o.retry(d,(function(t){h.uploadPartCopy({TaskId:r,Bucket:n,Region:i,Key:a,CopySource:s,UploadId:l,PartNumber:u,CopySourceRange:c,tracker:e.tracker,calledBySdk:e.calledBySdk},(function(e,r){t(e||null,r)}))}),(function(e,r){return t(e,r)}))}var x={sliceUploadFile:u,abortUploadTask:g,uploadFile:y,uploadFiles:b,sliceCopyFile:_};e.exports.init=function(e,t){t.transferToTaskMethod(x,"sliceUploadFile"),s.each(x,(function(t,r){e.prototype[r]=s.apiWrapper(r,t)}))}},"./src/async.js":
|
||
/*!**********************!*\
|
||
!*** ./src/async.js ***!
|
||
\**********************/
|
||
/*! no static exports found */function(e,t){var r=function(e,t,r,n){if(n=n||function(){},!e.length||t<=0)return n();var i=0,o=0,a=0;(function s(){if(i>=e.length)return n();while(a<t&&o<e.length)o+=1,a+=1,r(e[o-1],(function(t){t?(n(t),n=function(){}):(i+=1,a-=1,i>=e.length?n():s())}))})()},n=function(e,t,r){var n=function n(i){t((function(t,o){t&&i<e?n(i+1):r(t,o)}))};e<1?r():n(1)},i={eachLimit:r,retry:n};e.exports=i},"./src/base.js":
|
||
/*!*********************!*\
|
||
!*** ./src/base.js ***!
|
||
\*********************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=r(/*! ../lib/request */"./lib/request.js"),o=r(/*! ./util */"./src/util.js");function a(e,t){"function"===typeof e&&(t=e,e={});var r=this.options.Protocol||(o.isBrowser&&"object"===("undefined"===typeof location?"undefined":n(location))&&"http:"===location.protocol?"http:":"https:"),i=this.options.ServiceDomain,a=e.AppId||this.options.appId,s=e.Region;i?(i=i.replace(/\{\{AppId\}\}/gi,a||"").replace(/\{\{Region\}\}/gi,s||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(i)||(i=r+"//"+i),"/"===i.slice(-1)&&(i=i.slice(0,-1))):i=s?r+"//cos."+s+".myqcloud.com":r+"//service.cos.myqcloud.com";var l="",u=s?"cos."+s+".myqcloud.com":"service.cos.myqcloud.com",c=i.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");u===c&&(l=u),je.call(this,{Action:"name/cos:GetService",url:i,method:"GET",headers:e.Headers,SignHost:l,tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r&&r.ListAllMyBucketsResult&&r.ListAllMyBucketsResult.Buckets&&r.ListAllMyBucketsResult.Buckets.Bucket||[];n=o.isArray(n)?n:[n];var i=r&&r.ListAllMyBucketsResult&&r.ListAllMyBucketsResult.Owner||{};t(null,{Buckets:n,Owner:i,statusCode:r.statusCode,headers:r.headers})}))}function s(e,t){var r=this,n="";if(e["BucketAZConfig"]){var i={BucketAZConfig:e.BucketAZConfig};n=o.json2xml({CreateBucketConfiguration:i})}je.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,body:n,tracker:e.tracker},(function(n,i){if(n)return t(n);var o=Le({protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,isLocation:!0});t(null,{Location:o,statusCode:i.statusCode,headers:i.headers})}))}function l(e,t){je.call(this,{Action:"name/cos:HeadBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"HEAD",tracker:e.tracker},t)}function u(e,t){var r={};r["prefix"]=e["Prefix"]||"",r["delimiter"]=e["Delimiter"],r["marker"]=e["Marker"],r["max-keys"]=e["MaxKeys"],r["encoding-type"]=e["EncodingType"],je.call(this,{Action:"name/cos:GetBucket",ResourceKey:r["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r,tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r.ListBucketResult||{},i=n.Contents||[],a=n.CommonPrefixes||[];i=o.isArray(i)?i:[i],a=o.isArray(a)?a:[a];var s=o.clone(n);o.extend(s,{Contents:i,CommonPrefixes:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))}function c(e,t){je.call(this,{Action:"name/cos:DeleteBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"DELETE",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function d(e,t){var r=e.Headers,n="";if(e["AccessControlPolicy"]){var i=o.clone(e["AccessControlPolicy"]||{}),a=i.Grants||i.Grant;a=o.isArray(a)?a:[a],delete i.Grant,delete i.Grants,i.AccessControlList={Grant:a},n=o.json2xml({AccessControlPolicy:i}),r["Content-Type"]="application/xml",r["Content-MD5"]=o.b64(o.md5(n))}o.each(r,(function(e,t){0===t.indexOf("x-cos-grant-")&&(r[t]=Oe(r[t]))})),je.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:r,action:"acl",body:n,tracker:e.tracker},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))}function h(e,t){je.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"acl",tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r.AccessControlPolicy||{},i=n.Owner||{},a=n.AccessControlList.Grant||[];a=o.isArray(a)?a:[a];var s=Te(n);r.headers&&r.headers["x-cos-acl"]&&(s.ACL=r.headers["x-cos-acl"]),s=o.extend(s,{Owner:i,Grants:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))}function f(e,t){var r=e["CORSConfiguration"]||{},n=r["CORSRules"]||e["CORSRules"]||[];n=o.clone(o.isArray(n)?n:[n]),o.each(n,(function(e){o.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var r=t+"s",n=e[r]||e[t]||[];delete e[r],e[t]=o.isArray(n)?n:[n]}))}));var i={CORSRule:n};e.ResponseVary&&(i.ResponseVary=e.ResponseVary);var a=o.json2xml({CORSConfiguration:i}),s=e.Headers;s["Content-Type"]="application/xml",s["Content-MD5"]=o.b64(o.md5(a)),je.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"cors",headers:s,tracker:e.tracker},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))}function p(e,t){je.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors",tracker:e.tracker},(function(e,r){if(e)if(404===e.statusCode&&e.error&&"NoSuchCORSConfiguration"===e.error.Code){var n={CORSRules:[],statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var i=r.CORSConfiguration||{},a=i.CORSRules||i.CORSRule||[];a=o.clone(o.isArray(a)?a:[a]);var s=i.ResponseVary;o.each(a,(function(e){o.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){var r=t+"s",n=e[r]||e[t]||[];delete e[t],e[r]=o.isArray(n)?n:[n]}))})),t(null,{CORSRules:a,ResponseVary:s,statusCode:r.statusCode,headers:r.headers})}}))}function m(e,t){je.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"cors",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode||e.statusCode,headers:r.headers})}))}function g(e,t){je.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"location",tracker:e.tracker},t)}function v(e,t){var r=e["Policy"];try{"string"===typeof r&&(r=JSON.parse(r))}catch(a){}if(!r||"string"===typeof r)return t(o.error(new Error("Policy format error")));var n=JSON.stringify(r);r.version||(r.version="2.0");var i=e.Headers;i["Content-Type"]="application/json",i["Content-MD5"]=o.b64(o.md5(n)),je.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:e.Bucket,Region:e.Region,action:"policy",body:n,headers:i,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function y(e,t){je.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"policy",rawBody:!0,tracker:e.tracker},(function(e,r){if(e)return e.statusCode&&403===e.statusCode?t(o.error(e,{ErrorStatus:"Access Denied"})):e.statusCode&&405===e.statusCode?t(o.error(e,{ErrorStatus:"Method Not Allowed"})):e.statusCode&&404===e.statusCode?t(o.error(e,{ErrorStatus:"Policy Not Found"})):t(e);var n={};try{n=JSON.parse(r.body)}catch(i){}t(null,{Policy:n,statusCode:r.statusCode,headers:r.headers})}))}function b(e,t){je.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"policy",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode||e.statusCode,headers:r.headers})}))}function _(e,t){var r=e["Tagging"]||{},n=r.TagSet||r.Tags||e["Tags"]||[];n=o.clone(o.isArray(n)?n:[n]);var i=o.json2xml({Tagging:{TagSet:{Tag:n}}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"tagging",headers:a,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function w(e,t){je.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging",tracker:e.tracker},(function(e,r){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"NoSuchTagSet"!==e.error.Code)t(e);else{var n={Tags:[],statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else{var i=[];try{i=r.Tagging.TagSet.Tag||[]}catch(a){}i=o.clone(o.isArray(i)?i:[i]),t(null,{Tags:i,statusCode:r.statusCode,headers:r.headers})}}))}function x(e,t){je.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function k(e,t){var r=e["LifecycleConfiguration"]||{},n=r.Rules||e.Rules||[];n=o.clone(n);var i=o.json2xml({LifecycleConfiguration:{Rule:n}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"lifecycle",headers:a,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function S(e,t){je.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"lifecycle",tracker:e.tracker},(function(e,r){if(e)if(404===e.statusCode&&e.error&&"NoSuchLifecycleConfiguration"===e.error.Code){var n={Rules:[],statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var i=[];try{i=r.LifecycleConfiguration.Rule||[]}catch(a){}i=o.clone(o.isArray(i)?i:[i]),t(null,{Rules:i,statusCode:r.statusCode,headers:r.headers})}}))}function M(e,t){je.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"lifecycle",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function C(e,t){if(e["VersioningConfiguration"]){var r=e["VersioningConfiguration"]||{},n=o.json2xml({VersioningConfiguration:r}),i=e.Headers;i["Content-Type"]="application/xml",i["Content-MD5"]=o.b64(o.md5(n)),je.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"versioning",headers:i,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(o.error(new Error("missing param VersioningConfiguration")))}function T(e,t){je.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"versioning",tracker:e.tracker},(function(e,r){e||!r.VersioningConfiguration&&(r.VersioningConfiguration={}),t(e,r)}))}function O(e,t){var r=o.clone(e.ReplicationConfiguration),n=o.json2xml({ReplicationConfiguration:r});n=n.replace(/<(\/?)Rules>/gi,"<$1Rule>"),n=n.replace(/<(\/?)Tags>/gi,"<$1Tag>");var i=e.Headers;i["Content-Type"]="application/xml",i["Content-MD5"]=o.b64(o.md5(n)),je.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"replication",headers:i,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function L(e,t){je.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication",tracker:e.tracker},(function(e,r){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"ReplicationConfigurationnotFoundError"!==e.error.Code)t(e);else{var n={ReplicationConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else!r.ReplicationConfiguration&&(r.ReplicationConfiguration={}),r.ReplicationConfiguration.Rule&&(r.ReplicationConfiguration.Rules=o.makeArray(r.ReplicationConfiguration.Rule),delete r.ReplicationConfiguration.Rule),t(e,r)}))}function A(e,t){je.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"replication",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function D(e,t){if(e["WebsiteConfiguration"]){var r=o.clone(e["WebsiteConfiguration"]||{}),n=r["RoutingRules"]||r["RoutingRule"]||[];n=o.isArray(n)?n:[n],delete r.RoutingRule,delete r.RoutingRules,n.length&&(r.RoutingRules={RoutingRule:n});var i=o.json2xml({WebsiteConfiguration:r}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"website",headers:a,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(o.error(new Error("missing param WebsiteConfiguration")))}function E(e,t){je.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"website",tracker:e.tracker},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchWebsiteConfiguration"===e.error.Code){var n={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var i=r.WebsiteConfiguration||{};if(i["RoutingRules"]){var a=o.clone(i["RoutingRules"].RoutingRule||[]);a=o.makeArray(a),i.RoutingRules=a}t(null,{WebsiteConfiguration:i,statusCode:r.statusCode,headers:r.headers})}}))}function I(e,t){je.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"website",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function j(e,t){if(e["RefererConfiguration"]){var r=o.clone(e["RefererConfiguration"]||{}),n=r["DomainList"]||{},i=n["Domains"]||n["Domain"]||[];i=o.isArray(i)?i:[i],i.length&&(r.DomainList={Domain:i});var a=o.json2xml({RefererConfiguration:r}),s=e.Headers;s["Content-Type"]="application/xml",s["Content-MD5"]=o.b64(o.md5(a)),je.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:a,action:"referer",headers:s,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(o.error(new Error("missing param RefererConfiguration")))}function P(e,t){je.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"referer",tracker:e.tracker},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchRefererConfiguration"===e.error.Code){var n={WebsiteConfiguration:{},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var i=r.RefererConfiguration||{};if(i["DomainList"]){var a=o.makeArray(i["DomainList"].Domain||[]);i.DomainList={Domains:a}}t(null,{RefererConfiguration:i,statusCode:r.statusCode,headers:r.headers})}}))}function R(e,t){var r=e["DomainConfiguration"]||{},n=r.DomainRule||e.DomainRule||[];n=o.clone(n);var i=o.json2xml({DomainConfiguration:{DomainRule:n}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"domain",headers:a,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function N(e,t){je.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"domain",tracker:e.tracker},(function(e,r){if(e)return t(e);var n=[];try{n=r.DomainConfiguration.DomainRule||[]}catch(i){}n=o.clone(o.isArray(n)?n:[n]),t(null,{DomainRule:n,statusCode:r.statusCode,headers:r.headers})}))}function B(e,t){je.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"domain",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function Y(e,t){var r=e["OriginConfiguration"]||{},n=r.OriginRule||e.OriginRule||[];n=o.clone(n);var i=o.json2xml({OriginConfiguration:{OriginRule:n}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"origin",headers:a,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function F(e,t){je.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"origin",tracker:e.tracker},(function(e,r){if(e)return t(e);var n=[];try{n=r.OriginConfiguration.OriginRule||[]}catch(i){}n=o.clone(o.isArray(n)?n:[n]),t(null,{OriginRule:n,statusCode:r.statusCode,headers:r.headers})}))}function z(e,t){je.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"origin",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function H(e,t){var r=o.json2xml({BucketLoggingStatus:e["BucketLoggingStatus"]||""}),n=e.Headers;n["Content-Type"]="application/xml",n["Content-MD5"]=o.b64(o.md5(r)),je.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:r,action:"logging",headers:n,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function V(e,t){je.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"logging",tracker:e.tracker},(function(e,r){if(e)return t(e);t(null,{BucketLoggingStatus:r.BucketLoggingStatus,statusCode:r.statusCode,headers:r.headers})}))}function U(e,t,r){var n=o.clone(t["InventoryConfiguration"]);if(n.OptionalFields){var i=n.OptionalFields||[];n.OptionalFields={Field:i}}if(n.Destination&&n.Destination.COSBucketDestination&&n.Destination.COSBucketDestination.Encryption){var a=n.Destination.COSBucketDestination.Encryption;Object.keys(a).indexOf("SSECOS")>-1&&(a["SSE-COS"]=a["SSECOS"],delete a["SSECOS"])}var s=o.json2xml({InventoryConfiguration:n}),l=t.Headers;l["Content-Type"]="application/xml",l["Content-MD5"]=o.b64(o.md5(s));var u="PUT"===e?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";je.call(this,{Action:u,method:e,Bucket:t.Bucket,Region:t.Region,body:s,action:"inventory",qs:{id:t["Id"]},headers:l,tracker:t.tracker},(function(e,t){return e&&204===e.statusCode?r(null,{statusCode:e.statusCode}):e?r(e):void r(null,{statusCode:t.statusCode,headers:t.headers})}))}function W(e,t){return U.call(this,"PUT",e,t)}function $(e,t){return U.call(this,"POST",e,t)}function G(e,t){je.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e["Id"]},tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r["InventoryConfiguration"];if(n&&n.OptionalFields&&n.OptionalFields.Field){var i=n.OptionalFields.Field;o.isArray(i)||(i=[i]),n.OptionalFields=i}if(n.Destination&&n.Destination.COSBucketDestination&&n.Destination.COSBucketDestination.Encryption){var a=n.Destination.COSBucketDestination.Encryption;Object.keys(a).indexOf("SSE-COS")>-1&&(a["SSECOS"]=a["SSE-COS"],delete a["SSE-COS"])}t(null,{InventoryConfiguration:n,statusCode:r.statusCode,headers:r.headers})}))}function q(e,t){je.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{"continuation-token":e["ContinuationToken"]},tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r["ListInventoryConfigurationResult"],i=n.InventoryConfiguration||[];i=o.isArray(i)?i:[i],delete n["InventoryConfiguration"],o.each(i,(function(e){if(e&&e.OptionalFields&&e.OptionalFields.Field){var t=e.OptionalFields.Field;o.isArray(t)||(t=[t]),e.OptionalFields=t}if(e.Destination&&e.Destination.COSBucketDestination&&e.Destination.COSBucketDestination.Encryption){var r=e.Destination.COSBucketDestination.Encryption;Object.keys(r).indexOf("SSE-COS")>-1&&(r["SSECOS"]=r["SSE-COS"],delete r["SSE-COS"])}})),n.InventoryConfigurations=i,o.extend(n,{statusCode:r.statusCode,headers:r.headers}),t(null,n)}))}function X(e,t){je.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"inventory",qs:{id:e["Id"]},tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function K(e,t){if(e["AccelerateConfiguration"]){var r={AccelerateConfiguration:e.AccelerateConfiguration||{}},n=o.json2xml(r),i={"Content-Type":"application/xml"};i["Content-MD5"]=o.b64(o.md5(n)),je.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:n,action:"accelerate",headers:i,tracker:e.tracker},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))}else t(o.error(new Error("missing param AccelerateConfiguration")))}function Z(e,t){je.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:e.Bucket,Region:e.Region,action:"accelerate",tracker:e.tracker},(function(e,r){e||!r.AccelerateConfiguration&&(r.AccelerateConfiguration={}),t(e,r)}))}function J(e,t){var r=e.ServerSideEncryptionConfiguration||{},n=r.Rule||r.Rules||[],i=o.json2xml({ServerSideEncryptionConfiguration:{Rule:n}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:e.Bucket,Region:e.Region,body:i,action:"encryption",headers:a,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function Q(e,t){je.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption",tracker:e.tracker},(function(e,r){if(e)if(404===e.statusCode&&"NoSuchEncryptionConfiguration"===e.code){var n={EncryptionConfiguration:{Rules:[]},statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else t(e);else{var i=o.makeArray(r.EncryptionConfiguration&&r.EncryptionConfiguration.Rule||[]);r.EncryptionConfiguration={Rules:i},t(e,r)}}))}function ee(e,t){je.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"encryption",tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function te(e,t){je.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers,tracker:e.tracker},(function(r,n){if(r){var i=r.statusCode;return e.Headers["If-Modified-Since"]&&i&&304===i?t(null,{NotModified:!0,statusCode:i}):t(r)}n.ETag=o.attr(n.headers,"etag",""),t(null,n)}))}function re(e,t){var r={};r["prefix"]=e["Prefix"]||"",r["delimiter"]=e["Delimiter"],r["key-marker"]=e["KeyMarker"],r["version-id-marker"]=e["VersionIdMarker"],r["max-keys"]=e["MaxKeys"],r["encoding-type"]=e["EncodingType"],je.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:r["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r,action:"versions",tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r.ListVersionsResult||{},i=n.DeleteMarker||[];i=o.isArray(i)?i:[i];var a=n.Version||[];a=o.isArray(a)?a:[a];var s=o.clone(n);delete s.DeleteMarker,delete s.Version,o.extend(s,{DeleteMarkers:i,Versions:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))}function ne(e,t){var r=e.Query||{},n=e.QueryString||"",i=o.throttleOnProgress.call(this,0,e.onProgress),a=e.tracker;a&&a.setParams({signStartTime:(new Date).getTime()}),r["response-content-type"]=e["ResponseContentType"],r["response-content-language"]=e["ResponseContentLanguage"],r["response-expires"]=e["ResponseExpires"],r["response-cache-control"]=e["ResponseCacheControl"],r["response-content-disposition"]=e["ResponseContentDisposition"],r["response-content-encoding"]=e["ResponseContentEncoding"],je.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,DataType:e.DataType,headers:e.Headers,qs:r,qsStr:n,rawBody:!0,onDownloadProgress:i,tracker:a},(function(r,n){if(i(null,!0),r){var a=r.statusCode;return e.Headers["If-Modified-Since"]&&a&&304===a?t(null,{NotModified:!0}):t(r)}t(null,{Body:n.body,ETag:o.attr(n.headers,"etag",""),statusCode:n.statusCode,headers:n.headers})}))}function ie(e,t){var r=this,n=e.ContentLength,i=o.throttleOnProgress.call(r,n,e.onProgress),a=e.Headers;a["Cache-Control"]||a["cache-control"]||(a["Cache-Control"]=""),a["Content-Type"]||a["content-type"]||(a["Content-Type"]=e.Body&&e.Body.type||"");var s=e.UploadAddMetaMd5||r.options.UploadAddMetaMd5||r.options.UploadCheckContentMd5,l=e.tracker;s&&l&&l.setParams({md5StartTime:(new Date).getTime()}),o.getBodyMd5(s,e.Body,(function(s){s&&(l&&l.setParams({md5EndTime:(new Date).getTime()}),r.options.UploadCheckContentMd5&&(a["Content-MD5"]=o.b64(s)),(e.UploadAddMetaMd5||r.options.UploadAddMetaMd5)&&(a["x-cos-meta-md5"]=s)),void 0!==e.ContentLength&&(a["Content-Length"]=e.ContentLength),i(null,!0),je.call(r,{Action:"name/cos:PutObject",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:e.Query,body:e.Body,onProgress:i,tracker:l},(function(a,s){if(a)return i(null,!0),t(a);i({loaded:n,total:n},!0);var l=Le({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:r.options.UseAccelerate?"accelerate":e.Region,object:e.Key});l=l.substr(l.indexOf("://")+3),s.Location=l,s.ETag=o.attr(s.headers,"etag",""),t(null,s)}))}),e.onHashProgress)}function oe(e,t){je.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,VersionId:e.VersionId,action:e.Recursive?"recursive":"",tracker:e.tracker},(function(e,r){if(e){var n=e.statusCode;return n&&404===n?t(null,{BucketNotFound:!0,statusCode:n}):t(e)}t(null,{statusCode:r.statusCode,headers:r.headers})}))}function ae(e,t){var r={};e.VersionId&&(r.versionId=e.VersionId),je.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r,action:"acl",tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r.AccessControlPolicy||{},i=n.Owner||{},a=n.AccessControlList&&n.AccessControlList.Grant||[];a=o.isArray(a)?a:[a];var s=Te(n);delete s.GrantWrite,r.headers&&r.headers["x-cos-acl"]&&(s.ACL=r.headers["x-cos-acl"]),s=o.extend(s,{Owner:i,Grants:a,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))}function se(e,t){var r=e.Headers,n="";if(e["AccessControlPolicy"]){var i=o.clone(e["AccessControlPolicy"]||{}),a=i.Grants||i.Grant;a=o.isArray(a)?a:[a],delete i.Grant,delete i.Grants,i.AccessControlList={Grant:a},n=o.json2xml({AccessControlPolicy:i}),r["Content-Type"]="application/xml",r["Content-MD5"]=o.b64(o.md5(n))}o.each(r,(function(e,t){0===t.indexOf("x-cos-grant-")&&(r[t]=Oe(r[t]))})),je.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"acl",headers:r,body:n,tracker:e.tracker},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))}function le(e,t){var r=e.Headers;r["Origin"]=e["Origin"],r["Access-Control-Request-Method"]=e["AccessControlRequestMethod"],r["Access-Control-Request-Headers"]=e["AccessControlRequestHeaders"],je.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:r,tracker:e.tracker},(function(e,r){if(e)return e.statusCode&&403===e.statusCode?t(null,{OptionsForbidden:!0,statusCode:e.statusCode}):t(e);var n=r.headers||{};t(null,{AccessControlAllowOrigin:n["access-control-allow-origin"],AccessControlAllowMethods:n["access-control-allow-methods"],AccessControlAllowHeaders:n["access-control-allow-headers"],AccessControlExposeHeaders:n["access-control-expose-headers"],AccessControlMaxAge:n["access-control-max-age"],statusCode:r.statusCode,headers:r.headers})}))}function ue(e,t){var r=this,n=e.Headers;n["Cache-Control"]||n["cache-control"]||(n["Cache-Control"]="");var i=e.CopySource||"",a=o.getSourceParams.call(this,i);if(a){var s=a.Bucket,l=a.Region,u=decodeURIComponent(a.Key);je.call(this,{Scope:[{action:"name/cos:GetObject",bucket:s,region:l,prefix:u},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,headers:e.Headers,tracker:e.tracker},(function(n,i){if(n)return t(n);var a=o.clone(i.CopyObjectResult||{}),s=Le({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,object:e.Key,isLocation:!0});o.extend(a,{Location:s,statusCode:i.statusCode,headers:i.headers}),t(null,a)}))}else t(o.error(new Error("CopySource format error")))}function ce(e,t){var r=e.CopySource||"",n=o.getSourceParams.call(this,r);if(n){var i=n.Bucket,a=n.Region,s=decodeURIComponent(n.Key);je.call(this,{Scope:[{action:"name/cos:GetObject",bucket:i,region:a,prefix:s},{action:"name/cos:PutObject",bucket:e.Bucket,region:e.Region,prefix:e.Key}],method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,qs:{partNumber:e["PartNumber"],uploadId:e["UploadId"]},headers:e.Headers,tracker:e.tracker},(function(e,r){if(e)return t(e);var n=o.clone(r.CopyPartResult||{});o.extend(n,{statusCode:r.statusCode,headers:r.headers}),t(null,n)}))}else t(o.error(new Error("CopySource format error")))}function de(e,t){var r=e.Objects||[],n=e.Quiet;r=o.isArray(r)?r:[r];var i=o.json2xml({Delete:{Object:r,Quiet:n||!1}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i));var s=o.map(r,(function(t){return{action:"name/cos:DeleteObject",bucket:e.Bucket,region:e.Region,prefix:t.Key}}));je.call(this,{Scope:s,method:"POST",Bucket:e.Bucket,Region:e.Region,body:i,action:"delete",headers:a,tracker:e.tracker},(function(e,r){if(e)return t(e);var n=r.DeleteResult||{},i=n.Deleted||[],a=n.Error||[];i=o.isArray(i)?i:[i],a=o.isArray(a)?a:[a];var s=o.clone(n);o.extend(s,{Error:a,Deleted:i,statusCode:r.statusCode,headers:r.headers}),t(null,s)}))}function he(e,t){var r=e.Headers;if(e["RestoreRequest"]){var n=e.RestoreRequest||{},i=o.json2xml({RestoreRequest:n});r["Content-Type"]="application/xml",r["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,VersionId:e.VersionId,body:i,action:"restore",headers:r,tracker:e.tracker},t)}else t(o.error(new Error("missing param RestoreRequest")))}function fe(e,t){var r=e["Tagging"]||{},n=r.TagSet||r.Tags||e["Tags"]||[];n=o.clone(o.isArray(n)?n:[n]);var i=o.json2xml({Tagging:{TagSet:{Tag:n}}}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:e.Bucket,Key:e.Key,Region:e.Region,body:i,action:"tagging",headers:a,VersionId:e.VersionId,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function pe(e,t){je.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:e.Key,Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"tagging",VersionId:e.VersionId,tracker:e.tracker},(function(e,r){if(e)if(404!==e.statusCode||!e.error||"Not Found"!==e.error&&"NoSuchTagSet"!==e.error.Code)t(e);else{var n={Tags:[],statusCode:e.statusCode};e.headers&&(n.headers=e.headers),t(null,n)}else{var i=[];try{i=r.Tagging.TagSet.Tag||[]}catch(a){}i=o.clone(o.isArray(i)?i:[i]),t(null,{Tags:i,statusCode:r.statusCode,headers:r.headers})}}))}function me(e,t){je.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"tagging",VersionId:e.VersionId,tracker:e.tracker},(function(e,r){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:r.statusCode,headers:r.headers})}))}function ge(e,t){var r=e["SelectType"];if(!r)return t(o.error(new Error("missing param SelectType")));var n=e["SelectRequest"]||{},i=o.json2xml({SelectRequest:n}),a=e.Headers;a["Content-Type"]="application/xml",a["Content-MD5"]=o.b64(o.md5(i)),je.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,action:"select",qs:{"select-type":e["SelectType"]},VersionId:e.VersionId,body:i,DataType:"arraybuffer",rawBody:!0,tracker:e.tracker},(function(e,r){if(e&&204===e.statusCode)return t(null,{statusCode:e.statusCode});if(e)return t(e);var n=o.parseSelectPayload(r.body);t(null,{statusCode:r.statusCode,headers:r.headers,Body:n.body,Payload:n.payload})}))}function ve(e,t){var r=this,n=e.Headers,i=e.tracker;n["Cache-Control"]||n["cache-control"]||(n["Cache-Control"]=""),n["Content-Type"]||n["content-type"]||(n["Content-Type"]=e.Body&&e.Body.type||"");var a=e.Body&&(e.UploadAddMetaMd5||r.options.UploadAddMetaMd5);a&&i&&i.setParams({md5StartTime:(new Date).getTime()}),o.getBodyMd5(a,e.Body,(function(n){n&&(e.Headers["x-cos-meta-md5"]=n),a&&i&&i.setParams({md5EndTime:(new Date).getTime()}),je.call(r,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:"uploads",headers:e.Headers,qs:e.Query,tracker:i},(function(e,r){return e?(i&&i.parent&&i.parent.setParams({errorNode:"multipartInit"}),t(e)):(r=o.clone(r||{}),r&&r.InitiateMultipartUploadResult?t(null,o.extend(r.InitiateMultipartUploadResult,{statusCode:r.statusCode,headers:r.headers})):void t(null,r))}))}),e.onHashProgress)}function ye(e,t){var r=this;o.getFileSize("multipartUpload",e,(function(){var n=e.tracker,i=r.options.UploadCheckContentMd5;i&&n&&n.setParams({md5StartTime:(new Date).getTime()}),o.getBodyMd5(i,e.Body,(function(a){a&&(e.Headers["Content-MD5"]=o.b64(a)),i&&n&&n.setParams({md5EndTime:(new Date).getTime()}),n&&n.setParams({partNumber:e.PartNumber}),je.call(r,{Action:"name/cos:UploadPart",TaskId:e.TaskId,method:"PUT",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{partNumber:e["PartNumber"],uploadId:e["UploadId"]},headers:e.Headers,onProgress:e.onProgress,body:e.Body||null,tracker:n},(function(e,r){if(e)return n&&n.parent&&n.parent.setParams({errorNode:"multipartUpload"}),t(e);t(null,{ETag:o.attr(r.headers,"etag",""),statusCode:r.statusCode,headers:r.headers})}))}))}))}function be(e,t){for(var r=this,n=e.UploadId,i=e["Parts"],a=e.tracker,s=0,l=i.length;s<l;s++)i[s]["ETag"]&&0===i[s]["ETag"].indexOf('"')||(i[s]["ETag"]='"'+i[s]["ETag"]+'"');var u=o.json2xml({CompleteMultipartUpload:{Part:i}});u=u.replace(/\n\s*/g,"");var c=e.Headers;c["Content-Type"]="application/xml",c["Content-MD5"]=o.b64(o.md5(u)),je.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:e.Bucket,Region:e.Region,Key:e.Key,qs:{uploadId:n},body:u,headers:c,tracker:a},(function(n,i){if(n)return a&&a.parent&&a.parent.setParams({errorNode:"multipartComplete"}),t(n);var s=Le({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:e.Bucket,region:e.Region,object:e.Key,isLocation:!0}),l=i.CompleteMultipartUploadResult||{};l.ProcessResults&&l&&l.ProcessResults&&(l.UploadResult={OriginalInfo:{Key:l.Key,Location:s,ETag:l.ETag,ImageInfo:l.ImageInfo},ProcessResults:l.ProcessResults},delete l.ImageInfo,delete l.ProcessResults);var u=o.extend(l,{Location:s,statusCode:i.statusCode,headers:i.headers});t(null,u)}))}function _e(e,t){var r={};r["delimiter"]=e["Delimiter"],r["encoding-type"]=e["EncodingType"],r["prefix"]=e["Prefix"]||"",r["max-uploads"]=e["MaxUploads"],r["key-marker"]=e["KeyMarker"],r["upload-id-marker"]=e["UploadIdMarker"],r=o.clearKey(r);var n=e.tracker;n&&n.setParams({signStartTime:(new Date).getTime()}),je.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:r["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:r,action:"uploads",tracker:n},(function(e,r){if(e)return n&&n.parent&&n.parent.setParams({errorNode:"multipartList"}),t(e);if(r&&r.ListMultipartUploadsResult){var i=r.ListMultipartUploadsResult.Upload||[];i=o.isArray(i)?i:[i],r.ListMultipartUploadsResult.Upload=i}var a=o.clone(r.ListMultipartUploadsResult||{});o.extend(a,{statusCode:r.statusCode,headers:r.headers}),t(null,a)}))}function we(e,t){var r={},n=e.tracker;r["uploadId"]=e["UploadId"],r["encoding-type"]=e["EncodingType"],r["max-parts"]=e["MaxParts"],r["part-number-marker"]=e["PartNumberMarker"],je.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r,tracker:n},(function(e,r){if(e)return n&&n.parent&&n.parent.setParams({errorNode:"multipartListPart"}),t(e);var i=r.ListPartsResult||{},a=i.Part||[];a=o.isArray(a)?a:[a],i.Part=a;var s=o.clone(i);o.extend(s,{statusCode:r.statusCode,headers:r.headers}),t(null,s)}))}function xe(e,t){var r={};r["uploadId"]=e["UploadId"],je.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:e.Bucket,Region:e.Region,Key:e.Key,headers:e.Headers,qs:r,tracker:e.tracker},(function(e,r){if(e)return t(e);t(null,{statusCode:r.statusCode,headers:r.headers})}))}function ke(e,t){je.call(this,{method:e.Method,Bucket:e.Bucket,Region:e.Region,Key:e.Key,action:e.Action,headers:e.Headers,qs:e.Query,body:e.Body,Url:e.Url,rawBody:e.RawBody,DataType:e.DataType,tracker:e.tracker},(function(e,r){if(e)return t(e);r&&r.body&&(r.Body=r.body,delete r.body),t(e,r)}))}function Se(e,t){var r=e.Headers;r["Cache-Control"]||r["cache-control"]||(r["Cache-Control"]=""),r["Content-Type"]||r["content-type"]||(r["Content-Type"]=e.Body&&e.Body.type||""),je.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:e.Bucket,Region:e.Region,action:"append",Key:e.Key,body:e.Body,qs:{position:e.Position},headers:e.Headers,tracker:e.tracker},(function(e,r){if(e)return t(e);t(null,r)}))}function Me(e){var t=this;return o.getAuth({SecretId:e.SecretId||this.options.SecretId||"",SecretKey:e.SecretKey||this.options.SecretKey||"",Bucket:e.Bucket,Region:e.Region,Method:e.Method,Key:e.Key,Query:e.Query,Headers:e.Headers,Expires:e.Expires,UseRawKey:t.options.UseRawKey,SystemClockOffset:t.options.SystemClockOffset})}function Ce(e,t){var r=this,n=void 0===e.UseAccelerate?r.options.UseAccelerate:e.UseAccelerate,i=Le({ForcePathStyle:r.options.ForcePathStyle,protocol:e.Protocol||r.options.Protocol,domain:e.Domain||r.options.Domain,bucket:e.Bucket,region:n?"accelerate":e.Region,object:e.Key}),a="";e.Query&&(a+=o.obj2str(e.Query)),e.QueryString&&(a+=(a?"&":"")+e.QueryString);var s=i;if(void 0!==e.Sign&&!e.Sign)return a&&(s+="?"+a),t(null,{Url:s}),s;var l=Ae.call(this,{Bucket:e.Bucket,Region:e.Region,UseAccelerate:e.UseAccelerate,Url:i}),u=De.call(this,{Action:"PUT"===(e.Method||"").toUpperCase()?"name/cos:PutObject":"name/cos:GetObject",Bucket:e.Bucket||"",Region:e.Region||"",Method:e.Method||"get",Key:e.Key,Expires:e.Expires,Headers:e.Headers,Query:e.Query,SignHost:l,ForceSignHost:!1!==e.ForceSignHost&&r.options.ForceSignHost},(function(e,r){if(t)if(e)t(e);else{var n=function(e){var t=e.match(/q-url-param-list.*?(?=&)/g)[0],r="q-url-param-list="+encodeURIComponent(t.replace(/q-url-param-list=/,"")).toLowerCase(),n=new RegExp(t,"g"),i=e.replace(n,r);return i},o=i;o+="?"+(r.Authorization.indexOf("q-signature")>-1?n(r.Authorization):"sign="+encodeURIComponent(r.Authorization)),r.SecurityToken&&(o+="&x-cos-security-token="+r.SecurityToken),r.ClientIP&&(o+="&clientIP="+r.ClientIP),r.ClientUA&&(o+="&clientUA="+r.ClientUA),r.Token&&(o+="&token="+r.Token),a&&(o+="&"+a),setTimeout((function(){t(null,{Url:o})}))}}));return u?(s+="?"+u.Authorization+(u.SecurityToken?"&x-cos-security-token="+u.SecurityToken:""),a&&(s+="&"+a)):a&&(s+="?"+a),s}function Te(e){var t={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},r={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},n=e&&e.AccessControlList||{},i=n.Grant;i&&(i=o.isArray(i)?i:[i]);var a={READ:0,WRITE:0,FULL_CONTROL:0};return i&&i.length&&o.each(i,(function(n){"qcs::cam::anyone:anyone"===n.Grantee.ID||"http://cam.qcloud.com/groups/global/AllUsers"===n.Grantee.URI?a[n.Permission]=1:n.Grantee.ID!==e.Owner.ID&&t[r[n.Permission]].push('id="'+n.Grantee.ID+'"')})),a.FULL_CONTROL||a.WRITE&&a.READ?t.ACL="public-read-write":a.READ?t.ACL="public-read":t.ACL="private",o.each(r,(function(e){t[e]=Oe(t[e].join(","))})),t}function Oe(e){var t,r,n=e.split(","),i={};for(t=0;t<n.length;)r=n[t].trim(),i[r]?n.splice(t,1):(i[r]=!0,n[t]=r,t++);return n.join(",")}function Le(e){var t=e.region||"",r=e.bucket||"",i=r.substr(0,r.lastIndexOf("-")),a=r.substr(r.lastIndexOf("-")+1),s=e.domain,l=e.object;"function"===typeof s&&(s=s({Bucket:r,Region:t})),["http","https"].includes(e.protocol)&&(e.protocol=e.protocol+":");var u=e.protocol||(o.isBrowser&&"object"===("undefined"===typeof location?"undefined":n(location))&&"http:"===location.protocol?"http:":"https:");s||(s=["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(t)>-1?"{Region}.myqcloud.com":"cos.{Region}.myqcloud.com",e.ForcePathStyle||(s="{Bucket}."+s)),s=s.replace(/\{\{AppId\}\}/gi,a).replace(/\{\{Bucket\}\}/gi,i).replace(/\{\{Region\}\}/gi,t).replace(/\{\{.*?\}\}/gi,""),s=s.replace(/\{AppId\}/gi,a).replace(/\{BucketName\}/gi,i).replace(/\{Bucket\}/gi,r).replace(/\{Region\}/gi,t).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(s)||(s=u+"//"+s),"/"===s.slice(-1)&&(s=s.slice(0,-1));var c=s;return e.ForcePathStyle&&(c+="/"+r),c+="/",l&&(c+=o.camSafeUrlEncode(l).replace(/%2F/g,"/")),e.isLocation&&(c=c.replace(/^https?:\/\//,"")),c}var Ae=function(e){if(!e.Bucket||!e.Region)return"";var t=void 0===e.UseAccelerate?this.options.UseAccelerate:e.UseAccelerate,r=e.Url||Le({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:e.Bucket,region:t?"accelerate":e.Region}),n=r.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return n};function De(e,t){var r=o.clone(e.Headers),n="";o.each(r,(function(e,t){(""===e||["content-type","cache-control","expires"].indexOf(t.toLowerCase())>-1)&&delete r[t],"host"===t.toLowerCase()&&(n=e)}));var i=!1!==e.ForceSignHost;!n&&e.SignHost&&i&&(r.Host=e.SignHost);var a=!1,s=function(e,r){a||(a=!0,r&&r.XCosSecurityToken&&!r.SecurityToken&&(r=o.clone(r),r.SecurityToken=r.XCosSecurityToken,delete r.XCosSecurityToken),t&&t(e,r))},l=this,u=e.Bucket||"",c=e.Region||"",d=e.Key||"";l.options.ForcePathStyle&&u&&(d=u+"/"+d);var h="/"+d,f={},p=e.Scope;if(!p){var m=e.Action||"",g=e.ResourceKey||e.Key||"";p=e.Scope||[{action:m,bucket:u,region:c,prefix:g}]}var v=o.md5(JSON.stringify(p));l._StsCache=l._StsCache||[],function(){var e,t;for(e=l._StsCache.length-1;e>=0;e--){t=l._StsCache[e];var r=Math.round(o.getSkewTime(l.options.SystemClockOffset)/1e3)+30;if(t.StartTime&&r<t.StartTime||r>=t.ExpiredTime)l._StsCache.splice(e,1);else if(!t.ScopeLimit||t.ScopeLimit&&t.ScopeKey===v){f=t;break}}}();var y=function(){var t="";f.StartTime&&e.Expires?t=f.StartTime+";"+(f.StartTime+1*e.Expires):f.StartTime&&f.ExpiredTime&&(t=f.StartTime+";"+f.ExpiredTime);var n=o.getAuth({SecretId:f.TmpSecretId,SecretKey:f.TmpSecretKey,Method:e.Method,Pathname:h,Query:e.Query,Headers:r,Expires:e.Expires,UseRawKey:l.options.UseRawKey,SystemClockOffset:l.options.SystemClockOffset,KeyTime:t,ForceSignHost:i}),a={Authorization:n,SecurityToken:f.SecurityToken||f.XCosSecurityToken||"",Token:f.Token||"",ClientIP:f.ClientIP||"",ClientUA:f.ClientUA||"",SignFrom:"client"};s(null,a)},b=function(e){if(e.Authorization){var t=!1,r=e.Authorization;if(r)if(r.indexOf(" ")>-1)t=!1;else if(r.indexOf("q-sign-algorithm=")>-1&&r.indexOf("q-ak=")>-1&&r.indexOf("q-sign-time=")>-1&&r.indexOf("q-key-time=")>-1&&r.indexOf("q-url-param-list=")>-1)t=!0;else try{r=atob(r),r.indexOf("a=")>-1&&r.indexOf("k=")>-1&&r.indexOf("t=")>-1&&r.indexOf("r=")>-1&&r.indexOf("b=")>-1&&(t=!0)}catch(n){}if(!t)return o.error(new Error("getAuthorization callback params format error"))}else{if(!e.TmpSecretId)return o.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!e.TmpSecretKey)return o.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!e.SecurityToken&&!e.XCosSecurityToken)return o.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!e.ExpiredTime)return o.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(e.ExpiredTime&&10!==e.ExpiredTime.toString().length)return o.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(e.StartTime&&10!==e.StartTime.toString().length)return o.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(f.ExpiredTime&&f.ExpiredTime-o.getSkewTime(l.options.SystemClockOffset)/1e3>60)y();else if(l.options.getAuthorization)l.options.getAuthorization.call(l,{Bucket:u,Region:c,Method:e.Method,Key:d,Pathname:h,Query:e.Query,Headers:r,Scope:p,SystemClockOffset:l.options.SystemClockOffset,ForceSignHost:i},(function(e){"string"===typeof e&&(e={Authorization:e});var t=b(e);if(t)return s(t);e.Authorization?s(null,e):(f=e||{},f.Scope=p,f.ScopeKey=v,l._StsCache.push(f),y())}));else{if(!l.options.getSTS)return function(){var t=o.getAuth({SecretId:e.SecretId||l.options.SecretId,SecretKey:e.SecretKey||l.options.SecretKey,Method:e.Method,Pathname:h,Query:e.Query,Headers:r,Expires:e.Expires,UseRawKey:l.options.UseRawKey,SystemClockOffset:l.options.SystemClockOffset,ForceSignHost:i}),n={Authorization:t,SecurityToken:l.options.SecurityToken||l.options.XCosSecurityToken,SignFrom:"client"};return s(null,n),n}();l.options.getSTS.call(l,{Bucket:u,Region:c},(function(e){f=e||{},f.Scope=p,f.ScopeKey=v,f.TmpSecretId||(f.TmpSecretId=f.SecretId),f.TmpSecretKey||(f.TmpSecretKey=f.SecretKey);var t=b(f);if(t)return s(t);l._StsCache.push(f),y()}))}return""}function Ee(e){var t=this,r=!1,n=!1,i=!1,a=e.headers&&(e.headers.date||e.headers.Date)||e.error&&e.error.ServerTime;try{var s=e.error.Code,l=e.error.Message;("RequestTimeTooSkewed"===s||"AccessDenied"===s&&"Request has expired"===l)&&(n=!0)}catch(c){}if(e)if(n&&a){var u=Date.parse(a);this.options.CorrectClockSkew&&Math.abs(o.getSkewTime(this.options.SystemClockOffset)-u)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=u-Date.now(),r=!0)}else 5===Math.floor(e.statusCode/100)?r=!0:"CORS blocked or network error"===e.message&&(i=!0,r=t.options.AutoSwitchHost);return{canRetry:r,networkError:i}}function Ie(e){var t=e.requestUrl,r=e.clientCalcSign,n=e.networkError;if(!this.options.AutoSwitchHost)return!1;if(!t)return!1;if(!r)return!1;if(!n)return!1;var i=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,o=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,a=i.test(t)&&!o.test(t);return a}function je(e,t){var r=this;!e.headers&&(e.headers={}),!e.qs&&(e.qs={}),e.VersionId&&(e.qs.versionId=e.VersionId),e.qs=o.clearKey(e.qs),e.headers&&(e.headers=o.clearKey(e.headers)),e.qs&&(e.qs=o.clearKey(e.qs));var n=o.clone(e.qs);e.action&&(n[e.action]="");var i=e.url||e.Url,a=e.SignHost||Ae.call(this,{Bucket:e.Bucket,Region:e.Region,Url:i}),s=e.tracker,l=function i(o){var l=r.options.SystemClockOffset;s&&s.setParams({signStartTime:(new Date).getTime(),httpRetryTimes:o-1}),e.SwitchHost&&(a=a.replace(/myqcloud.com/,"tencentcos.cn")),De.call(r,{Bucket:e.Bucket||"",Region:e.Region||"",Method:e.method,Key:e.Key,Query:n,Headers:e.headers,SignHost:a,Action:e.Action,ResourceKey:e.ResourceKey,Scope:e.Scope,ForceSignHost:r.options.ForceSignHost,SwitchHost:e.SwitchHost},(function(n,a){n?t(n):(s&&s.setParams({signEndTime:(new Date).getTime(),httpStartTime:(new Date).getTime()}),e.AuthData=a,Pe.call(r,e,(function(n,u){s&&s.setParams({httpEndTime:(new Date).getTime()});var c=!1,d=!1;if(n){var h=Ee.call(r,n);c=h.canRetry||l!==r.options.SystemClockOffset,d=h.networkError}if(n&&o<2&&c){e.headers&&(delete e.headers.Authorization,delete e.headers["token"],delete e.headers["clientIP"],delete e.headers["clientUA"],e.headers["x-cos-security-token"]&&delete e.headers["x-cos-security-token"],e.headers["x-ci-security-token"]&&delete e.headers["x-ci-security-token"]);var f=Ie.call(r,{requestUrl:(null===n||void 0===n?void 0:n.url)||"",clientCalcSign:"client"===a.SignFrom,networkError:d});e.SwitchHost=f,i(o+1)}else t(n,u)})))}))};l(1)}function Pe(e,t){var r=this,n=e.TaskId;if(!n||r._isRunningTask(n)){var a=e.Bucket,s=e.Region,l=e.Key,u=e.method||"GET",c=e.Url||e.url,d=e.body,h=e.rawBody;r.options.UseAccelerate&&(s="accelerate"),c=c||Le({ForcePathStyle:r.options.ForcePathStyle,protocol:r.options.Protocol,domain:r.options.Domain,bucket:a,region:s,object:l}),e.SwitchHost&&(c=c.replace(/myqcloud.com/,"tencentcos.cn"));var f=l?c:"";e.action&&(c=c+"?"+(o.isIOS_QQ?"".concat(e.action,"="):e.action)),e.qsStr&&(c=c.indexOf("?")>-1?c+"&"+e.qsStr:c+"?"+e.qsStr);var p={method:u,url:c,headers:e.headers,qs:e.qs,body:d},m="x-cos-security-token";if(o.isCIHost(c)&&(m="x-ci-security-token"),p.headers.Authorization=e.AuthData.Authorization,e.AuthData.Token&&(p.headers["token"]=e.AuthData.Token),e.AuthData.ClientIP&&(p.headers["clientIP"]=e.AuthData.ClientIP),e.AuthData.ClientUA&&(p.headers["clientUA"]=e.AuthData.ClientUA),e.AuthData.SecurityToken&&(p.headers[m]=e.AuthData.SecurityToken),p.headers&&(p.headers=o.clearKey(p.headers)),p=o.clearKey(p),e.onProgress&&"function"===typeof e.onProgress){var g=d&&(d.size||d.length)||0;p.onProgress=function(t){if(!n||r._isRunningTask(n)){var i=t?t.loaded:0;e.onProgress({loaded:i,total:g})}}}e.onDownloadProgress&&(p.onDownloadProgress=e.onDownloadProgress),e.DataType&&(p.dataType=e.DataType),this.options.Timeout&&(p.timeout=this.options.Timeout),r.options.ForcePathStyle&&(p.pathStyle=r.options.ForcePathStyle),r.emit("before-send",p);var v,y=p.url.includes("accelerate."),b=p.qs?Object.keys(p.qs).map((function(e){return"".concat(e,"=").concat(p.qs[e])})).join("&"):"",_=b?p.url+"?"+b:p.url;if(e.tracker)e.tracker.setParams({url:_,httpMethod:p.method,accelerate:y,httpSize:(null===(v=p.body)||void 0===v?void 0:v.size)||0}),e.tracker.parent&&!e.tracker.parent.params.url&&e.tracker.parent.setParams({url:f,accelerate:y});var w=(r.options.Request||i)(p,(function(e){if(!e||"abort"!==e.error){var i={options:p,error:e&&e.error,statusCode:e&&e.statusCode||0,statusMessage:e&&e.statusMessage||"",headers:e&&e.headers||{},body:e&&e.body};r.emit("after-receive",i);var a,s=i.error,l=i.body,u={statusCode:i.statusCode,statusMessage:i.statusMessage,headers:i.headers},c=function(e,i){if(n&&r.off("inner-kill-task",x),!a){a=!0;var s={};u&&u.statusCode&&(s.statusCode=u.statusCode),u&&u.headers&&(s.headers=u.headers),e?(p.url&&(s.url=p.url),p.method&&(s.method=p.method),e=o.extend(e||{},s),t(e,null)):(i=o.extend(i||{},s),t(null,i)),w=null}};if(s)return c(o.error(s));var d,f=u.statusCode,m=2===Math.floor(f/100);if(h&&m)return c(null,{body:l});try{d=l&&l.indexOf("<")>-1&&l.indexOf(">")>-1&&o.xml2json(l)||{}}catch(v){d={}}var g=d&&d.Error;m?c(null,d):g?c(o.error(new Error(g.Message),{code:g.Code,error:g})):f?c(o.error(new Error(u.statusMessage),{code:""+f})):f&&c(o.error(new Error("statusCode error")))}})),x=function e(t){t.TaskId===n&&(w&&w.abort&&w.abort(),r.off("inner-kill-task",e))};n&&r.on("inner-kill-task",x)}}var Re={getService:a,putBucket:s,headBucket:l,getBucket:u,deleteBucket:c,putBucketAcl:d,getBucketAcl:h,putBucketCors:f,getBucketCors:p,deleteBucketCors:m,getBucketLocation:g,getBucketPolicy:y,putBucketPolicy:v,deleteBucketPolicy:b,putBucketTagging:_,getBucketTagging:w,deleteBucketTagging:x,putBucketLifecycle:k,getBucketLifecycle:S,deleteBucketLifecycle:M,putBucketVersioning:C,getBucketVersioning:T,putBucketReplication:O,getBucketReplication:L,deleteBucketReplication:A,putBucketWebsite:D,getBucketWebsite:E,deleteBucketWebsite:I,putBucketReferer:j,getBucketReferer:P,putBucketDomain:R,getBucketDomain:N,deleteBucketDomain:B,putBucketOrigin:Y,getBucketOrigin:F,deleteBucketOrigin:z,putBucketLogging:H,getBucketLogging:V,putBucketInventory:W,postBucketInventory:$,getBucketInventory:G,listBucketInventory:q,deleteBucketInventory:X,putBucketAccelerate:K,getBucketAccelerate:Z,putBucketEncryption:J,getBucketEncryption:Q,deleteBucketEncryption:ee,getObject:ne,headObject:te,listObjectVersions:re,putObject:ie,deleteObject:oe,getObjectAcl:ae,putObjectAcl:se,optionsObject:le,putObjectCopy:ue,deleteMultipleObject:de,restoreObject:he,putObjectTagging:fe,getObjectTagging:pe,deleteObjectTagging:me,selectObjectContent:ge,appendObject:Se,uploadPartCopy:ce,multipartInit:ve,multipartUpload:ye,multipartComplete:be,multipartList:_e,multipartListPart:we,multipartAbort:xe,request:ke,getObjectUrl:Ce,getAuth:Me};function Ne(e,t,r){o.each(["Cors","Acl"],(function(n){if(e.slice(-n.length)===n){var i=e.slice(0,-n.length)+n.toUpperCase(),a=o.apiWrapper(e,t),s=!1;r[i]=function(){!s&&console.warn("warning: cos."+i+" has been deprecated. Please Use cos."+e+" instead."),s=!0,a.apply(this,arguments)}}}))}e.exports.init=function(e,t){t.transferToTaskMethod(Re,"putObject"),o.each(Re,(function(t,r){e.prototype[r]=o.apiWrapper(r,t),Ne(r,t,e.prototype)}))}},"./src/cos.js":
|
||
/*!********************!*\
|
||
!*** ./src/cos.js ***!
|
||
\********************/
|
||
/*! no static exports found */function(e,t,r){"use strict";var n=r(/*! ./util */"./src/util.js"),i=r(/*! ./event */"./src/event.js"),o=r(/*! ./task */"./src/task.js"),a=r(/*! ./base */"./src/base.js"),s=r(/*! ./advance */"./src/advance.js"),l=r(/*! ../package.json */"./package.json"),u={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},c=function(e){if(this.options=n.extend(n.clone(u),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),n.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");i.init(this),o.init(this)};a.init(c,o),s.init(c,o),c.util={md5:n.md5,xml2json:n.xml2json,json2xml:n.json2xml,encodeBase64:n.encodeBase64},c.getAuthorization=n.getAuth,c.version=l.version,e.exports=c},"./src/event.js":
|
||
/*!**********************!*\
|
||
!*** ./src/event.js ***!
|
||
\**********************/
|
||
/*! no static exports found */function(e,t){var r=function(e){var t={},r=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),r(e).push(t)},e.off=function(e,t){for(var n=r(e),i=n.length-1;i>=0;i--)t===n[i]&&n.splice(i,1)},e.emit=function(e,t){for(var n=r(e).map((function(e){return e})),i=0;i<n.length;i++)n[i](t)}},n=function(){r(this)};e.exports.init=r,e.exports.EventProxy=n},"./src/session.js":
|
||
/*!************************!*\
|
||
!*** ./src/session.js ***!
|
||
\************************/
|
||
/*! no static exports found */function(e,t,r){var n,i,o=r(/*! ./util */"./src/util.js"),a="cos_sdk_upload_cache",s=2592e3,l=function(){try{var e=JSON.parse(localStorage.getItem(a))}catch(t){}e||(e=[]),n=e},u=function(){try{n.length?localStorage.setItem(a,JSON.stringify(n)):localStorage.removeItem(a)}catch(e){}},c=function(){if(!n){l.call(this);for(var e=!1,t=Math.round(Date.now()/1e3),r=n.length-1;r>=0;r--){var i=n[r][2];(!i||i+s<t)&&(n.splice(r,1),e=!0)}e&&u()}},d=function(){i||(i=setTimeout((function(){u(),i=null}),400))},h={using:{},setUsing:function(e){h.using[e]=!0},removeUsing:function(e){delete h.using[e]},getFileId:function(e,t,r,n){return e.name&&e.size&&e.lastModifiedDate&&t?o.md5([e.name,e.size,e.lastModifiedDate,t,r,n].join("::")):null},getCopyFileId:function(e,t,r,n,i){var a=t["content-length"],s=t.etag||"",l=t["last-modified"];return e&&r?o.md5([e,a,s,l,r,n,i].join("::")):null},getUploadIdList:function(e){if(!e)return null;c.call(this);for(var t=[],r=0;r<n.length;r++)n[r][0]===e&&t.push(n[r][1]);return t.length?t:null},saveUploadId:function(e,t,r){if(c.call(this),e){for(var i=n.length-1;i>=0;i--){var o=n[i];o[0]===e&&o[1]===t&&n.splice(i,1)}n.unshift([e,t,Math.round(Date.now()/1e3)]),n.length>r&&n.splice(r),d()}},removeUploadId:function(e){c.call(this),delete h.using[e];for(var t=n.length-1;t>=0;t--)n[t][1]===e&&n.splice(t,1);d()}};e.exports=h},"./src/task.js":
|
||
/*!*********************!*\
|
||
!*** ./src/task.js ***!
|
||
\*********************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! ./session */"./src/session.js"),i=r(/*! ./util */"./src/util.js"),o={},a=function(e,t){o[t]=e[t],e[t]=function(e,r){e.SkipTask?o[t].call(this,e,r):this._addTask(t,e,r)}},s=function(e){var t=[],r={},a=0,s=0,l=function(e){var t={id:e.id,Bucket:e.Bucket,Region:e.Region,Key:e.Key,FilePath:e.FilePath,state:e.state,loaded:e.loaded,size:e.size,speed:e.speed,percent:e.percent,hashPercent:e.hashPercent,error:e.error};return e.FilePath&&(t.FilePath=e.FilePath),e._custom&&(t._custom=e._custom),t},u=function(){var r,n=function(){r=0,e.emit("task-list-update",{list:i.map(t,l)}),e.emit("list-update",{list:i.map(t,l)})};return function(){r||(r=setTimeout(n))}}(),c=function(){if(!(t.length<=e.options.UploadQueueSize)){for(var n=0;n<s&&n<t.length&&t.length>e.options.UploadQueueSize;){var i="waiting"===t[n].state||"checking"===t[n].state||"uploading"===t[n].state;t[n]&&i?n++:(r[t[n].id]&&delete r[t[n].id],t.splice(n,1),s--)}u()}},d=function r(){if(!(a>=e.options.FileParallelLimit)){while(t[s]&&"waiting"!==t[s].state)s++;if(!(s>=t.length)){var n=t[s];s++,a++,n.state="checking",n.params.onTaskStart&&n.params.onTaskStart(l(n)),!n.params.UploadData&&(n.params.UploadData={});var d=i.formatParams(n.api,n.params);o[n.api].call(e,d,(function(t,i){e._isRunningTask(n.id)&&("checking"!==n.state&&"uploading"!==n.state||(n.state=t?"error":"success",t&&(n.error=t),a--,u(),r(),n.callback&&n.callback(t,i),"success"===n.state&&(n.params&&(delete n.params.UploadData,delete n.params.Body,delete n.params),delete n.callback)),c())})),u(),setTimeout(r)}}},h=function(t,i){var o=r[t];if(o){var s=o&&"waiting"===o.state,l=o&&("checking"===o.state||"uploading"===o.state);if("canceled"===i&&"canceled"!==o.state||"paused"===i&&s||"paused"===i&&l){if("paused"===i&&o.params.Body&&"function"===typeof o.params.Body.pipe)return void console.error("stream not support pause");o.state=i,e.emit("inner-kill-task",{TaskId:t,toState:i});try{var h=o&&o.params&&o.params.UploadData.UploadId}catch(f){}"canceled"===i&&h&&n.removeUsing(h),u(),l&&(a--,d()),"canceled"===i&&(o.params&&(delete o.params.UploadData,delete o.params.Body,delete o.params),delete o.callback)}c()}};e._addTasks=function(t){i.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),u()};var f=!0;e._addTask=function(n,o,a,s){o=i.formatParams(n,o);var l=i.uuid();o.TaskId=l,o.onTaskReady&&o.onTaskReady(l),o.TaskReady&&(o.TaskReady(l),f&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),f=!1);var h={params:o,callback:a,api:n,index:t.length,id:l,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:o._custom},p=o.onHashProgress;o.onHashProgress=function(t){e._isRunningTask(h.id)&&(h.hashPercent=t.percent,p&&p(t),u())};var m=o.onProgress;return o.onProgress=function(t){e._isRunningTask(h.id)&&("checking"===h.state&&(h.state="uploading"),h.loaded=t.loaded,h.speed=t.speed,h.percent=t.percent,m&&m(t),u())},i.getFileSize(n,o,(function(e,n){if(e)return a(i.error(e));r[l]=h,t.push(h),h.size=n,!s&&u(),d(),c()})),l},e._isRunningTask=function(e){var t=r[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){return i.map(t,l)},e.cancelTask=function(e){h(e,"canceled")},e.pauseTask=function(e){h(e,"paused")},e.restartTask=function(e){var t=r[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),s=Math.min(s,t.index),d())},e.isUploadRunning=function(){return a||s<t.length}};e.exports.transferToTaskMethod=a,e.exports.init=s},"./src/tracker.js":
|
||
/*!************************!*\
|
||
!*** ./src/tracker.js ***!
|
||
\************************/
|
||
/*! no static exports found */function(e,t,r){var n=r(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=r(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),o=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a=r(/*! ../package.json */"./package.json"),s=null,l=function(e,t){if(!s){if("function"!==typeof e)throw new Error("Beacon not found");s=new e({appkey:"0WEB05PY6MHRGK0U",versionCode:a.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:t,sessionDuration:6e4})}return s},u=function(e){return!e||e<0?0:(e/1e3).toFixed(3)},c={getUid:function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},getNetType:function(){if("object"===("undefined"===typeof navigator?"undefined":o(navigator))){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(null===e||void 0===e?void 0:e.type)||(null===e||void 0===e?void 0:e.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return"object"===("undefined"===typeof location?"undefined":o(location))?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if("object"!==("undefined"===typeof navigator?"undefined":o(navigator)))return"unknown os";var e=navigator.userAgent.toLowerCase(),t=/macintosh|mac os x/i.test(navigator.userAgent);return e.indexOf("win32")>=0||e.indexOf("wow32")>=0?"win32":e.indexOf("win64")>=0||e.indexOf("wow64")>=0?"win64":t?"mac":"unknown os"},isMobile:function(){var e=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isAndroid:function(){var e=/(Android|Adr|Linux)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isIOS:function(){var e=/(iPhone|iPod|iPad|iOS)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isOtherMobile:function(){return d&&!isAndroid&&!isIOS},getUA:function(){if("object"!==("undefined"===typeof navigator?"undefined":o(navigator)))return"unknown device";var e=navigator.userAgent;return e}},d=c.isMobile(),h=c.isAndroid()?"android":c.isIOS?"ios":"other_mobile",f=c.getOsType(),p=d?h:f,m=c.getUA(),g=c.getProtocol(),v=function(e){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(e)?"UploadTask":"getObject"===e?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(e)?"CopyTask":e};function y(e){return e.replace(/([A-Z])/g,"_$1").toLowerCase()}function b(e){var t={},r=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],n=[].concat(r,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),i="Success"===e.requestResult?r:n;for(var o in e)if(i.includes(o)){var a=y(o);t[a]=e[o]}return t["request_name"]=e.realApi?v(e.realApi):e.requestName,t}var _=function(){"use strict";function e(t){n(this,e);var r=t.parent,i=t.traceId,o=t.bucket,s=t.region,u=t.apiName,d=t.realApi,h=t.httpMethod,f=t.fileKey,v=t.fileSize,y=t.accelerate,b=t.customId,_=t.delay,w=t.deepTracker,x=t.Beacon,k=t.clsReporter,S=o&&o.substr(o.lastIndexOf("-")+1)||"";this.parent=r,this.deepTracker=w,this.delay=_,k&&!this.clsReporter&&(this.clsReporter=k),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:a.version,osName:p,networkType:"",requestName:u||"",requestResult:"",realApi:d,bucket:o,region:s,accelerate:y,httpMethod:h,url:"",host:"",httpDomain:"",requestPath:f||"",userAgent:m,networkProtocol:g,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:v||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:(new Date).getTime(),endTime:0,traceId:i||c.getUid(),appid:S,partNumber:0,httpRetryTimes:0,customId:b||"",partTime:0},x&&(this.beacon=l(x,_))}return i(e,[{key:"formatResult",value:function(e,t){var r,n,i,o,a,s,l=(new Date).getTime(),d=c.getNetType(),h=e?(null===e||void 0===e?void 0:e.code)||(null===e||void 0===e||null===(r=e.error)||void 0===r?void 0:r.code)||(null===e||void 0===e||null===(n=e.error)||void 0===n?void 0:n.Code):"",f=e?(null===e||void 0===e?void 0:e.message)||(null===e||void 0===e||null===(i=e.error)||void 0===i?void 0:i.message)||(null===e||void 0===e||null===(o=e.error)||void 0===o?void 0:o.Message):"",p=f,m=e?(null===e||void 0===e?void 0:e.resource)||(null===e||void 0===e||null===(a=e.error)||void 0===a?void 0:a.resource)||(null===e||void 0===e||null===(s=e.error)||void 0===s?void 0:s.Resource):"",g=e?null===e||void 0===e?void 0:e.statusCode:t.statusCode,v=e?(null===e||void 0===e?void 0:e.headers)&&(null===e||void 0===e?void 0:e.headers["x-cos-request-id"]):(null===t||void 0===t?void 0:t.headers)&&(null===t||void 0===t?void 0:t.headers["x-cos-request-id"]),y=e?v?"Server":"Client":"";"getObject"===this.params.requestName&&(this.params.httpSize=t?t.headers&&t.headers["content-length"]:0);var b="sliceUploadFile"===this.params.realApi,_="sliceCopyFile"===this.params.realApi;if(b||_){var w=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:w<0?0:w.toFixed(3)})}else{var x=l-this.params.startTime,k=this.params.httpEndTime-this.params.httpStartTime,S=this.params.httpSize/1024/(k/1e3),M=this.params.md5EndTime-this.params.md5StartTime,C=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",u(k)),this.parent.addParamValue("httpFullTime",u(x)),this.parent.addParamValue("httpMd5",u(M)),this.parent.addParamValue("httpSign",u(C)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",u(k))),Object.assign(this.params,{httpFullTime:u(x),httpMd5:u(M),httpSign:u(C),httpTookTime:u(k),httpSpeed:S<0?0:S.toFixed(3)})}if(Object.assign(this.params,{networkType:d,requestResult:e?"Failure":"Success",errorType:y,errorCode:h,errorHttpCode:g,errorName:p,errorMessage:f,errorServiceName:m,errorRequestId:v}),!e||h&&f||(this.params.fullError=e?JSON.stringify(e):""),this.params.url){try{var T=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=T[2]}catch(O){this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(e,t){if(this.beacon||this.clsReporter){this.formatResult(e,t);var r=b(this.params);console.log(r),this.beacon&&this.sendEventsToBeacon(r),this.clsReporter&&this.sendEventsToCLS(r)}}},{key:"setParams",value:function(e){Object.assign(this.params,e)}},{key:"addParamValue",value:function(e,t){this.params[e]=(+this.params[e]+ +t).toFixed(3)}},{key:"sendEventsToBeacon",value:function(e){var t="sliceUploadFile"===this.params.requestName||"sliceUploadFile"===this.params.realApi;if(!t||this.deepTracker){var r="qcloud_track_cos_sdk";0===this.delay?this.beacon&&this.beacon.onDirectUserAction(r,e):this.beacon&&this.beacon.onUserAction(r,e)}}},{key:"sendEventsToCLS",value:function(e){var t=!(0!==this.delay);this.clsReporter.log(e,t)}},{key:"generateSubTracker",value:function(t){return Object.assign(t,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new e(t)}}]),e}();e.exports=_},"./src/util.js":
|
||
/*!*********************!*\
|
||
!*** ./src/util.js ***!
|
||
\*********************/
|
||
/*! no static exports found */function(e,t,r){"use strict";(function(t){var n=r(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=r(/*! ../lib/md5 */"./lib/md5.js"),o=r(/*! ../lib/crypto */"./lib/crypto.js"),a=r(/*! ../lib/xml2json */"./lib/xml2json.js"),s=r(/*! ../lib/json2xml */"./lib/json2xml.js"),l=r(/*! ../lib/base64 */"./lib/base64.js"),u=r(/*! ./tracker */"./src/tracker.js");function c(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function d(e,t){var r=[];for(var n in e)e.hasOwnProperty(n)&&r.push(t?c(n).toLowerCase():n);return r.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))}var h=function(e,t){var r,n,i,o=[],a=d(e);for(r=0;r<a.length;r++)n=a[r],i=void 0===e[n]||null===e[n]?"":""+e[n],n=t?c(n).toLowerCase():c(n),i=c(i)||"",o.push(n+"="+i);return o.join("&")},f=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding","pic-operations"],p=function(e){var t={};for(var r in e){var n=r.toLowerCase();(n.indexOf("x-cos-")>-1||f.indexOf(n)>-1)&&(t[r]=e[r])}return t},m=function(e){e=e||{};var t,r=e.SecretId,n=e.SecretKey,i=e.KeyTime,a=(e.method||e.Method||"get").toLowerCase(),s=O(e.Query||e.params||{}),l=p(O(e.Headers||e.headers||{})),u=e.Key||"";e.UseRawKey?t=e.Pathname||e.pathname||"/"+u:(t=e.Pathname||e.pathname||u,0!==t.indexOf("/")&&(t="/"+t));var c=!1!==e.ForceSignHost;if(!l.Host&&!l.host&&e.Bucket&&e.Region&&c&&(l.Host=e.Bucket+".cos."+e.Region+".myqcloud.com"),!r)throw new Error("missing param SecretId");if(!n)throw new Error("missing param SecretKey");var h=Math.round(U(e.SystemClockOffset)/1e3)-1,f=h,m=e.Expires||e.expires;f+=void 0===m?900:1*m||0;var g="sha1",v=r,y=i||h+";"+f,b=i||h+";"+f,_=d(l,!0).join(";").toLowerCase(),w=d(s,!0).join(";").toLowerCase(),x=o.HmacSHA1(b,n).toString(),k=[a,t,J.obj2str(s,!0),J.obj2str(l,!0),""].join("\n"),S=["sha1",y,o.SHA1(k).toString(),""].join("\n"),M=o.HmacSHA1(S,x).toString(),C=["q-sign-algorithm="+g,"q-ak="+v,"q-sign-time="+y,"q-key-time="+b,"q-header-list="+_,"q-url-param-list="+w,"q-signature="+M].join("&");return C},g=function(e,t,r){var n=t/8,i=e.slice(r,r+n);return new Uint8Array(i).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[t](i)[0]},v=function(e,t,r,n){var i=e.slice(t,r),o="";return new Uint8Array(i).forEach((function(e){o+=String.fromCharCode(e)})),n&&(o=decodeURIComponent(escape(o))),o},y=function(e){var t={},r=v(e),n={records:[]};while(e.byteLength){var i,o=g(e,32,0),a=g(e,32,4),s=o-a-16,l=0;e=e.slice(12);while(l<a){var u=g(e,8,l),c=v(e,l+1,l+1+u),d=g(e,16,l+u+2),h=v(e,l+u+4,l+u+4+d);t[c]=h,l+=u+4+d}if("Records"===t[":event-type"])i=v(e,l,l+s,!0),n.records.push(i);else if("Stats"===t[":event-type"])i=v(e,l,l+s,!0),n.stats=J.xml2json(i).Stats;else if("error"===t[":event-type"]){var f=t[":error-code"],p=t[":error-message"],m=new Error(p);m.message=p,m.name=m.code=f,n.error=m}else["Progress","Continuation","End"].includes(t[":event-type"]);e=e.slice(l+s+4)}return{payload:n.records.join(""),body:r}},b=function(e){var t=this.options.CopySourceParser;if(t)return t(e);var r=e.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return r?{Bucket:r[1],Region:r[3],Key:r[7]}:null},_=function(){},w=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&void 0!==e[r]&&null!==e[r]&&(t[r]=e[r]);return t},x=function(e,t){var r,n=new FileReader;FileReader.prototype.readAsBinaryString?(r=FileReader.prototype.readAsBinaryString,n.onload=function(){t(this.result)}):FileReader.prototype.readAsArrayBuffer?r=function(e){var r="",n=new FileReader;n.onload=function(e){for(var i=new Uint8Array(n.result),o=i.byteLength,a=0;a<o;a++)r+=String.fromCharCode(i[a]);t(r)},n.readAsArrayBuffer(e)}:console.error("FileReader not support readAsBinaryString"),r.call(n,e)},k=function(){var e=function(e,t){e=e.split("."),t=t.split(".");for(var r=0;r<t.length;r++)if(e[r]!==t[r])return parseInt(e[r])>parseInt(t[r])?1:-1;return 0},t=function(t){if(!t)return!1;var r=(t.match(/Chrome\/([.\d]+)/)||[])[1],n=(t.match(/QBCore\/([.\d]+)/)||[])[1],i=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],o=r&&e(r,"53.0.2785.116")<0&&n&&e(n,"3.53.991.400")<0&&i&&e(i,"9.0.2524.400")<=0||!1;return o};return t("undefined"!==typeof navigator&&navigator.userAgent)}(),S=function(e,t,r,n,i){var o;if(e.slice?o=e.slice(t,r):e.mozSlice?o=e.mozSlice(t,r):e.webkitSlice&&(o=e.webkitSlice(t,r)),n&&k){var a=new FileReader;a.onload=function(e){o=null,i(new Blob([a.result]))},a.readAsArrayBuffer(o)}else i(o)},M=function(e,t,r,n){r=r||_,e?"string"===typeof t?r(J.md5(t,!0)):Blob&&t instanceof Blob?J.getFileMd5(t,(function(e,t){r(t)}),n):r():r()},C=1048576,T=function(e,t,r){var n=e.size,o=0,a=i.getCtx(),s=function i(s){if(s>=n){var l=a.digest("hex");t(null,l)}else{var u=Math.min(n,s+C);J.fileSlice(e,s,u,!1,(function(e){x(e,(function(t){e=null,a=a.update(t,!0),o+=t.length,t=null,r&&r({loaded:o,total:n,percent:Math.round(o/n*1e4)/1e4}),i(s+C)}))}))}};s(0)};function O(e){return P(e,(function(e){return"object"===n(e)&&null!==e?O(e):e}))}function L(e,t,r){return e&&t in e?e[t]:r}function A(e,t){return j(t,(function(r,n){e[n]=t[n]})),e}function D(e){return e instanceof Array}function E(e,t){for(var r=!1,n=0;n<e.length;n++)if(t===e[n]){r=!0;break}return r}function I(e){return D(e)?e:[e]}function j(e,t){for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)}function P(e,t){var r=D(e)?[]:{};for(var n in e)e.hasOwnProperty(n)&&(r[n]=t(e[n],n));return r}function R(e,t){var r=D(e),n=r?[]:{};for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)&&(r?n.push(e[i]):n[i]=e[i]);return n}var N=function(e){var t,r,n,i="";for(t=0,r=e.length/2;t<r;t++)n=parseInt(e[2*t]+e[2*t+1],16),i+=String.fromCharCode(n);return btoa(i)},B=function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},Y=function(e,t){var r=t.Bucket,n=t.Region,i=t.Key,o=this.options.Domain,a=!o||"string"===typeof o&&o.indexOf("{Bucket}")>-1,s=!o||"string"===typeof o&&o.indexOf("{Region}")>-1;if(e.indexOf("Bucket")>-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(a&&!r)return"Bucket";if(s&&!n)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e||"uploadFile"===e){if(a&&!r)return"Bucket";if(s&&!n)return"Region";if(!i)return"Key"}return!1},F=function(e,t){if(t=A({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var r=t.Headers||{};if(t&&"object"===n(t)){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(r[e]=t[e])})();var i={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations"};J.each(i,(function(e,n){void 0!==t[e]&&(r[n]=t[e])})),t.Headers=w(r)}}return t},z=function(e,t){return function(r,n){var i,o=this;if("function"===typeof r&&(n=r,r={}),r=F(e,r),o.options.EnableReporter)if("sliceUploadFile"===r.calledBySdk||"sliceCopyFile"===r.calledBySdk)i=r.tracker&&r.tracker.generateSubTracker({apiName:e});else if(["uploadFile","uploadFiles"].includes(e))i=null;else{var a=0;r.Body&&(a="string"===typeof r.Body?r.Body.length:r.Body.size||r.Body.byteLength||0);var s=o.options.UseAccelerate||"string"===typeof o.options.Domain&&o.options.Domain.includes("accelerate.");i=new u({Beacon:o.options.BeaconReporter,clsReporter:o.options.ClsReporter,bucket:r.Bucket,region:r.Region,apiName:e,realApi:e,accelerate:s,fileKey:r.Key,fileSize:a,deepTracker:o.options.DeepTracker,customId:o.options.CustomId,delay:o.options.TrackerDelay})}r.tracker=i;var l=function(e){return e&&e.headers&&(e.headers["x-cos-request-id"]&&(e.RequestId=e.headers["x-cos-request-id"]),e.headers["x-ci-request-id"]&&(e.RequestId=e.headers["x-ci-request-id"]),e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},c=function(e,t){i&&i.report(e,t),n&&n(l(e),l(t))},d=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=Y.call(o,e,r);if(t)return"missing param "+t;if(r.Region){if(o.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(r.Region))return"Region format error."}else{if(r.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(r.Region))return"Region format error."}o.options.CompatibilityMode||-1!==r.Region.indexOf("-")||"yfb"===r.Region||"default"===r.Region||"accelerate"===r.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(r.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(r.Bucket))if(r.AppId)r.Bucket=r.Bucket+"-"+r.AppId;else{if(!o.options.AppId)return'Bucket should format as "test-1250000000".';r.Bucket=r.Bucket+"-"+o.options.AppId}r.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete r.AppId)}!o.options.UseRawKey&&r.Key&&"/"===r.Key.substr(0,1)&&(r.Key=r.Key.substr(1))}},h=d(),f=["getAuth","getObjectUrl"].includes(e);if("function"===typeof Promise&&!f&&!n)return new Promise((function(e,i){if(n=function(t,r){t?i(t):e(r)},h)return c(J.error(new Error(h)));t.call(o,r,c)}));if(h)return c(J.error(new Error(h)));var p=t.call(o,r,c);return f?p:void 0}},H=function(e,t){var r,n,i=this,o=0,a=0,s=Date.now();function l(){if(n=0,t&&"function"===typeof t){r=Date.now();var i,l=Math.max(0,Math.round((a-o)/((r-s)/1e3)*100)/100)||0;i=0===a&&0===e?1:Math.floor(a/e*100)/100||0,s=r,o=a;try{t({loaded:a,total:e,speed:l,percent:i})}catch(u){}}}return function(t,r){if(t&&(a=t.loaded,e=t.total),r)clearTimeout(n),l();else{if(n)return;n=setTimeout(l,i.options.ProgressInterval)}}},V=function(e,t,r){var n;"string"===typeof t.Body?t.Body=new Blob([t.Body],{type:"text/plain"}):t.Body instanceof ArrayBuffer&&(t.Body=new Blob([t.Body])),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(n=t.Body.size,t.ContentLength=n,r(null,n)):r(J.error(new Error("params body format error, Only allow File|Blob|String.")))},U=function(e){return Date.now()+(e||0)},W=function(e,t){var r=e;return e.message=e.message||null,"string"===typeof t?(e.error=t,e.message=t):"object"===n(t)&&null!==t&&(A(e,t),(t.code||t.name)&&(e.code=t.code||t.name),t.message&&(e.message=t.message),t.stack&&(e.stack=t.stack)),"function"===typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.code||(e.code=e.name),e.error||(e.error=O(r)),e},$=function(){return"object"===("undefined"===typeof globalThis?"undefined":n(globalThis))&&("DedicatedWorkerGlobalScope"===globalThis.constructor.name||globalThis.FileReaderSync)},G=function(){return"object"!==("undefined"===typeof window?"undefined":n(window))&&"object"===("undefined"===typeof t?"undefined":n(t))&&!$()},q=function(e){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(e)},X=function(){if("object"!==("undefined"===typeof navigator?"undefined":n(navigator)))return!1;var e=navigator.userAgent,t=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return t}(),K=function(){return"object"===("undefined"===typeof navigator?"undefined":n(navigator))&&/\sQQ/i.test(navigator.userAgent)}(),Z=function(e,t){var r=l.encode(e);return t&&(r=r.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),r},J={noop:_,formatParams:F,apiWrapper:z,xml2json:a,json2xml:s,md5:i,clearKey:w,fileSlice:S,getBodyMd5:M,getFileMd5:T,b64:N,extend:A,isArray:D,isInArray:E,makeArray:I,each:j,map:P,filter:R,clone:O,attr:L,uuid:B,camSafeUrlEncode:c,throttleOnProgress:H,getFileSize:V,getSkewTime:U,error:W,obj2str:h,getAuth:m,parseSelectPayload:y,getSourceParams:b,isBrowser:!0,isNode:G,isCIHost:q,isIOS_QQ:X&&K,encodeBase64:Z};e.exports=J}).call(this,r(/*! ./../node_modules/process/browser.js */"./node_modules/process/browser.js"))}})}))},"40c3":function(e,t,r){var n=r("6b4c"),i=r("5168")("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(r){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),i))?r:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},"416c":function(e,t,r){r("28e4")("Map")},4178:function(e,t,r){var n,i,o,a=r("d864"),s=r("3024"),l=r("32fc"),u=r("1ec9"),c=r("e53d"),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},_=function(e){b.call(e.data)};h&&f||(h=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},n(g),g},f=function(e){delete v[e]},"process"==r("6b4c")(d)?n=function(e){d.nextTick(a(b,e,1))}:m&&m.now?n=function(e){m.now(a(b,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,n=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(n=function(e){c.postMessage(e+"","*")},c.addEventListener("message",_,!1)):n=y in u("script")?function(e){l.appendChild(u("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:f}},"41a0":function(e,t,r){"use strict";var n=r("2aeb"),i=r("4630"),o=r("7f20"),a={};r("32e9")(a,r("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},"41b2":function(e,t,r){"use strict";t.__esModule=!0;var n=r("3f6b"),i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},"41ef":function(e,t,r){"use strict";r.d(t,"h",(function(){return y})),r.d(t,"c",(function(){return w})),r.d(t,"a",(function(){return x})),r.d(t,"b",(function(){return k})),r.d(t,"g",(function(){return S})),r.d(t,"f",(function(){return M})),r.d(t,"i",(function(){return C})),r.d(t,"e",(function(){return T})),r.d(t,"d",(function(){return L}));var n=r("d51b"),i=r("6d8b"),o={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(e){return e=Math.round(e),e<0?0:e>255?255:e}function s(e){return e=Math.round(e),e<0?0:e>360?360:e}function l(e){return e<0?0:e>1?1:e}function u(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function c(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?l(parseFloat(t)/100):l(parseFloat(t))}function d(e,t,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?e+(t-e)*r*6:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function h(e,t,r){return e+(t-e)*r}function f(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function p(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var m=new n["a"](20),g=null;function v(e,t){g&&p(g,t),g=m.put(e,g||t.slice())}function y(e,t){if(e){t=t||[];var r=m.get(e);if(r)return p(t,r);e+="";var n=e.replace(/ /g,"").toLowerCase();if(n in o)return p(t,o[n]),v(e,t),t;var i=n.length;if("#"!==n.charAt(0)){var a=n.indexOf("("),s=n.indexOf(")");if(-1!==a&&s+1===i){var l=n.substr(0,a),d=n.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==d.length)return 3===d.length?f(t,+d[0],+d[1],+d[2],1):f(t,0,0,0,1);h=c(d.pop());case"rgb":return d.length>=3?(f(t,u(d[0]),u(d[1]),u(d[2]),3===d.length?h:c(d[3])),v(e,t),t):void f(t,0,0,0,1);case"hsla":return 4!==d.length?void f(t,0,0,0,1):(d[3]=c(d[3]),b(d,t),v(e,t),t);case"hsl":return 3!==d.length?void f(t,0,0,0,1):(b(d,t),v(e,t),t);default:return}}f(t,0,0,0,1)}else{if(4===i||5===i){var g=parseInt(n.slice(1,4),16);return g>=0&&g<=4095?(f(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,5===i?parseInt(n.slice(4),16)/15:1),v(e,t),t):void f(t,0,0,0,1)}if(7===i||9===i){g=parseInt(n.slice(1,7),16);return g>=0&&g<=16777215?(f(t,(16711680&g)>>16,(65280&g)>>8,255&g,9===i?parseInt(n.slice(7),16)/255:1),v(e,t),t):void f(t,0,0,0,1)}}}}function b(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=c(e[1]),i=c(e[2]),o=i<=.5?i*(n+1):i+n-i*n,s=2*i-o;return t=t||[],f(t,a(255*d(s,o,r+1/3)),a(255*d(s,o,r)),a(255*d(s,o,r-1/3)),1),4===e.length&&(t[3]=e[3]),t}function _(e){if(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,r=0;else{r=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;n===s?t=h-d:i===s?t=1/3+c-h:o===s&&(t=2/3+d-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,r,u];return null!=e[3]&&f.push(e[3]),f}}function w(e,t){var r=y(e);if(r){for(var n=0;n<3;n++)r[n]=t<0?r[n]*(1-t)|0:(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return C(r,4===r.length?"rgba":"rgb")}}function x(e,t,r){if(t&&t.length&&e>=0&&e<=1){r=r||[];var n=e*(t.length-1),i=Math.floor(n),o=Math.ceil(n),s=t[i],u=t[o],c=n-i;return r[0]=a(h(s[0],u[0],c)),r[1]=a(h(s[1],u[1],c)),r[2]=a(h(s[2],u[2],c)),r[3]=l(h(s[3],u[3],c)),r}}function k(e,t,r){if(t&&t.length&&e>=0&&e<=1){var n=e*(t.length-1),i=Math.floor(n),o=Math.ceil(n),s=y(t[i]),u=y(t[o]),c=n-i,d=C([a(h(s[0],u[0],c)),a(h(s[1],u[1],c)),a(h(s[2],u[2],c)),l(h(s[3],u[3],c))],"rgba");return r?{color:d,leftIndex:i,rightIndex:o,value:n}:d}}function S(e,t,r,n){var i=y(e);if(e)return i=_(i),null!=t&&(i[0]=s(t)),null!=r&&(i[1]=c(r)),null!=n&&(i[2]=c(n)),C(b(i),"rgba")}function M(e,t){var r=y(e);if(r&&null!=t)return r[3]=l(t),C(r,"rgba")}function C(e,t){if(e&&e.length){var r=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(r+=","+e[3]),t+"("+r+")"}}function T(e,t){var r=y(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var O=new n["a"](100);function L(e){if(Object(i["C"])(e)){var t=O.get(e);return t||(t=w(e,-.1),O.put(e,t)),t}if(Object(i["x"])(e)){var r=Object(i["m"])({},e);return r.colorStops=Object(i["H"])(e.colorStops,(function(e){return{offset:e.offset,color:w(e.color,-.1)}})),r}return e}},"41f6":function(e,t,r){},"423e":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t}))},4276:function(e,t,r){var n=r("5ca1"),i=r("2d95");n(n.S,"Error",{isError:function(e){return"Error"===i(e)}})},4362:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("df7c")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},4379:function(e,t,r){var n=r("4a59");e.exports=function(e,t){var r=[];return n(e,!1,r.push,r,t),r}},"43fc":function(e,t,r){"use strict";var n=r("63b6"),i=r("656e"),o=r("4439");n(n.S,"Promise",{try:function(e){var t=i.f(this),r=o(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},"440c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[r][0]:i[r][1]}function r(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,r=e/10;return i(0===t?r:t)}if(e<1e4){while(e>=10)e/=10;return i(e)}return e/=1e3,i(e)}var o=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:r,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},4439:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"448a":function(e,t,r){var n=r("2236"),i=r("11b0"),o=r("6613"),a=r("0676");function s(e){return n(e)||i(e)||o(e)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},"44b8":function(e,t,r){var n=r("23c6"),i=r("4379");e.exports=function(e){return function(){if(n(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},4504:function(e,t,r){"use strict";var n=r("5ca1"),i=r("4bf8"),o=r("d8e8"),a=r("86cc");r("9e1e")&&n(n.P+r("c5b4"),"Object",{__defineGetter__:function(e,t){a.f(i(this),e,{get:o(t),enumerable:!0,configurable:!0})}})},"454f":function(e,t,r){r("46a7");var n=r("584a").Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},"456d":function(e,t,r){var n=r("4bf8"),i=r("0d58");r("5eda")("keys",(function(){return function(e){return i(n(e))}}))},4588:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},"45f2":function(e,t,r){var n=r("d9f6").f,i=r("07e3"),o=r("5168")("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4656:function(e,t,r){},"467f":function(e,t,r){"use strict";var n=r("2d83");e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},"46a7":function(e,t,r){var n=r("63b6");n(n.S+n.F*!r("8e60"),"Object",{defineProperty:r("d9f6").f})},"46bb":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.grid=h;var i=n(r("278c")),o=n(r("9523")),a=r("18ad"),s=r("5557"),l=r("9d85"),u=r("becb");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,o["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.grid;r=(0,u.deepMerge)((0,s.deepClone)(l.gridConfig,!0),r||{}),(0,a.doUpdate)({chart:e,series:[r],key:"grid",getGraphConfig:f})}function f(e,t){var r=e.animationCurve,n=e.animationFrame,i=e.rLevel,o=p(e,t),a=g(e);return t.chart.gridArea=d({},o),[{name:"rect",index:i,animationCurve:r,animationFrame:n,shape:o,style:a}]}function p(e,t){var r=(0,i["default"])(t.chart.render.area,2),n=r[0],o=r[1],a=m(e.left,n),s=m(e.right,n),l=m(e.top,o),u=m(e.bottom,o),c=n-a-s,d=o-l-u;return{x:a,y:l,w:c,h:d}}function m(e,t){return"number"===typeof e?e:"string"!==typeof e?0:t*parseInt(e)/100}function g(e){var t=e.style;return t}},4704:function(e,t,r){var n=r("5ca1");n(n.P+n.R,"Map",{toJSON:r("44b8")("Map")})},"470c":function(e,t,r){},4795:function(e,t,r){var n=r("7726"),i=r("5ca1"),o=r("a25f"),a=[].slice,s=/MSIE .\./.test(o),l=function(e){return function(t,r){var n=arguments.length>2,i=!!n&&a.call(arguments,2);return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,r)}};i(i.G+i.B+i.F*s,{setTimeout:l(n.setTimeout),setInterval:l(n.setInterval)})},"47ee":function(e,t,r){var n=r("c3a1"),i=r("9aa9"),o=r("355d");e.exports=function(e){var t=n(e),r=i.f;if(r){var a,s=r(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},"481b":function(e,t){e.exports={}},"485c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},r=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,r){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var r=e%10,n=e%100-r,i=e>=100?100:null;return e+(t[r]||t[n]||t[i])},week:{dow:1,doy:7}});return r}))},"48c0":function(e,t,r){"use strict";r("386b")("bold",(function(e){return function(){return e(this,"b","","")}}))},"48f8":function(e,t,r){"use strict";var n=r("5ca1"),i=r("7b23");n(n.P+n.F*!r("2f21")([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},4917:function(e,t,r){"use strict";var n=r("cb7c"),i=r("9def"),o=r("0390"),a=r("5f1b");r("214f")("match",1,(function(e,t,r,s){return[function(r){var n=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,n):new RegExp(r)[t](String(n))},function(e){var t=s(r,e,this);if(t.done)return t.value;var l=n(e),u=String(this);if(!l.global)return a(l,u);var c=l.unicode;l.lastIndex=0;var d,h=[],f=0;while(null!==(d=a(l,u))){var p=String(d[0]);h[f]=p,""===p&&(l.lastIndex=o(u,i(l.lastIndex),c)),f++}return 0===f?null:h}]}))},"49ab":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"49bc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gridConfig=void 0;var n={left:"10%",right:"10%",top:60,bottom:60,style:{fill:"rgba(0, 0, 0, 0)"},rLevel:-30,animationCurve:"easeOutCubic",animationFrame:30};t.gridConfig=n},"4a59":function(e,t,r){var n=r("9b43"),i=r("1fa8"),o=r("33a4"),a=r("cb7c"),s=r("9def"),l=r("27ee"),u={},c={};t=e.exports=function(e,t,r,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=n(r,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>b;b++)if(g=t?y(a(p=e[b])[0],p[1]):y(e[b]),g===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if(g=i(m,y,p.value,t),g===u||g===c)return g};t.BREAK=u,t.RETURN=c},"4ba9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",n;case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",n;case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",n;case"dd":return n+=1===e?"dan":"dana",n;case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",n;case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",n}}var r=e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"4ba91":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var a=0;a<n;a++)e[t+a]^=o[a]}});return t.Decryptor=r,t}(),e.mode.OFB}))},"4bf8":function(e,t,r){var n=r("be13");e.exports=function(e){return Object(n(e))}},"4c95":function(e,t,r){"use strict";var n=r("e53d"),i=r("584a"),o=r("d9f6"),a=r("8e60"),s=r("5168")("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:n[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},"4c98":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,(function(e){return r[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return r[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return n}))},"4dda":function(e,t,r){r("ec30")("Float64",8,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"4e86":function(e,t,r){},"4ea4":function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"4eb1":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.radar=m;var i=n(r("9523")),o=n(r("7037")),a=n(r("278c")),s=n(r("448a")),l=r("18ad"),u=r("9d85"),c=r("5557"),d=r("a870"),h=r("becb");function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.series;r||(r=[]);var n=(0,h.initNeedSeries)(r,u.radarConfig,"radar");n=g(n,e),n=v(n,e),n=y(n,e),(0,l.doUpdate)({chart:e,series:n,key:"radar",getGraphConfig:b,getStartGraphConfig:_,beforeChange:k}),(0,l.doUpdate)({chart:e,series:n,key:"radarPoint",getGraphConfig:S,getStartGraphConfig:M}),(0,l.doUpdate)({chart:e,series:n,key:"radarLabel",getGraphConfig:O})}function g(e,t){var r=t.radarAxis;if(!r)return[];var n=r.indicator,i=r.axisLineAngles,o=r.radius,a=r.centerPos;return e.forEach((function(e){var t=e.data;e.dataRadius=[],e.radarPosition=n.map((function(r,n){var l=r.max,u=r.min,d=t[n];"number"!==typeof l&&(l=d),"number"!==typeof u&&(u=0),"number"!==typeof d&&(d=u);var h=(d-u)/(l-u)*o;return e.dataRadius[n]=h,c.getCircleRadianPoint.apply(void 0,(0,s["default"])(a).concat([h,i[n]]))}))})),e}function v(e,t){var r=t.radarAxis;if(!r)return[];var n=r.centerPos,i=r.axisLineAngles;return e.forEach((function(e){var t=e.dataRadius,r=e.label,o=r.labelGap;e.labelPosition=t.map((function(e,t){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([e+o,i[t]]))}))})),e}function y(e,t){var r=t.radarAxis;if(!r)return[];var n=(0,a["default"])(r.centerPos,2),i=n[0],o=n[1];return e.forEach((function(e){var t=e.labelPosition,r=t.map((function(e){var t=(0,a["default"])(e,2),r=t[0],n=t[1],s=r>i?"left":"right",l=n>o?"top":"bottom";return{textAlign:s,textBaseline:l}}));e.labelAlign=r})),e}function b(e){var t=e.animationCurve,r=e.animationFrame,n=e.rLevel;return[{name:"polyline",index:n,animationCurve:t,animationFrame:r,shape:w(e),style:x(e)}]}function _(e,t){var r=t.chart.radarAxis.centerPos,n=b(e)[0],i=n.shape.points.length,o=new Array(i).fill(0).map((function(e){return(0,s["default"])(r)}));return n.shape.points=o,[n]}function w(e){var t=e.radarPosition;return{points:t,close:!0}}function x(e){var t=e.radarStyle,r=e.color,n=(0,d.getRgbaValue)(r);n[3]=.5;var i={stroke:r,fill:(0,d.getColorFromRgbValue)(n)};return(0,h.deepMerge)(i,t)}function k(e,t){var r=t.shape,n=e.shape.points,i=n.length,o=r.points.length;if(o>i){var a=n.slice(-1)[0],l=new Array(o-i).fill(0).map((function(e){return(0,s["default"])(a)}));n.push.apply(n,(0,s["default"])(l))}else o<i&&n.splice(o)}function S(e){var t=e.radarPosition,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"circle",index:i,animationCurve:r,animationFrame:n,visible:e.point.show,shape:C(e,o),style:T(e,o)}}))}function M(e){var t=S(e);return t.forEach((function(e){return e.shape.r=.01})),t}function C(e,t){var r=e.radarPosition,n=e.point,i=n.radius,o=r[t];return{rx:o[0],ry:o[1],r:i}}function T(e,t){var r=e.point,n=e.color,i=r.style;return(0,h.deepMerge)({stroke:n},i)}function O(e){var t=e.labelPosition,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"text",index:i,visible:e.label.show,animationCurve:r,animationFrame:n,shape:L(e,o),style:D(e,o)}}))}function L(e,t){var r=e.labelPosition,n=e.label,i=e.data,a=n.offset,s=n.formatter,l=A(r[t],a),u=i[t]?i[t].toString():"0",c=(0,o["default"])(s);return"string"===c&&(u=s.replace("{value}",u)),"function"===c&&(u=s(u)),{content:u,position:l}}function A(e,t){var r=(0,a["default"])(e,2),n=r[0],i=r[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[n+s,i+l]}function D(e,t){var r=e.label,n=e.color,i=e.labelAlign,o=r.style,a=p({fill:n},i[t]);return(0,h.deepMerge)(a,o)}},"4ee1":function(e,t,r){var n=r("5168")("iterator"),i=!1;try{var o=[7][n]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:r=!0}},o[n]=function(){return s},e(o)}catch(a){}return r}},"4f37":function(e,t,r){"use strict";r("aa77")("trim",(function(e){return function(){return e(this,3)}}))},"4f7f":function(e,t,r){"use strict";var n=r("c26b"),i=r("b39a"),o="Set";e.exports=r("e0b8")(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return n.def(i(this,o),e=0===e?0:e,e)}},n)},5038:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return t}))},"504c":function(e,t,r){var n=r("9e1e"),i=r("0d58"),o=r("6821"),a=r("52a7").f;e.exports=function(e){return function(t){var r,s=o(t),l=i(s),u=l.length,c=0,d=[];while(u>c)r=l[c++],n&&!a.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5120:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],r=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],n=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],a=e.defineLocale("ga",{months:t,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return a}))},5147:function(e,t,r){var n=r("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(i){}}return!0}},5168:function(e,t,r){var n=r("dbdb")("wks"),i=r("62a0"),o=r("e53d").Symbol,a="function"==typeof o,s=e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=n},"51b6":function(e,t,r){r("a3c3"),e.exports=r("584a").Object.assign},"520a":function(e,t,r){"use strict";var n=r("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",l=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[s]||0!==t[s]}(),u=void 0!==/()??/.exec("")[1],c=l||u;c&&(a=function(e){var t,r,a,c,d=this;return u&&(r=new RegExp("^"+d.source+"$(?!\\s)",n.call(d))),l&&(t=d[s]),a=i.call(d,e),l&&a&&(d[s]=d.global?a.index+a[0].length:t),u&&a&&a.length>1&&o.call(a[0],r,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(a[c]=void 0)})),a}),e.exports=a},5270:function(e,t,r){"use strict";var n=r("c532"),i=r("c401"),o=r("2e67"),a=r("2444"),s=r("d925"),l=r("e683");function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){u(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5294:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],r=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],n=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,r){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return n}))},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"52bd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,r){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},"536b":function(e,t,r){var n=r("5ca1"),i=Math.asinh;function o(e){return isFinite(e=+e)&&0!=e?e<0?-o(-e):Math.log(e+Math.sqrt(e*e+1)):e}n(n.S+n.F*!(i&&1/i(0)>0),"Math",{asinh:o})},"53e2":function(e,t,r){var n=r("07e3"),i=r("241e"),o=r("5559")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"549b":function(e,t,r){"use strict";var n=r("d864"),i=r("63b6"),o=r("241e"),a=r("b0dc"),s=r("3702"),l=r("b447"),u=r("20fd"),c=r("7cd6");i(i.S+i.F*!r("4ee1")((function(e){Array.from(e)})),"Array",{from:function(e){var t,r,i,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(h);if(g&&(m=n(m,p>2?arguments[2]:void 0,2)),void 0==y||f==Array&&s(y))for(t=l(h.length),r=new f(t);t>v;v++)u(r,v,g?m(h[v],v):h[v]);else for(d=y.call(h),r=new f;!(i=d.next()).done;v++)u(r,v,g?a(d,m,[i.value,v],!0):i.value);return r.length=v,r}})},"54a8":function(e,t,r){"use strict";var n=r("5ca1"),i=r("79e5"),o=r("bef9"),a=1..toPrecision;n(n.P+n.F*(i((function(){return"1"!==a.call(1,void 0)}))||!i((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},"551c":function(e,t,r){"use strict";var n,i,o,a,s=r("2d00"),l=r("7726"),u=r("9b43"),c=r("23c6"),d=r("5ca1"),h=r("d3f4"),f=r("d8e8"),p=r("f605"),m=r("4a59"),g=r("ebd6"),v=r("1991").set,y=r("8079")(),b=r("a5b8"),_=r("9c80"),w=r("a25f"),x=r("bcaa"),k="Promise",S=l.TypeError,M=l.process,C=M&&M.versions,T=C&&C.v8||"",O=l[k],L="process"==c(M),A=function(){},D=i=b.f,E=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[r("2b4c")("species")]=function(e){e(A,A)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==T.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(n){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var r=e._c;y((function(){var n=e._v,i=1==e._s,o=0,a=function(t){var r,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&N(e),e._h=1),!0===s?r=n:(c&&c.enter(),r=s(n),c&&(c.exit(),a=!0)),r===t.promise?u(S("Promise-chain cycle")):(o=I(r))?o.call(r,l,u):l(r)):u(n)}catch(d){c&&!a&&c.exit(),u(d)}};while(r.length>o)a(r[o++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){v.call(l,(function(){var t,r,n,i=e._v,o=R(e);if(o&&(t=_((function(){L?M.emit("unhandledRejection",i,e):(r=l.onunhandledrejection)?r({promise:e,reason:i}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",i)})),e._h=L||R(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){v.call(l,(function(){var t;L?M.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},B=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},Y=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw S("Promise can't be resolved itself");(t=I(e))?y((function(){var n={_w:r,_d:!1};try{t.call(e,u(Y,n,1),u(B,n,1))}catch(i){B.call(n,i)}})):(r._v=e,r._s=1,j(r,!1))}catch(n){B.call({_w:r,_d:!1},n)}}};E||(O=function(e){p(this,O,k,"_h"),f(e),n.call(this);try{e(u(Y,this,1),u(B,this,1))}catch(t){B.call(this,t)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r("dcbc")(O.prototype,{then:function(e,t){var r=D(g(this,O));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=L?M.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&j(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(Y,e,1),this.reject=u(B,e,1)},b.f=D=function(e){return e===O||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!E,{Promise:O}),r("7f20")(O,k),r("7a56")(k),a=r("8378")[k],d(d.S+d.F*!E,k,{reject:function(e){var t=D(this),r=t.reject;return r(e),t.promise}}),d(d.S+d.F*(s||!E),k,{resolve:function(e){return x(s&&this===a?O:this,e)}}),d(d.S+d.F*!(E&&r("5cc5")((function(e){O.all(e)["catch"](A)}))),k,{all:function(e){var t=this,r=D(t),n=r.resolve,i=r.reject,o=_((function(){var r=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;r.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,r[s]=e,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(e){var t=this,r=D(t),n=r.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},5537:function(e,t,r){var n=r("8378"),i=r("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5557:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.deepClone=p,t.eliminateBlur=m,t.checkPointIsInCircle=g,t.getTwoPointDistance=v,t.checkPointIsInPolygon=y,t.checkPointIsInSector=b,t.checkPointIsNearPolyline=w,t.checkPointIsInRect=x,t.getRotatePointPos=k,t.getScalePointPos=S,t.getTranslatePointPos=M,t.getDistanceBetweenPointAndLine=C,t.getCircleRadianPoint=T,t.getRegularPolygonPoints=O,t["default"]=void 0;var i=n(r("448a")),o=n(r("278c")),a=n(r("7037")),s=Math.abs,l=Math.sqrt,u=Math.sin,c=Math.cos,d=Math.max,h=Math.min,f=Math.PI;function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;var r=JSON.parse,n=JSON.stringify;if(!t)return r(n(e));var i=e instanceof Array?[]:{};if(e&&"object"===(0,a["default"])(e))for(var o in e)e.hasOwnProperty(o)&&(e[o]&&"object"===(0,a["default"])(e[o])?i[o]=p(e[o],!0):i[o]=e[o]);return i}function m(e){return e.map((function(e){var t=(0,o["default"])(e,2),r=t[0],n=t[1];return[parseInt(r)+.5,parseInt(n)+.5]}))}function g(e,t,r,n){return v(e,[t,r])<=n}function v(e,t){var r=(0,o["default"])(e,2),n=r[0],i=r[1],a=(0,o["default"])(t,2),u=a[0],c=a[1],d=s(n-u),h=s(i-c);return l(d*d+h*h)}function y(e,t){for(var r=0,n=(0,o["default"])(e,2),i=n[0],a=n[1],s=t.length,l=1,u=t[0];l<=s;l++){var c=t[l%s];if(i>h(u[0],c[0])&&i<=d(u[0],c[0])&&a<=d(u[1],c[1])&&u[0]!==c[0]){var f=(i-u[0])*(c[1]-u[1])/(c[0]-u[0])+u[1];(u[1]===c[1]||a<=f)&&r++}u=c}return r%2===1}function b(e,t,r,n,i,a,s){if(!e)return!1;if(v(e,[t,r])>n)return!1;if(!s){var l=p([a,i]),u=(0,o["default"])(l,2);i=u[0],a=u[1]}var c=i>a;if(c){var d=[a,i];i=d[0],a=d[1]}var h=a-i;if(h>=2*f)return!0;var m=(0,o["default"])(e,2),g=m[0],y=m[1],b=T(t,r,n,i),w=(0,o["default"])(b,2),x=w[0],k=w[1],S=T(t,r,n,a),M=(0,o["default"])(S,2),C=M[0],O=M[1],L=[g-t,y-r],A=[x-t,k-r],D=[C-t,O-r],E=h>f;if(E){var I=p([D,A]),j=(0,o["default"])(I,2);A=j[0],D=j[1]}var P=_(A,L)&&!_(D,L);return E&&(P=!P),c&&(P=!P),P}function _(e,t){var r=(0,o["default"])(e,2),n=r[0],i=r[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return-i*s+n*l>0}function w(e,t,r){var n=r/2,a=t.map((function(e){var t=(0,o["default"])(e,2),r=t[0],i=t[1];return[r,i-n]})),s=t.map((function(e){var t=(0,o["default"])(e,2),r=t[0],i=t[1];return[r,i+n]})),l=[].concat((0,i["default"])(a),(0,i["default"])(s.reverse()));return y(e,l)}function x(e,t,r,n,i){var a=(0,o["default"])(e,2),s=a[0],l=a[1];return!(s<t)&&(!(l<r)&&(!(s>t+n)&&!(l>r+i)))}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(e%360===0)return t;var n=(0,o["default"])(t,2),i=n[0],a=n[1],s=(0,o["default"])(r,2),l=s[0],d=s[1];return e*=f/180,[(i-l)*c(e)-(a-d)*u(e)+l,(i-l)*u(e)+(a-d)*c(e)+d]}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[1,1],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(1===e)return t;var n=(0,o["default"])(t,2),i=n[0],a=n[1],s=(0,o["default"])(r,2),l=s[0],u=s[1],c=(0,o["default"])(e,2),d=c[0],h=c[1],f=i-l,p=a-u;return[f*d+l,p*h+u]}function M(e,t){if(!e||!t)return!1;var r=(0,o["default"])(t,2),n=r[0],i=r[1],a=(0,o["default"])(e,2),s=a[0],l=a[1];return[n+s,i+l]}function C(e,t,r){if(!e||!t||!r)return!1;var n=(0,o["default"])(e,2),i=n[0],a=n[1],u=(0,o["default"])(t,2),c=u[0],d=u[1],h=(0,o["default"])(r,2),f=h[0],p=h[1],m=p-d,g=c-f,v=d*(f-c)-c*(p-d),y=s(m*i+g*a+v),b=l(m*m+g*g);return y/b}function T(e,t,r,n){return[e+c(n)*r,t+u(n)*r]}function O(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-.5*f,o=2*f/n,a=new Array(n).fill("").map((function(e,t){return t*o+i}));return a.map((function(n){return T(e,t,r,n)}))}var L={deepClone:p,eliminateBlur:m,checkPointIsInCircle:g,checkPointIsInPolygon:y,checkPointIsInSector:b,checkPointIsNearPolyline:w,getTwoPointDistance:v,getRotatePointPos:k,getScalePointPos:S,getTranslatePointPos:M,getCircleRadianPoint:T,getRegularPolygonPoints:O,getDistanceBetweenPointAndLine:C};t["default"]=L},5559:function(e,t,r){var n=r("dbdb")("keys"),i=r("62a0");e.exports=function(e){return n[e]||(n[e]=i(e))}},"55c9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return o}))},"55dd":function(e,t,r){"use strict";var n=r("5ca1"),i=r("d8e8"),o=r("4bf8"),a=r("79e5"),s=[].sort,l=[1,2,3];n(n.P+n.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!r("2f21")(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},5695:function(e,t,r){var n=r("5ca1"),i=r("77f1"),o=String.fromCharCode,a=String.fromCodePoint;n(n.S+n.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){var t,r=[],n=arguments.length,a=0;while(n>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},"576c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},"57e7":function(e,t,r){"use strict";var n=r("5ca1"),i=r("c366")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(a||!r("2f21")(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},"57f0":function(e,t,r){var n=r("d3f4");r("5eda")("isSealed",(function(e){return function(t){return!n(t)||!!e&&e(t)}}))},"584a":function(e,t){var r=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},"58b2":function(e,t,r){var n=r("5ca1");n(n.S+n.F*!r("9e1e"),"Object",{defineProperties:r("1495")})},"597f":function(e,t){e.exports=function(e,t,r,n){var i,o=0;function a(){var a=this,s=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),r.apply(a,l)}function c(){i=void 0}n&&!i&&u(),i&&clearTimeout(i),void 0===n&&s>e?u():!0!==t&&(i=setTimeout(n?c:u,void 0===n?e-s:e))}return"boolean"!==typeof t&&(n=r,r=t,t=void 0),a}},5980:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){(function(){var t=e,r=t.lib,n=r.Base,i=t.enc,o=i.Utf8,a=t.algo;a.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,l=a.words,u=0;u<r;u++)s[u]^=1549556828,l[u]^=909522486;i.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);t.reset();var n=t.finalize(this._oKey.clone().concat(r));return n}})})()}))},"598a":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],r=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],n=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,r){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return n}))},"5a43":function(e,t){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"5aff":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},r=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10,i=e%100-n,o=e>=100?100:null;return e+(t[n]||t[i]||t[o])}},week:{dow:1,doy:7}});return r}))},"5b14":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function r(e,t,r,n){var i=e;switch(r){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return i+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return i+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return i+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return i+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return i+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var i=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,r){return e<12?!0===r?"de":"DE":!0===r?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},"5b4e":function(e,t,r){var n=r("36c3"),i=r("b447"),o=r("0fc9");e.exports=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}},"5bba":function(e,t,r){r("9d98");var n=r("584a").Object;e.exports=function(e,t){return n.defineProperties(e,t)}},"5c3a":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t}))},"5c95":function(e,t,r){var n=r("35e8");e.exports=function(e,t,r){for(var i in t)r&&e[i]?e[i]=t[i]:n(e,i,t[i]);return e}},"5ca1":function(e,t,r){var n=r("7726"),i=r("8378"),o=r("32e9"),a=r("2aba"),s=r("9b43"),l="prototype",u=function(e,t,r){var c,d,h,f,p=e&u.F,m=e&u.G,g=e&u.S,v=e&u.P,y=e&u.B,b=m?n:g?n[t]||(n[t]={}):(n[t]||{})[l],_=m?i:i[t]||(i[t]={}),w=_[l]||(_[l]={});for(c in m&&(r=t),r)d=!p&&b&&void 0!==b[c],h=(d?b:r)[c],f=y&&d?s(h,n):v&&"function"==typeof h?s(Function.call,h):h,b&&a(b,c,h,e&u.U),_[c]!=h&&o(_,c,f),v&&w[c]!=h&&(w[c]=h)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5cbb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},"5cc5":function(e,t,r){var n=r("2b4c")("iterator"),i=!1;try{var o=[7][n]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:r=!0}},o[n]=function(){return s},e(o)}catch(a){}return r}},"5ce3":function(e,t,r){"use strict";var n=r("5ca1"),i=r("abd7")(/[&<>"']/g,{"&":"&","<":"<",">":">",'"':""","'":"'"});n(n.P+n.F,"String",{escapeHTML:function(){return i(this)}})},"5d40":function(e,t,r){r("28e4")("WeakMap")},"5d90":function(e,t,r){r("28e4")("WeakSet")},"5dbc":function(e,t,r){var n=r("d3f4"),i=r("8b97").set;e.exports=function(e,t,r){var o,a=t.constructor;return a!==r&&"function"==typeof a&&(o=a.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},"5df2":function(e,t,r){var n=r("5ca1"),i=r("d752");n(n.S+n.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},"5df3":function(e,t,r){"use strict";var n=r("02f4")(!0);r("01f9")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},"5e07":function(e,t,r){},"5eda":function(e,t,r){var n=r("5ca1"),i=r("8378"),o=r("79e5");e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*o((function(){r(1)})),"Object",a)}},"5f1b":function(e,t,r){"use strict";var n=r("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var o=r.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"5fbd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+r},week:{dow:1,doy:4}});return t}))},6095:function(e,t,r){"use strict";var n=r("5ca1"),i=r("0a49")(4);n(n.P+n.F*!r("2f21")([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},"60f1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.legendConfig=void 0;var n={show:!0,orient:"horizontal",left:"auto",right:"auto",top:"auto",bottom:"auto",itemGap:10,iconWidth:25,iconHeight:10,selectAble:!0,data:[],textStyle:{fontFamily:"Arial",fontSize:13,fill:"#000"},iconStyle:{},textUnselectedStyle:{fontFamily:"Arial",fontSize:13,fill:"#999"},iconUnselectedStyle:{fill:"#999"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};t.legendConfig=n},"60f7":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.legend=d;var i=n(r("9523")),o=n(r("278c")),a=n(r("7037")),s=r("18ad"),l=r("5557"),u=r("9d85"),c=r("becb");function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.legend;r?(r=(0,c.deepMerge)((0,l.deepClone)(u.legendConfig,!0),r),r=h(r),r=f(r,t,e),r=p(r,e),r=v(r,e),r=[r]):r=[],(0,s.doUpdate)({chart:e,series:r,key:"legendIcon",getGraphConfig:O}),(0,s.doUpdate)({chart:e,series:r,key:"legendText",getGraphConfig:D})}function h(e){var t=e.data;return e.data=t.map((function(e){var t=(0,a["default"])(e);return"string"===t?{name:e}:"object"===t?e:{name:""}})),e}function f(e,t,r){var n=t.series,i=r.legendStatus,o=e.data.filter((function(e){var t=e.name,r=n.find((function(e){var r=e.name;return t===r}));return!!r&&(e.color||(e.color=r.color),e.icon||(e.icon=r.type),e)}));return i&&i.length===e.data.length||(i=new Array(e.data.length).fill(!0)),o.forEach((function(e,t){return e.status=i[t]})),e.data=o,r.legendStatus=i,e}function p(e,t){var r=t.render.ctx,n=e.data,i=e.textStyle,o=e.textUnselectedStyle;return n.forEach((function(e){var t=e.status,n=e.name;e.textWidth=m(r,n,t?i:o)})),e}function m(e,t,r){return e.font=g(r),e.measureText(t).width}function g(e){var t=e.fontFamily,r=e.fontSize;return"".concat(r,"px ").concat(t)}function v(e,t){var r=e.orient;return"vertical"===r?S(e,t):y(e,t),e}function y(e,t){var r=e.iconHeight,n=e.itemGap,i=b(e,t),o=i.map((function(r){return w(r,e,t)})),a=x(e,t),s={textAlign:"left",textBaseline:"middle"};i.forEach((function(e,t){return e.forEach((function(e){var i=e.iconPosition,l=e.textPosition,u=o[t],c=a+t*(n+r);e.iconPosition=k(i,[u,c]),e.textPosition=k(l,[u,c]),e.align=s}))}))}function b(e,t){var r=e.data,n=e.iconWidth,i=t.render.area[0],o=0,a=[[]];return r.forEach((function(t,r){var s=_(o,r,e),l=s+n+5+t.textWidth;l>=i&&(o=r,s=_(o,r,e),a.push([])),t.iconPosition=[s,0],t.textPosition=[s+n+5,0],a.slice(-1)[0].push(t)})),a}function _(e,t,r){var n=r.data,i=r.iconWidth,o=r.itemGap,a=n.slice(e,t);return(0,c.mulAdd)(a.map((function(e){var t=e.textWidth;return t})))+(t-e)*(o+5+i)}function w(e,t,r){var n=t.left,i=t.right,o=t.iconWidth,a=t.itemGap,s=r.render.area[0],l=e.length,u=(0,c.mulAdd)(e.map((function(e){var t=e.textWidth;return t})))+l*(5+o)+(l-1)*a,d=[n,i].findIndex((function(e){return"auto"!==e}));return-1===d?(s-u)/2:0===d?"number"===typeof n?n:parseInt(n)/100*s:("number"!==typeof i&&(i=parseInt(i)/100*s),s-(u+i))}function x(e,t){var r=e.top,n=e.bottom,i=e.iconHeight,o=t.render.area[1],a=[r,n].findIndex((function(e){return"auto"!==e})),s=i/2;if(-1===a){var l=t.gridArea,u=l.y,c=l.h;return u+c+45-s}return 0===a?"number"===typeof r?r-s:parseInt(r)/100*o-s:("number"!==typeof n&&(n=parseInt(n)/100*o),o-n-s)}function k(e,t){var r=(0,o["default"])(e,2),n=r[0],i=r[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[n+s,i+l]}function S(e,t){var r=M(e,t),n=(0,o["default"])(r,2),i=n[0],a=n[1],s=C(e,t);T(e,i);var l={textAlign:"left",textBaseline:"middle"};e.data.forEach((function(e){var t=e.textPosition,r=e.iconPosition;e.textPosition=k(t,[a,s]),e.iconPosition=k(r,[a,s]),e.align=l}))}function M(e,t){var r=e.left,n=e.right,i=t.render.area[0],o=[r,n].findIndex((function(e){return"auto"!==e}));if(-1===o)return[!0,i-10];var a=[r,n][o];return"number"!==typeof a&&(a=parseInt(a)/100*i),[Boolean(o),a]}function C(e,t){var r=e.iconHeight,n=e.itemGap,i=e.data,o=e.top,a=e.bottom,s=t.render.area[1],l=i.length,u=l*r+(l-1)*n,c=[o,a].findIndex((function(e){return"auto"!==e}));if(-1===c)return(s-u)/2;var d=[o,a][c];return"number"!==typeof d&&(d=parseInt(d)/100*s),1===c&&(d=s-d-u),d}function T(e,t){var r=e.data,n=e.iconWidth,i=e.iconHeight,o=e.itemGap,a=i/2;r.forEach((function(e,r){var s=e.textWidth,l=(i+o)*r+a,u=t?0-n:0,c=t?u-5-s:n+5;e.iconPosition=[u,l],e.textPosition=[c,l]}))}function O(e,t){var r=e.data,n=e.selectAble,o=e.animationCurve,a=e.animationFrame,s=e.rLevel;return r.map((function(r,l){return(0,i["default"])({name:"line"===r.icon?"lineIcon":"rect",index:s,visible:e.show,hover:n,click:n,animationCurve:o,animationFrame:a,shape:L(e,l),style:A(e,l)},"click",P(e,l,t))}))}function L(e,t){var r=e.data,n=e.iconWidth,i=e.iconHeight,a=(0,o["default"])(r[t].iconPosition,2),s=a[0],l=a[1],u=i/2;return{x:s,y:l-u,w:n,h:i}}function A(e,t){var r=e.data,n=e.iconStyle,i=e.iconUnselectedStyle,o=r[t],a=o.status,s=o.color,l=a?n:i;return(0,c.deepMerge)({fill:s},l)}function D(e,t){var r=e.data,n=e.selectAble,i=e.animationCurve,o=e.animationFrame,a=e.rLevel;return r.map((function(r,s){return{name:"text",index:a,visible:e.show,hover:n,animationCurve:i,animationFrame:o,hoverRect:j(e,s),shape:E(e,s),style:I(e,s),click:P(e,s,t)}}))}function E(e,t){var r=e.data[t],n=r.textPosition,i=r.name;return{content:i,position:n}}function I(e,t){var r=e.textStyle,n=e.textUnselectedStyle,i=e.data[t],o=i.status,a=i.align,s=o?r:n;return(0,c.deepMerge)((0,l.deepClone)(s,!0),a)}function j(e,t){var r=e.textStyle,n=e.textUnselectedStyle,i=e.data[t],a=i.status,s=(0,o["default"])(i.textPosition,2),l=s[0],u=s[1],c=i.textWidth,d=a?r:n,h=d.fontSize;return[l,u-h/2,c,h]}function P(e,t,r){var n=e.data[t].name;return function(){var e=r.chart,i=e.legendStatus,o=e.option,a=!i[t],s=o.series.find((function(e){var t=e.name;return t===n}));s.show=a,i[t]=a,r.chart.setOption(o)}}},6117:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},"613b":function(e,t,r){var n=r("5537")("keys"),i=r("ca5a");e.exports=function(e){return n[e]||(n[e]=i(e))}},"626a":function(e,t,r){var n=r("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},"62a0":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},"62fd":function(e,t,r){},"63b6":function(e,t,r){var n=r("e53d"),i=r("584a"),o=r("d864"),a=r("35e8"),s=r("07e3"),l="prototype",u=function(e,t,r){var c,d,h,f=e&u.F,p=e&u.G,m=e&u.S,g=e&u.P,v=e&u.B,y=e&u.W,b=p?i:i[t]||(i[t]={}),_=b[l],w=p?n:m?n[t]:(n[t]||{})[l];for(c in p&&(r=t),r)d=!f&&w&&void 0!==w[c],d&&s(b,c)||(h=d?w[c]:r[c],b[c]=p&&"function"!=typeof w[c]?r[c]:v&&d?o(h,n):y&&w[c]==h?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[l]=e[l],t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((b.virtual||(b.virtual={}))[c]=h,e&u.R&&_&&!_[c]&&a(_,c,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"63d9":function(e,t,r){r("ec30")("Float32",4,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},6403:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},"643e":function(e,t,r){"use strict";var n=r("dcbc"),i=r("67ab").getWeak,o=r("cb7c"),a=r("d3f4"),s=r("f605"),l=r("4a59"),u=r("0a49"),c=r("69a8"),d=r("b39a"),h=u(5),f=u(6),p=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return h(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var r=v(this,e);r?r[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,o){var u=e((function(e,n){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=n&&l(n,r,e[o],e)}));return n(u.prototype,{delete:function(e){if(!a(e))return!1;var r=i(e);return!0===r?m(d(this,t))["delete"](e):r&&c(r,this._i)&&delete r[this._i]},has:function(e){if(!a(e))return!1;var r=i(e);return!0===r?m(d(this,t)).has(e):r&&c(r,this._i)}}),u},def:function(e,t,r){var n=i(o(t),!0);return!0===n?m(e).set(t,r):n[e._i]=r,e},ufstore:m}},"64d5":function(e,t,r){"use strict";var n=r("5ca1"),i=r("4bf8"),o=r("6a99"),a=r("38fd"),s=r("11e9").f;r("9e1e")&&n(n.P+r("c5b4"),"Object",{__lookupSetter__:function(e){var t,r=i(this),n=o(e,!0);do{if(t=s(r,n))return t.set}while(r=a(r))}})},"656e":function(e,t,r){"use strict";var n=r("79aa");function i(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},"65db":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,r){return e>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},6613:function(e,t,r){var n=r("5a43");function i(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},6625:function(e,t,r){!function(t,r){e.exports=r()}("undefined"!=typeof self&&self,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=40)}([function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(28)("wks"),i=r(29),o=r(0).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t){var r=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(7);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(0),i=r(2),o=r(11),a=r(5),s=r(9),l=function(e,t,r){var u,c,d,h=e&l.F,f=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=f?i:i[t]||(i[t]={}),b=y.prototype,_=f?n:p?n[t]:(n[t]||{}).prototype;for(u in f&&(r=t),r)(c=!h&&_&&void 0!==_[u])&&s(y,u)||(d=c?_[u]:r[u],y[u]=f&&"function"!=typeof _[u]?r[u]:g&&c?o(d,n):v&&_[u]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,r){var n=r(13),i=r(31);e.exports=r(6)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){e.exports=!r(14)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(12);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){var n=r(3),i=r(50),o=r(51),a=Object.defineProperty;t.f=r(6)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(16);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(46),i=r(30);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(26),i=r(16);e.exports=function(e){return n(i(e))}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(28)("keys"),i=r(29);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports=!0},function(e,t,r){var n=r(7),i=r(0).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(13).f,i=r(9),o=r(1)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){"use strict";var n=r(12);e.exports.f=function(e){return new function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)}(e)}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=c(r(43)),i=c(r(32)),o=c(r(79)),a=c(r(86)),s=c(r(87)),l=c(r(88)),u=c(r(89));function c(e){return e&&e.__esModule?e:{default:e}}var d="UN_READY",h="PENDING",f="READY";t.default={name:"VueUeditorWrap",data:function(){return{status:d,defaultConfig:{UEDITOR_HOME_URL:void 0!==e&&e.env.BASE_URL?e.env.BASE_URL+"UEditor/":"/static/UEditor/"}}},props:{mode:{type:String,default:"observer",validator:function(e){return-1!==["observer","listener"].indexOf(e)}},value:{type:String,default:""},config:{type:Object,default:function(){return{}}},init:{type:Function,default:function(){}},destroy:{type:Boolean,default:!0},name:{type:String,default:""},observerDebounceTime:{type:Number,default:50,validator:function(e){return e>=20}},observerOptions:{type:Object,default:function(){return{attributes:!0,attributeFilter:["src","style","type","name"],characterData:!0,childList:!0,subtree:!0}}},forceInit:{type:Boolean,default:!1},editorId:{type:String},editorDependencies:Array,editorDependenciesChecker:Function},computed:{mixedConfig:function(){return(0,o.default)({},this.defaultConfig,this.config)}},methods:{registerButton:function(e){var t=e.name,r=e.icon,n=e.tip,i=e.handler,o=e.index,a=e.UE,s=void 0===a?window.UE:a;s.registerUI(t,(function(e,t){e.registerCommand(t,{execCommand:function(){i(e,t)}});var o=new s.ui.Button({name:t,title:n,cssRules:"background-image: url("+r+") !important;background-size: cover;",onclick:function(){e.execCommand(t)}});return e.addListener("selectionchange",(function(){var r=e.queryCommandState(t);-1===r?(o.setDisabled(!0),o.setChecked(!1)):(o.setDisabled(!1),o.setChecked(r))})),o}),o,this.id)},_initEditor:function(){var e=this;this.$refs.container.id=this.id=this.editorId||"editor_"+(0,u.default)(8),this.init(),this.$emit("before-init",this.id,this.mixedConfig),this.$emit("beforeInit",this.id,this.mixedConfig),this.editor=window.UE.getEditor(this.id,this.mixedConfig),this.editor.addListener("ready",(function(){e.status===f?e.editor.setContent(e.value):(e.status=f,e.$emit("ready",e.editor),e.value&&e.editor.setContent(e.value)),"observer"===e.mode&&window.MutationObserver?e._observerChangeListener():e._normalChangeListener()}))},_loadScript:function(e){return new i.default((function(t,r){if(window.$loadEventBus.on(e,t),!1===window.$loadEventBus.listeners[e].requested){window.$loadEventBus.listeners[e].requested=!0;var n=document.createElement("script");n.src=e,n.onload=function(){window.$loadEventBus.emit(e)},n.onerror=r,document.getElementsByTagName("head")[0].appendChild(n)}}))},_loadCss:function(e){return new i.default((function(t,r){if(window.$loadEventBus.on(e,t),!1===window.$loadEventBus.listeners[e].requested){window.$loadEventBus.listeners[e].requested=!0;var n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,n.onload=function(){window.$loadEventBus.emit(e)},n.onerror=r,document.getElementsByTagName("head")[0].appendChild(n)}}))},_loadEditorDependencies:function(){var e=this;window.$loadEventBus||(window.$loadEventBus=new a.default);var t=["ueditor.config.js","ueditor.all.min.js"];return new i.default((function(r,o){if(e.editorDependencies&&e.editorDependenciesChecker&&e.editorDependenciesChecker())r();else if(!e.editorDependencies&&window.UE&&window.UE.getEditor&&window.UEDITOR_CONFIG&&0!==(0,n.default)(window.UEDITOR_CONFIG).length)r();else{var a=(e.editorDependencies||t).reduce((function(t,r){return/^((https?:)?\/\/)?[-a-zA-Z0-9]+(\.[-a-zA-Z0-9]+)+\//.test(r)||(r=(e.mixedConfig.UEDITOR_HOME_URL||"")+r),".js"===r.slice(-3)?t.jsLinks.push(r):".css"===r.slice(-4)&&t.cssLinks.push(r),t}),{jsLinks:[],cssLinks:[]}),s=a.jsLinks,u=a.cssLinks;i.default.all([i.default.all(u.map((function(t){return e._loadCss(t)}))),(0,l.default)(s.map((function(t){return function(){return e._loadScript(t)}})))]).then((function(){return r()})).catch(o)}}))},_contentChangeHandler:function(){this.innerValue=this.editor.getContent(),this.$emit("input",this.innerValue)},_normalChangeListener:function(){this.editor.addListener("contentChange",this._contentChangeHandler)},_observerChangeListener:function(){var e=this;this.observer=new MutationObserver((0,s.default)((function(){e.editor.document.getElementById("baidu_pastebin")||(e.innerValue=e.editor.getContent(),e.$emit("input",e.innerValue))}),this.observerDebounceTime)),this.observer.observe(this.editor.body,this.observerOptions)}},deactivated:function(){this.editor&&this.editor.removeListener("contentChange",this._contentChangeHandler),this.observer&&this.observer.disconnect()},beforeDestroy:function(){this.destroy&&this.editor&&this.editor.destroy&&this.editor.destroy(),this.observer&&this.observer.disconnect&&this.observer.disconnect()},watch:{value:{handler:function(e){var t=this;this.status===d?(this.status=h,(this.forceInit||"undefined"!=typeof window)&&this._loadEditorDependencies().then((function(){t.$refs.container?t._initEditor():t.$nextTick((function(){return t._initEditor()}))})).catch((function(){throw new Error("[vue-ueditor-wrap] UEditor 资源加载失败!请检查资源是否存在,UEDITOR_HOME_URL 是否配置正确!")}))):this.status===f&&(e===this.innerValue||this.editor.setContent(e||""))},immediate:!0}}}}).call(t,r(42))},function(e,t,r){var n=r(10);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(19),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(2),i=r(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){e.exports={default:r(52),__esModule:!0}},function(e,t,r){"use strict";var n=r(21),i=r(4),o=r(56),a=r(5),s=r(8),l=r(57),u=r(23),c=r(60),d=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,r,p,m,g,v){l(r,t,p);var y,b,_,w=function(e){if(!h&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",k="values"==m,S=!1,M=e.prototype,C=M[d]||M["@@iterator"]||m&&M[m],T=C||w(m),O=m?k?w("entries"):T:void 0,L="Array"==t&&M.entries||C;if(L&&(_=c(L.call(new e)))!==Object.prototype&&_.next&&(u(_,x,!0),n||"function"==typeof _[d]||a(_,d,f)),k&&C&&"values"!==C.name&&(S=!0,T=function(){return C.call(this)}),n&&!v||!h&&!S&&M[d]||a(M,d,T),s[t]=T,s[x]=f,m)if(y={values:k?T:w("values"),keys:g?T:w("keys"),entries:O},v)for(b in y)b in M||o(M,b,y[b]);else i(i.P+i.F*(h||S),t,y);return y}},function(e,t,r){var n=r(0).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(10),i=r(1)("toStringTag"),o="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,r){var n=r(3),i=r(12),o=r(1)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){var n,i,o,a=r(11),s=r(71),l=r(34),u=r(22),c=r(0),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,g=0,v={},y=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){y.call(e.data)};h&&f||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},n(g),g},f=function(e){delete v[e]},"process"==r(10)(d)?n=function(e){d.nextTick(a(y,e,1))}:m&&m.now?n=function(e){m.now(a(y,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,n=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(n=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):n="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:h,clear:f}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(3),i=r(7),o=r(24);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(25),i=r.n(n);for(var o in n)"default"!==o&&function(e){r.d(t,e,(function(){return n[e]}))}(o);var a=r(90),s=r(41)(i.a,a.a,!1,null,null,null);s.options.__file="src/components/vue-ueditor-wrap.vue",t.default=s.exports},function(e,t){e.exports=function(e,t,r,n,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):n&&(u=n),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(e,t){return u.call(t),h(e,t)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,r){e.exports={default:r(44),__esModule:!0}},function(e,t,r){r(45),e.exports=r(2).Object.keys},function(e,t,r){var n=r(15),i=r(17);r(49)("keys",(function(){return function(e){return i(n(e))}}))},function(e,t,r){var n=r(9),i=r(18),o=r(47)(!1),a=r(20)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},function(e,t,r){var n=r(18),i=r(27),o=r(48);e.exports=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){var n=r(19),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(4),i=r(2),o=r(14);e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*o((function(){r(1)})),"Object",a)}},function(e,t,r){e.exports=!r(6)&&!r(14)((function(){return 7!=Object.defineProperty(r(22)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(7);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){r(53),r(54),r(61),r(65),r(77),r(78),e.exports=r(2).Promise},function(e,t){},function(e,t,r){"use strict";var n=r(55)(!0);r(33)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(19),i=r(16);e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,r){e.exports=r(5)},function(e,t,r){"use strict";var n=r(58),i=r(31),o=r(23),a={};r(5)(a,r(1)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(3),i=r(59),o=r(30),a=r(20)("IE_PROTO"),s=function(){},l=function(){var e,t=r(22)("iframe"),n=o.length;for(t.style.display="none",r(34).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(13),i=r(3),o=r(17);e.exports=r(6)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,l=0;s>l;)n.f(e,r=a[l++],t[r]);return e}},function(e,t,r){var n=r(9),i=r(15),o=r(20)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){r(62);for(var n=r(0),i=r(5),o=r(8),a=r(1)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=n[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,r){"use strict";var n=r(63),i=r(64),o=r(8),a=r(18);e.exports=r(33)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n,i,o,a,s=r(21),l=r(0),u=r(11),c=r(35),d=r(4),h=r(7),f=r(12),p=r(66),m=r(67),g=r(36),v=r(37).set,y=r(72)(),b=r(24),_=r(38),w=r(73),x=r(39),k=l.TypeError,S=l.process,M=S&&S.versions,C=M&&M.v8||"",T=l.Promise,O="process"==c(S),L=function(){},A=i=b.f,D=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[r(1)("species")]=function(e){e(L,L)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(L)instanceof t&&0!==C.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),E=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var r=e._c;y((function(){for(var n=e._v,i=1==e._s,o=0,a=function(t){var r,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(2==e._h&&R(e),e._h=1),!0===s?r=n:(c&&c.enter(),r=s(n),c&&(c.exit(),a=!0)),r===t.promise?u(k("Promise-chain cycle")):(o=E(r))?o.call(r,l,u):l(r)):u(n)}catch(e){c&&!a&&c.exit(),u(e)}};r.length>o;)a(r[o++]);e._c=[],e._n=!1,t&&!e._h&&j(e)}))}},j=function(e){v.call(l,(function(){var t,r,n,i=e._v,o=P(e);if(o&&(t=_((function(){O?S.emit("unhandledRejection",i,e):(r=l.onunhandledrejection)?r({promise:e,reason:i}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",i)})),e._h=O||P(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(e){v.call(l,(function(){var t;O?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},B=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw k("Promise can't be resolved itself");(t=E(e))?y((function(){var n={_w:r,_d:!1};try{t.call(e,u(B,n,1),u(N,n,1))}catch(e){N.call(n,e)}})):(r._v=e,r._s=1,I(r,!1))}catch(e){N.call({_w:r,_d:!1},e)}}};D||(T=function(e){p(this,T,"Promise","_h"),f(e),n.call(this);try{e(u(B,this,1),u(N,this,1))}catch(e){N.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(74)(T.prototype,{then:function(e,t){var r=A(g(this,T));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=O?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&I(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(B,e,1),this.reject=u(N,e,1)},b.f=A=function(e){return e===T||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!D,{Promise:T}),r(23)(T,"Promise"),r(75)("Promise"),a=r(2).Promise,d(d.S+d.F*!D,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!D),"Promise",{resolve:function(e){return x(s&&this===a?T:this,e)}}),d(d.S+d.F*!(D&&r(76)((function(e){T.all(e).catch(L)}))),"Promise",{all:function(e){var t=this,r=A(t),n=r.resolve,i=r.reject,o=_((function(){var r=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;r.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,r[s]=e,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(e){var t=this,r=A(t),n=r.reject,i=_((function(){m(e,!1,(function(e){t.resolve(e).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(11),i=r(68),o=r(69),a=r(3),s=r(27),l=r(70),u={},c={};(t=e.exports=function(e,t,r,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=n(r,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>b;b++)if((g=t?y(a(p=e[b])[0],p[1]):y(e[b]))===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if((g=i(m,y,p.value,t))===u||g===c)return g}).BREAK=u,t.RETURN=c},function(e,t,r){var n=r(3);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){var o=e.return;throw void 0!==o&&n(o.call(e)),t}}},function(e,t,r){var n=r(8),i=r(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},function(e,t,r){var n=r(35),i=r(1)("iterator"),o=r(8);e.exports=r(2).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(0),i=r(37).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,l="process"==r(10)(a);e.exports=function(){var e,t,r,u=function(){var n,i;for(l&&(n=a.domain)&&n.exit();e;){i=e.fn,e=e.next;try{i()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(l)r=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);r=function(){c.then(u)}}else r=function(){i.call(n,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),r=function(){h.data=d=!d}}return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},function(e,t,r){var n=r(0).navigator;e.exports=n&&n.userAgent||""},function(e,t,r){var n=r(5);e.exports=function(e,t,r){for(var i in t)r&&e[i]?e[i]=t[i]:n(e,i,t[i]);return e}},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(13),a=r(6),s=r(1)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:n[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(1)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:r=!0}},o[n]=function(){return a},e(o)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(4),i=r(2),o=r(0),a=r(36),s=r(39);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then((function(){return r}))}:e,r?function(r){return s(t,e()).then((function(){throw r}))}:e)}})},function(e,t,r){"use strict";var n=r(4),i=r(24),o=r(38);n(n.S,"Promise",{try:function(e){var t=i.f(this),r=o(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";t.__esModule=!0;var n,i=r(80),o=(n=i)&&n.__esModule?n:{default:n};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},function(e,t,r){e.exports={default:r(81),__esModule:!0}},function(e,t,r){r(82),e.exports=r(2).Object.assign},function(e,t,r){var n=r(4);n(n.S+n.F,"Object",{assign:r(83)})},function(e,t,r){"use strict";var n=r(6),i=r(17),o=r(84),a=r(85),s=r(15),l=r(26),u=Object.assign;e.exports=!u||r(14)((function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||Object.keys(u({},t)).join("")!=n}))?function(e,t){for(var r=s(e),u=arguments.length,c=1,d=o.f,h=a.f;u>c;)for(var f,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;g>v;)f=m[v++],n&&!h.call(p,f)||(r[f]=p[f]);return r}:u},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){this.listeners={},this.on=function(e,t){void 0===this.listeners[e]&&(this.listeners[e]={triggered:!1,requested:!1,cbs:[]}),this.listeners[e].triggered&&t(),this.listeners[e].cbs.push(t)},this.emit=function(e){this.listeners[e]&&(this.listeners[e].triggered=!0,this.listeners[e].cbs.forEach((function(e){return e()})))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=null;return function(){var n=this,i=arguments;r&&clearTimeout(r),r=setTimeout((function(){e.apply(n,i)}),t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(32),o=(n=i)&&n.__esModule?n:{default:n};t.default=function(e){return e.reduce((function(e,t){return e.then(t)}),o.default.resolve())}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t="abcdefghijklmnopqrstuvwxyz",r="",n=0;n<e;n++)r+=t.charAt(Math.floor(Math.random()*t.length));return r}},function(e,t,r){"use strict";var n=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("div",{ref:"container",attrs:{name:this.name}})])};n._withStripped=!0;var i={render:n,staticRenderFns:[]};t.a=i}]).default}))},"66c8":function(e,t,r){var n=r("d3f4");r("5eda")("isFrozen",(function(e){return function(t){return!n(t)||!!e&&e(t)}}))},"66f9":function(e,t,r){r("8a81"),r("8478"),r("1c01"),r("58b2"),r("9986"),r("e4f7"),r("456d"),r("25db"),r("0d6d"),r("cf6a"),r("9aea"),r("66c8"),r("57f0"),r("165b"),r("f751"),r("db97"),r("fd24"),r("06db"),r("d92a"),r("7f7f"),r("217b"),r("18d0"),r("b72c"),r("c5f6"),r("036c"),r("54a8"),r("2e37"),r("fca0"),r("7cdf"),r("ee1d"),r("b1b1"),r("87f3"),r("9278"),r("5df2"),r("04ff"),r("7f25"),r("536b"),r("d9ab"),r("f9ab"),r("32d7"),r("25c9"),r("9f3c"),r("042e"),r("c7c6"),r("f4ff"),r("7872"),r("049f"),r("a69f"),r("0b21"),r("6c1a"),r("c7c62"),r("84b4"),r("5695"),r("788d"),r("4f37"),r("5df3"),r("a032"),r("aef6"),r("2fdb"),r("14b9"),r("f559"),r("8449"),r("9c86"),r("fa83"),r("48c0"),r("d263"),r("6c37"),r("9ec8"),r("d0b0"),r("b54a"),r("f386"),r("1448"),r("673e"),r("242a"),r("78ce"),r("0298"),r("8ea5"),r("87b3"),r("c8ce"),r("2caf"),r("1c4c"),r("e804"),r("373f"),r("23bf"),r("55dd"),r("f3e2"),r("6d67"),r("d25f"),r("759f"),r("6095"),r("0cd8"),r("48f8"),r("57e7"),r("9865"),r("744f"),r("6c7b"),r("7514"),r("20d6"),r("d04f"),r("cadf"),r("3b2b"),r("b0c5"),r("6b54"),r("3846"),r("4917"),r("a481"),r("386d"),r("28a5"),r("551c"),r("f400"),r("4f7f"),r("10ad"),r("c02b"),r("c66f"),r("262f"),r("b05c"),r("34ef"),r("6aa2"),r("15ac"),r("af56"),r("b6e4"),r("9c29"),r("63d9"),r("4dda"),r("df1b"),r("2397"),r("88ca"),r("ba16"),r("7ff6"),r("d185"),r("ebde"),r("2d34"),r("f6b3"),r("2251"),r("c698"),r("a19f"),r("9253"),r("9275"),r("6762"),r("e956"),r("71f1"),r("3535"),r("f576"),r("ed50"),r("23be"),r("7c0e"),r("988d"),r("ac4d"),r("c7ca"),r("8e6e"),r("8615"),r("ffc1"),r("4504"),r("fee7"),r("b9a1"),r("64d5"),r("4704"),r("db9a"),r("729b"),r("99c5"),r("764f"),r("bdd1"),r("416c"),r("dd8a"),r("5d40"),r("5d90"),r("0c36"),r("a234"),r("4276"),r("09e0"),r("0c00"),r("2748"),r("1f91"),r("9c00"),r("2f78"),r("b4c2"),r("1f18"),r("692b"),r("c775"),r("8a5c"),r("ed7e"),r("097d"),r("a9cc"),r("e3d0"),r("ceaf"),r("e394"),r("b80b"),r("06a7"),r("7cdff"),r("896f"),r("ec39"),r("3a9c"),r("0d25"),r("37b5"),r("4795"),r("130f"),r("ac6a"),e.exports=r("8378")},6718:function(e,t,r){var n=r("e53d"),i=r("584a"),o=r("b8e3"),a=r("ccb9"),s=r("d9f6").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"673e":function(e,t,r){"use strict";r("386b")("sub",(function(e){return function(){return e(this,"sub","","")}}))},6762:function(e,t,r){"use strict";var n=r("5ca1"),i=r("c366")(!0);n(n.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")("includes")},6784:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],r=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],n=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,r){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return n}))},"67ab":function(e,t,r){var n=r("ca5a")("meta"),i=r("d3f4"),o=r("69a8"),a=r("86cc").f,s=0,l=Object.isExtensible||function(){return!0},u=!r("79e5")((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[n].i},h=function(e,t){if(!o(e,n)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[n].w},f=function(e){return u&&p.NEED&&l(e)&&!o(e,n)&&c(e),e},p=e.exports={KEY:n,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},6821:function(e,t,r){var n=r("626a"),i=r("be13");e.exports=function(e){return n(i(e))}},6887:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r){var n={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(n[r],e)}function r(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function n(e){return e>9?n(e%10):e}function i(e,t){return 2===t?o(e):e}function o(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,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],f=e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:c,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:u,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:r},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,r){return e<12?"a.m.":"g.m."}});return f}))},"688b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},6909:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"692b":function(e,t,r){var n=r("5ca1"),i=Math.PI/180;n(n.S,"Math",{radians:function(e){return e*i}})},"696e":function(e,t,r){r("c207"),r("1654"),r("6c1c"),r("24c5"),r("3c11"),r("43fc"),e.exports=r("584a").Promise},"69a0":function(e,t,r){(function(t){e.exports=t()})((function(e){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(e,t){var r=e[0],n=e[1],i=e[2],o=e[3];r+=(n&i|~n&o)+t[0]-680876936|0,r=(r<<7|r>>>25)+n|0,o+=(r&n|~r&i)+t[1]-389564586|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&n)+t[2]+606105819|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&r)+t[3]-1044525330|0,n=(n<<22|n>>>10)+i|0,r+=(n&i|~n&o)+t[4]-176418897|0,r=(r<<7|r>>>25)+n|0,o+=(r&n|~r&i)+t[5]+1200080426|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&n)+t[6]-1473231341|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&r)+t[7]-45705983|0,n=(n<<22|n>>>10)+i|0,r+=(n&i|~n&o)+t[8]+1770035416|0,r=(r<<7|r>>>25)+n|0,o+=(r&n|~r&i)+t[9]-1958414417|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&n)+t[10]-42063|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&r)+t[11]-1990404162|0,n=(n<<22|n>>>10)+i|0,r+=(n&i|~n&o)+t[12]+1804603682|0,r=(r<<7|r>>>25)+n|0,o+=(r&n|~r&i)+t[13]-40341101|0,o=(o<<12|o>>>20)+r|0,i+=(o&r|~o&n)+t[14]-1502002290|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&r)+t[15]+1236535329|0,n=(n<<22|n>>>10)+i|0,r+=(n&o|i&~o)+t[1]-165796510|0,r=(r<<5|r>>>27)+n|0,o+=(r&i|n&~i)+t[6]-1069501632|0,o=(o<<9|o>>>23)+r|0,i+=(o&n|r&~n)+t[11]+643717713|0,i=(i<<14|i>>>18)+o|0,n+=(i&r|o&~r)+t[0]-373897302|0,n=(n<<20|n>>>12)+i|0,r+=(n&o|i&~o)+t[5]-701558691|0,r=(r<<5|r>>>27)+n|0,o+=(r&i|n&~i)+t[10]+38016083|0,o=(o<<9|o>>>23)+r|0,i+=(o&n|r&~n)+t[15]-660478335|0,i=(i<<14|i>>>18)+o|0,n+=(i&r|o&~r)+t[4]-405537848|0,n=(n<<20|n>>>12)+i|0,r+=(n&o|i&~o)+t[9]+568446438|0,r=(r<<5|r>>>27)+n|0,o+=(r&i|n&~i)+t[14]-1019803690|0,o=(o<<9|o>>>23)+r|0,i+=(o&n|r&~n)+t[3]-187363961|0,i=(i<<14|i>>>18)+o|0,n+=(i&r|o&~r)+t[8]+1163531501|0,n=(n<<20|n>>>12)+i|0,r+=(n&o|i&~o)+t[13]-1444681467|0,r=(r<<5|r>>>27)+n|0,o+=(r&i|n&~i)+t[2]-51403784|0,o=(o<<9|o>>>23)+r|0,i+=(o&n|r&~n)+t[7]+1735328473|0,i=(i<<14|i>>>18)+o|0,n+=(i&r|o&~r)+t[12]-1926607734|0,n=(n<<20|n>>>12)+i|0,r+=(n^i^o)+t[5]-378558|0,r=(r<<4|r>>>28)+n|0,o+=(r^n^i)+t[8]-2022574463|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^n)+t[11]+1839030562|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^r)+t[14]-35309556|0,n=(n<<23|n>>>9)+i|0,r+=(n^i^o)+t[1]-1530992060|0,r=(r<<4|r>>>28)+n|0,o+=(r^n^i)+t[4]+1272893353|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^n)+t[7]-155497632|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^r)+t[10]-1094730640|0,n=(n<<23|n>>>9)+i|0,r+=(n^i^o)+t[13]+681279174|0,r=(r<<4|r>>>28)+n|0,o+=(r^n^i)+t[0]-358537222|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^n)+t[3]-722521979|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^r)+t[6]+76029189|0,n=(n<<23|n>>>9)+i|0,r+=(n^i^o)+t[9]-640364487|0,r=(r<<4|r>>>28)+n|0,o+=(r^n^i)+t[12]-421815835|0,o=(o<<11|o>>>21)+r|0,i+=(o^r^n)+t[15]+530742520|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^r)+t[2]-995338651|0,n=(n<<23|n>>>9)+i|0,r+=(i^(n|~o))+t[0]-198630844|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[7]+1126891415|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[5]-57434055|0,n=(n<<21|n>>>11)+i|0,r+=(i^(n|~o))+t[12]+1700485571|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[3]-1894986606|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[10]-1051523|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[1]-2054922799|0,n=(n<<21|n>>>11)+i|0,r+=(i^(n|~o))+t[8]+1873313359|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[15]-30611744|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[13]+1309151649|0,n=(n<<21|n>>>11)+i|0,r+=(i^(n|~o))+t[4]-145523070|0,r=(r<<6|r>>>26)+n|0,o+=(n^(r|~i))+t[11]-1120210379|0,o=(o<<10|o>>>22)+r|0,i+=(r^(o|~n))+t[2]+718787259|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~r))+t[9]-343485551|0,n=(n<<21|n>>>11)+i|0,e[0]=r+e[0]|0,e[1]=n+e[1]|0,e[2]=i+e[2]|0,e[3]=o+e[3]|0}function n(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function i(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function o(e){var t,i,o,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)r(c,n(e.substring(t-64,t)));for(e=e.substring(t-64),i=e.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(r(c,o),t=0;t<16;t+=1)o[t]=0;return a=8*u,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,r(c,o),c}function a(e){var t,n,o,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)r(c,i(e.subarray(t-64,t)));for(e=t-64<u?e.subarray(t-64):new Uint8Array(0),n=e.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<n;t+=1)o[t>>2]|=e[t]<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(r(c,o),t=0;t<16;t+=1)o[t]=0;return a=8*u,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,r(c,o),c}function s(e){var r,n="";for(r=0;r<4;r+=1)n+=t[e>>8*r+4&15]+t[e>>8*r&15];return n}function l(e){var t;for(t=0;t<e.length;t+=1)e[t]=s(e[t]);return e.join("")}function u(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e,t){var r,n=e.length,i=new ArrayBuffer(n),o=new Uint8Array(i);for(r=0;r<n;r+=1)o[r]=e.charCodeAt(r);return t?o:i}function d(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function h(e,t,r){var n=new Uint8Array(e.byteLength+t.byteLength);return n.set(new Uint8Array(e)),n.set(new Uint8Array(t),e.byteLength),r?n:n.buffer}function f(e){var t,r=[],n=e.length;for(t=0;t<n-1;t+=2)r.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,r)}function p(){this.reset()}return"5d41402abc4b2a76b9719d911017c592"!==l(o("hello"))&&function(e,t){var r=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(r>>16);return n<<16|65535&r},"undefined"===typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return e=0|e||0,e<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(r,n){var i,o,a,s,l=this.byteLength,u=t(r,l),c=l;return n!==e&&(c=t(n,l)),u>c?new ArrayBuffer(0):(i=c-u,o=new ArrayBuffer(i),a=new Uint8Array(o),s=new Uint8Array(this,u,i),a.set(s),o)}}(),p.prototype.append=function(e){return this.appendBinary(u(e)),this},p.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,i=this._buff.length;for(t=64;t<=i;t+=64)r(this._hash,n(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},p.prototype.end=function(e){var t,r,n=this._buff,i=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(o,i),r=l(this._hash),e&&(r=f(r)),this.reset(),r},p.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},p.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},p.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},p.prototype._finish=function(e,t){var n,i,o,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(r(this._hash,e),a=0;a<16;a+=1)e[a]=0;n=8*this._length,n=n.toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(n[2],16),o=parseInt(n[1],16)||0,e[14]=i,e[15]=o,r(this._hash,e)},p.hash=function(e,t){return p.hashBinary(u(e),t)},p.hashBinary=function(e,t){var r=o(e),n=l(r);return t?f(n):n},p.ArrayBuffer=function(){this.reset()},p.ArrayBuffer.prototype.append=function(e){var t,n=h(this._buff.buffer,e,!0),o=n.length;for(this._length+=e.byteLength,t=64;t<=o;t+=64)r(this._hash,i(n.subarray(t-64,t)));return this._buff=t-64<o?new Uint8Array(n.buffer.slice(t-64)):new Uint8Array(0),this},p.ArrayBuffer.prototype.end=function(e){var t,r,n=this._buff,i=n.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=n[t]<<(t%4<<3);return this._finish(o,i),r=l(this._hash),e&&(r=f(r)),this.reset(),r},p.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.ArrayBuffer.prototype.getState=function(){var e=p.prototype.getState.call(this);return e.buff=d(e.buff),e},p.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),p.prototype.setState.call(this,e)},p.ArrayBuffer.prototype.destroy=p.prototype.destroy,p.ArrayBuffer.prototype._finish=p.prototype._finish,p.ArrayBuffer.hash=function(e,t){var r=a(new Uint8Array(e)),n=l(r);return t?f(n):n},p}))},"69a8":function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"69d3":function(e,t,r){r("6718")("asyncIterator")},"6a99":function(e,t,r){var n=r("d3f4");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(e,t,r){r("ec30")("Uint8",1,(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},"6abf":function(e,t,r){var n=r("e6f3"),i=r("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},"6b4c":function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},"6b54":function(e,t,r){"use strict";r("3846");var n=r("cb7c"),i=r("0bfb"),o=r("9e1e"),a="toString",s=/./[a],l=function(e){r("2aba")(RegExp.prototype,a,e,!0)};r("79e5")((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?l((function(){var e=n(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):s.name!=a&&l((function(){return s.call(this)}))},"6c02":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"changeDefaultConfig",{enumerable:!0,get:function(){return o.changeDefaultConfig}}),t["default"]=void 0;var i=n(r("04fb")),o=r("9d85"),a=i["default"];t["default"]=a},"6c1a":function(e,t,r){var n=r("5ca1"),i=r("2d5c"),o=Math.exp;n(n.S+n.F*r("79e5")((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},"6c1c":function(e,t,r){r("c367");for(var n=r("e53d"),i=r("35e8"),o=r("481b"),a=r("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=n[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},"6c29":function(e,t,r){"use strict";r("62fd");var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"dv-active-ring-chart"},[r("div",{ref:"active-ring-chart",staticClass:"active-ring-chart-container"}),e._v(" "),r("div",{staticClass:"active-ring-info"},[r("dv-digital-flop",{attrs:{config:e.digitalFlop}}),e._v(" "),r("div",{staticClass:"active-ring-name",style:e.fontSize},[e._v(e._s(e.ringName))])],1)])},i=[],o=r("75fc"),a=r("db72"),s=(r("ac6a"),r("7f7f"),r("6c02")),l=r.n(s),u=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"dv-digital-flop"},[r("canvas",{ref:"digital-flop"})])},c=[],d=r("768b"),h=r("9886"),f=r.n(h),p=(r("0ca1"),r("becb")),m=r("5557"),g={name:"DvDigitalFlop",props:{config:{type:Object,default:function(){return{}}}},data:function(){return{renderer:null,defaultConfig:{number:[],content:"",toFixed:0,textAlign:"center",rowGap:0,style:{fontSize:30,fill:"#3de7c9"},formatter:void 0,animationCurve:"easeOutCubic",animationFrame:50},mergedConfig:null,graph:null}},watch:{config:function(){var e=this.update;e()}},methods:{init:function(){var e=this.initRender,t=this.mergeConfig,r=this.initGraph;e(),t(),r()},initRender:function(){var e=this.$refs;this.renderer=new f.a(e["digital-flop"])},mergeConfig:function(){var e=this.defaultConfig,t=this.config;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(e,!0),t||{})},initGraph:function(){var e=this.getShape,t=this.getStyle,r=this.renderer,n=this.mergedConfig,i=n.animationCurve,o=n.animationFrame,a=e(),s=t();this.graph=r.add({name:"numberText",animationCurve:i,animationFrame:o,shape:a,style:s})},getShape:function(){var e=this.mergedConfig,t=e.number,r=e.content,n=e.toFixed,i=e.textAlign,o=e.rowGap,a=e.formatter,s=Object(d["a"])(this.renderer.area,2),l=s[0],u=s[1],c=[l/2,u/2];return"left"===i&&(c[0]=0),"right"===i&&(c[0]=l),{number:t,content:r,toFixed:n,position:c,rowGap:o,formatter:a}},getStyle:function(){var e=this.mergedConfig,t=e.style,r=e.textAlign;return Object(p["deepMerge"])(t,{textAlign:r,textBaseline:"middle"})},update:function(){var e=this.mergeConfig,t=this.mergeShape,r=this.getShape,n=this.getStyle,i=this.graph,o=this.mergedConfig;if(i.animationEnd(),e(),i){var a=o.animationCurve,s=o.animationFrame,l=r(),u=n();t(i,l),i.animationCurve=a,i.animationFrame=s,i.animation("style",u,!0),i.animation("shape",l)}},mergeShape:function(e,t){var r=e.shape.number.length,n=t.number.length;r!==n&&(e.shape.number=t.number)}},mounted:function(){var e=this.init;e()}},v=g,y=r("2877"),b=Object(y["a"])(v,u,c,!1,null,null,null),_=b.exports,w={name:"DvActiveRingChart",components:{dvDigitalFlop:_},props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultConfig:{radius:"50%",activeRadius:"55%",data:[{name:"",value:0}],lineWidth:20,activeTimeGap:3e3,color:[],digitalFlopStyle:{fontSize:25,fill:"#fff"},digitalFlopToFixed:0,digitalFlopUnit:"",animationCurve:"easeOutCubic",animationFrame:50,showOriginValue:!1},mergedConfig:null,chart:null,activeIndex:0,animationHandler:""}},computed:{digitalFlop:function(){var e=this.mergedConfig,t=this.activeIndex;if(!e)return{};var r,n=e.digitalFlopStyle,i=e.digitalFlopToFixed,o=e.data,a=e.showOriginValue,s=e.digitalFlopUnit,l=o.map((function(e){var t=e.value;return t}));if(a)r=l[t];else{var u=l.reduce((function(e,t){return e+t}),0),c=parseFloat(l[t]/u*100)||0;r=c}return{content:"{nt}".concat(a?s:s||"%"),number:[r],style:n,toFixed:i}},ringName:function(){var e=this.mergedConfig,t=this.activeIndex;return e?e.data[t].name:""},fontSize:function(){var e=this.mergedConfig;return e?"font-size: ".concat(e.digitalFlopStyle.fontSize,"px;"):""}},watch:{config:function(){var e=this.animationHandler,t=this.mergeConfig,r=this.setRingOption;clearTimeout(e),this.activeIndex=0,t(),r()}},methods:{init:function(){var e=this.initChart,t=this.mergeConfig,r=this.setRingOption;e(),t(),r()},initChart:function(){var e=this.$refs;this.chart=new l.a(e["active-ring-chart"])},mergeConfig:function(){var e=this.defaultConfig,t=this.config;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(e,!0),t||{})},setRingOption:function(){var e=this.getRingOption,t=this.chart,r=this.ringAnimation,n=e();t.setOption(n,!0),r()},getRingOption:function(){var e=this.mergedConfig,t=this.getRealRadius,r=t();return e.data.forEach((function(e){e.radius=r})),{series:[Object(a["a"])(Object(a["a"])({type:"pie"},e),{},{outsideLabel:{show:!1}})],color:e.color}},getRealRadius:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.mergedConfig,r=this.chart,n=t.radius,i=t.activeRadius,a=t.lineWidth,s=Math.min.apply(Math,Object(o["a"])(r.render.area))/2,l=a/2,u=e?i:n;"number"!==typeof u&&(u=parseInt(u)/100*s);var c=u-l,d=u+l;return[c,d]},ringAnimation:function(){var e=this,t=this.activeIndex,r=this.getRingOption,n=this.chart,i=this.getRealRadius,o=i(),a=i(!0),s=r(),l=s.series[0].data;l.forEach((function(e,r){e.radius=r===t?a:o})),n.setOption(s,!0);var u=s.series[0].activeTimeGap;this.animationHandler=setTimeout((function(r){t+=1,t>=l.length&&(t=0),e.activeIndex=t,e.ringAnimation()}),u)}},mounted:function(){var e=this.init;e()},beforeDestroy:function(){var e=this.animationHandler;clearTimeout(e)}},x=w,k=Object(y["a"])(x,n,i,!1,null,null,null),S=(k.exports,r("fe7b"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-1"},[r("svg",{staticClass:"border",attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.backgroundColor,points:"10, 27 10, "+(e.height-27)+" 13, "+(e.height-24)+" 13, "+(e.height-21)+" 24, "+(e.height-11)+"\n 38, "+(e.height-11)+" 41, "+(e.height-8)+" 73, "+(e.height-8)+" 75, "+(e.height-10)+" 81, "+(e.height-10)+"\n 85, "+(e.height-6)+" "+(e.width-85)+", "+(e.height-6)+" "+(e.width-81)+", "+(e.height-10)+" "+(e.width-75)+", "+(e.height-10)+"\n "+(e.width-73)+", "+(e.height-8)+" "+(e.width-41)+", "+(e.height-8)+" "+(e.width-38)+", "+(e.height-11)+"\n "+(e.width-24)+", "+(e.height-11)+" "+(e.width-13)+", "+(e.height-21)+" "+(e.width-13)+", "+(e.height-24)+"\n "+(e.width-10)+", "+(e.height-27)+" "+(e.width-10)+", 27 "+(e.width-13)+", 25 "+(e.width-13)+", 21\n "+(e.width-24)+", 11 "+(e.width-38)+", 11 "+(e.width-41)+", 8 "+(e.width-73)+", 8 "+(e.width-75)+", 10\n "+(e.width-81)+", 10 "+(e.width-85)+", 6 85, 6 81, 10 75, 10 73, 8 41, 8 38, 11 24, 11 13, 21 13, 24"}})]),e._v(" "),e._l(e.border,(function(t){return r("svg",{key:t,class:t+" border",attrs:{width:"150px",height:"150px"}},[r("polygon",{attrs:{fill:e.mergedColor[0],points:"6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"}},[r("animate",{attrs:{attributeName:"fill",values:e.mergedColor[0]+";"+e.mergedColor[1]+";"+e.mergedColor[0],dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("polygon",{attrs:{fill:e.mergedColor[1],points:"27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8"}},[r("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0]+";"+e.mergedColor[1],dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("polygon",{attrs:{fill:e.mergedColor[0],points:"9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"}},[r("animate",{attrs:{attributeName:"fill",values:e.mergedColor[0]+";"+e.mergedColor[1]+";transparent",dur:"1s",begin:"0s",repeatCount:"indefinite"}})])])})),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)],2)}),M=[];function C(e,t){return 1===arguments.length?parseInt(Math.random()*e+1,10):parseInt(Math.random()*(t-e+1)+e,10)}function T(e,t){let r;return function(){clearTimeout(r);const[n,i]=[this,arguments];r=setTimeout(()=>{t.apply(n,i)},e)}}function O(e,t){const r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,n=new r(t);return n.observe(e,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0}),n}function L(e,t){const r=Math.abs(e[0]-t[0]),n=Math.abs(e[1]-t[1]);return Math.sqrt(r*r+n*n)}function A(e){return(e?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx":"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx").replace(/[xy]/g,(function(e){const t=16*Math.random()|0,r="x"==e?t:3&t|8;return r.toString(16)}))}var D={data(){return{dom:"",width:0,height:0,debounceInitWHFun:"",domObserver:""}},methods:{async autoResizeMixinInit(){const{initWH:e,getDebounceInitWHFun:t,bindDomResizeCallback:r,afterAutoResizeMixinInit:n}=this;await e(!1),t(),r(),"function"===typeof n&&n()},initWH(e=!0){const{$nextTick:t,$refs:r,ref:n,onResize:i}=this;return new Promise(o=>{t(t=>{const a=this.dom=r[n];this.width=a?a.clientWidth:0,this.height=a?a.clientHeight:0,a?this.width&&this.height||console.warn("DataV: Component width or height is 0px, rendering abnormality may occur!"):console.warn("DataV: Failed to get dom node, component rendering may be abnormal!"),"function"===typeof i&&e&&i(),o()})})},getDebounceInitWHFun(){const{initWH:e}=this;this.debounceInitWHFun=T(100,e)},bindDomResizeCallback(){const{dom:e,debounceInitWHFun:t}=this;this.domObserver=O(e,t),window.addEventListener("resize",t)},unbindDomResizeCallback(){let{domObserver:e,debounceInitWHFun:t}=this;e&&(e.disconnect(),e.takeRecords(),e=null,window.removeEventListener("resize",t))}},mounted(){const{autoResizeMixinInit:e}=this;e()},beforeDestroy(){const{unbindDomResizeCallback:e}=this;e()}},E={name:"DvBorderBox1",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-1",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#4fd2dd","#235fa7"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},I=E,j=Object(y["a"])(I,S,M,!1,null,null,null),P=j.exports,R=function(e){e.component(P.name,P)},N=(r("6ccd"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-10",style:"box-shadow: inset 0 0 25px 3px "+e.mergedColor[0]},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.backgroundColor,points:"\n 4, 0 "+(e.width-4)+", 0 "+e.width+", 4 "+e.width+", "+(e.height-4)+" "+(e.width-4)+", "+e.height+"\n 4, "+e.height+" 0, "+(e.height-4)+" 0, 4\n "}})]),e._v(" "),e._l(e.border,(function(t){return r("svg",{key:t,class:t+" dv-border-svg-container",attrs:{width:"150px",height:"150px"}},[r("polygon",{attrs:{fill:e.mergedColor[1],points:"40, 0 5, 0 0, 5 0, 16 3, 19 3, 7 7, 3 35, 3"}})])})),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)],2)}),B=[],Y={name:"DvBorderBox10",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-10",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#1d48c4","#d3e1f8"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},F=Y,z=Object(y["a"])(F,N,B,!1,null,null,null),H=(z.exports,r("4656"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-11"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("defs",[r("filter",{attrs:{id:e.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[r("feMorphology",{attrs:{operator:"dilate",radius:"2",in:"SourceAlpha",result:"thicken"}}),e._v(" "),r("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"3",result:"blurred"}}),e._v(" "),r("feFlood",{attrs:{"flood-color":e.mergedColor[1],result:"glowColor"}}),e._v(" "),r("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),e._v(" "),r("feMerge",[r("feMergeNode",{attrs:{in:"softGlowColored"}}),e._v(" "),r("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),e._v(" "),r("polygon",{attrs:{fill:e.backgroundColor,points:"\n 20, 32 "+(.5*e.width-e.titleWidth/2)+", 32 "+(.5*e.width-e.titleWidth/2+20)+", 53\n "+(.5*e.width+e.titleWidth/2-20)+", 53 "+(.5*e.width+e.titleWidth/2)+", 32\n "+(e.width-20)+", 32 "+(e.width-8)+", 48 "+(e.width-8)+", "+(e.height-25)+" "+(e.width-20)+", "+(e.height-8)+"\n 20, "+(e.height-8)+" 8, "+(e.height-25)+" 8, 50\n "}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],filter:"url(#"+e.filterId+")",points:"\n "+(e.width-e.titleWidth)/2+", 30\n 20, 30 7, 50 7, "+(50+(e.height-167)/2)+"\n 13, "+(55+(e.height-167)/2)+" 13, "+(135+(e.height-167)/2)+"\n 7, "+(140+(e.height-167)/2)+" 7, "+(e.height-27)+"\n 20, "+(e.height-7)+" "+(e.width-20)+", "+(e.height-7)+" "+(e.width-7)+", "+(e.height-27)+"\n "+(e.width-7)+", "+(140+(e.height-167)/2)+" "+(e.width-13)+", "+(135+(e.height-167)/2)+"\n "+(e.width-13)+", "+(55+(e.height-167)/2)+" "+(e.width-7)+", "+(50+(e.height-167)/2)+"\n "+(e.width-7)+", 50 "+(e.width-20)+", 30 "+(e.width+e.titleWidth)/2+", 30\n "+((e.width+e.titleWidth)/2-20)+", 7 "+((e.width-e.titleWidth)/2+20)+", 7\n "+(e.width-e.titleWidth)/2+", 30 "+((e.width-e.titleWidth)/2+20)+", 52\n "+((e.width+e.titleWidth)/2-20)+", 52 "+(e.width+e.titleWidth)/2+", 30\n "}}),e._v(" "),r("polygon",{attrs:{stroke:e.mergedColor[0],fill:"transparent",points:"\n "+((e.width+e.titleWidth)/2-5)+", 30 "+((e.width+e.titleWidth)/2-21)+", 11\n "+((e.width+e.titleWidth)/2-27)+", 11 "+((e.width+e.titleWidth)/2-8)+", 34\n "}}),e._v(" "),r("polygon",{attrs:{stroke:e.mergedColor[0],fill:"transparent",points:"\n "+((e.width-e.titleWidth)/2+5)+", 30 "+((e.width-e.titleWidth)/2+22)+", 49\n "+((e.width-e.titleWidth)/2+28)+", 49 "+((e.width-e.titleWidth)/2+8)+", 26\n "}}),e._v(" "),r("polygon",{attrs:{stroke:e.mergedColor[0],fill:e.fade(e.mergedColor[1]||e.defaultColor[1],30),filter:"url(#"+e.filterId+")",points:"\n "+((e.width+e.titleWidth)/2-11)+", 37 "+((e.width+e.titleWidth)/2-32)+", 11\n "+((e.width-e.titleWidth)/2+23)+", 11 "+((e.width-e.titleWidth)/2+11)+", 23\n "+((e.width-e.titleWidth)/2+33)+", 49 "+((e.width+e.titleWidth)/2-22)+", 49\n "}}),e._v(" "),r("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"1",points:"\n "+((e.width-e.titleWidth)/2-10)+", 37 "+((e.width-e.titleWidth)/2-31)+", 37\n "+((e.width-e.titleWidth)/2-25)+", 46 "+((e.width-e.titleWidth)/2-4)+", 46\n "}},[r("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.7",points:"\n "+((e.width-e.titleWidth)/2-40)+", 37 "+((e.width-e.titleWidth)/2-61)+", 37\n "+((e.width-e.titleWidth)/2-55)+", 46 "+((e.width-e.titleWidth)/2-34)+", 46\n "}},[r("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.5",points:"\n "+((e.width-e.titleWidth)/2-70)+", 37 "+((e.width-e.titleWidth)/2-91)+", 37\n "+((e.width-e.titleWidth)/2-85)+", 46 "+((e.width-e.titleWidth)/2-64)+", 46\n "}},[r("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"1",points:"\n "+((e.width+e.titleWidth)/2+30)+", 37 "+((e.width+e.titleWidth)/2+9)+", 37\n "+((e.width+e.titleWidth)/2+3)+", 46 "+((e.width+e.titleWidth)/2+24)+", 46\n "}},[r("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.7",points:"\n "+((e.width+e.titleWidth)/2+60)+", 37 "+((e.width+e.titleWidth)/2+39)+", 37\n "+((e.width+e.titleWidth)/2+33)+", 46 "+((e.width+e.titleWidth)/2+54)+", 46\n "}},[r("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("polygon",{attrs:{filter:"url(#"+e.filterId+")",fill:e.mergedColor[0],opacity:"0.5",points:"\n "+((e.width+e.titleWidth)/2+90)+", 37 "+((e.width+e.titleWidth)/2+69)+", 37\n "+((e.width+e.titleWidth)/2+63)+", 46 "+((e.width+e.titleWidth)/2+84)+", 46\n "}},[r("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("text",{staticClass:"dv-border-box-11-title",attrs:{x:""+e.width/2,y:"32",fill:"#fff","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),r("polygon",{attrs:{fill:e.mergedColor[0],filter:"url(#"+e.filterId+")",points:"\n 7, "+(53+(e.height-167)/2)+" 11, "+(57+(e.height-167)/2)+"\n 11, "+(133+(e.height-167)/2)+" 7, "+(137+(e.height-167)/2)+"\n "}}),e._v(" "),r("polygon",{attrs:{fill:e.mergedColor[0],filter:"url(#"+e.filterId+")",points:"\n "+(e.width-7)+", "+(53+(e.height-167)/2)+" "+(e.width-11)+", "+(57+(e.height-167)/2)+"\n "+(e.width-11)+", "+(133+(e.height-167)/2)+" "+(e.width-7)+", "+(137+(e.height-167)/2)+"\n "}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),V=[],U=(r("c5f6"),r("a870")),W={name:"DvBorderBox11",mixins:[D],props:{color:{type:Array,default:function(){return[]}},titleWidth:{type:Number,default:250},title:{type:String,default:""},backgroundColor:{type:String,default:"transparent"}},data:function(){var e=A();return{ref:"border-box-11",filterId:"border-box-11-filterId-".concat(e),defaultColor:["#8aaafb","#1f33a2"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:U["fade"]},mounted:function(){var e=this.mergeColor;e()}},$=W,G=Object(y["a"])($,H,V,!1,null,null,null),q=(G.exports,r("3c0e"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-12"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("defs",[r("filter",{attrs:{id:e.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[r("feMorphology",{attrs:{operator:"dilate",radius:"1",in:"SourceAlpha",result:"thicken"}}),e._v(" "),r("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"2",result:"blurred"}}),e._v(" "),r("feFlood",{attrs:{"flood-color":e.fade(e.mergedColor[1]||e.defaultColor[1],70),result:"glowColor"}},[r("animate",{attrs:{attributeName:"flood-color",values:"\n "+e.fade(e.mergedColor[1]||e.defaultColor[1],70)+";\n "+e.fade(e.mergedColor[1]||e.defaultColor[1],30)+";\n "+e.fade(e.mergedColor[1]||e.defaultColor[1],70)+";\n ",dur:"3s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),e._v(" "),r("feMerge",[r("feMergeNode",{attrs:{in:"softGlowColored"}}),e._v(" "),r("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),e._v(" "),e.width&&e.height?r("path",{attrs:{fill:e.backgroundColor,"stroke-width":"2",stroke:e.mergedColor[0],d:"\n M15 5 L "+(e.width-15)+" 5 Q "+(e.width-5)+" 5, "+(e.width-5)+" 15\n L "+(e.width-5)+" "+(e.height-15)+" Q "+(e.width-5)+" "+(e.height-5)+", "+(e.width-15)+" "+(e.height-5)+"\n L 15, "+(e.height-5)+" Q 5 "+(e.height-5)+" 5 "+(e.height-15)+" L 5 15\n Q 5 5 15 5\n "}}):e._e(),e._v(" "),r("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"M 20 5 L 15 5 Q 5 5 5 15 L 5 20"}}),e._v(" "),r("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"M "+(e.width-20)+" 5 L "+(e.width-15)+" 5 Q "+(e.width-5)+" 5 "+(e.width-5)+" 15 L "+(e.width-5)+" 20"}}),e._v(" "),r("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"\n M "+(e.width-20)+" "+(e.height-5)+" L "+(e.width-15)+" "+(e.height-5)+"\n Q "+(e.width-5)+" "+(e.height-5)+" "+(e.width-5)+" "+(e.height-15)+"\n L "+(e.width-5)+" "+(e.height-20)+"\n "}}),e._v(" "),r("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:"url(#"+e.filterId+")",stroke:e.mergedColor[1],d:"\n M 20 "+(e.height-5)+" L 15 "+(e.height-5)+"\n Q 5 "+(e.height-5)+" 5 "+(e.height-15)+"\n L 5 "+(e.height-20)+"\n "}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),X=[],K={name:"DvBorderBox12",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){var e=A();return{ref:"border-box-12",filterId:"borderr-box-12-filterId-".concat(e),defaultColor:["#2e6099","#7ce7fd"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:U["fade"]},mounted:function(){var e=this.mergeColor;e()}},Z=K,J=Object(y["a"])(Z,q,X,!1,null,null,null),Q=(J.exports,r("470c"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-13"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("path",{attrs:{fill:e.backgroundColor,stroke:e.mergedColor[0],d:"\n M 5 20 L 5 10 L 12 3 L 60 3 L 68 10\n L "+(e.width-20)+" 10 L "+(e.width-5)+" 25\n L "+(e.width-5)+" "+(e.height-5)+" L 20 "+(e.height-5)+"\n L 5 "+(e.height-20)+" L 5 20\n "}}),e._v(" "),r("path",{attrs:{fill:"transparent","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"10, 5",stroke:e.mergedColor[0],d:"M 16 9 L 61 9"}}),e._v(" "),r("path",{attrs:{fill:"transparent",stroke:e.mergedColor[1],d:"M 5 20 L 5 10 L 12 3 L 60 3 L 68 10"}}),e._v(" "),r("path",{attrs:{fill:"transparent",stroke:e.mergedColor[1],d:"M "+(e.width-5)+" "+(e.height-30)+" L "+(e.width-5)+" "+(e.height-5)+" L "+(e.width-30)+" "+(e.height-5)}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),ee=[],te={name:"DvBorderBox13",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-13",defaultColor:["#6586ec","#2cf7fe"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},re=te,ne=Object(y["a"])(re,Q,ee,!1,null,null,null),ie=(ne.exports,r("b72d"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-2"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.backgroundColor,points:"\n 7, 7 "+(e.width-7)+", 7 "+(e.width-7)+", "+(e.height-7)+" 7, "+(e.height-7)+"\n "}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"2, 2 "+(e.width-2)+" ,2 "+(e.width-2)+", "+(e.height-2)+" 2, "+(e.height-2)+" 2, 2"}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[1],points:"6, 6 "+(e.width-6)+", 6 "+(e.width-6)+", "+(e.height-6)+" 6, "+(e.height-6)+" 6, 6"}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[0],cx:"11",cy:"11",r:"1"}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[0],cx:e.width-11,cy:"11",r:"1"}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[0],cx:e.width-11,cy:e.height-11,r:"1"}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[0],cx:"11",cy:e.height-11,r:"1"}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),oe=[],ae={name:"DvBorderBox2",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-2",defaultColor:["#fff","rgba(255, 255, 255, 0.6)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},se=ae,le=Object(y["a"])(se,ie,oe,!1,null,null,null),ue=(le.exports,r("1e4c"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-3"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.backgroundColor,points:"\n 23, 23 "+(e.width-24)+", 23 "+(e.width-24)+", "+(e.height-24)+" 23, "+(e.height-24)+"\n "}}),e._v(" "),r("polyline",{staticClass:"dv-bb3-line1",attrs:{stroke:e.mergedColor[0],points:"4, 4 "+(e.width-22)+" ,4 "+(e.width-22)+", "+(e.height-22)+" 4, "+(e.height-22)+" 4, 4"}}),e._v(" "),r("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:"10, 10 "+(e.width-16)+", 10 "+(e.width-16)+", "+(e.height-16)+" 10, "+(e.height-16)+" 10, 10"}}),e._v(" "),r("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:"16, 16 "+(e.width-10)+", 16 "+(e.width-10)+", "+(e.height-10)+" 16, "+(e.height-10)+" 16, 16"}}),e._v(" "),r("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:"22, 22 "+(e.width-4)+", 22 "+(e.width-4)+", "+(e.height-4)+" 22, "+(e.height-4)+" 22, 22"}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),ce=[],de={name:"DvBorderBox3",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-3",defaultColor:["#2862b7","#2862b7"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},he=de,fe=Object(y["a"])(he,ue,ce,!1,null,null,null),pe=(fe.exports,r("1dac"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-4"},[r("svg",{class:"dv-border-svg-container "+(e.reverse&&"dv-reverse"),attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.backgroundColor,points:"\n "+(e.width-15)+", 22 170, 22 150, 7 40, 7 28, 21 32, 24\n 16, 42 16, "+(e.height-32)+" 41, "+(e.height-7)+" "+(e.width-15)+", "+(e.height-7)+"\n "}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-1",attrs:{stroke:e.mergedColor[0],points:"145, "+(e.height-5)+" 40, "+(e.height-5)+" 10, "+(e.height-35)+"\n 10, 40 40, 5 150, 5 170, 20 "+(e.width-15)+", 20"}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-2",attrs:{stroke:e.mergedColor[1],points:"245, "+(e.height-1)+" 36, "+(e.height-1)+" 14, "+(e.height-23)+"\n 14, "+(e.height-100)}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-3",attrs:{stroke:e.mergedColor[0],points:"7, "+(e.height-40)+" 7, "+(e.height-75)}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-4",attrs:{stroke:e.mergedColor[0],points:"28, 24 13, 41 13, 64"}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-5",attrs:{stroke:e.mergedColor[0],points:"5, 45 5, 140"}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-6",attrs:{stroke:e.mergedColor[1],points:"14, 75 14, 180"}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-7",attrs:{stroke:e.mergedColor[1],points:"55, 11 147, 11 167, 26 250, 26"}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-8",attrs:{stroke:e.mergedColor[1],points:"158, 5 173, 16"}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-9",attrs:{stroke:e.mergedColor[0],points:"200, 17 "+(e.width-10)+", 17"}}),e._v(" "),r("polyline",{staticClass:"dv-bb4-line-10",attrs:{stroke:e.mergedColor[1],points:"385, 17 "+(e.width-10)+", 17"}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),me=[],ge={name:"DvBorderBox4",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-4",defaultColor:["red","rgba(0,0,255,0.8)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},ve=ge,ye=Object(y["a"])(ve,pe,me,!1,null,null,null),be=(ye.exports,r("042d"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-5"},[r("svg",{class:"dv-border-svg-container "+(e.reverse&&"dv-reverse"),attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.backgroundColor,points:"\n 10, 22 "+(e.width-22)+", 22 "+(e.width-22)+", "+(e.height-86)+" "+(e.width-84)+", "+(e.height-24)+" 10, "+(e.height-24)+"\n "}}),e._v(" "),r("polyline",{staticClass:"dv-bb5-line-1",attrs:{stroke:e.mergedColor[0],points:"8, 5 "+(e.width-5)+", 5 "+(e.width-5)+", "+(e.height-100)+"\n "+(e.width-100)+", "+(e.height-5)+" 8, "+(e.height-5)+" 8, 5"}}),e._v(" "),r("polyline",{staticClass:"dv-bb5-line-2",attrs:{stroke:e.mergedColor[1],points:"3, 5 "+(e.width-20)+", 5 "+(e.width-20)+", "+(e.height-60)+"\n "+(e.width-74)+", "+(e.height-5)+" 3, "+(e.height-5)+" 3, 5"}}),e._v(" "),r("polyline",{staticClass:"dv-bb5-line-3",attrs:{stroke:e.mergedColor[1],points:"50, 13 "+(e.width-35)+", 13"}}),e._v(" "),r("polyline",{staticClass:"dv-bb5-line-4",attrs:{stroke:e.mergedColor[1],points:"15, 20 "+(e.width-35)+", 20"}}),e._v(" "),r("polyline",{staticClass:"dv-bb5-line-5",attrs:{stroke:e.mergedColor[1],points:"15, "+(e.height-20)+" "+(e.width-110)+", "+(e.height-20)}}),e._v(" "),r("polyline",{staticClass:"dv-bb5-line-6",attrs:{stroke:e.mergedColor[1],points:"15, "+(e.height-13)+" "+(e.width-110)+", "+(e.height-13)}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),_e=[],we={name:"DvBorderBox5",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-5",defaultColor:["rgba(255, 255, 255, 0.35)","rgba(255, 255, 255, 0.20)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},xe=we,ke=Object(y["a"])(xe,be,_e,!1,null,null,null),Se=(ke.exports,r("4e86"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-6"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.backgroundColor,points:"\n 9, 7 "+(e.width-9)+", 7 "+(e.width-9)+", "+(e.height-7)+" 9, "+(e.height-7)+"\n "}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[1],cx:"5",cy:"5",r:"2"}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[1],cx:e.width-5,cy:"5",r:"2"}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[1],cx:e.width-5,cy:e.height-5,r:"2"}}),e._v(" "),r("circle",{attrs:{fill:e.mergedColor[1],cx:"5",cy:e.height-5,r:"2"}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"10, 4 "+(e.width-10)+", 4"}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"10, "+(e.height-4)+" "+(e.width-10)+", "+(e.height-4)}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"5, 70 5, "+(e.height-70)}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-5+", 70 "+(e.width-5)+", "+(e.height-70)}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"3, 10, 3, 50"}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"7, 30 7, 80"}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-3+", 10 "+(e.width-3)+", 50"}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-7+", 30 "+(e.width-7)+", 80"}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"3, "+(e.height-10)+" 3, "+(e.height-50)}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:"7, "+(e.height-30)+" 7, "+(e.height-80)}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-3+", "+(e.height-10)+" "+(e.width-3)+", "+(e.height-50)}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],points:e.width-7+", "+(e.height-30)+" "+(e.width-7)+", "+(e.height-80)}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Me=[],Ce={name:"DvBorderBox6",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-6",defaultColor:["rgba(255, 255, 255, 0.35)","gray"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Te=Ce,Oe=Object(y["a"])(Te,Se,Me,!1,null,null,null),Le=(Oe.exports,r("3648"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-7",style:"box-shadow: inset 0 0 40px "+e.mergedColor[0]+"; border: 1px solid "+e.mergedColor[0]+"; background-color: "+e.backgroundColor},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:"0, 25 0, 0 25, 0"}}),e._v(" "),r("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:e.width-25+", 0 "+e.width+", 0 "+e.width+", 25"}}),e._v(" "),r("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:e.width-25+", "+e.height+" "+e.width+", "+e.height+" "+e.width+", "+(e.height-25)}}),e._v(" "),r("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:"0, "+(e.height-25)+" 0, "+e.height+" 25, "+e.height}}),e._v(" "),r("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:"0, 10 0, 0 10, 0"}}),e._v(" "),r("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:e.width-10+", 0 "+e.width+", 0 "+e.width+", 10"}}),e._v(" "),r("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:e.width-10+", "+e.height+" "+e.width+", "+e.height+" "+e.width+", "+(e.height-10)}}),e._v(" "),r("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:"0, "+(e.height-10)+" 0, "+e.height+" 10, "+e.height}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Ae=[],De={name:"DvBorderBox7",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){return{ref:"border-box-7",defaultColor:["rgba(128,128,128,0.3)","rgba(128,128,128,0.5)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Ee=De,Ie=Object(y["a"])(Ee,Le,Ae,!1,null,null,null),je=(Ie.exports,r("733c"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-8"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("defs",[r("path",{attrs:{id:e.path,d:e.pathD,fill:"transparent"}}),e._v(" "),r("radialGradient",{attrs:{id:e.gradient,cx:"50%",cy:"50%",r:"50%"}},[r("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),e._v(" "),r("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),e._v(" "),r("mask",{attrs:{id:e.mask}},[r("circle",{attrs:{cx:"0",cy:"0",r:"150",fill:"url(#"+e.gradient+")"}},[r("animateMotion",{attrs:{dur:e.dur+"s",path:e.pathD,rotate:"auto",repeatCount:"indefinite"}})],1)])],1),e._v(" "),r("polygon",{attrs:{fill:e.backgroundColor,points:"5, 5 "+(e.width-5)+", 5 "+(e.width-5)+" "+(e.height-5)+" 5, "+(e.height-5)}}),e._v(" "),r("use",{attrs:{stroke:e.mergedColor[0],"stroke-width":"1","xlink:href":"#"+e.path}}),e._v(" "),r("use",{attrs:{stroke:e.mergedColor[1],"stroke-width":"3","xlink:href":"#"+e.path,mask:"url(#"+e.mask+")"}},[r("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+e.length,to:e.length+", 0",dur:e.dur+"s",repeatCount:"indefinite"}})])]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Pe=[],Re={name:"DvBorderBox8",mixins:[D],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:3},backgroundColor:{type:String,default:"transparent"},reverse:{type:Boolean,default:!1}},data:function(){var e=A();return{ref:"border-box-8",path:"border-box-8-path-".concat(e),gradient:"border-box-8-gradient-".concat(e),mask:"border-box-8-mask-".concat(e),defaultColor:["#235fa7","#4fd2dd"],mergedColor:[]}},computed:{length:function(){var e=this.width,t=this.height;return 2*(e+t-5)},pathD:function(){var e=this.reverse,t=this.width,r=this.height;return e?"M 2.5, 2.5 L 2.5, ".concat(r-2.5," L ").concat(t-2.5,", ").concat(r-2.5," L ").concat(t-2.5,", 2.5 L 2.5, 2.5"):"M2.5, 2.5 L".concat(t-2.5,", 2.5 L").concat(t-2.5,", ").concat(r-2.5," L2.5, ").concat(r-2.5," L2.5, 2.5")}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Ne=Re,Be=Object(y["a"])(Ne,je,Pe,!1,null,null,null),Ye=(Be.exports,r("6fc2"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-border-box-9"},[r("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[r("defs",[r("linearGradient",{attrs:{id:e.gradientId,x1:"0%",y1:"0%",x2:"100%",y2:"100%"}},[r("animate",{attrs:{attributeName:"x1",values:"0%;100%;0%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"x2",values:"100%;0%;100%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),e._v(" "),r("stop",{attrs:{offset:"0%","stop-color":e.mergedColor[0]}},[r("animate",{attrs:{attributeName:"stop-color",values:e.mergedColor[0]+";"+e.mergedColor[1]+";"+e.mergedColor[0],dur:"10s",begin:"0s",repeatCount:"indefinite"}})]),e._v(" "),r("stop",{attrs:{offset:"100%","stop-color":e.mergedColor[1]}},[r("animate",{attrs:{attributeName:"stop-color",values:e.mergedColor[1]+";"+e.mergedColor[0]+";"+e.mergedColor[1],dur:"10s",begin:"0s",repeatCount:"indefinite"}})])],1),e._v(" "),r("mask",{attrs:{id:e.maskId}},[r("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:"8, "+.4*e.height+" 8, 3, "+(.4*e.width+7)+", 3"}}),e._v(" "),r("polyline",{attrs:{fill:"#fff",points:"8, "+.15*e.height+" 8, 3, "+(.1*e.width+7)+", 3\n "+.1*e.width+", 8 14, 8 14, "+(.15*e.height-7)+"\n "}}),e._v(" "),r("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:.5*e.width+", 3 "+(e.width-3)+", 3, "+(e.width-3)+", "+.25*e.height}}),e._v(" "),r("polyline",{attrs:{fill:"#fff",points:"\n "+.52*e.width+", 3 "+.58*e.width+", 3\n "+(.58*e.width-7)+", 9 "+(.52*e.width+7)+", 9\n "}}),e._v(" "),r("polyline",{attrs:{fill:"#fff",points:"\n "+.9*e.width+", 3 "+(e.width-3)+", 3 "+(e.width-3)+", "+.1*e.height+"\n "+(e.width-9)+", "+(.1*e.height-7)+" "+(e.width-9)+", 9 "+(.9*e.width+7)+", 9\n "}}),e._v(" "),r("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:"8, "+.5*e.height+" 8, "+(e.height-3)+" "+(.3*e.width+7)+", "+(e.height-3)}}),e._v(" "),r("polyline",{attrs:{fill:"#fff",points:"\n 8, "+.55*e.height+" 8, "+.7*e.height+"\n 2, "+(.7*e.height-7)+" 2, "+(.55*e.height+7)+"\n "}}),e._v(" "),r("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:.35*e.width+", "+(e.height-3)+" "+(e.width-3)+", "+(e.height-3)+" "+(e.width-3)+", "+.35*e.height}}),e._v(" "),r("polyline",{attrs:{fill:"#fff",points:"\n "+.92*e.width+", "+(e.height-3)+" "+(e.width-3)+", "+(e.height-3)+" "+(e.width-3)+", "+.8*e.height+"\n "+(e.width-9)+", "+(.8*e.height+7)+" "+(e.width-9)+", "+(e.height-9)+" "+(.92*e.width+7)+", "+(e.height-9)+"\n "}})])],1),e._v(" "),r("polygon",{attrs:{fill:e.backgroundColor,points:"\n 15, 9 "+(.1*e.width+1)+", 9 "+(.1*e.width+4)+", 6 "+(.52*e.width+2)+", 6\n "+(.52*e.width+6)+", 10 "+(.58*e.width-7)+", 10 "+(.58*e.width-2)+", 6\n "+(.9*e.width+2)+", 6 "+(.9*e.width+6)+", 10 "+(e.width-10)+", 10 "+(e.width-10)+", "+(.1*e.height-6)+"\n "+(e.width-6)+", "+(.1*e.height-1)+" "+(e.width-6)+", "+(.8*e.height+1)+" "+(e.width-10)+", "+(.8*e.height+6)+"\n "+(e.width-10)+", "+(e.height-10)+" "+(.92*e.width+7)+", "+(e.height-10)+" "+(.92*e.width+2)+", "+(e.height-6)+"\n 11, "+(e.height-6)+" 11, "+(.15*e.height-2)+" 15, "+(.15*e.height-7)+"\n "}}),e._v(" "),r("rect",{attrs:{x:"0",y:"0",width:e.width,height:e.height,fill:"url(#"+e.gradientId+")",mask:"url(#"+e.maskId+")"}})]),e._v(" "),r("div",{staticClass:"border-box-content"},[e._t("default")],2)])}),Fe=[],ze={name:"DvBorderBox9",mixins:[D],props:{color:{type:Array,default:function(){return[]}},backgroundColor:{type:String,default:"transparent"}},data:function(){var e=A();return{ref:"border-box-9",gradientId:"border-box-9-gradient-".concat(e),maskId:"border-box-9-mask-".concat(e),defaultColor:["#11eefd","#0078d2"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},He=ze,Ve=Object(y["a"])(He,Ye,Fe,!1,null,null,null),Ue=(Ve.exports,r("335d"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"dv-capsule-chart"},[e.mergedConfig?[r("div",{staticClass:"label-column"},[e._l(e.mergedConfig.data,(function(t){return r("div",{key:t.name},[e._v(e._s(t.name))])})),e._v(" "),r("div",[e._v(" ")])],2),e._v(" "),r("div",{staticClass:"capsule-container"},[e._l(e.capsuleLength,(function(t,n){return r("div",{key:n,staticClass:"capsule-item"},[r("div",{staticClass:"capsule-item-column",style:"width: "+100*t+"%; background-color: "+e.mergedConfig.colors[n%e.mergedConfig.colors.length]+";"},[e.mergedConfig.showValue?r("div",{staticClass:"capsule-item-value"},[e._v(e._s(e.capsuleValue[n]))]):e._e()])])})),e._v(" "),r("div",{staticClass:"unit-label"},e._l(e.labelData,(function(t,n){return r("div",{key:t+n},[e._v(e._s(t))])})),0)],2),e._v(" "),e.mergedConfig.unit?r("div",{staticClass:"unit-text"},[e._v(e._s(e.mergedConfig.unit))]):e._e()]:e._e()],2)}),We=[],$e=(r("6c7b"),r("4f7f"),r("5df3"),r("1c4c"),{name:"DvCapsuleChart",props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultConfig:{data:[],colors:["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293"],unit:"",showValue:!1},mergedConfig:null,capsuleLength:[],capsuleValue:[],labelData:[],labelDataLength:[]}},watch:{config:function(){var e=this.calcData;e()}},methods:{calcData:function(){var e=this.mergeConfig,t=this.calcCapsuleLengthAndLabelData;e(),t()},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})},calcCapsuleLengthAndLabelData:function(){var e=this.mergedConfig.data;if(e.length){var t=e.map((function(e){var t=e.value;return t})),r=Math.max.apply(Math,Object(o["a"])(t));this.capsuleValue=t,this.capsuleLength=t.map((function(e){return r?e/r:0}));var n=r/5,i=Array.from(new Set(new Array(6).fill(0).map((function(e,t){return Math.ceil(t*n)}))));this.labelData=i,this.labelDataLength=Array.from(i).map((function(e){return r?e/r:0}))}}},mounted:function(){var e=this.calcData;e()}}),Ge=$e,qe=Object(y["a"])(Ge,Ue,We,!1,null,null,null),Xe=qe.exports,Ke=function(e){e.component(Xe.name,Xe)},Ze=(r("8261"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-charts-container"},[r("div",{ref:e.chartRef,staticClass:"charts-canvas-container"})])}),Je=[],Qe={name:"DvCharts",mixins:[D],props:{option:{type:Object,default:function(){return{}}}},data:function(){var e=A();return{ref:"charts-container-".concat(e),chartRef:"chart-".concat(e),chart:null}},watch:{option:function(){var e=this.chart,t=this.option;e&&(t||(t={}),e.setOption(t,!0))}},methods:{afterAutoResizeMixinInit:function(){var e=this.initChart;e()},initChart:function(){var e=this.$refs,t=this.chartRef,r=this.option,n=this.chart=new l.a(e[t]);r&&n.setOption(r)},onResize:function(){var e=this.chart;e&&e.resize()}}},et=Qe,tt=Object(y["a"])(et,Ze,Je,!1,null,null,null),rt=(tt.exports,r("7ed3"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-conical-column-chart"},[r("svg",{attrs:{width:e.width,height:e.height}},e._l(e.column,(function(t,n){return r("g",{key:n},[r("path",{attrs:{d:t.d,fill:e.mergedConfig.columnColor}}),e._v(" "),r("text",{style:"fontSize:"+e.mergedConfig.fontSize+"px",attrs:{fill:e.mergedConfig.textColor,x:t.x,y:e.height-4}},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),e.mergedConfig.img.length?r("image",{attrs:{"xlink:href":e.mergedConfig.img[n%e.mergedConfig.img.length],width:e.mergedConfig.imgSideLength,height:e.mergedConfig.imgSideLength,x:t.x-e.mergedConfig.imgSideLength/2,y:t.y-e.mergedConfig.imgSideLength}}):e._e(),e._v(" "),e.mergedConfig.showValue?r("text",{style:"fontSize:"+e.mergedConfig.fontSize+"px",attrs:{fill:e.mergedConfig.textColor,x:t.x,y:t.textY}},[e._v("\n "+e._s(t.value)+"\n ")]):e._e()])})),0)])}),nt=[],it=(r("55dd"),{name:"DvConicalColumnChart",mixins:[D],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"conical-column-chart",defaultConfig:{data:[],img:[],fontSize:12,imgSideLength:30,columnColor:"rgba(0, 194, 255, 0.4)",textColor:"#fff",showValue:!1},mergedConfig:null,column:[]}},watch:{config:function(){var e=this.calcData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.calcData;e()},calcData:function(){var e=this.mergeConfig,t=this.initData,r=this.calcSVGPath;e(),t(),r()},mergeConfig:function(){var e=this.defaultConfig,t=this.config;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(e,!0),t||{})},initData:function(){var e=this.mergedConfig,t=e.data;t=Object(m["deepClone"])(t,!0),t.sort((function(e,t){var r=e.value,n=t.value;return r>n?-1:r<n?1:r===n?0:void 0}));var r=t[0]?t[0].value:10;t=t.map((function(e){return Object(a["a"])(Object(a["a"])({},e),{},{percent:e.value/r})})),e.data=t},calcSVGPath:function(){var e=this.mergedConfig,t=this.width,r=this.height,n=e.imgSideLength,i=e.fontSize,o=e.data,s=o.length,l=t/(s+1),u=r-n-i-5,c=r-i-5;this.column=o.map((function(e,t){var r=e.percent,n=l*(t+1),o=l*t,s=l*(t+2),d=c-u*r,h=u*r*.6+d,f="\n M".concat(o,", ").concat(c,"\n Q").concat(n,", ").concat(h," ").concat(n,",").concat(d,"\n M").concat(n,",").concat(d,"\n Q").concat(n,", ").concat(h," ").concat(s,",").concat(c,"\n L").concat(o,", ").concat(c,"\n Z\n "),p=(c+d)/2+i/2;return Object(a["a"])(Object(a["a"])({},e),{},{d:f,x:n,y:d,textY:p})}))}}}),ot=it,at=Object(y["a"])(ot,rt,nt,!1,null,null,null),st=(at.exports,r("11b09"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-1"},[r("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[e._l(e.points,(function(t,n){return[Math.random()>.6?r("rect",{key:n,attrs:{fill:e.mergedColor[0],x:t[0]-e.halfPointSideLength,y:t[1]-e.halfPointSideLength,width:e.pointSideLength,height:e.pointSideLength}},[Math.random()>.6?r("animate",{attrs:{attributeName:"fill",values:e.mergedColor[0]+";transparent",dur:"1s",begin:2*Math.random(),repeatCount:"indefinite"}}):e._e()]):e._e()]})),e._v(" "),e.rects[0]?r("rect",{attrs:{fill:e.mergedColor[1],x:e.rects[0][0]-e.pointSideLength,y:e.rects[0][1]-e.pointSideLength,width:2*e.pointSideLength,height:2*e.pointSideLength}},[r("animate",{attrs:{attributeName:"width",values:"0;"+2*e.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"height",values:"0;"+2*e.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"x",values:e.rects[0][0]+";"+(e.rects[0][0]-e.pointSideLength),dur:"2s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"y",values:e.rects[0][1]+";"+(e.rects[0][1]-e.pointSideLength),dur:"2s",repeatCount:"indefinite"}})]):e._e(),e._v(" "),e.rects[1]?r("rect",{attrs:{fill:e.mergedColor[1],x:e.rects[1][0]-40,y:e.rects[1][1]-e.pointSideLength,width:40,height:2*e.pointSideLength}},[r("animate",{attrs:{attributeName:"width",values:"0;40;0",dur:"2s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"x",values:e.rects[1][0]+";"+(e.rects[1][0]-40)+";"+e.rects[1][0],dur:"2s",repeatCount:"indefinite"}})]):e._e()],2)])}),lt=[],ut={name:"DvDecoration1",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=2.5;return{ref:"decoration-1",svgWH:[200,50],svgScale:[1,1],rowNum:4,rowPoints:20,pointSideLength:e,halfPointSideLength:e/2,points:[],rects:[],defaultColor:["#fff","#0de7c2"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.calcPointsPosition,t=this.calcRectsPosition,r=this.calcScale;e(),t(),r()},calcPointsPosition:function(){var e=this.svgWH,t=this.rowNum,r=this.rowPoints,n=Object(d["a"])(e,2),i=n[0],a=n[1],s=i/(r+1),l=a/(t+1),u=new Array(t).fill(0).map((function(e,t){return new Array(r).fill(0).map((function(e,r){return[s*(r+1),l*(t+1)]}))}));this.points=u.reduce((function(e,t){return[].concat(Object(o["a"])(e),Object(o["a"])(t))}),[])},calcRectsPosition:function(){var e=this.points,t=this.rowPoints,r=e[2*t-1],n=e[2*t-3];this.rects=[r,n]},calcScale:function(){var e=this.width,t=this.height,r=this.svgWH,n=Object(d["a"])(r,2),i=n[0],o=n[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},ct=ut,dt=Object(y["a"])(ct,st,lt,!1,null,null,null),ht=(dt.exports,r("c423"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-10"},[r("svg",{attrs:{width:e.width,height:e.height}},[r("polyline",{attrs:{stroke:e.mergedColor[1],"stroke-width":"2",points:"0, "+e.height/2+" "+e.width+", "+e.height/2}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:"5, "+e.height/2+" "+(.2*e.width-3)+", "+e.height/2,"stroke-dasharray":"0, "+.2*e.width,fill:"freeze"}},[r("animate",{attrs:{id:e.animationId2,attributeName:"stroke-dasharray",values:"0, "+.2*e.width+";"+.2*e.width+", 0;",dur:"3s",begin:e.animationId1+".end",fill:"freeze"}}),e._v(" "),r("animate",{attrs:{attributeName:"stroke-dasharray",values:.2*e.width+", 0;0, "+.2*e.width,dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:.2*e.width+3+", "+e.height/2+" "+(.8*e.width-3)+", "+e.height/2,"stroke-dasharray":"0, "+.6*e.width}},[r("animate",{attrs:{id:e.animationId4,attributeName:"stroke-dasharray",values:"0, "+.6*e.width+";"+.6*e.width+", 0",dur:"3s",begin:e.animationId3+".end + 1s",fill:"freeze"}}),e._v(" "),r("animate",{attrs:{attributeName:"stroke-dasharray",values:.6*e.width+", 0;0, "+.6*e.width,dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:.8*e.width+3+", "+e.height/2+" "+(e.width-5)+", "+e.height/2,"stroke-dasharray":"0, "+.2*e.width}},[r("animate",{attrs:{id:e.animationId6,attributeName:"stroke-dasharray",values:"0, "+.2*e.width+";"+.2*e.width+", 0",dur:"3s",begin:e.animationId5+".end + 1s",fill:"freeze"}}),e._v(" "),r("animate",{attrs:{attributeName:"stroke-dasharray",values:.2*e.width+", 0;0, "+.3*e.width,dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),r("circle",{attrs:{cx:"2",cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[r("animate",{attrs:{id:e.animationId1,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:"0s;"+e.animationId7+".end",dur:"0.3s",fill:"freeze"}})]),e._v(" "),r("circle",{attrs:{cx:.2*e.width,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[r("animate",{attrs:{id:e.animationId3,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:e.animationId2+".end",dur:"0.3s",fill:"freeze"}}),e._v(" "),r("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[1],dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),r("circle",{attrs:{cx:.8*e.width,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[r("animate",{attrs:{id:e.animationId5,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:e.animationId4+".end",dur:"0.3s",fill:"freeze"}}),e._v(" "),r("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[1],dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})]),e._v(" "),r("circle",{attrs:{cx:e.width-2,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[r("animate",{attrs:{id:e.animationId7,attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[0],begin:e.animationId6+".end",dur:"0.3s",fill:"freeze"}}),e._v(" "),r("animate",{attrs:{attributeName:"fill",values:e.mergedColor[1]+";"+e.mergedColor[1],dur:"0.01s",begin:e.animationId7+".end",fill:"freeze"}})])])])}),ft=[],pt={name:"DvDecoration10",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=A();return{ref:"decoration-10",animationId1:"d10ani1".concat(e),animationId2:"d10ani2".concat(e),animationId3:"d10ani3".concat(e),animationId4:"d10ani4".concat(e),animationId5:"d10ani5".concat(e),animationId6:"d10ani6".concat(e),animationId7:"d10ani7".concat(e),defaultColor:["#00c2ff","rgba(0, 194, 255, 0.3)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},mt=pt,gt=Object(y["a"])(mt,ht,ft,!1,null,null,null),vt=(gt.exports,r("3e8a"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-11"},[r("svg",{attrs:{width:e.width,height:e.height}},[r("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:"20 10, 25 4, 55 4 60 10"}}),e._v(" "),r("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:"20 "+(e.height-10)+", 25 "+(e.height-4)+", 55 "+(e.height-4)+" 60 "+(e.height-10)}}),e._v(" "),r("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:e.width-20+" 10, "+(e.width-25)+" 4, "+(e.width-55)+" 4 "+(e.width-60)+" 10"}}),e._v(" "),r("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:e.width-20+" "+(e.height-10)+", "+(e.width-25)+" "+(e.height-4)+", "+(e.width-55)+" "+(e.height-4)+" "+(e.width-60)+" "+(e.height-10)}}),e._v(" "),r("polygon",{attrs:{fill:e.fade(e.mergedColor[0]||e.defaultColor[0],20),stroke:e.mergedColor[0],points:"\n 20 10, 5 "+e.height/2+" 20 "+(e.height-10)+"\n "+(e.width-20)+" "+(e.height-10)+" "+(e.width-5)+" "+e.height/2+" "+(e.width-20)+" 10\n "}}),e._v(" "),r("polyline",{attrs:{fill:"transparent",stroke:e.fade(e.mergedColor[0]||e.defaultColor[0],70),points:"25 18, 15 "+e.height/2+" 25 "+(e.height-18)}}),e._v(" "),r("polyline",{attrs:{fill:"transparent",stroke:e.fade(e.mergedColor[0]||e.defaultColor[0],70),points:e.width-25+" 18, "+(e.width-15)+" "+e.height/2+" "+(e.width-25)+" "+(e.height-18)}})]),e._v(" "),r("div",{staticClass:"decoration-content"},[e._t("default")],2)])}),yt=[],bt={name:"DvDecoration11",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){return{ref:"decoration-11",defaultColor:["#1a98fc","#2cf7fe"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:U["fade"]},mounted:function(){var e=this.mergeColor;e()}},_t=bt,wt=Object(y["a"])(_t,vt,yt,!1,null,null,null),xt=(wt.exports,r("e11f"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-12"},[r("svg",{attrs:{width:e.width,height:e.height}},[r("defs",[r("g",{attrs:{id:e.gId}},e._l(e.pathD,(function(t,n){return r("path",{key:t,attrs:{stroke:e.pathColor[n],"stroke-width":e.width/2,fill:"transparent",d:t}})})),0),e._v(" "),r("radialGradient",{attrs:{id:e.gradientId,cx:"50%",cy:"50%",r:"50%"}},[r("stop",{attrs:{offset:"0%","stop-color":"transparent","stop-opacity":"1"}}),e._v(" "),r("stop",{attrs:{offset:"100%","stop-color":e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stop-opacity":"1"}})],1)],1),e._v(" "),e._l(e.circleR,(function(t){return r("circle",{key:t,attrs:{r:t,cx:e.x,cy:e.y,stroke:e.mergedColor[1],"stroke-width":.5,fill:"transparent"}})})),e._v(" "),r("circle",{attrs:{r:"1",cx:e.x,cy:e.y,stroke:"transparent",fill:"url(#"+e.gradientId+")"}},[r("animate",{attrs:{attributeName:"r",values:"1;"+e.width/2,dur:e.haloDur+"s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:e.haloDur+"s",repeatCount:"indefinite"}})]),e._v(" "),r("circle",{attrs:{r:"2",cx:e.x,cy:e.y,fill:e.mergedColor[1]}}),e._v(" "),e.showSplitLine?r("g",e._l(e.splitLinePoints,(function(t){return r("polyline",{key:t,attrs:{points:t,stroke:e.mergedColor[1],"stroke-width":.5,opacity:"0.5"}})})),0):e._e(),e._v(" "),e._l(e.arcD,(function(t){return r("path",{key:t,attrs:{d:t,stroke:e.mergedColor[1],"stroke-width":"2",fill:"transparent"}})})),e._v(" "),r("use",{attrs:{"xlink:href":"#"+e.gId}},[r("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0, "+e.x+" "+e.y+";360, "+e.x+" "+e.y,dur:e.scanDur+"s",repeatCount:"indefinite"}})],1)],2),e._v(" "),r("div",{staticClass:"decoration-content"},[e._t("default")],2)])}),kt=[],St={name:"DvDecoration12",mixins:[D],props:{color:{type:Array,default:function(){return[]}},scanDur:{type:Number,default:3},haloDur:{type:Number,default:2}},data:function(){var e=A();return{ref:"decoration-12",gId:"decoration-12-g-".concat(e),gradientId:"decoration-12-gradient-".concat(e),defaultColor:["#2783ce","#2cf7fe"],mergedColor:[],pathD:[],pathColor:[],circleR:[],splitLinePoints:[],arcD:[],segment:30,sectorAngle:Math.PI/3,ringNum:3,ringWidth:1,showSplitLine:!0}},watch:{color:function(){var e=this.mergeColor;e()}},computed:{x:function(){var e=this.width;return e/2},y:function(){var e=this.height;return e/2}},methods:{init:function(){var e=this.mergeColor,t=this.calcPathD,r=this.calcPathColor,n=this.calcCircleR,i=this.calcSplitLinePoints,o=this.calcArcD;e(),t(),r(),n(),i(),o()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},calcPathD:function(){var e=this.x,t=this.y,r=this.width,n=this.segment,i=this.sectorAngle,o=-Math.PI/2,a=i/n,s=r/4,l=Object(m["getCircleRadianPoint"])(e,t,s,o);this.pathD=new Array(n).fill("").map((function(r,n){var i=Object(m["getCircleRadianPoint"])(e,t,s,o-(n+1)*a).map((function(e){return e.toFixed(5)})),u="M".concat(l.join(",")," A").concat(s,", ").concat(s," 0 0 0 ").concat(i.join(","));return l=i,u}))},calcPathColor:function(){var e=Object(d["a"])(this.mergedColor,1),t=e[0],r=this.segment,n=100/(r-1);this.pathColor=new Array(r).fill(t).map((function(e,r){return Object(U["fade"])(t,100-r*n)}))},calcCircleR:function(){this.segment;var e=this.ringNum,t=this.width,r=this.ringWidth,n=(t/2-r/2)/e;this.circleR=new Array(e).fill(0).map((function(e,t){return n*(t+1)}))},calcSplitLinePoints:function(){var e=this.x,t=this.y,r=this.width,n=Math.PI/6,i=r/2;this.splitLinePoints=new Array(6).fill("").map((function(r,o){var a=n*(o+1),s=a+Math.PI,l=Object(m["getCircleRadianPoint"])(e,t,i,a),u=Object(m["getCircleRadianPoint"])(e,t,i,s);return"".concat(l.join(",")," ").concat(u.join(","))}))},calcArcD:function(){var e=this.x,t=this.y,r=this.width,n=Math.PI/6,i=r/2-1;this.arcD=new Array(4).fill("").map((function(r,o){var a=n*(3*o+1),s=a+n,l=Object(m["getCircleRadianPoint"])(e,t,i,a),u=Object(m["getCircleRadianPoint"])(e,t,i,s);return"M".concat(l.join(",")," A").concat(e,", ").concat(t," 0 0 1 ").concat(u.join(","))}))},afterAutoResizeMixinInit:function(){var e=this.init;e()},fade:U["fade"]}},Mt=St,Ct=Object(y["a"])(Mt,xt,kt,!1,null,null,null),Tt=(Ct.exports,r("9b06"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-2"},[r("svg",{attrs:{width:e.width+"px",height:e.height+"px"}},[r("rect",{attrs:{x:e.x,y:e.y,width:e.w,height:e.h,fill:e.mergedColor[0]}},[r("animate",{attrs:{attributeName:e.reverse?"height":"width",from:"0",to:e.reverse?e.height:e.width,dur:e.dur+"s",calcMode:"spline",keyTimes:"0;1",keySplines:".42,0,.58,1",repeatCount:"indefinite"}})]),e._v(" "),r("rect",{attrs:{x:e.x,y:e.y,width:"1",height:"1",fill:e.mergedColor[1]}},[r("animate",{attrs:{attributeName:e.reverse?"y":"x",from:"0",to:e.reverse?e.height:e.width,dur:e.dur+"s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.42,0,0.58,1",repeatCount:"indefinite"}})])])])}),Ot=[],Lt={name:"DvDecoration2",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},dur:{type:Number,default:6}},data:function(){return{ref:"decoration-2",x:0,y:0,w:0,h:0,defaultColor:["#3faacb","#fff"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()},reverse:function(){var e=this.calcSVGData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.reverse,t=this.width,r=this.height;e?(this.w=1,this.h=r,this.x=t/2,this.y=0):(this.w=t,this.h=1,this.x=0,this.y=r/2)},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},At=Lt,Dt=Object(y["a"])(At,Tt,Ot,!1,null,null,null),Et=(Dt.exports,r("5e07"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-3"},[r("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[e._l(e.points,(function(t,n){return[r("rect",{key:n,attrs:{fill:e.mergedColor[0],x:t[0]-e.halfPointSideLength,y:t[1]-e.halfPointSideLength,width:e.pointSideLength,height:e.pointSideLength}},[Math.random()>.6?r("animate",{attrs:{attributeName:"fill",values:""+e.mergedColor.join(";"),dur:Math.random()+1+"s",begin:2*Math.random(),repeatCount:"indefinite"}}):e._e()])]}))],2)])}),It=[],jt={name:"DvDecoration3",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=7;return{ref:"decoration-3",svgWH:[300,35],svgScale:[1,1],rowNum:2,rowPoints:25,pointSideLength:e,halfPointSideLength:e/2,points:[],defaultColor:["#7acaec","transparent"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.calcPointsPosition,t=this.calcScale;e(),t()},calcPointsPosition:function(){var e=this.svgWH,t=this.rowNum,r=this.rowPoints,n=Object(d["a"])(e,2),i=n[0],a=n[1],s=i/(r+1),l=a/(t+1),u=new Array(t).fill(0).map((function(e,t){return new Array(r).fill(0).map((function(e,r){return[s*(r+1),l*(t+1)]}))}));this.points=u.reduce((function(e,t){return[].concat(Object(o["a"])(e),Object(o["a"])(t))}),[])},calcScale:function(){var e=this.width,t=this.height,r=this.svgWH,n=Object(d["a"])(r,2),i=n[0],o=n[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Pt=jt,Rt=Object(y["a"])(Pt,Et,It,!1,null,null,null),Nt=(Rt.exports,r("c2ca"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-4"},[r("div",{class:"container "+(e.reverse?"reverse":"normal"),style:e.reverse?"width:"+e.width+"px;height:5px;animation-duration:"+e.dur+"s":"width:5px;height:"+e.height+"px;animation-duration:"+e.dur+"s"},[r("svg",{attrs:{width:e.reverse?e.width:5,height:e.reverse?5:e.height}},[r("polyline",{attrs:{stroke:e.mergedColor[0],points:e.reverse?"0, 2.5 "+e.width+", 2.5":"2.5, 0 2.5, "+e.height}}),e._v(" "),r("polyline",{staticClass:"bold-line",attrs:{stroke:e.mergedColor[1],"stroke-width":"3","stroke-dasharray":"20, 80","stroke-dashoffset":"-30",points:e.reverse?"0, 2.5 "+e.width+", 2.5":"2.5, 0 2.5, "+e.height}})])])])}),Bt=[],Yt={name:"DvDecoration4",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1},dur:{type:Number,default:3}},data:function(){return{ref:"decoration-4",defaultColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.3)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Ft=Yt,zt=Object(y["a"])(Ft,Nt,Bt,!1,null,null,null),Ht=(zt.exports,r("2848"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-5"},[r("svg",{attrs:{width:e.width,height:e.height}},[r("polyline",{attrs:{fill:"transparent",stroke:e.mergedColor[0],"stroke-width":"3",points:e.line1Points}},[r("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+e.line1Length/2+", 0, "+e.line1Length/2,to:"0, 0, "+e.line1Length+", 0",dur:e.dur+"s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.4,1,0.49,0.98",repeatCount:"indefinite"}})]),e._v(" "),r("polyline",{attrs:{fill:"transparent",stroke:e.mergedColor[1],"stroke-width":"2",points:e.line2Points}},[r("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+e.line2Length/2+", 0, "+e.line2Length/2,to:"0, 0, "+e.line2Length+", 0",dur:e.dur+"s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:".4,1,.49,.98",repeatCount:"indefinite"}})])])])}),Vt=[],Ut={name:"DvDecoration5",mixins:[D],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:1.2}},data:function(){return{ref:"decoration-5",line1Points:"",line2Points:"",line1Length:0,line2Length:0,defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.width,t=this.height,r=[[0,.2*t],[.18*e,.2*t],[.2*e,.4*t],[.25*e,.4*t],[.27*e,.6*t],[.72*e,.6*t],[.75*e,.4*t],[.8*e,.4*t],[.82*e,.2*t],[e,.2*t]],n=[[.3*e,.8*t],[.7*e,.8*t]],i=Object(p["getPolylineLength"])(r),o=Object(p["getPolylineLength"])(n);r=r.map((function(e){return e.join(",")})).join(" "),n=n.map((function(e){return e.join(",")})).join(" "),this.line1Points=r,this.line2Points=n,this.line1Length=i,this.line2Length=o},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Wt=Ut,$t=Object(y["a"])(Wt,Ht,Vt,!1,null,null,null),Gt=($t.exports,r("c7c8"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-6"},[r("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[e._l(e.points,(function(t,n){return[r("rect",{key:n,attrs:{fill:e.mergedColor[Math.random()>.5?0:1],x:t[0]-e.halfRectWidth,y:t[1]-e.heights[n]/2,width:e.rectWidth,height:e.heights[n]}},[r("animate",{attrs:{attributeName:"y",values:t[1]-e.minHeights[n]/2+";"+(t[1]-e.heights[n]/2)+";"+(t[1]-e.minHeights[n]/2),dur:e.randoms[n]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"height",values:e.minHeights[n]+";"+e.heights[n]+";"+e.minHeights[n],dur:e.randoms[n]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}})])]}))],2)])}),qt=[],Xt={name:"DvDecoration6",mixins:[D],props:{color:{type:Array,default:function(){return[]}}},data:function(){var e=7;return{ref:"decoration-6",svgWH:[300,35],svgScale:[1,1],rowNum:1,rowPoints:40,rectWidth:e,halfRectWidth:e/2,points:[],heights:[],minHeights:[],randoms:[],defaultColor:["#7acaec","#7acaec"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcSVGData;e()},calcSVGData:function(){var e=this.calcPointsPosition,t=this.calcScale;e(),t()},calcPointsPosition:function(){var e=this.svgWH,t=this.rowNum,r=this.rowPoints,n=Object(d["a"])(e,2),i=n[0],a=n[1],s=i/(r+1),l=a/(t+1),u=new Array(t).fill(0).map((function(e,t){return new Array(r).fill(0).map((function(e,r){return[s*(r+1),l*(t+1)]}))}));this.points=u.reduce((function(e,t){return[].concat(Object(o["a"])(e),Object(o["a"])(t))}),[]);var c=this.heights=new Array(t*r).fill(0).map((function(e){return Math.random()>.8?C(.7*a,a):C(.2*a,.5*a)}));this.minHeights=new Array(t*r).fill(0).map((function(e,t){return c[t]*Math.random()})),this.randoms=new Array(t*r).fill(0).map((function(e){return Math.random()+1.5}))},calcScale:function(){var e=this.width,t=this.height,r=this.svgWH,n=Object(d["a"])(r,2),i=n[0],o=n[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcSVGData;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},Kt=Xt,Zt=Object(y["a"])(Kt,Gt,qt,!1,null,null,null),Jt=(Zt.exports,r("d51d"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"dv-decoration-7"},[r("svg",{attrs:{width:"21px",height:"20px"}},[r("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:e.mergedColor[0],points:"10, 0 19, 10 10, 20"}}),e._v(" "),r("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:e.mergedColor[1],points:"2, 0 11, 10 2, 20"}})]),e._v(" "),e._t("default"),e._v(" "),r("svg",{attrs:{width:"21px",height:"20px"}},[r("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:e.mergedColor[0],points:"11, 0 2, 10 11, 20"}}),e._v(" "),r("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:e.mergedColor[1],points:"19, 0 10, 10 19, 20"}})])],2)}),Qt=[],er={name:"DvDecoration7",props:{color:{type:Array,default:function(){return[]}}},data:function(){return{defaultColor:["#1dc1f5","#1dc1f5"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},tr=er,rr=Object(y["a"])(tr,Jt,Qt,!1,null,null,null),nr=(rr.exports,r("357d"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-8"},[r("svg",{attrs:{width:e.width,height:e.height}},[r("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",fill:"transparent",points:e.xPos(0)+", 0 "+e.xPos(30)+", "+e.height/2}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",fill:"transparent",points:e.xPos(20)+", 0 "+e.xPos(50)+", "+e.height/2+" "+e.xPos(e.width)+", "+e.height/2}}),e._v(" "),r("polyline",{attrs:{stroke:e.mergedColor[1],fill:"transparent","stroke-width":"3",points:e.xPos(0)+", "+(e.height-3)+", "+e.xPos(200)+", "+(e.height-3)}})])])}),ir=[],or={name:"DvDecoration8",mixins:[D],props:{color:{type:Array,default:function(){return[]}},reverse:{type:Boolean,default:!1}},data:function(){return{ref:"decoration-8",defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{xPos:function(e){var t=this.reverse,r=this.width;return t?r-e:e},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])}},mounted:function(){var e=this.mergeColor;e()}},ar=or,sr=Object(y["a"])(ar,nr,ir,!1,null,null,null),lr=(sr.exports,r("9ab4"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-decoration-9"},[r("svg",{style:"transform:scale("+e.svgScale[0]+","+e.svgScale[1]+");",attrs:{width:e.svgWH[0]+"px",height:e.svgWH[1]+"px"}},[r("defs",[r("polygon",{attrs:{id:e.polygonId,points:"15, 46.5, 21, 47.5, 21, 52.5, 15, 53.5"}})]),e._v(" "),r("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:e.mergedColor[1],"stroke-width":"10","stroke-dasharray":"80, 100, 30, 100"}},[r("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:e.dur+"s",repeatCount:"indefinite"}})],1),e._v(" "),r("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:e.mergedColor[0],"stroke-width":"6","stroke-dasharray":"50, 66, 100, 66"}},[r("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;-360 50 50",dur:e.dur+"s",repeatCount:"indefinite"}})],1),e._v(" "),r("circle",{attrs:{cx:"50",cy:"50",r:"38",fill:"transparent",stroke:e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}}),e._v(" "),e._l(new Array(20).fill(0),(function(t,n){return r("use",{key:n,attrs:{"xlink:href":"#"+e.polygonId,stroke:e.mergedColor[1],fill:Math.random()>.4?"transparent":e.mergedColor[0]}},[r("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:e.dur+"s",begin:n*e.dur/20+"s",repeatCount:"indefinite"}})],1)})),e._v(" "),r("circle",{attrs:{cx:"50",cy:"50",r:"26",fill:"transparent",stroke:e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}})],2),e._v(" "),e._t("default")],2)}),ur=[],cr={name:"DvDecoration9",mixins:[D],props:{color:{type:Array,default:function(){return[]}},dur:{type:Number,default:3}},data:function(){var e=A();return{ref:"decoration-9",polygonId:"decoration-9-polygon-".concat(e),svgWH:[100,100],svgScale:[1,1],defaultColor:["rgba(3, 166, 224, 0.8)","rgba(3, 166, 224, 0.5)"],mergedColor:[]}},watch:{color:function(){var e=this.mergeColor;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcScale;e()},calcScale:function(){var e=this.width,t=this.height,r=this.svgWH,n=Object(d["a"])(r,2),i=n[0],o=n[1];this.svgScale=[e/i,t/o]},onResize:function(){var e=this.calcScale;e()},mergeColor:function(){var e=this.color,t=this.defaultColor;this.mergedColor=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||[])},fade:U["fade"]},mounted:function(){var e=this.mergeColor;e()}},dr=cr,hr=Object(y["a"])(dr,lr,ur,!1,null,null,null),fr=(hr.exports,r("bc96"),function(e){e.component(_.name,_)}),pr=(r("41f6"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"dv-flyline-chart",staticClass:"dv-flyline-chart",style:"background-image: url("+(e.mergedConfig?e.mergedConfig.bgImgUrl:"")+")",on:{click:e.consoleClickPos}},[e.mergedConfig?r("svg",{attrs:{width:e.width,height:e.height}},[r("defs",[r("radialGradient",{attrs:{id:e.gradientId,cx:"50%",cy:"50%",r:"50%"}},[r("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),e._v(" "),r("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),e._v(" "),r("radialGradient",{attrs:{id:e.gradient2Id,cx:"50%",cy:"50%",r:"50%"}},[r("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"0"}}),e._v(" "),r("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"1"}})],1),e._v(" "),e.paths[0]?r("circle",{attrs:{id:"circle"+e.paths[0].toString(),cx:e.paths[0][2][0],cy:e.paths[0][2][1]}},[r("animate",{attrs:{attributeName:"r",values:"1;"+e.mergedConfig.halo.radius,dur:e.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:e.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}})]):e._e()],1),e._v(" "),e.paths[0]?r("image",{attrs:{"xlink:href":e.mergedConfig.centerPointImg.url,width:e.mergedConfig.centerPointImg.width,height:e.mergedConfig.centerPointImg.height,x:e.paths[0][2][0]-e.mergedConfig.centerPointImg.width/2,y:e.paths[0][2][1]-e.mergedConfig.centerPointImg.height/2}}):e._e(),e._v(" "),r("mask",{attrs:{id:"maskhalo"+e.paths[0].toString()}},[e.paths[0]?r("use",{attrs:{"xlink:href":"#circle"+e.paths[0].toString(),fill:"url(#"+e.gradient2Id+")"}}):e._e()]),e._v(" "),e.paths[0]&&e.mergedConfig.halo.show?r("use",{attrs:{"xlink:href":"#circle"+e.paths[0].toString(),fill:e.mergedConfig.halo.color,mask:"url(#maskhalo"+e.paths[0].toString()+")"}}):e._e(),e._v(" "),e._l(e.paths,(function(t,n){return r("g",{key:n},[r("defs",[r("path",{ref:"path"+n,refInFor:!0,attrs:{id:"path"+t.toString(),d:"M"+t[0].toString()+" Q"+t[1].toString()+" "+t[2].toString(),fill:"transparent"}})]),e._v(" "),r("use",{attrs:{"xlink:href":"#path"+t.toString(),"stroke-width":e.mergedConfig.lineWidth,stroke:e.mergedConfig.orbitColor}}),e._v(" "),e.lengths[n]?r("use",{attrs:{"xlink:href":"#path"+t.toString(),"stroke-width":e.mergedConfig.lineWidth,stroke:e.mergedConfig.flylineColor,mask:"url(#mask"+e.unique+t.toString()+")"}},[r("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+e.lengths[n],to:e.lengths[n]+", 0",dur:e.times[n]||0,repeatCount:"indefinite"}})]):e._e(),e._v(" "),r("mask",{attrs:{id:"mask"+e.unique+t.toString()}},[r("circle",{attrs:{cx:"0",cy:"0",r:e.mergedConfig.flylineRadius,fill:"url(#"+e.gradientId+")"}},[r("animateMotion",{attrs:{dur:e.times[n]||0,path:"M"+t[0].toString()+" Q"+t[1].toString()+" "+t[2].toString(),rotate:"auto",repeatCount:"indefinite"}})],1)]),e._v(" "),r("image",{attrs:{"xlink:href":e.mergedConfig.pointsImg.url,width:e.mergedConfig.pointsImg.width,height:e.mergedConfig.pointsImg.height,x:t[0][0]-e.mergedConfig.pointsImg.width/2,y:t[0][1]-e.mergedConfig.pointsImg.height/2}}),e._v(" "),r("text",{style:"fontSize:"+e.mergedConfig.text.fontSize+"px;",attrs:{fill:e.mergedConfig.text.color,x:t[0][0]+e.mergedConfig.text.offset[0],y:t[0][1]+e.mergedConfig.text.offset[1]}},[e._v("\n "+e._s(e.texts[n])+"\n ")])])}))],2):e._e()])}),mr=[],gr=r("c80c"),vr=(r("96cf"),r("3b8d")),yr={name:"DvFlylineChart",mixins:[D],props:{config:{type:Object,default:function(){return{}}},dev:{type:Boolean,default:!1}},data:function(){var e=A();return{ref:"dv-flyline-chart",unique:Math.random(),maskId:"flyline-mask-id-".concat(e),maskCircleId:"mask-circle-id-".concat(e),gradientId:"gradient-id-".concat(e),gradient2Id:"gradient2-id-".concat(e),defaultConfig:{centerPoint:[0,0],points:[],lineWidth:1,orbitColor:"rgba(103, 224, 227, .2)",flylineColor:"#ffde93",k:-.5,curvature:5,flylineRadius:100,duration:[20,30],relative:!0,bgImgUrl:"",text:{offset:[0,15],color:"#ffdb5c",fontSize:12},halo:{show:!0,duration:30,color:"#fb7293",radius:120},centerPointImg:{width:40,height:40,url:""},pointsImg:{width:15,height:15,url:""}},mergedConfig:null,paths:[],lengths:[],times:[],texts:[]}},watch:{config:function(){var e=this.calcData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.calcData;e()},calcData:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n,i,o;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.mergeConfig,r=this.createFlylinePaths,n=this.calcLineLengths,t(),r(),e.next=5,n();case 5:i=this.calcTimes,o=this.calcTexts,i(),o();case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),mergeConfig:function(){var e=this.config,t=this.defaultConfig,r=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{}),n=r.points;r.points=n.map((function(e){return e instanceof Array?{position:e,text:""}:e})),this.mergedConfig=r},createFlylinePaths:function(){var e=this.getPath,t=this.mergedConfig,r=this.width,n=this.height,i=t.centerPoint,o=t.points,a=t.relative;o=o.map((function(e){var t=e.position;return t})),a&&(i=[r*i[0],n*i[1]],o=o.map((function(e){var t=Object(d["a"])(e,2),i=t[0],o=t[1];return[r*i,n*o]}))),this.paths=o.map((function(t){return e(i,t)}))},getPath:function(e,t){var r=this.getControlPoint,n=r(e,t);return[t,n,e]},getControlPoint:function(e,t){var r=Object(d["a"])(e,2),n=r[0],i=r[1],o=Object(d["a"])(t,2),a=o[0],s=o[1],l=this.getKLinePointByx,u=this.mergedConfig,c=u.curvature,h=u.k,f=(n+a)/2,p=(i+s)/2,m=L([n,i],[a,s]),g=m/c,v=g/2,y=f,b=p;do{y+=v,b=l(h,[f,p],y)[1]}while(L([f,p],[y,b])<g);return[y,b]},getKLinePointByx:function(e,t,r){var n=Object(d["a"])(t,2),i=n[0],o=n[1],a=o-e*i+e*r;return[r,a]},calcLineLengths:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$nextTick,r=this.paths,n=this.$refs,e.next=3,t();case 3:this.lengths=r.map((function(e,t){return n["path".concat(t)][0].getTotalLength()}));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),calcTimes:function(){var e=this.mergedConfig,t=e.duration,r=e.points;this.times=r.map((function(e){return C.apply(void 0,Object(o["a"])(t))/10}))},calcTexts:function(){var e=this.mergedConfig.points;this.texts=e.map((function(e){var t=e.text;return t}))},consoleClickPos:function(e){var t=e.offsetX,r=e.offsetY,n=this.width,i=this.height,o=this.dev;if(o){var a=(t/n).toFixed(2),s=(r/i).toFixed(2);console.warn("dv-flyline-chart DEV: \n Click Position is [".concat(t,", ").concat(r,"] \n Relative Position is [").concat(a,", ").concat(s,"]"))}}}},br=yr,_r=Object(y["a"])(br,pr,mr,!1,null,null,null),wr=(_r.exports,r("dbbf"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-flyline-chart-enhanced",style:"background-image: url("+(e.mergedConfig?e.mergedConfig.bgImgSrc:"")+")",on:{click:e.consoleClickPos}},[e.flylines.length?r("svg",{attrs:{width:e.width,height:e.height}},[r("defs",[r("radialGradient",{attrs:{id:e.flylineGradientId,cx:"50%",cy:"50%",r:"50%"}},[r("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),e._v(" "),r("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),e._v(" "),r("radialGradient",{attrs:{id:e.haloGradientId,cx:"50%",cy:"50%",r:"50%"}},[r("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"0"}}),e._v(" "),r("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"1"}})],1)],1),e._v(" "),e._l(e.flylinePoints,(function(t){return r("g",{key:t.key+Math.random()},[r("defs",[t.halo.show?r("circle",{attrs:{id:"halo"+e.unique+t.key,cx:t.coordinate[0],cy:t.coordinate[1]}},[r("animate",{attrs:{attributeName:"r",values:"1;"+t.halo.radius,dur:t.halo.time+"s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:t.halo.time+"s",repeatCount:"indefinite"}})]):e._e()]),e._v(" "),r("mask",{attrs:{id:"mask"+e.unique+t.key}},[t.halo.show?r("use",{attrs:{"xlink:href":"#halo"+e.unique+t.key,fill:"url(#"+e.haloGradientId+")"}}):e._e()]),e._v(" "),t.halo.show?r("use",{attrs:{"xlink:href":"#halo"+e.unique+t.key,fill:t.halo.color,mask:"url(#mask"+e.unique+t.key+")"}}):e._e(),e._v(" "),t.icon.show?r("image",{attrs:{"xlink:href":t.icon.src,width:t.icon.width,height:t.icon.height,x:t.icon.x,y:t.icon.y}}):e._e(),e._v(" "),t.text.show?r("text",{style:"fontSize:"+t.text.fontSize+"px;color:"+t.text.color,attrs:{fill:t.text.color,x:t.text.x,y:t.text.y}},[e._v("\n "+e._s(t.name)+"\n ")]):e._e()])})),e._v(" "),e._l(e.flylines,(function(t,n){return r("g",{key:t.key+Math.random()},[r("defs",[r("path",{ref:t.key,refInFor:!0,attrs:{id:t.key,d:t.d,fill:"transparent"}})]),e._v(" "),r("use",{attrs:{"xlink:href":"#"+t.key,"stroke-width":t.width,stroke:t.orbitColor}}),e._v(" "),r("mask",{attrs:{id:"mask"+e.unique+t.key}},[r("circle",{attrs:{cx:"0",cy:"0",r:t.radius,fill:"url(#"+e.flylineGradientId+")"}},[r("animateMotion",{attrs:{dur:t.time,path:t.d,rotate:"auto",repeatCount:"indefinite"}})],1)]),e._v(" "),e.flylineLengths[n]?r("use",{attrs:{"xlink:href":"#"+t.key,"stroke-width":t.width,stroke:t.color,mask:"url(#mask"+e.unique+t.key+")"}},[r("animate",{attrs:{attributeName:"stroke-dasharray",from:"0, "+e.flylineLengths[n],to:e.flylineLengths[n]+", 0",dur:t.time,repeatCount:"indefinite"}})]):e._e()])}))],2):e._e()])}),xr=[],kr=(r("7514"),r("6b54"),{name:"DvFlylineChartEnhanced",mixins:[D],props:{config:{type:Object,default:function(){return{}}},dev:{type:Boolean,default:!1}},data:function(){var e=A();return{ref:"dv-flyline-chart-enhanced",unique:Math.random(),flylineGradientId:"flyline-gradient-id-".concat(e),haloGradientId:"halo-gradient-id-".concat(e),defaultConfig:{points:[],lines:[],halo:{show:!1,duration:[20,30],color:"#fb7293",radius:120},text:{show:!1,offset:[0,15],color:"#ffdb5c",fontSize:12},icon:{show:!1,src:"",width:15,height:15},line:{width:1,color:"#ffde93",orbitColor:"rgba(103, 224, 227, .2)",duration:[20,30],radius:100},bgImgSrc:"",k:-.5,curvature:5,relative:!0},flylines:[],flylineLengths:[],flylinePoints:[],mergedConfig:null}},watch:{config:function(){var e=this.calcData;e()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.calcData;e()},calcData:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n,i;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.mergeConfig,r=this.calcflylinePoints,n=this.calcLinePaths,t(),r(),n(),i=this.calcLineLengths,e.next=7,i();case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),mergeConfig:function(){var e=this.config,t=this.defaultConfig,r=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{}),n=r.points,i=r.lines,o=r.halo,a=r.text,s=r.icon,l=r.line;r.points=n.map((function(e){return e.halo=Object(p["deepMerge"])(Object(m["deepClone"])(o,!0),e.halo||{}),e.text=Object(p["deepMerge"])(Object(m["deepClone"])(a,!0),e.text||{}),e.icon=Object(p["deepMerge"])(Object(m["deepClone"])(s,!0),e.icon||{}),e})),r.lines=i.map((function(e){return Object(p["deepMerge"])(Object(m["deepClone"])(l,!0),e)})),this.mergedConfig=r},calcflylinePoints:function(){var e=this.mergedConfig,t=this.width,r=this.height,n=e.relative,i=e.points;this.flylinePoints=i.map((function(e,i){var a=Object(d["a"])(e.coordinate,2),s=a[0],l=a[1],u=e.halo,c=e.icon,h=e.text;n&&(e.coordinate=[s*t,l*r]),e.halo.time=C.apply(void 0,Object(o["a"])(u.duration))/10;var f=c.width,p=c.height;e.icon.x=e.coordinate[0]-f/2,e.icon.y=e.coordinate[1]-p/2;var m=Object(d["a"])(h.offset,2),g=m[0],v=m[1];return e.text.x=e.coordinate[0]+g,e.text.y=e.coordinate[1]+v,e.key="".concat(e.coordinate.toString()).concat(i),e}))},calcLinePaths:function(){var e=this.getPath,t=this.mergedConfig,r=t.points,n=t.lines;this.flylines=n.map((function(t){var n=t.source,i=t.target,s=t.duration,l=r.find((function(e){var t=e.name;return t===n})).coordinate,u=r.find((function(e){var t=e.name;return t===i})).coordinate,c=e(l,u).map((function(e){return e.map((function(e){return parseFloat(e.toFixed(10))}))})),d="M".concat(c[0].toString()," Q").concat(c[1].toString()," ").concat(c[2].toString()),h="path".concat(c.toString()),f=C.apply(void 0,Object(o["a"])(s))/10;return Object(a["a"])(Object(a["a"])({},t),{},{path:c,key:h,d:d,time:f})}))},getPath:function(e,t){var r=this.getControlPoint,n=r(e,t);return[e,n,t]},getControlPoint:function(e,t){var r=Object(d["a"])(e,2),n=r[0],i=r[1],o=Object(d["a"])(t,2),a=o[0],s=o[1],l=this.getKLinePointByx,u=this.mergedConfig,c=u.curvature,h=u.k,f=(n+a)/2,p=(i+s)/2,m=L([n,i],[a,s]),g=m/c,v=g/2,y=f,b=p;do{y+=v,b=l(h,[f,p],y)[1]}while(L([f,p],[y,b])<g);return[y,b]},getKLinePointByx:function(e,t,r){var n=Object(d["a"])(t,2),i=n[0],o=n[1],a=o-e*i+e*r;return[r,a]},calcLineLengths:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$nextTick,r=this.flylines,n=this.$refs,e.next=3,t();case 3:this.flylineLengths=r.map((function(e){var t=e.key;return n[t][0].getTotalLength()}));case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),consoleClickPos:function(e){var t=e.offsetX,r=e.offsetY,n=this.width,i=this.height,o=this.dev;if(o){var a=(t/n).toFixed(2),s=(r/i).toFixed(2);console.warn("dv-flyline-chart-enhanced DEV: \n Click Position is [".concat(t,", ").concat(r,"] \n Relative Position is [").concat(a,", ").concat(s,"]"))}}}}),Sr=kr,Mr=Object(y["a"])(Sr,wr,xr,!1,null,null,null),Cr=(Mr.exports,r("7cc8"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,attrs:{id:"dv-full-screen-container"}},[e.ready?[e._t("default")]:e._e()],2)}),Tr=[],Or={name:"DvFullScreenContainer",mixins:[D],data:function(){return{ref:"full-screen-container",allWidth:0,scale:0,datavRoot:"",ready:!1}},methods:{afterAutoResizeMixinInit:function(){var e=this.initConfig,t=this.setAppScale;e(),t(),this.ready=!0},initConfig:function(){var e=this.dom,t=screen,r=t.width,n=t.height;this.allWidth=r,e.style.width="".concat(r,"px"),e.style.height="".concat(n,"px")},setAppScale:function(){var e=this.allWidth,t=this.dom,r=document.body.clientWidth;t.style.transform="scale(".concat(r/e,")")},onResize:function(){var e=this.setAppScale;e()}}},Lr=Or,Ar=Object(y["a"])(Lr,Cr,Tr,!1,null,null,null),Dr=Ar.exports,Er=function(e){e.component(Dr.name,Dr)},Ir=(r("84cd"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"dv-loading"},[r("svg",{attrs:{width:"50px",height:"50px"}},[r("circle",{attrs:{cx:"25",cy:"25",r:"20",fill:"transparent","stroke-width":"3","stroke-dasharray":"31.415, 31.415",stroke:"#02bcfe","stroke-linecap":"round"}},[r("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0, 25 25;360, 25 25",dur:"1.5s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"stroke",values:"#02bcfe;#3be6cb;#02bcfe",dur:"3s",repeatCount:"indefinite"}})],1),e._v(" "),r("circle",{attrs:{cx:"25",cy:"25",r:"10",fill:"transparent","stroke-width":"3","stroke-dasharray":"15.7, 15.7",stroke:"#3be6cb","stroke-linecap":"round"}},[r("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"360, 25 25;0, 25 25",dur:"1.5s",repeatCount:"indefinite"}}),e._v(" "),r("animate",{attrs:{attributeName:"stroke",values:"#3be6cb;#02bcfe;#3be6cb",dur:"3s",repeatCount:"indefinite"}})],1)]),e._v(" "),r("div",{staticClass:"loading-tip"},[e._t("default")],2)])}),jr=[],Pr={name:"DvLoading"},Rr=Pr,Nr=Object(y["a"])(Rr,Ir,jr,!1,null,null,null),Br=Nr.exports,Yr=function(e){e.component(Br.name,Br)},Fr=(r("a157"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"percent-pond",staticClass:"dv-percent-pond"},[r("svg",[r("defs",[r("linearGradient",{attrs:{id:e.gradientId1,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},e._l(e.linearGradient,(function(e){return r("stop",{key:e[0],attrs:{offset:e[0]+"%","stop-color":e[1]}})})),1),e._v(" "),r("linearGradient",{attrs:{id:e.gradientId2,x1:"0%",y1:"0%",x2:e.gradient2XPos,y2:"0%"}},e._l(e.linearGradient,(function(e){return r("stop",{key:e[0],attrs:{offset:e[0]+"%","stop-color":e[1]}})})),1)],1),e._v(" "),r("rect",{attrs:{x:e.mergedConfig?e.mergedConfig.borderWidth/2:"0",y:e.mergedConfig?e.mergedConfig.borderWidth/2:"0",rx:e.mergedConfig?e.mergedConfig.borderRadius:"0",ry:e.mergedConfig?e.mergedConfig.borderRadius:"0",fill:"transparent","stroke-width":e.mergedConfig?e.mergedConfig.borderWidth:"0",stroke:"url(#"+e.gradientId1+")",width:e.rectWidth>0?e.rectWidth:0,height:e.rectHeight>0?e.rectHeight:0}}),e._v(" "),r("polyline",{attrs:{"stroke-width":e.polylineWidth,"stroke-dasharray":e.mergedConfig?e.mergedConfig.lineDash.join(","):"0",stroke:"url(#"+e.polylineGradient+")",points:e.points}}),e._v(" "),r("text",{attrs:{stroke:e.mergedConfig?e.mergedConfig.textColor:"#fff",fill:e.mergedConfig?e.mergedConfig.textColor:"#fff",x:e.width/2,y:e.height/2}},[e._v("\n "+e._s(e.details)+"\n ")])])])}),zr=[],Hr=(r("a481"),{name:"DvPercentPond",props:{config:{type:Object,default:function(){return{}}}},data:function(){var e=A();return{gradientId1:"percent-pond-gradientId1-".concat(e),gradientId2:"percent-pond-gradientId2-".concat(e),width:0,height:0,defaultConfig:{value:0,colors:["#3DE7C9","#00BAFF"],borderWidth:3,borderGap:3,lineDash:[5,1],textColor:"#fff",borderRadius:5,localGradient:!1,formatter:"{value}%"},mergedConfig:null}},computed:{rectWidth:function(){var e=this.mergedConfig,t=this.width;if(!e)return 0;var r=e.borderWidth;return t-r},rectHeight:function(){var e=this.mergedConfig,t=this.height;if(!e)return 0;var r=e.borderWidth;return t-r},points:function(){var e=this.mergedConfig,t=this.width,r=this.height,n=r/2;if(!e)return"0, ".concat(n," 0, ").concat(n);var i=e.borderWidth,o=e.borderGap,a=e.value,s=(t-2*(i+o))/100*a;return"\n ".concat(i+o,", ").concat(n,"\n ").concat(i+o+s,", ").concat(n+.001,"\n ")},polylineWidth:function(){var e=this.mergedConfig,t=this.height;if(!e)return 0;var r=e.borderWidth,n=e.borderGap;return t-2*(r+n)},linearGradient:function(){var e=this.mergedConfig;if(!e)return[];var t=e.colors,r=t.length,n=100/(r-1);return t.map((function(e,t){return[n*t,e]}))},polylineGradient:function(){var e=this.gradientId1,t=this.gradientId2,r=this.mergedConfig;return r&&r.localGradient?e:t},gradient2XPos:function(){var e=this.mergedConfig;if(!e)return"100%";var t=e.value;return"".concat(200-t,"%")},details:function(){var e=this.mergedConfig;if(!e)return"";var t=e.value,r=e.formatter;return r.replace("{value}",t)}},watch:{config:function(){var e=this.mergeConfig;e()}},methods:{init:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.initWH,r=this.config,n=this.mergeConfig,e.next=3,t();case 3:if(r){e.next=5;break}return e.abrupt("return");case 5:n();case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),initWH:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n,i,o;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$nextTick,r=this.$refs,e.next=3,t();case 3:n=r["percent-pond"],i=n.clientWidth,o=n.clientHeight,this.width=i,this.height=o;case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})}},mounted:function(){var e=this.init;e()}}),Vr=Hr,Ur=Object(y["a"])(Vr,Fr,zr,!1,null,null,null),Wr=(Ur.exports,r("037e"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-scroll-board"},[e.header.length&&e.mergedConfig?r("div",{staticClass:"header",style:"background-color: "+e.mergedConfig.headerBGC+";"},e._l(e.header,(function(t,n){return r("div",{key:""+t+n,staticClass:"header-item",style:"\n height: "+e.mergedConfig.headerHeight+"px;\n line-height: "+e.mergedConfig.headerHeight+"px;\n width: "+e.widths[n]+"px;\n ",attrs:{align:e.aligns[n]},domProps:{innerHTML:e._s(t)}})})),0):e._e(),e._v(" "),e.mergedConfig?r("div",{staticClass:"rows",style:"height: "+(e.height-(e.header.length?e.mergedConfig.headerHeight:0))+"px;"},e._l(e.rows,(function(t,n){return r("div",{key:""+t.toString()+t.scroll,staticClass:"row-item",style:"\n height: "+e.heights[n]+"px;\n line-height: "+e.heights[n]+"px;\n background-color: "+e.mergedConfig[t.rowIndex%2===0?"evenRowBGC":"oddRowBGC"]+";\n "},e._l(t.ceils,(function(i,o){return r("div",{key:""+i+n+o,staticClass:"ceil",style:"width: "+e.widths[o]+"px;",attrs:{align:e.aligns[o]},domProps:{innerHTML:e._s(i)},on:{click:function(r){return e.emitEvent("click",n,o,t,i)},mouseenter:function(r){return e.handleHover(!0,n,o,t,i)},mouseleave:function(t){return e.handleHover(!1)}}})})),0)})),0):e._e()])}),$r=[],Gr={name:"DvScrollBoard",mixins:[D],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"scroll-board",defaultConfig:{header:[],data:[],rowNum:5,headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732",waitTime:2e3,headerHeight:35,columnWidth:[],align:[],index:!1,indexHeader:"#",carousel:"single",hoverPause:!0},mergedConfig:null,header:[],rowsData:[],rows:[],widths:[],heights:[],avgHeight:0,aligns:[],animationIndex:0,animationHandler:"",updater:0,needCalc:!1}},watch:{config:function(){var e=this.stopAnimation,t=this.calcData;e(),this.animationIndex=0,t()}},methods:{handleHover:function(e,t,r,n,i){var o=this.mergedConfig,a=this.emitEvent,s=this.stopAnimation,l=this.animation;e&&a("mouseover",t,r,n,i),o.hoverPause&&(e?s():l(!0))},afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.mergedConfig,t=this.calcWidths,r=this.calcHeights;e&&(t(),r())},calcData:function(){var e=this.mergeConfig,t=this.calcHeaderData,r=this.calcRowsData;e(),t(),r();var n=this.calcWidths,i=this.calcHeights,o=this.calcAligns;n(),i(),o();var a=this.animation;a(!0)},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})},calcHeaderData:function(){var e=this.mergedConfig,t=e.header,r=e.index,n=e.indexHeader;t.length?(t=Object(o["a"])(t),r&&t.unshift(n),this.header=t):this.header=[]},calcRowsData:function(){var e=this.mergedConfig,t=e.data,r=e.index,n=e.headerBGC,i=e.rowNum;r&&(t=t.map((function(e,t){e=Object(o["a"])(e);var r='<span class="index" style="background-color: '.concat(n,';">').concat(t+1,"</span>");return e.unshift(r),e}))),t=t.map((function(e,t){return{ceils:e,rowIndex:t}}));var s=t.length;s>i&&s<2*i&&(t=[].concat(Object(o["a"])(t),Object(o["a"])(t))),t=t.map((function(e,t){return Object(a["a"])(Object(a["a"])({},e),{},{scroll:t})})),this.rowsData=t,this.rows=t},calcWidths:function(){var e=this.width,t=this.mergedConfig,r=this.rowsData,n=t.columnWidth,i=t.header,o=n.reduce((function(e,t){return e+t}),0),a=0;r[0]?a=r[0].ceils.length:i.length&&(a=i.length);var s=(e-o)/(a-n.length),l=new Array(a).fill(s);this.widths=Object(p["deepMerge"])(l,n)},calcHeights:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.height,r=this.mergedConfig,n=this.header,i=r.headerHeight,o=r.rowNum,a=r.data,s=t;n.length&&(s-=i);var l=s/o;this.avgHeight=l,e||(this.heights=new Array(a.length).fill(l))},calcAligns:function(){var e=this.header,t=this.mergedConfig,r=e.length,n=new Array(r).fill("left"),i=t.align;this.aligns=Object(p["deepMerge"])(n,i)},animation:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n,i,a,s,l,u,c,d,h,f,p,m,g,v,y,b,_=arguments;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=_.length>0&&void 0!==_[0]&&_[0],n=this.needCalc,i=this.calcHeights,a=this.calcRowsData,n&&(a(),i(),this.needCalc=!1),s=this.avgHeight,l=this.animationIndex,u=this.mergedConfig,c=this.rowsData,d=this.animation,h=this.updater,f=u.waitTime,p=u.carousel,m=u.rowNum,g=c.length,!(m>=g)){e.next=8;break}return e.abrupt("return");case 8:if(!r){e.next=13;break}return e.next=11,new Promise((function(e){return setTimeout(e,f)}));case 11:if(h===this.updater){e.next=13;break}return e.abrupt("return");case 13:return v="single"===p?1:m,y=c.slice(l),y.push.apply(y,Object(o["a"])(c.slice(0,l))),this.rows=y.slice(0,"page"===p?2*m:m+1),this.heights=new Array(g).fill(s),e.next=20,new Promise((function(e){return setTimeout(e,300)}));case 20:if(h===this.updater){e.next=22;break}return e.abrupt("return");case 22:(t=this.heights).splice.apply(t,[0,v].concat(Object(o["a"])(new Array(v).fill(0)))),l+=v,b=l-g,b>=0&&(l=b),this.animationIndex=l,this.animationHandler=setTimeout(d,f-300);case 28:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),stopAnimation:function(){var e=this.animationHandler,t=this.updater;this.updater=(t+1)%999999,e&&clearTimeout(e)},emitEvent:function(e,t,r,n,i){var o=n.ceils,a=n.rowIndex;this.$emit(e,{row:o,ceil:i,rowIndex:a,columnIndex:r})},updateRows:function(e,t){var r=this.mergedConfig,n=this.animationHandler,i=this.animation;this.mergedConfig=Object(a["a"])(Object(a["a"])({},r),{},{data:Object(o["a"])(e)}),this.needCalc=!0,"number"===typeof t&&(this.animationIndex=t),n||i(!0)}},destroyed:function(){var e=this.stopAnimation;e()}},qr=Gr,Xr=Object(y["a"])(qr,Wr,$r,!1,null,null,null),Kr=(Xr.exports,r("c280"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:e.ref,staticClass:"dv-scroll-ranking-board"},e._l(e.rows,(function(t,n){return r("div",{key:t.toString()+t.scroll,staticClass:"row-item",style:"height: "+e.heights[n]+"px;"},[r("div",{staticClass:"ranking-info"},[r("div",{staticClass:"rank"},[e._v("No."+e._s(t.ranking))]),e._v(" "),r("div",{staticClass:"info-name",domProps:{innerHTML:e._s(t.name)}}),e._v(" "),r("div",{staticClass:"ranking-value"},[e._v(e._s(e.mergedConfig.valueFormatter?e.mergedConfig.valueFormatter(t):t.value+e.mergedConfig.unit))])]),e._v(" "),r("div",{staticClass:"ranking-column"},[r("div",{staticClass:"inside-column",style:"width: "+t.percent+"%;"},[r("div",{staticClass:"shine"})])])])})),0)}),Zr=[],Jr={name:"DvScrollRankingBoard",mixins:[D],props:{config:{type:Object,default:function(){return{}}}},data:function(){return{ref:"scroll-ranking-board",defaultConfig:{data:[],rowNum:5,waitTime:2e3,carousel:"single",unit:"",sort:!0,valueFormatter:null},mergedConfig:null,rowsData:[],rows:[],heights:[],animationIndex:0,animationHandler:"",updater:0}},watch:{config:function(){var e=this.stopAnimation,t=this.calcData;e(),t()}},methods:{afterAutoResizeMixinInit:function(){var e=this.calcData;e()},onResize:function(){var e=this.mergedConfig,t=this.calcHeights;e&&t(!0)},calcData:function(){var e=this.mergeConfig,t=this.calcRowsData;e(),t();var r=this.calcHeights;r();var n=this.animation;n(!0)},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e||{})},calcRowsData:function(){var e=this.mergedConfig,t=e.data,r=e.rowNum,n=e.sort;n&&t.sort((function(e,t){var r=e.value,n=t.value;return r>n?-1:r<n?1:r===n?0:void 0}));var i=t.map((function(e){var t=e.value;return t})),s=Math.min.apply(Math,Object(o["a"])(i))||0,l=Math.abs(s),u=Math.max.apply(Math,Object(o["a"])(i))||0,c=(Math.abs(u),u+l);t=t.map((function(e,t){return Object(a["a"])(Object(a["a"])({},e),{},{ranking:t+1,percent:(e.value+l)/c*100})}));var d=t.length;d>r&&d<2*r&&(t=[].concat(Object(o["a"])(t),Object(o["a"])(t))),t=t.map((function(e,t){return Object(a["a"])(Object(a["a"])({},e),{},{scroll:t})})),this.rowsData=t,this.rows=t},calcHeights:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.height,r=this.mergedConfig,n=r.rowNum,i=r.data,o=t/n;this.avgHeight=o,e||(this.heights=new Array(i.length).fill(o))},animation:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n,i,a,s,l,u,c,d,h,f,p,m,g,v=arguments;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=v.length>0&&void 0!==v[0]&&v[0],n=this.avgHeight,i=this.animationIndex,a=this.mergedConfig,s=this.rowsData,l=this.animation,u=this.updater,c=a.waitTime,d=a.carousel,h=a.rowNum,f=s.length,!(h>=f)){e.next=6;break}return e.abrupt("return");case 6:if(!r){e.next=11;break}return e.next=9,new Promise((function(e){return setTimeout(e,c)}));case 9:if(u===this.updater){e.next=11;break}return e.abrupt("return");case 11:return p="single"===d?1:h,m=s.slice(i),m.push.apply(m,Object(o["a"])(s.slice(0,i))),this.rows=m.slice(0,h+1),this.heights=new Array(f).fill(n),e.next=18,new Promise((function(e){return setTimeout(e,300)}));case 18:if(u===this.updater){e.next=20;break}return e.abrupt("return");case 20:(t=this.heights).splice.apply(t,[0,p].concat(Object(o["a"])(new Array(p).fill(0)))),i+=p,g=i-f,g>=0&&(i=g),this.animationIndex=i,this.animationHandler=setTimeout(l,c-300);case 26:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),stopAnimation:function(){var e=this.animationHandler,t=this.updater;this.updater=(t+1)%999999,e&&clearTimeout(e)}},destroyed:function(){var e=this.stopAnimation;e()}},Qr=Jr,en=Object(y["a"])(Qr,Kr,Zr,!1,null,null,null),tn=en.exports,rn=function(e){e.component(tn.name,tn)},nn=(r("fa10"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"dv-water-pond-level"},[e.renderer?r("svg",[r("defs",[r("linearGradient",{attrs:{id:e.gradientId,x1:"0%",y1:"0%",x2:"0%",y2:"100%"}},e._l(e.svgBorderGradient,(function(e){return r("stop",{key:e[0],attrs:{offset:e[0],"stop-color":e[1]}})})),1)],1),e._v(" "),e.renderer?r("text",{attrs:{stroke:"url(#"+e.gradientId+")",fill:"url(#"+e.gradientId+")",x:e.renderer.area[0]/2+8,y:e.renderer.area[1]/2+8}},[e._v("\n "+e._s(e.details)+"\n ")]):e._e(),e._v(" "),e.shape&&"round"!==e.shape?r("rect",{attrs:{x:"2",y:"2",rx:"roundRect"===e.shape?10:0,ry:"roundRect"===e.shape?10:0,width:e.renderer.area[0]+12,height:e.renderer.area[1]+12,stroke:"url(#"+e.gradientId+")"}}):r("ellipse",{attrs:{cx:e.renderer.area[0]/2+8,cy:e.renderer.area[1]/2+8,rx:e.renderer.area[0]/2+5,ry:e.renderer.area[1]/2+5,stroke:"url(#"+e.gradientId+")"}})]):e._e(),e._v(" "),r("canvas",{ref:"water-pond-level",style:"border-radius: "+e.radius+";"})])}),on=[],an={name:"DvWaterLevelPond",props:{config:Object,default:function(){return{}}},data:function(){var e=A();return{gradientId:"water-level-pond-".concat(e),defaultConfig:{data:[],shape:"rect",waveNum:3,waveHeight:40,waveOpacity:.4,colors:["#3DE7C9","#00BAFF"],formatter:"{value}%"},mergedConfig:{},renderer:null,svgBorderGradient:[],details:"",waves:[],animation:!1}},computed:{radius:function(){var e=this.mergedConfig.shape;return"round"===e?"50%":"rect"===e?"0":"roundRect"===e?"10px":"0"},shape:function(){var e=this.mergedConfig.shape;return e||"rect"}},watch:{config:function(){var e=this.calcData,t=this.renderer;t.delAllGraph(),this.waves=[],setTimeout(e,0)}},methods:{init:function(){var e=this.initRender,t=this.config,r=this.calcData;e(),t&&r()},initRender:function(){var e=this.$refs;this.renderer=new f.a(e["water-pond-level"])},calcData:function(){var e=this.mergeConfig,t=this.calcSvgBorderGradient,r=this.calcDetails;e(),t(),r();var n=this.addWave,i=this.animationWave;n(),i()},mergeConfig:function(){var e=this.config,t=this.defaultConfig;this.mergedConfig=Object(p["deepMerge"])(Object(m["deepClone"])(t,!0),e)},calcSvgBorderGradient:function(){var e=this.mergedConfig.colors,t=e.length,r=100/(t-1);this.svgBorderGradient=e.map((function(e,t){return[r*t,e]}))},calcDetails:function(){var e=this.mergedConfig,t=e.data,r=e.formatter;if(t.length){var n=Math.max.apply(Math,Object(o["a"])(t));this.details=r.replace("{value}",n)}else this.details=""},addWave:function(){var e=this.renderer,t=this.getWaveShapes,r=this.getWaveStyle,n=this.drawed,i=t(),o=r();this.waves=i.map((function(t){return e.add({name:"smoothline",animationFrame:300,shape:t,style:o,drawed:n})}))},getWaveShapes:function(){var e=this.mergedConfig,t=this.renderer,r=this.mergeOffset,n=e.waveNum,i=e.waveHeight,o=e.data,a=Object(d["a"])(t.area,2),s=a[0],l=a[1],u=4*n+4,c=s/n/2;return o.map((function(e){var t=new Array(u).fill(0).map((function(t,r){var n=s-c*r,o=(1-e/100)*l,a=r%2===0?o:o-i;return[n,a]}));return t=t.map((function(e){return r(e,[2*c,0])})),{points:t}}))},mergeOffset:function(e,t){var r=Object(d["a"])(e,2),n=r[0],i=r[1],o=Object(d["a"])(t,2),a=o[0],s=o[1];return[n+a,i+s]},getWaveStyle:function(){var e=this.renderer,t=this.mergedConfig,r=e.area[1];return{gradientColor:t.colors,gradientType:"linear",gradientParams:[0,0,0,r],gradientWith:"fill",opacity:t.waveOpacity,translate:[0,0]}},drawed:function(e,t){var r=e.shape.points,n=t.ctx,i=t.area,o=r[0],a=r.slice(-1)[0],s=i[1];n.lineTo(a[0],s),n.lineTo(o[0],s),n.closePath(),n.fill()},animationWave:function(){var e=Object(vr["a"])(Object(gr["a"])().mark((function e(){var t,r,n,i,o,a=arguments;return Object(gr["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:1,r=this.waves,n=this.renderer,i=this.animation,!i){e.next=4;break}return e.abrupt("return");case 4:return this.animation=!0,o=n.area[0],r.forEach((function(e){e.attr("style",{translate:[0,0]}),e.animation("style",{translate:[o,0]},!0)})),e.next=9,n.launchAnimation();case 9:if(this.animation=!1,n.graphs.length){e.next=12;break}return e.abrupt("return");case 12:this.animationWave(t+1);case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){var e=this.init;e()},beforeDestroy:function(){var e=this.renderer;e.delAllGraph(),this.waves=[]}},sn=an,ln=Object(y["a"])(sn,nn,on,!1,null,null,null);ln.exports;r.d(t,"a",(function(){return R})),r.d(t,"b",(function(){return Ke})),r.d(t,"c",(function(){return fr})),r.d(t,"d",(function(){return Er})),r.d(t,"e",(function(){return Yr})),r.d(t,"f",(function(){return rn}))},"6c37":function(e,t,r){"use strict";r("386b")("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},"6c7b":function(e,t,r){var n=r("5ca1");n(n.P,"Array",{fill:r("36bd")}),r("9c6c")("fill")},"6ccd":function(e,t,r){},"6ce3":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"6d08":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return function(t){var r=e,n=r.lib,i=n.CipherParams,o=r.enc,a=o.Hex,s=r.format;s.Hex={stringify:function(e){return e.ciphertext.toString(a)},parse:function(e){var t=a.parse(e);return i.create({ciphertext:t})}}}(),e.format.Hex}))},"6d67":function(e,t,r){"use strict";var n=r("5ca1"),i=r("0a49")(1);n(n.P+n.F*!r("2f21")([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},"6d79":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},r=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}});return r}))},"6d83":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"6d8b":function(e,t,r){"use strict";r.d(t,"p",(function(){return g})),r.d(t,"G",(function(){return v})),r.d(t,"d",(function(){return y})),r.d(t,"I",(function(){return b})),r.d(t,"J",(function(){return _})),r.d(t,"m",(function(){return w})),r.d(t,"i",(function(){return x})),r.d(t,"r",(function(){return k})),r.d(t,"s",(function(){return S})),r.d(t,"K",(function(){return M})),r.d(t,"u",(function(){return C})),r.d(t,"k",(function(){return T})),r.d(t,"H",(function(){return O})),r.d(t,"N",(function(){return L})),r.d(t,"n",(function(){return A})),r.d(t,"o",(function(){return D})),r.d(t,"F",(function(){return E})),r.d(t,"c",(function(){return j})),r.d(t,"h",(function(){return P})),r.d(t,"t",(function(){return R})),r.d(t,"w",(function(){return N})),r.d(t,"C",(function(){return B})),r.d(t,"D",(function(){return Y})),r.d(t,"z",(function(){return F})),r.d(t,"A",(function(){return z})),r.d(t,"E",(function(){return V})),r.d(t,"v",(function(){return U})),r.d(t,"x",(function(){return W})),r.d(t,"y",(function(){return $})),r.d(t,"B",(function(){return G})),r.d(t,"l",(function(){return q})),r.d(t,"O",(function(){return X})),r.d(t,"P",(function(){return K})),r.d(t,"Q",(function(){return Z})),r.d(t,"S",(function(){return J})),r.d(t,"M",(function(){return Q})),r.d(t,"b",(function(){return ee})),r.d(t,"T",(function(){return te})),r.d(t,"R",(function(){return ne})),r.d(t,"f",(function(){return ue})),r.d(t,"e",(function(){return ce})),r.d(t,"g",(function(){return de})),r.d(t,"j",(function(){return he})),r.d(t,"q",(function(){return fe})),r.d(t,"L",(function(){return pe})),r.d(t,"a",(function(){return me}));var n=r("726e"),i=L(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),o=L(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,d=s.map,h=function(){}.constructor,f=h?h.prototype:null,p="__proto__",m=2311;function g(){return m++}function v(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!==typeof console&&console.error.apply(console,e)}function y(e){if(null==e||"object"!==typeof e)return e;var t=e,r=a.call(e);if("[object Array]"===r){if(!ie(e)){t=[];for(var n=0,s=e.length;n<s;n++)t[n]=y(e[n])}}else if(o[r]){if(!ie(e)){var l=e.constructor;if(l.from)t=l.from(e);else{t=new l(e.length);for(n=0,s=e.length;n<s;n++)t[n]=e[n]}}}else if(!i[r]&&!ie(e)&&!U(e))for(var u in t={},e)e.hasOwnProperty(u)&&u!==p&&(t[u]=y(e[u]));return t}function b(e,t,r){if(!z(t)||!z(e))return r?y(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==p){var i=e[n],o=t[n];!z(o)||!z(i)||R(o)||R(i)||U(o)||U(i)||H(o)||H(i)||ie(o)||ie(i)?!r&&n in e||(e[n]=y(t[n])):b(i,o,r)}return e}function _(e,t){for(var r=e[0],n=1,i=e.length;n<i;n++)r=b(r,e[n],t);return r}function w(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==p&&(e[r]=t[r]);return e}function x(e,t,r){for(var n=E(t),i=0;i<n.length;i++){var o=n[i];(r?null!=t[o]:null==e[o])&&(e[o]=t[o])}return e}n["d"].createCanvas;function k(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function S(e,t){var r=e.prototype;function n(){}for(var i in n.prototype=t.prototype,e.prototype=new n,r)r.hasOwnProperty(i)&&(e.prototype[i]=r[i]);e.prototype.constructor=e,e.superClass=t}function M(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var o=n[i];"constructor"!==o&&(r?null!=t[o]:null==e[o])&&(e[o]=t[o])}else x(e,t,r)}function C(e){return!!e&&("string"!==typeof e&&"number"===typeof e.length)}function T(e,t,r){if(e&&t)if(e.forEach&&e.forEach===l)e.forEach(t,r);else if(e.length===+e.length)for(var n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(r,e[o],o,e)}function O(e,t,r){if(!e)return[];if(!t)return J(e);if(e.map&&e.map===d)return e.map(t,r);for(var n=[],i=0,o=e.length;i<o;i++)n.push(t.call(r,e[i],i,e));return n}function L(e,t,r,n){if(e&&t){for(var i=0,o=e.length;i<o;i++)r=t.call(n,r,e[i],i,e);return r}}function A(e,t,r){if(!e)return[];if(!t)return J(e);if(e.filter&&e.filter===u)return e.filter(t,r);for(var n=[],i=0,o=e.length;i<o;i++)t.call(r,e[i],i,e)&&n.push(e[i]);return n}function D(e,t,r){if(e&&t)for(var n=0,i=e.length;n<i;n++)if(t.call(r,e[n],n,e))return e[n]}function E(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function I(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return e.apply(t,r.concat(c.call(arguments)))}}var j=f&&N(f.bind)?f.call.bind(f.bind):I;function P(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(c.call(arguments)))}}function R(e){return Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)}function N(e){return"function"===typeof e}function B(e){return"string"===typeof e}function Y(e){return"[object String]"===a.call(e)}function F(e){return"number"===typeof e}function z(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function H(e){return!!i[a.call(e)]}function V(e){return!!o[a.call(e)]}function U(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function W(e){return null!=e.colorStops}function $(e){return null!=e.image}function G(e){return"[object RegExp]"===a.call(e)}function q(e){return e!==e}function X(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e.length;r<n;r++)if(null!=e[r])return e[r]}function K(e,t){return null!=e?e:t}function Z(e,t,r){return null!=e?e:null!=t?t:r}function J(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return c.apply(e,t)}function Q(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function ee(e,t){if(!e)throw new Error(t)}function te(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var re="__ec_primitive__";function ne(e){e[re]=!0}function ie(e){return e[re]}var oe=function(){function e(){this.data={}}return e.prototype["delete"]=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return E(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var r in t)t.hasOwnProperty(r)&&e(t[r],r)},e}(),ae="function"===typeof Map;function se(){return ae?new Map:new oe}var le=function(){function e(t){var r=R(t);this.data=se();var n=this;function i(e,t){r?n.set(e,t):n.set(t,e)}t instanceof e?t.each(i):t&&T(t,i)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach((function(r,n){e.call(t,r,n)}))},e.prototype.keys=function(){var e=this.data.keys();return ae?Array.from(e):e},e.prototype.removeKey=function(e){this.data["delete"](e)},e}();function ue(e){return new le(e)}function ce(e,t){for(var r=new e.constructor(e.length+t.length),n=0;n<e.length;n++)r[n]=e[n];var i=e.length;for(n=0;n<t.length;n++)r[n+i]=t[n];return r}function de(e,t){var r;if(Object.create)r=Object.create(e);else{var n=function(){};n.prototype=e,r=new n}return t&&w(r,t),r}function he(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function fe(e,t){return e.hasOwnProperty(t)}function pe(){}var me=180/Math.PI},"6dc5":function(e,t,r){!function(t,r){e.exports=r()}("undefined"!=typeof self&&self,(function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(e,t){function r(e,t){var r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var o=n(i);return[r].concat(i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}))).concat([o]).join("\n")}return[r].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}},function(e,t,r){function n(e){for(var t=0;t<e.length;t++){var r=e[t],n=c[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(o(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(o(r.parts[i]));c[r.id]={id:r.id,refs:1,parts:a}}}}function i(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function o(e){var t,r,n=document.querySelector("style["+v+'~="'+e.id+'"]');if(n){if(p)return m;n.parentNode.removeChild(n)}if(y){var o=f++;n=h||(h=i()),t=a.bind(null,n,o,!1),r=a.bind(null,n,o,!0)}else n=i(),t=s.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}function a(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function s(e,t){var r=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),g.ssrId&&e.setAttribute(v,t.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=r(8),c={},d=l&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,p=!1,m=function(){},g=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,r,i){p=r,g=i||{};var o=u(e,t);return n(o),function(t){for(var r=[],i=0;i<o.length;i++){var a=o[i],s=c[a.id];s.refs--,r.push(s)}t?(o=u(e,t),n(o)):o=[];for(i=0;i<r.length;i++){s=r[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete c[s.id]}}}};var b=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,r,n,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):n&&(u=n),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(e,t){return u.call(t),h(e,t)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,r){"use strict";var n=r(9);t.a={name:"vue-waterfall-easy",components:{alink:n.a},props:{width:{type:Number},height:{type:[Number,String]},reachBottomDistance:{type:Number,default:20},loadingDotCount:{type:Number,default:3},loadingDotStyle:{type:Object},gap:{type:Number,default:20},mobileGap:{type:Number,default:8},maxCols:{type:Number,default:5},imgsArr:{type:Array,required:!0},srcKey:{type:String,default:"src"},hrefKey:{type:String,default:"href"},imgWidth:{type:Number,default:240},isRouterLink:{type:Boolean,default:!1},linkRange:{type:String,default:"card"},loadingTimeOut:{type:Number,default:500},cardAnimationClass:{type:[String],default:"default-card-animation"},enablePullDownEvent:{type:Boolean,default:!1}},data:function(){return{msg:"this is from vue-waterfall-easy.vue",isMobile:!!navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i),isPreloading:!0,isPreloading_c:!0,imgsArr_c:[],loadedCount:0,cols:NaN,imgBoxEls:null,beginIndex:0,colsHeightArr:[],LoadingTimer:null,isFirstLoad:!0,over:!1}},computed:{colWidth:function(){return this.imgWidth+this.gap},imgWidth_c:function(){return this.isMobile?window.innerWidth/2-this.mobileGap:this.imgWidth},hasLoadingSlot:function(){return!!this.$scopedSlots.loading}},mounted:function(){var e=this;this.bindClickEvent(),this.loadingMiddle(),this.preload(),this.cols=this.calcuCols(),this.$on("preloaded",(function(){e.isFirstLoad=!1,e.imgsArr_c=e.imgsArr.concat([]),e.$nextTick((function(){e.isPreloading=!1,e.imgBoxEls=e.$el.getElementsByClassName("img-box"),e.waterfall()}))})),this.isMobile||this.width||window.addEventListener("resize",this.response),this.isMobile&&this.enablePullDownEvent&&this.pullDown(),this.scroll()},beforeDestroy:function(){window.removeEventListener("resize",this.response)},watch:{isPreloading:function(e,t){var r=this;e?setTimeout((function(){r.isPreloading&&(r.isPreloading_c=!0)}),this.loadingTimeOut):this.isPreloading_c=!1},imgsArr:function(e,t){(this.imgsArr_c.length>e.length||this.imgsArr_c.length>0&&e[0]&&!e[0]._height)&&this.reset(),this.preload()}},methods:{preload:function(e,t){var r=this;this.imgsArr.forEach((function(e,t){if(!(t<r.loadedCount)){if(!e[r.srcKey])return r.imgsArr[t]._height="0",void(++r.loadedCount==r.imgsArr.length&&r.$emit("preloaded"));var n=new Image;n.src=e[r.srcKey],n.onload=n.onerror=function(e){r.loadedCount++,r.imgsArr[t]._height="load"==e.type?Math.round(r.imgWidth_c/(n.width/n.height)):r.isMobile?r.imgWidth_c:r.imgWidth,"error"==e.type&&(r.imgsArr[t]._error=!0,r.$emit("imgError",r.imgsArr[t])),r.loadedCount==r.imgsArr.length&&r.$emit("preloaded")}}}))},calcuCols:function(){var e=this.width?this.width:window.innerWidth,t=parseInt(e/this.colWidth);return t=0===t?1:t,this.isMobile?2:t>this.maxCols?this.maxCols:t},waterfall:function(){if(this.imgBoxEls){var e,t,r,n=this.isMobile?this.imgBoxEls[0].offsetWidth:this.colWidth;0==this.beginIndex&&(this.colsHeightArr=[]);for(var i=this.beginIndex;i<this.imgsArr.length;i++){if(!this.imgBoxEls[i])return;if(r=this.imgBoxEls[i].offsetHeight,i<this.cols)this.colsHeightArr.push(r),e=0,t=i*n;else{var o=Math.min.apply(null,this.colsHeightArr),a=this.colsHeightArr.indexOf(o);e=o,t=a*n,this.colsHeightArr[a]=o+r}this.imgBoxEls[i].style.left=t+"px",this.imgBoxEls[i].style.top=e+"px"}this.beginIndex=this.imgsArr.length}},response:function(){var e=this.cols;this.cols=this.calcuCols(),e!==this.cols&&(this.beginIndex=0,this.waterfall(),this.over&&this.setOverTipPos())},scrollFn:function(){var e=this.$refs.scrollEl;if(!this.isPreloading){var t=Math.min.apply(null,this.colsHeightArr);e.scrollTop+e.offsetHeight>t-this.reachBottomDistance&&(this.isPreloading=!0,this.$emit("scrollReachBottom"))}},scroll:function(){this.$refs.scrollEl.addEventListener("scroll",this.scrollFn)},waterfallOver:function(){this.$refs.scrollEl.removeEventListener("scroll",this.scrollFn),this.isPreloading=!1,this.over=!0,this.setOverTipPos()},setOverTipPos:function(){var e=this,t=Math.max.apply(null,this.colsHeightArr);this.$nextTick((function(){e.$refs.over.style.top=t+"px"}))},bindClickEvent:function(){var e=this;this.$el.querySelector(".vue-waterfall-easy").addEventListener("click",(function(t){var r=t.target;if(-1===t.target.className.indexOf("over")&&-1==r.className.indexOf("img-box")){for(;-1==r.className.indexOf("img-inner-box");)r=r.parentNode;var n=r.getAttribute("data-index");e.$emit("click",t,{index:n,value:e.imgsArr_c[n]})}}))},pullDown:function(){var e,t=this,r=this.$el.querySelector(".vue-waterfall-easy-scroll");r.addEventListener("touchmove",(function(n){if(0===r.scrollTop){var i=n.changedTouches[0];e||(e=i.pageY);var o=i.pageY-e;o>0&&n.preventDefault(),t.$emit("pullDownMove",o)}})),r.addEventListener("touchend",(function(n){0===r.scrollTop&&(e=NaN,t.$emit("pullDownEnd"))}))},loadingMiddle:function(){var e=this.$el.querySelector(".vue-waterfall-easy-scroll"),t=e.offsetWidth-e.clientWidth;this.$el.querySelector(".loading").style.marginLeft=-t/2+"px"},reset:function(){this.imgsArr_c=[],this.beginIndex=0,this.loadedCount=0,this.isFirstLoad=!0,this.isPreloading=!0,this.scroll(),this.over=!1}}}},function(e,t,r){"use strict";t.a={name:"alink",props:["to"],data:function(){return{msg:"this is from alink.vue"}},methods:{}}},function(e,t,r){"use strict";function n(e){a||r(6)}Object.defineProperty(t,"__esModule",{value:!0});var i=r(3),o=r(13),a=!1,s=r(2),l=n,u=s(i.a,o.a,!1,l,"data-v-ded6b974",null);u.options.__file="src\\vue-waterfall-easy\\vue-waterfall-easy.vue",t.default=u.exports},function(e,t,r){var n=r(7);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals),r(1)("5fd04388",n,!1,{})},function(e,t,r){t=e.exports=r(0)(!1),t.push([e.i,"\n.vue-waterfall-easy-container[data-v-ded6b974] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy-scroll[data-v-ded6b974] {\n position: relative;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy[data-v-ded6b974] {\n position: absolute;\n width: 100%;\n}\n@-webkit-keyframes show-card-data-v-ded6b974 {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes show-card-data-v-ded6b974 {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n.vue-waterfall-easy-container .vue-waterfall-easy > .img-box[data-v-ded6b974] {\n position: absolute;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 50%;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy > .img-box.default-card-animation[data-v-ded6b974] {\n -webkit-animation: show-card-data-v-ded6b974 0.4s;\n animation: show-card-data-v-ded6b974 0.4s;\n -webkit-transition: left 0.6s, top 0.6s;\n transition: left 0.6s, top 0.6s;\n -webkit-transition-delay: 0.1s;\n transition-delay: 0.1s;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy a[data-v-ded6b974] {\n display: block;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy a.img-inner-box[data-v-ded6b974] {\n -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy .__err__ .img-wraper[data-v-ded6b974] {\n background-image: url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjk1M0JCM0QwNkVFNDExRThCNTJCQUQ2RDFGQzg0NzIxIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk1M0JCM0NGNkVFNDExRThCNTJCQUQ2RDFGQzg0NzIxIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTYwRUMyMDE2RUUzMTFFOEJCRTU5RTFDODg1ODgwMjYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTYwRUMyMDI2RUUzMTFFOEJCRTU5RTFDODg1ODgwMjYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAQCwsLDAsQDAwQFw8NDxcbFBAQFBsfFxcXFxcfHhcaGhoaFx4eIyUnJSMeLy8zMy8vQEBAQEBAQEBAQEBAQEBAAREPDxETERUSEhUUERQRFBoUFhYUGiYaGhwaGiYwIx4eHh4jMCsuJycnLis1NTAwNTVAQD9AQEBAQEBAQEBAQED/wAARCACRAJEDASIAAhEBAxEB/8QAZQAAAwEBAQAAAAAAAAAAAAAAAAIDAQQHAQEAAAAAAAAAAAAAAAAAAAAAEAACAQMDBAEFAAMBAAAAAAAAAQIRMQMhQRJRYYEycZHBIkITsdFSYhEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A9AAAAAMFnNQWt9kAwkssVbV9CTnKb10XQVtLSyAd5ZuzURW27yfhmX9RlDI+wD4Vf/ZVi41SKCdeNI3YEnOXJtOiBZZr/wBGcMi2Ft7AXjli76PoOcqael0Mpyg9NV0A6QEhNTWl90MBoAAAAAAGGiTlxjXfZAZkycdEqyI3q26sOrd92CTm6bbsA1boh1i3lqPGKiqIZAYklYHY0x6tIDY2B3NdjEBgNJ3NACTxbx0E1TozoYsoqSowI2o06MtjyctGqSItODptsw6NX2YHSaJCXKNd90OAAAAYznnLnJvZWK5pUjRXloiNdwCjk0l9S0YqKohcSpGrvLUcDUBLK23x23FWNtVSAuHch/KXQP5PoBdqq77GJ1XfczFVKjVBcuPk6rXqBQCH8n0D+UugFwZD+bV1oNif5OOzQDyipKjI0cW0/qXYmVVjVXjqAkZcHXZ3OhHNXcthlWNHeOjAoAABDLKs6bISlWl1Busm+42Jfm30At2BmI1gRy+3gpD1XwTy+3gpH1QDASyt8uKdFuJRw1iwOjdBKy+TIutGbK3kAAxtJNuwiywdmA7s/glj9/BV04unQli9l8AWDsBjAhSja6D4pUnTZmZV+afUVOkk+4HUBgAc0bD4v2+fsJGw+L9vn7AVQMEDAjl9vBSHqvgnl9vBSHqvgDJwbfJC8JPSlEO5wTo3qMnUDEqNGz0jXoD08BRSXyBB/m6u2xvFPQ1qjoDAVNxqv1ZuJUnT5BGw9/AFQYAwJZf1+fsJKw+X9fn7CSsB0AAAc7VG13GxP82uoZFSbezFWkkwOgGCBgRy15adDZTaioq7QZPfwZQDFFfPc2MnB0vE1AwCc+WituPjaS4kzU6agPkS9hEVeqJJU0AAh7+ACHv4AqAAwI5X+aXQVKrS7g3WTY2ONZp7IC9AAAJ5lWNf+dSV1XqdL1VGc8lxk47bAUxyqqO60GIpuL5LyuxZNNVVtmAmVfkpbbi1RYAI1QVRYAI1QJ1aRYzdAbJ8Y1I1RZggI1SNxL8uW1NCoAYxckqKiu9Bm0lV23ZFtyfJ+F2Ayyr0K4VSNf8ArUnFcpKO250LRUQABoAYLkhzXdWHMA5u26uNGXF9tx8uOusfYlbTcC6aaqrdTTnTlHVfQrHJF6PRsBwAAC5i9vg0xbgaAIAAxtJVduosskVotWiTcpav6ANKXJ9the27sF9NyuLHTWXsA2OHBd3cYDQAAAAAAAwSeNS1syhgHNRxdJfUK10ujoaTuJLCrp0Amm1Ztdhv6z3Sfkxwmu4leqoBT+1P1f8AkZy4469daEaopllRqPRAH9ZOyp5Fbbu2+xmuyGUJvsAtaaWQUcnSP1Kxwq7dR0krALDGo63Y4GgAAAAAAAAAAAAAAAAAshJ7AAGK6B3YABsNx4gADAAAAAAAAAAAAAf/2Q==);\n background-repeat: no-repeat;\n background-position: center;\n background-size: 50% 50%;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy .__err__ .img-wraper img[data-v-ded6b974] {\n display: none;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy a.img-wraper > img[data-v-ded6b974] {\n width: 100%;\n display: block;\n border: none;\n}\n.vue-waterfall-easy-container .vue-waterfall-easy .over[data-v-ded6b974] {\n position: absolute;\n width: 100%;\n text-align: center;\n font-size: 12px;\n line-height: 1.6;\n color: #aaa;\n}\n.vue-waterfall-easy-container > .loading.first[data-v-ded6b974] {\n bottom: 50%;\n -webkit-transform: translate(-50%, 50%);\n transform: translate(-50%, 50%);\n}\n.vue-waterfall-easy-container > .loading[data-v-ded6b974] {\n position: absolute;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n bottom: 6px;\n z-index: 999;\n}\n@-webkit-keyframes ball-beat-data-v-ded6b974 {\n50% {\n opacity: 0.2;\n -webkit-transform: scale(0.75);\n transform: scale(0.75);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes ball-beat-data-v-ded6b974 {\n50% {\n opacity: 0.2;\n -webkit-transform: scale(0.75);\n transform: scale(0.75);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n.vue-waterfall-easy-container > .loading.ball-beat > .dot[data-v-ded6b974] {\n vertical-align: bottom;\n background-color: #4b15ab;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n margin: 3px;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n display: inline-block;\n -webkit-animation: ball-beat-data-v-ded6b974 0.7s 0s infinite linear;\n animation: ball-beat-data-v-ded6b974 0.7s 0s infinite linear;\n}\n.vue-waterfall-easy-container > .loading.ball-beat > .dot[data-v-ded6b974]:nth-child(2n-1) {\n -webkit-animation-delay: 0.35s;\n animation-delay: 0.35s;\n}\n",""])},function(e,t){e.exports=function(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],l=o[2],u=o[3],c={id:e+":"+i,css:s,media:l,sourceMap:u};n[a]?n[a].parts.push(c):r.push(n[a]={id:a,parts:[c]})}return r}},function(e,t,r){"use strict";function n(e){a||r(10)}var i=r(4),o=r(12),a=!1,s=r(2),l=n,u=s(i.a,o.a,!1,l,null,null);u.options.__file="src\\vue-waterfall-easy\\components\\alink.vue",t.a=u.exports},function(e,t,r){var n=r(11);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals),r(1)("75b4b0a0",n,!1,{})},function(e,t,r){t=e.exports=r(0)(!1),t.push([e.i,"",""])},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("a",{staticClass:"alink",attrs:{href:e.to,target:"_blank"}},[e._t("default")],2)},i=[];n._withStripped=!0;var o={render:n,staticRenderFns:i};t.a=o},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"vue-waterfall-easy-container",style:{width:e.width&&!e.isMobile?e.width+"px":"",height:parseFloat(e.height)==e.height?e.height+"px":e.height}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isPreloading_c,expression:"isPreloading_c"}],staticClass:"loading ball-beat",class:{first:e.isFirstLoad}},[e._t("loading",null,{isFirstLoad:e.isFirstLoad}),e._l(e.loadingDotCount,(function(t){return e.hasLoadingSlot?e._e():r("div",{staticClass:"dot",style:e.loadingDotStyle})}))],2),r("div",{ref:"scrollEl",staticClass:"vue-waterfall-easy-scroll"},[e._t("waterfall-head"),r("div",{staticClass:"vue-waterfall-easy",style:e.isMobile?"":{width:e.colWidth*e.cols+"px",left:"50%",marginLeft:-1*e.colWidth*e.cols/2+"px"}},[e._l(e.imgsArr_c,(function(t,n){return r("div",{staticClass:"img-box",class:[e.cardAnimationClass,{__err__:t._error}],style:{padding:(e.isMobile?e.mobileGap:e.gap)/2+"px",width:e.isMobile?"":e.colWidth+"px"}},[r(e.isRouterLink&&"card"==e.linkRange?"router-link":"alink",{tag:"component",staticClass:"img-inner-box",attrs:{"data-index":n,to:"card"==e.linkRange&&t[e.hrefKey]}},[t[e.srcKey]?r(e.isRouterLink&&"img"==e.linkRange?"router-link":"alink",{tag:"component",staticClass:"img-wraper",style:{width:e.imgWidth_c+"px",height:!!t._height&&t._height+"px"},attrs:{to:"img"==e.linkRange&&t[e.hrefKey]}},[r("img",{attrs:{src:t[e.srcKey]}})]):e._e(),e._t("default",null,{index:n,value:t})],2)],1)})),e.over?r("div",{ref:"over",staticClass:"over"},[e._t("waterfall-over",[e._v("被你看光了")])],2):e._e()],2)],2)])},i=[];n._withStripped=!0;var o={render:n,staticRenderFns:i};t.a=o}]).default}))},"6dd8":function(e,t,r){"use strict";r.r(t),function(e){var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var r=-1;return e.some((function(e,n){return e[0]===t&&(r=n,!0)})),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];e.call(t,i[1],i[0])}},t}()}(),n="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function s(e,t){var r=!1,n=!1,i=0;function s(){r&&(r=!1,e()),n&&u()}function l(){o(s)}function u(){var e=Date.now();if(r){if(e-i<a)return;n=!0}else r=!0,n=!1,setTimeout(l,t);i=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t,n=u.some((function(e){return!!~r.indexOf(e)}));n&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=S(0,0,0,0);function m(e){return parseFloat(e)||0}function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce((function(t,r){var n=e["border-"+r+"-width"];return t+m(n)}),0)}function v(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var o=i[n],a=e["padding-"+o];r[o]=m(a)}return r}function y(e){var t=e.getBBox();return S(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return p;var n=f(e).getComputedStyle(e),i=v(n),o=i.left+i.right,a=i.top+i.bottom,s=m(n.width),l=m(n.height);if("border-box"===n.boxSizing&&(Math.round(s+o)!==t&&(s-=g(n,"left","right")+o),Math.round(l+a)!==r&&(l-=g(n,"top","bottom")+a)),!w(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-r;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return S(i.left,i.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===f(e).document.documentElement}function x(e){return n?_(e)?y(e):b(e):p}function k(e){var t=e.x,r=e.y,n=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return h(a,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),a}function S(e,t,r,n){return{x:e,y:t,width:r,height:n}}var M=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=x(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(){function e(e,t){var r=k(t);h(this,{target:e,contentRect:r})}return e}(),T=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new M(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new C(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),O="undefined"!==typeof WeakMap?new WeakMap:new r,L=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=d.getInstance(),n=new T(t,r,this);O.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach((function(e){L.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));var A=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:L}();t["default"]=A}.call(this,r("24aa"))},"6e98":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6eb9":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineConfig=void 0;var n={show:!0,name:"",stack:"",smooth:!1,xAxisIndex:0,yAxisIndex:0,data:[],lineStyle:{lineWidth:1},linePoint:{show:!0,radius:2,style:{fill:"#fff",lineWidth:1}},lineArea:{show:!1,gradient:[],style:{opacity:.5}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};t.lineConfig=n},"6f12":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6f50":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},"6fc2":function(e,t,r){},7037:function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},7074:function(e,t,r){"use strict";var n=r("2ef0"),i=r("2655");e.exports=function(e){if("object"!==typeof e)throw new Error("An adapter must be provided, see https://github.com/typicode/lowdb/#usage");var t=n.runInContext(),r=t.chain({});function o(e){return r.__wrapped__=e,r}return t.prototype.write=t.wrap(t.prototype.value,(function(e){var t=e.apply(this);return r.write(t)})),r._=t,r.read=function(){var t=e.read();return i(t)?t.then(o):o(t)},r.write=function(t){var n=e.write(r.getState());return i(n)?n.then((function(){return t})):t},r.getState=function(){return r.__wrapped__},r.setState=function(e){return o(e)},r.read()}},7118:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),n=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return n}))},"71c1":function(e,t,r){var n=r("3a38"),i=r("25eb");e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"71f1":function(e,t,r){"use strict";var n=r("5ca1"),i=r("c45f"),o=r("4bf8"),a=r("9def"),s=r("4588"),l=r("cd1c");n(n.P,"Array",{flatten:function(){var e=arguments[0],t=o(this),r=a(t.length),n=l(t,0);return i(n,t,t,r,0,void 0===e?1:s(e)),n}}),r("9c6c")("flatten")},7212:function(e,t,r){!function(t,n){e.exports=n(r("d090"))}(0,(function(e){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(t,r){t.exports=e},function(e,t){e.exports=function(e,t,r,n,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):n&&(u=n),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(e,t){return u.call(t),h(e,t)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5),i=r.n(n),o=r(8),a=r(1),s=a(i.a,o.a,!1,null,null,null);t.default=s.exports},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),i=r.n(n),o=r(7),a=r(1),s=a(i.a,o.a,!1,null,null,null);t.default=s.exports},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.swiperSlide=t.swiper=t.Swiper=void 0;var i=r(0),o=n(i),a=r(2),s=n(a),l=r(3),u=n(l),c=window.Swiper||o.default,d=u.default,h=s.default,f=function(e,t){t&&(u.default.props.globalOptions.default=function(){return t}),e.component(u.default.name,u.default),e.component(s.default.name,s.default)},p={Swiper:c,swiper:d,swiperSlide:h,install:f};t.default=p,t.Swiper=c,t.swiper=d,t.swiperSlide=h,t.install=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"swiper-slide",data:function(){return{slideClass:"swiper-slide"}},ready:function(){this.update()},mounted:function(){this.update(),this.$parent&&this.$parent.options&&this.$parent.options.slideClass&&(this.slideClass=this.$parent.options.slideClass)},updated:function(){this.update()},attached:function(){this.update()},methods:{update:function(){this.$parent&&this.$parent.swiper&&this.$parent.update()}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n),o=window.Swiper||i.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])}return r},writable:!0,configurable:!0});var a=["beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize"];t.default={name:"swiper",props:{options:{type:Object,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},data:function(){return{swiper:null,classes:{wrapperClass:"swiper-wrapper"}}},ready:function(){this.swiper||this.mountInstance()},mounted:function(){if(!this.swiper){var e=!1;for(var t in this.classes)this.classes.hasOwnProperty(t)&&this.options[t]&&(e=!0,this.classes[t]=this.options[t]);e?this.$nextTick(this.mountInstance):this.mountInstance()}},activated:function(){this.update()},updated:function(){this.update()},beforeDestroy:function(){this.$nextTick((function(){this.swiper&&(this.swiper.destroy&&this.swiper.destroy(),delete this.swiper)}))},methods:{update:function(){this.swiper&&(this.swiper.update&&this.swiper.update(),this.swiper.navigation&&this.swiper.navigation.update(),this.swiper.pagination&&this.swiper.pagination.render(),this.swiper.pagination&&this.swiper.pagination.update())},mountInstance:function(){var e=Object.assign({},this.globalOptions,this.options);this.swiper=new o(this.$el,e),this.bindEvents(),this.$emit("ready",this.swiper)},bindEvents:function(){var e=this,t=this;a.forEach((function(r){e.swiper.on(r,(function(){t.$emit.apply(t,[r].concat(Array.prototype.slice.call(arguments))),t.$emit.apply(t,[r.replace(/([A-Z])/g,"-$1").toLowerCase()].concat(Array.prototype.slice.call(arguments)))}))}))}}}},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"swiper-container"},[e._t("parallax-bg"),e._v(" "),r("div",{class:e.classes.wrapperClass},[e._t("default")],2),e._v(" "),e._t("pagination"),e._v(" "),e._t("button-prev"),e._v(" "),e._t("button-next"),e._v(" "),e._t("scrollbar")],2)},i=[],o={render:n,staticRenderFns:i};t.a=o},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.slideClass},[e._t("default")],2)},i=[],o={render:n,staticRenderFns:i};t.a=o}])}))},"726e":function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return h}));var n=12,i="sans-serif",o=n+"px "+i,a=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(e){var t={};if("undefined"===typeof JSON)return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-a)/s;t[n]=i}return t}var c=u(l),d={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,i){if(!e){var a=d.createCanvas();e=a&&a.getContext("2d")}if(e)return t!==i&&(t=e.font=i||o),e.measureText(r);r=r||"",i=i||o;var s=/(\d+)px/.exec(i),l=s&&+s[1]||n,u=0;if(i.indexOf("mono")>=0)u=l*r.length;else for(var h=0;h<r.length;h++){var f=c[r[h]];u+=null==f?l:f*l}return{width:u}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}};function h(e){for(var t in d)e[t]&&(d[t]=e[t])}},"729b":function(e,t,r){r("c6a1")("Map")},"729e":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.pie=p;var i=n(r("9523")),o=n(r("7037")),a=n(r("278c")),s=n(r("448a")),l=r("18ad"),u=r("222a"),c=r("5557"),d=r("becb");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.series;r||(r=[]);var n=(0,d.initNeedSeries)(r,u.pieConfig,"pie");n=m(n,e),n=g(n,e),n=y(n,e),n=w(n),n=S(n,e),n=C(n),n=O(n),n=L(n),(0,l.doUpdate)({chart:e,series:n,key:"pie",getGraphConfig:P,getStartGraphConfig:R,beforeChange:N}),(0,l.doUpdate)({chart:e,series:n,key:"pieInsideLabel",getGraphConfig:F}),(0,l.doUpdate)({chart:e,series:n,key:"pieOutsideLabelLine",getGraphConfig:V,getStartGraphConfig:U}),(0,l.doUpdate)({chart:e,series:n,key:"pieOutsideLabel",getGraphConfig:G,getStartGraphConfig:q})}function m(e,t){var r=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*r[t]})),e.center=t})),e}function g(e,t){var r=Math.min.apply(Math,(0,s["default"])(t.render.area))/2;return e.forEach((function(e){var t=e.radius,n=e.data;t=v(t,r),n.forEach((function(e){var n=e.radius;n||(n=t),n=v(n,r),e.radius=n})),e.radius=t})),e}function v(e,t){return e instanceof Array||(e=[0,e]),e=e.map((function(e){return"number"===typeof e?e:parseInt(e)/100*t})),e}function y(e,t){var r=e.filter((function(e){var t=e.roseType;return t}));return r.forEach((function(e){var t=e.radius,r=e.data,n=e.roseSort,i=_(e),o=(0,s["default"])(r);r=b(r),r.forEach((function(e,r){e.radius[1]=t[1]-i*r})),n?r.reverse():e.data=o,e.roseIncrement=i})),e}function b(e){return e.sort((function(e,t){var r=e.value,n=t.value;return r===n?0:r>n?-1:r<n?1:void 0}))}function _(e){var t=e.radius,r=e.roseIncrement;if("number"===typeof r)return r;if("auto"===r){var n=e.data,i=n.reduce((function(e,t){var r=t.radius;return[].concat((0,s["default"])(e),(0,s["default"])(r))}),[]),o=Math.min.apply(Math,(0,s["default"])(i)),a=Math.max.apply(Math,(0,s["default"])(i));return.6*(a-o)/(n.length-1||1)}return parseInt(r)/100*t[1]}function w(e){return e.forEach((function(e){var t=e.data,r=e.percentToFixed,n=k(t);t.forEach((function(e){var t=e.value;e.percent=t/n*100,e.percentForLabel=x(t/n*100,r)}));var i=(0,d.mulAdd)(t.slice(0,-1).map((function(e){var t=e.percent;return t})));t.slice(-1)[0].percent=100-i,t.slice(-1)[0].percentForLabel=x(100-i,r)})),e}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.toString(),n=r.split("."),i=n[1]||"0",o=i.slice(0,t);return n[1]=o,parseFloat(n.join("."))}function k(e){return(0,d.mulAdd)(e.map((function(e){var t=e.value;return t})))}function S(e){return e.forEach((function(e){var t=e.startAngle,r=e.data;r.forEach((function(e,n){var i=M(r,n),o=(0,a["default"])(i,2),s=o[0],l=o[1];e.startAngle=t+s,e.endAngle=t+l}))})),e}function M(e,t){var r=2*Math.PI,n=e.slice(0,t+1),i=(0,d.mulAdd)(n.map((function(e){var t=e.percent;return t}))),o=e[t].percent,a=i-o;return[r*a/100,r*i/100]}function C(e){return e.forEach((function(e){var t=e.data;t.forEach((function(t){t.insideLabelPos=T(e,t)}))})),e}function T(e,t){var r=e.center,n=t.startAngle,i=t.endAngle,o=(0,a["default"])(t.radius,2),l=o[0],u=o[1],d=(l+u)/2,h=(n+i)/2;return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([d,h]))}function O(e){return e.forEach((function(e){var t=e.data,r=e.center;t.forEach((function(e){var t=e.startAngle,n=e.endAngle,i=e.radius,o=(t+n)/2,a=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([i[1],o]));e.edgeCenterPos=a}))})),e}function L(e){return e.forEach((function(e){var t=E(e),r=E(e,!1);t=I(t),r=I(r),j(t,e),j(r,e,!1)})),e}function A(e){var t=e.outsideLabel.labelLineBendGap,r=D(e);return"number"!==typeof t&&(t=parseInt(t)/100*r),t+r}function D(e){var t=e.data,r=t.map((function(e){var t=(0,a["default"])(e.radius,2),r=(t[0],t[1]);return r}));return Math.max.apply(Math,(0,s["default"])(r))}function E(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.data,n=e.center,i=n[0];return r.filter((function(e){var r=e.edgeCenterPos,n=r[0];return t?n<=i:n>i}))}function I(e){return e.sort((function(e,t){var r=(0,a["default"])(e.edgeCenterPos,2),n=(r[0],r[1]),i=(0,a["default"])(t.edgeCenterPos,2),o=(i[0],i[1]);return n>o?1:n<o?-1:n===o?0:void 0})),e}function j(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=t.center,i=t.outsideLabel,o=A(t);e.forEach((function(e){var t=e.edgeCenterPos,a=e.startAngle,l=e.endAngle,u=i.labelLineEndLength,h=(a+l)/2,f=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([o,h])),p=(0,s["default"])(f);p[0]+=u*(r?-1:1),e.labelLine=[t,f,p],e.labelLineLength=(0,d.getPolylineLength)(e.labelLine),e.align={textAlign:"left",textBaseline:"middle"},r&&(e.align.textAlign="right")}))}function P(e){var t=e.data,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"pie",index:i,animationCurve:r,animationFrame:n,shape:B(e,o),style:Y(e,o)}}))}function R(e){var t=e.animationDelayGap,r=e.startAnimationCurve,n=P(e);return n.forEach((function(e,n){e.animationCurve=r,e.animationDelay=n*t,e.shape.or=e.shape.ir})),n}function N(e){e.animationDelay=0}function B(e,t){var r=e.center,n=e.data,i=n[t],o=i.radius,a=i.startAngle,s=i.endAngle;return{startAngle:a,endAngle:s,ir:o[0],or:o[1],rx:r[0],ry:r[1]}}function Y(e,t){var r=e.pieStyle,n=e.data,i=n[t],o=i.color;return(0,d.deepMerge)({fill:o},r)}function F(e){var t=e.animationCurve,r=e.animationFrame,n=e.data,i=e.rLevel;return n.map((function(n,o){return{name:"text",index:i,visible:e.insideLabel.show,animationCurve:t,animationFrame:r,shape:z(e,o),style:H(e,o)}}))}function z(e,t){var r=e.insideLabel,n=e.data,i=r.formatter,a=n[t],s=(0,o["default"])(i),l="";return"string"===s&&(l=i.replace("{name}",a.name),l=l.replace("{percent}",a.percentForLabel),l=l.replace("{value}",a.value)),"function"===s&&(l=i(a)),{content:l,position:a.insideLabelPos}}function H(e,t){var r=e.insideLabel.style;return r}function V(e){var t=e.animationCurve,r=e.animationFrame,n=e.data,i=e.rLevel;return n.map((function(n,o){return{name:"polyline",index:i,visible:e.outsideLabel.show,animationCurve:t,animationFrame:r,shape:W(e,o),style:$(e,o)}}))}function U(e){var t=e.data,r=V(e);return r.forEach((function(e,r){e.style.lineDash=[0,t[r].labelLineLength]})),r}function W(e,t){var r=e.data,n=r[t];return{points:n.labelLine}}function $(e,t){var r=e.outsideLabel,n=e.data,i=r.labelLineStyle,o=n[t].color;return(0,d.deepMerge)({stroke:o,lineDash:[n[t].labelLineLength,0]},i)}function G(e){var t=e.animationCurve,r=e.animationFrame,n=e.data,i=e.rLevel;return n.map((function(n,o){return{name:"text",index:i,visible:e.outsideLabel.show,animationCurve:t,animationFrame:r,shape:X(e,o),style:K(e,o)}}))}function q(e){var t=e.data,r=G(e);return r.forEach((function(e,r){e.shape.position=t[r].labelLine[1]})),r}function X(e,t){var r=e.outsideLabel,n=e.data,i=r.formatter,a=n[t],s=a.labelLine,l=a.name,u=a.percentForLabel,c=a.value,d=(0,o["default"])(i),h="";return"string"===d&&(h=i.replace("{name}",l),h=h.replace("{percent}",u),h=h.replace("{value}",c)),"function"===d&&(h=i(n[t])),{content:h,position:s[2]}}function K(e,t){var r=e.outsideLabel,n=e.data,i=n[t],o=i.color,a=i.align,s=r.style;return(0,d.deepMerge)(f({fill:o},a),s)}},"72fe":function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,a=r.algo,s=[];(function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0})();var l=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],l=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],_=e[t+9],w=e[t+10],x=e[t+11],k=e[t+12],S=e[t+13],M=e[t+14],C=e[t+15],T=o[0],O=o[1],L=o[2],A=o[3];T=u(T,O,L,A,a,7,s[0]),A=u(A,T,O,L,l,12,s[1]),L=u(L,A,T,O,f,17,s[2]),O=u(O,L,A,T,p,22,s[3]),T=u(T,O,L,A,m,7,s[4]),A=u(A,T,O,L,g,12,s[5]),L=u(L,A,T,O,v,17,s[6]),O=u(O,L,A,T,y,22,s[7]),T=u(T,O,L,A,b,7,s[8]),A=u(A,T,O,L,_,12,s[9]),L=u(L,A,T,O,w,17,s[10]),O=u(O,L,A,T,x,22,s[11]),T=u(T,O,L,A,k,7,s[12]),A=u(A,T,O,L,S,12,s[13]),L=u(L,A,T,O,M,17,s[14]),O=u(O,L,A,T,C,22,s[15]),T=c(T,O,L,A,l,5,s[16]),A=c(A,T,O,L,v,9,s[17]),L=c(L,A,T,O,x,14,s[18]),O=c(O,L,A,T,a,20,s[19]),T=c(T,O,L,A,g,5,s[20]),A=c(A,T,O,L,w,9,s[21]),L=c(L,A,T,O,C,14,s[22]),O=c(O,L,A,T,m,20,s[23]),T=c(T,O,L,A,_,5,s[24]),A=c(A,T,O,L,M,9,s[25]),L=c(L,A,T,O,p,14,s[26]),O=c(O,L,A,T,b,20,s[27]),T=c(T,O,L,A,S,5,s[28]),A=c(A,T,O,L,f,9,s[29]),L=c(L,A,T,O,y,14,s[30]),O=c(O,L,A,T,k,20,s[31]),T=d(T,O,L,A,g,4,s[32]),A=d(A,T,O,L,b,11,s[33]),L=d(L,A,T,O,x,16,s[34]),O=d(O,L,A,T,M,23,s[35]),T=d(T,O,L,A,l,4,s[36]),A=d(A,T,O,L,m,11,s[37]),L=d(L,A,T,O,y,16,s[38]),O=d(O,L,A,T,w,23,s[39]),T=d(T,O,L,A,S,4,s[40]),A=d(A,T,O,L,a,11,s[41]),L=d(L,A,T,O,p,16,s[42]),O=d(O,L,A,T,v,23,s[43]),T=d(T,O,L,A,_,4,s[44]),A=d(A,T,O,L,k,11,s[45]),L=d(L,A,T,O,C,16,s[46]),O=d(O,L,A,T,f,23,s[47]),T=h(T,O,L,A,a,6,s[48]),A=h(A,T,O,L,y,10,s[49]),L=h(L,A,T,O,M,15,s[50]),O=h(O,L,A,T,g,21,s[51]),T=h(T,O,L,A,k,6,s[52]),A=h(A,T,O,L,p,10,s[53]),L=h(L,A,T,O,w,15,s[54]),O=h(O,L,A,T,l,21,s[55]),T=h(T,O,L,A,b,6,s[56]),A=h(A,T,O,L,C,10,s[57]),L=h(L,A,T,O,v,15,s[58]),O=h(O,L,A,T,S,21,s[59]),T=h(T,O,L,A,m,6,s[60]),A=h(A,T,O,L,x,10,s[61]),L=h(L,A,T,O,f,15,s[62]),O=h(O,L,A,T,_,21,s[63]),o[0]=o[0]+T|0,o[1]=o[1]+O|0,o[2]=o[2]+L|0,o[3]=o[3]+A|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var o=t.floor(n/4294967296),a=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,l=s.words,u=0;u<4;u++){var c=l[u];l[u]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+i+a;return(s<<o|s>>>32-o)+t}function c(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,r,n,i,o,a){var s=e+(t^r^n)+i+a;return(s<<o|s>>>32-o)+t}function h(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+i+a;return(s<<o|s>>>32-o)+t}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),e.MD5}))},7333:function(e,t,r){"use strict";var n=r("9e1e"),i=r("0d58"),o=r("2621"),a=r("52a7"),s=r("4bf8"),l=r("626a"),u=Object.assign;e.exports=!u||r("79e5")((function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||Object.keys(u({},t)).join("")!=n}))?function(e,t){var r=s(e),u=arguments.length,c=1,d=o.f,h=a.f;while(u>c){var f,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;while(g>v)f=m[v++],n&&!h.call(p,f)||(r[f]=p[f])}return r}:u},73332:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}});return t}))},"733c":function(e,t,r){},"744f":function(e,t,r){var n=r("5ca1");n(n.P,"Array",{copyWithin:r("ba92")}),r("9c6c")("copyWithin")},"74dc":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t}))},7514:function(e,t,r){"use strict";var n=r("5ca1"),i=r("0a49")(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),n(n.P+n.F*a,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")(o)},7558:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?i[r][0]:i[r][1]}function r(e){e=""+e;var t=e.substring(e.length-1),r=e.length>1?e.substring(e.length-2):"";return 12==r||13==r||"2"!=t&&"3"!=t&&"50"!=r&&"70"!=t&&"80"!=t?"ê":"yê"}var n=e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,r){return e<12?r?"bn":"BN":r?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var n=t.toLowerCase();return n.includes("w")||n.includes("m")?e+".":e+r(e)},week:{dow:1,doy:4}});return n}))},"759f":function(e,t,r){"use strict";var n=r("5ca1"),i=r("0a49")(3);n(n.P+n.F*!r("2f21")([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},"75fc":function(e,t,r){"use strict";var n=r("f410"),i=r.n(n),o=r("db2a");function a(e){if(i()(e))return Object(o["a"])(e)}var s=r("3953"),l=r("e630");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e){return a(e)||Object(s["a"])(e)||Object(l["a"])(e)||u()}r.d(t,"a",(function(){return c}))},7618:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r("f921"),i=r.n(n),o=r("d8d6"),a=r.n(o);function s(e){return s="function"==typeof i.a&&"symbol"==typeof a.a?function(e){return typeof e}:function(e){return e&&"function"==typeof i.a&&e.constructor===i.a&&e!==i.a.prototype?"symbol":typeof e},s(e)}},"764f":function(e,t,r){r("c6a1")("WeakMap")},"765d":function(e,t,r){r("6718")("observable")},"768b":function(e,t,r){"use strict";var n=r("178b"),i=r("f921"),o=r.n(i),a=r("d8d6"),s=r.n(a);function l(e,t){var r=null==e?null:"undefined"!=typeof o.a&&e[s.a]||e["@@iterator"];if(null!=r){var n,i,a,l,u=[],c=!0,d=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){d=!0,i=e}finally{try{if(!c&&null!=r["return"]&&(l=r["return"](),Object(l)!==l))return}finally{if(d)throw i}}return u}}var u=r("e630"),c=r("1df6");function d(e,t){return Object(n["a"])(e)||l(e,t)||Object(u["a"])(e,t)||Object(c["a"])()}r.d(t,"a",(function(){return d}))},7726:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},"77f1":function(e,t,r){var n=r("4588"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):o(e,t)}},7872:function(e,t,r){var n=r("5ca1");n(n.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},"788d":function(e,t,r){var n=r("5ca1"),i=r("6821"),o=r("9def");n(n.S,"String",{raw:function(e){var t=i(e.raw),r=o(t.length),n=arguments.length,a=[],s=0;while(r>s)a.push(String(t[s++])),s<n&&a.push(String(arguments[s]));return a.join("")}})},"78ce":function(e,t,r){var n=r("5ca1");n(n.S,"Date",{now:function(){return(new Date).getTime()}})},"794b":function(e,t,r){e.exports=!r("8e60")&&!r("294c")((function(){return 7!=Object.defineProperty(r("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e3":function(e,t,r){"use strict";(function(e){var t=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function n(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return t(e,[{key:"on",value:function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};var t=this._callbacks[e];if(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=t,a=!0,s=0;for(o=a?o:o[Symbol.iterator]();;){var l;if(a){if(s>=o.length)break;l=o[s++]}else{if(s=o.next(),s.done)break;l=s.value}var u=l;u.apply(this,n)}}return this}},{key:"off",value:function(e,t){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var r=this._callbacks[e];if(!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(var n=0;n<r.length;n++){var i=r[n];if(i===t){r.splice(n,1);break}}return this}}]),e}(),a=function(e){function a(e,t){i(this,a);var n=r(this,(a.__proto__||Object.getPrototypeOf(a)).call(this)),o=void 0,s=void 0;if(n.element=e,n.version=a.version,n.defaultOptions.previewTemplate=n.defaultOptions.previewTemplate.replace(/\n*/g,""),n.clickableElements=[],n.listeners=[],n.files=[],"string"===typeof n.element&&(n.element=document.querySelector(n.element)),!n.element||null==n.element.nodeType)throw new Error("Invalid dropzone element.");if(n.element.dropzone)throw new Error("Dropzone already attached.");a.instances.push(n),n.element.dropzone=n;var l,u=null!=(s=a.optionsForElement(n.element))?s:{};if(n.options=a.extend({},n.defaultOptions,u,null!=t?t:{}),n.options.forceFallback||!a.isBrowserSupported())return l=n.options.fallback.call(n),r(n,l);if(null==n.options.url&&(n.options.url=n.element.getAttribute("action")),!n.options.url)throw new Error("No URL provided.");if(n.options.acceptedFiles&&n.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(n.options.uploadMultiple&&n.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return n.options.acceptedMimeTypes&&(n.options.acceptedFiles=n.options.acceptedMimeTypes,delete n.options.acceptedMimeTypes),null!=n.options.renameFilename&&(n.options.renameFile=function(e){return n.options.renameFilename.call(n,e.name,e)}),n.options.method=n.options.method.toUpperCase(),(o=n.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),!1!==n.options.previewsContainer&&(n.options.previewsContainer?n.previewsContainer=a.getElement(n.options.previewsContainer,"previewsContainer"):n.previewsContainer=n.element),n.options.clickable&&(!0===n.options.clickable?n.clickableElements=[n.element]:n.clickableElements=a.getElements(n.options.clickable,"clickable")),n.init(),n}return n(a,e),t(a,null,[{key:"initClass",value:function(){this.prototype.Emitter=o,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(e,t,r){if(r)return{dzuuid:r.file.upload.uuid,dzchunkindex:r.index,dztotalfilesize:r.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:r.file.upload.totalChunkCount,dzchunkbyteoffset:r.index*this.options.chunkSize}},accept:function(e,t){return t()},chunksUploaded:function(e,t){t()},fallback:function(){var e=void 0;this.element.className=this.element.className+" dz-browser-not-supported";var t=this.element.getElementsByTagName("div"),r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i;if(/(^| )dz-message($| )/.test(o.className)){e=o,o.className="dz-message";break}}e||(e=a.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));var s=e.getElementsByTagName("span")[0];return s&&(null!=s.textContent?s.textContent=this.options.dictFallbackMessage:null!=s.innerText&&(s.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,r,n){var i={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},o=e.width/e.height;null==t&&null==r?(t=i.srcWidth,r=i.srcHeight):null==t?t=r*o:null==r&&(r=t/o),t=Math.min(t,i.srcWidth),r=Math.min(r,i.srcHeight);var a=t/r;if(i.srcWidth>t||i.srcHeight>r)if("crop"===n)o>a?(i.srcHeight=e.height,i.srcWidth=i.srcHeight*a):(i.srcWidth=e.width,i.srcHeight=i.srcWidth/a);else{if("contain"!==n)throw new Error("Unknown resizeMethod '"+n+"'");o>a?r=t/o:t=r*o}return i.srcX=(e.width-i.srcWidth)/2,i.srcY=(e.height-i.srcHeight)/2,i.trgWidth=t,i.trgHeight=r,i},transformFile:function(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>',drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function(e){},dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:function(e){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var t=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){e.previewElement=a.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement);var r=e.previewElement.querySelectorAll("[data-dz-name]"),n=!0,i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if(i=r.next(),i.done)break;o=i.value}var s=o;s.textContent=e.name}var l=e.previewElement.querySelectorAll("[data-dz-size]"),u=!0,c=0;for(l=u?l:l[Symbol.iterator]();;){if(u){if(c>=l.length)break;s=l[c++]}else{if(c=l.next(),c.done)break;s=c.value}s.innerHTML=this.filesize(e.size)}this.options.addRemoveLinks&&(e._removeLink=a.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink));var d=function(r){return r.preventDefault(),r.stopPropagation(),e.status===a.UPLOADING?a.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)})):t.options.dictRemoveFileConfirmation?a.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)})):t.removeFile(e)},h=e.previewElement.querySelectorAll("[data-dz-remove]"),f=!0,p=0;for(h=f?h:h[Symbol.iterator]();;){var m;if(f){if(p>=h.length)break;m=h[p++]}else{if(p=h.next(),p.done)break;m=p.value}var g=m;g.addEventListener("click",d)}}},removedfile:function(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var r=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),n=!0,i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if(i=r.next(),i.done)break;o=i.value}var a=o;a.alt=e.name,a.src=t}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"String"!==typeof t&&t.error&&(t=t.error);var r=e.previewElement.querySelectorAll("[data-dz-errormessage]"),n=!0,i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if(i=r.next(),i.done)break;o=i.value}var a=o;a.textContent=t}}},errormultiple:function(){},processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(e,t,r){if(e.previewElement){var n=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),i=!0,o=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(o>=n.length)break;a=n[o++]}else{if(o=n.next(),o.done)break;a=o.value}var s=a;"PROGRESS"===s.nodeName?s.value=t:s.style.width=t+"%"}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=r,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;for(var u in l){var c=l[u];e[u]=c}}return e}}]),t(a,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(e){return e.accepted})).map((function(e){return e}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(e){return!e.accepted})).map((function(e){return e}))}},{key:"getFilesWithStatus",value:function(e){return this.files.filter((function(t){return t.status===e})).map((function(e){return e}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(a.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(a.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(a.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(e){return e.status===a.UPLOADING||e.status===a.QUEUED})).map((function(e){return e}))}},{key:"init",value:function(){var e=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(a.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length){var t=function t(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null===e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!==e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!==e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",a.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",(function(){var r=e.hiddenFileInput.files;if(r.length){var n=r,i=!0,o=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(o>=n.length)break;a=n[o++]}else{if(o=n.next(),o.done)break;a=o.value}var s=a;e.addFile(s)}}return e.emit("addedfiles",r),t()}))};t()}this.URL=null!==window.URL?window.URL:window.webkitURL;var r=this.events,n=!0,i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if(i=r.next(),i.done)break;o=i.value}var s=o;this.on(s,this.options[s])}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()})),this.on("removedfile",(function(){return e.updateTotalUploadProgress()})),this.on("canceled",(function(t){return e.emit("complete",t)})),this.on("complete",(function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout((function(){return e.emit("queuecomplete")}),0)}));var l=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(t){return e.emit("dragstart",t)},dragenter:function(t){return l(t),e.emit("dragenter",t)},dragover:function(t){var r=void 0;try{r=t.dataTransfer.effectAllowed}catch(n){}return t.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",l(t),e.emit("dragover",t)},dragleave:function(t){return e.emit("dragleave",t)},drop:function(t){return l(t),e.drop(t)},dragend:function(t){return e.emit("dragend",t)}}}],this.clickableElements.forEach((function(t){return e.listeners.push({element:t,events:{click:function(r){return(t!==e.element||r.target===e.element||a.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,a.instances.splice(a.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var e=void 0,t=0,r=0,n=this.getActiveFiles();if(n.length){var i=this.getActiveFiles(),o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;t+=l.upload.bytesSent,r+=l.upload.total}e=100*t/r}else e=100;return this.emit("totaluploadprogress",e,r,t)}},{key:"_getParamName",value:function(e){return"function"===typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")}},{key:"_renameFile",value:function(e){return"function"!==typeof this.options.renameFile?e.name:this.options.renameFile(e)}},{key:"getFallbackForm",value:function(){var e=void 0,t=void 0;if(e=this.getExistingFallback())return e;var r='<div class="dz-fallback">';this.options.dictFallbackText&&(r+="<p>"+this.options.dictFallbackText+"</p>"),r+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var n=a.createElement(r);return"FORM"!==this.element.tagName?(t=a.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),t.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=t?t:n}},{key:"getExistingFallback",value:function(){for(var e=function(e){var t=e,r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i;if(/(^| )fallback($| )/.test(o.className))return o}},t=["div","form"],r=0;r<t.length;r++){var n,i=t[r];if(n=e(this.element.getElementsByTagName(i)))return n}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var r in e.events){var n=e.events[r];t.push(e.element.addEventListener(r,n,!1))}return t}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var r in e.events){var n=e.events[r];t.push(e.element.removeEventListener(r,n,!1))}return t}()}))}},{key:"disable",value:function(){var e=this;return this.clickableElements.forEach((function(e){return e.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(t){return e.cancelUpload(t)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(e){return e.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(e){var t=0,r="b";if(e>0){for(var n=["tb","gb","mb","kb","b"],i=0;i<n.length;i++){var o=n[i],a=Math.pow(this.options.filesizeBase,4-i)/10;if(e>=a){t=e/Math.pow(this.options.filesizeBase,4-i),r=o;break}}t=Math.round(10*t)/10}return"<strong>"+t+"</strong> "+this.options.dictFileSizeUnits[r]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(e){if(e.dataTransfer){this.emit("drop",e);for(var t=[],r=0;r<e.dataTransfer.files.length;r++)t[r]=e.dataTransfer.files[r];if(this.emit("addedfiles",t),t.length){var n=e.dataTransfer.items;n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)}}}},{key:"paste",value:function(e){if(null!=f(null!=e?e.clipboardData:void 0,(function(e){return e.items}))){this.emit("paste",e);var t=e.clipboardData.items;return t.length?this._addFilesFromItems(t):void 0}}},{key:"handleFiles",value:function(e){var t=e,r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i;this.addFile(o)}}},{key:"_addFilesFromItems",value:function(e){var t=this;return function(){var r=[],n=e,i=!0,o=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(o>=n.length)break;a=n[o++]}else{if(o=n.next(),o.done)break;a=o.value}var s,l=a;null!=l.webkitGetAsEntry&&(s=l.webkitGetAsEntry())?s.isFile?r.push(t.addFile(l.getAsFile())):s.isDirectory?r.push(t._addFilesFromDirectory(s,s.name)):r.push(void 0):null!=l.getAsFile&&(null==l.kind||"file"===l.kind)?r.push(t.addFile(l.getAsFile())):r.push(void 0)}return r}()}},{key:"_addFilesFromDirectory",value:function(e,t){var r=this,n=e.createReader(),i=function(e){return p(console,"log",(function(t){return t.log(e)}))},o=function e(){return n.readEntries((function(n){if(n.length>0){var i=n,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;l.isFile?l.file((function(e){if(!r.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath=t+"/"+e.name,r.addFile(e)})):l.isDirectory&&r._addFilesFromDirectory(l,t+"/"+l.name)}e()}return null}),i)};return o()}},{key:"accept",value:function(e,t){return this.options.maxFilesize&&e.size>1024*this.options.maxFilesize*1024?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):a.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}},{key:"addFile",value:function(e){var t=this;return e.upload={uuid:a.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e),chunked:this.options.chunking&&(this.options.forceChunking||e.size>this.options.chunkSize),totalChunkCount:Math.ceil(e.size/this.options.chunkSize)},this.files.push(e),e.status=a.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,(function(r){return r?(e.accepted=!1,t._errorProcessing([e],r)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(e){var t=e,r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i;this.enqueueFile(o)}return null}},{key:"enqueueFile",value:function(e){var t=this;if(e.status!==a.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=a.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return t.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout((function(){return t._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var e=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(r){return e.emit("thumbnail",t,r),e._processingThumbnail=!1,e._processThumbnailQueue()}))}}},{key:"removeFile",value:function(e){if(e.status===a.UPLOADING&&this.cancelUpload(e),this.files=s(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(e){null==e&&(e=!1);var t=this.files.slice(),r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i;(o.status!==a.UPLOADING||e)&&this.removeFile(o)}return null}},{key:"resizeImage",value:function(e,t,r,n,i){var o=this;return this.createThumbnail(e,t,r,n,!0,(function(t,r){if(null==r)return i(e);var n=o.options.resizeMimeType;null==n&&(n=e.type);var s=r.toDataURL(n,o.options.resizeQuality);return"image/jpeg"!==n&&"image/jpg"!==n||(s=d.restore(e.dataURL,s)),i(a.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(e,t,r,n,i,o){var a=this,s=new FileReader;return s.onload=function(){if(e.dataURL=s.result,"image/svg+xml"!==e.type)return a.createThumbnailFromUrl(e,t,r,n,i,o);null!=o&&o(s.result)},s.readAsDataURL(e)}},{key:"createThumbnailFromUrl",value:function(e,t,r,n,i,o,a){var s=this,l=document.createElement("img");return a&&(l.crossOrigin=a),l.onload=function(){var a=function(e){return e(1)};return"undefined"!==typeof EXIF&&null!==EXIF&&i&&(a=function(e){return EXIF.getData(l,(function(){return e(EXIF.getTag(this,"Orientation"))}))}),a((function(i){e.width=l.width,e.height=l.height;var a=s.options.resize.call(s,e,t,r,n),u=document.createElement("canvas"),d=u.getContext("2d");switch(u.width=a.trgWidth,u.height=a.trgHeight,i>4&&(u.width=a.trgHeight,u.height=a.trgWidth),i){case 2:d.translate(u.width,0),d.scale(-1,1);break;case 3:d.translate(u.width,u.height),d.rotate(Math.PI);break;case 4:d.translate(0,u.height),d.scale(1,-1);break;case 5:d.rotate(.5*Math.PI),d.scale(1,-1);break;case 6:d.rotate(.5*Math.PI),d.translate(0,-u.width);break;case 7:d.rotate(.5*Math.PI),d.translate(u.height,-u.width),d.scale(-1,1);break;case 8:d.rotate(-.5*Math.PI),d.translate(-u.height,0);break}c(d,l,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var h=u.toDataURL("image/png");if(null!=o)return o(h,u)}))},null!=o&&(l.onerror=o),l.src=e.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,r=t;if(!(t>=e)){var n=this.getQueuedFiles();if(n.length>0){if(this.options.uploadMultiple)return this.processFiles(n.slice(0,e-t));while(r<e){if(!n.length)return;this.processFile(n.shift()),r++}}}}},{key:"processFile",value:function(e){return this.processFiles([e])}},{key:"processFiles",value:function(e){var t=e,r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i;o.processing=!0,o.status=a.UPLOADING,this.emit("processing",o)}return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function(e){return this.files.filter((function(t){return t.xhr===e})).map((function(e){return e}))}},{key:"cancelUpload",value:function(e){if(e.status===a.UPLOADING){var t=this._getFilesWithXhr(e.xhr),r=t,n=!0,i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if(i=r.next(),i.done)break;o=i.value}var s=o;s.status=a.CANCELED}"undefined"!==typeof e.xhr&&e.xhr.abort();var l=t,u=!0,c=0;for(l=u?l:l[Symbol.iterator]();;){var d;if(u){if(c>=l.length)break;d=l[c++]}else{if(c=l.next(),c.done)break;d=c.value}var h=d;this.emit("canceled",h)}this.options.uploadMultiple&&this.emit("canceledmultiple",t)}else e.status!==a.ADDED&&e.status!==a.QUEUED||(e.status=a.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(e){if("function"===typeof e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.apply(this,r)}return e}},{key:"uploadFile",value:function(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function(e){var t=this;this._transformFiles(e,(function(r){if(e[0].upload.chunked){var n=e[0],i=r[0];n.upload.chunks=[];var o=function(){var r=0;while(void 0!==n.upload.chunks[r])r++;if(!(r>=n.upload.totalChunkCount)){0;var o=r*t.options.chunkSize,s=Math.min(o+t.options.chunkSize,n.size),l={name:t._getParamName(0),data:i.webkitSlice?i.webkitSlice(o,s):i.slice(o,s),filename:n.upload.filename,chunkIndex:r};n.upload.chunks[r]={file:n,index:r,dataBlock:l,status:a.UPLOADING,progress:0,retries:0},t._uploadData(e,[l])}};if(n.upload.finishedChunkUpload=function(r){var i=!0;r.status=a.SUCCESS,r.dataBlock=null,r.xhr=null;for(var s=0;s<n.upload.totalChunkCount;s++){if(void 0===n.upload.chunks[s])return o();n.upload.chunks[s].status!==a.SUCCESS&&(i=!1)}i&&t.options.chunksUploaded(n,(function(){t._finished(e,"",null)}))},t.options.parallelChunkUploads)for(var s=0;s<n.upload.totalChunkCount;s++)o();else o()}else{for(var l=[],u=0;u<e.length;u++)l[u]={name:t._getParamName(u),data:r[u],filename:e[u].upload.filename};t._uploadData(e,l)}}))}},{key:"_getChunk",value:function(e,t){for(var r=0;r<e.upload.totalChunkCount;r++)if(void 0!==e.upload.chunks[r]&&e.upload.chunks[r].xhr===t)return e.upload.chunks[r]}},{key:"_uploadData",value:function(e,t){var r=this,n=new XMLHttpRequest,i=e,o=!0,s=0;for(i=o?i:i[Symbol.iterator]();;){var l;if(o){if(s>=i.length)break;l=i[s++]}else{if(s=i.next(),s.done)break;l=s.value}var u=l;u.xhr=n}e[0].upload.chunked&&(e[0].upload.chunks[t[0].chunkIndex].xhr=n);var c=this.resolveOption(this.options.method,e),d=this.resolveOption(this.options.url,e);n.open(c,d,!0),n.timeout=this.resolveOption(this.options.timeout,e),n.withCredentials=!!this.options.withCredentials,n.onload=function(t){r._finishedUploading(e,n,t)},n.onerror=function(){r._handleUploadError(e,n)};var h=null!=n.upload?n.upload:n;h.onprogress=function(t){return r._updateFilesUploadProgress(e,n,t)};var f={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var p in this.options.headers&&a.extend(f,this.options.headers),f){var m=f[p];m&&n.setRequestHeader(p,m)}var g=new FormData;if(this.options.params){var v=this.options.params;for(var y in"function"===typeof v&&(v=v.call(this,e,n,e[0].upload.chunked?this._getChunk(e[0],n):null)),v){var b=v[y];g.append(y,b)}}var _=e,w=!0,x=0;for(_=w?_:_[Symbol.iterator]();;){var k;if(w){if(x>=_.length)break;k=_[x++]}else{if(x=_.next(),x.done)break;k=x.value}var S=k;this.emit("sending",S,n,g)}this.options.uploadMultiple&&this.emit("sendingmultiple",e,n,g),this._addFormElementData(g);for(var M=0;M<t.length;M++){var C=t[M];g.append(C.name,C.data,C.filename)}this.submitRequest(n,g,e)}},{key:"_transformFiles",value:function(e,t){for(var r=this,n=[],i=0,o=function(o){r.options.transformFile.call(r,e[o],(function(r){n[o]=r,++i===e.length&&t(n)}))},a=0;a<e.length;a++)o(a)}},{key:"_addFormElementData",value:function(e){if("FORM"===this.element.tagName){var t=this.element.querySelectorAll("input, textarea, select, button"),r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i,a=o.getAttribute("name"),s=o.getAttribute("type");if(s&&(s=s.toLowerCase()),"undefined"!==typeof a&&null!==a)if("SELECT"===o.tagName&&o.hasAttribute("multiple")){var l=o.options,u=!0,c=0;for(l=u?l:l[Symbol.iterator]();;){var d;if(u){if(c>=l.length)break;d=l[c++]}else{if(c=l.next(),c.done)break;d=c.value}var h=d;h.selected&&e.append(a,h.value)}}else(!s||"checkbox"!==s&&"radio"!==s||o.checked)&&e.append(a,o.value)}}}},{key:"_updateFilesUploadProgress",value:function(e,t,r){var n=void 0;if("undefined"!==typeof r){if(n=100*r.loaded/r.total,e[0].upload.chunked){var i=e[0],o=this._getChunk(i,t);o.progress=n,o.total=r.total,o.bytesSent=r.loaded;i.upload.progress=0,i.upload.total=0,i.upload.bytesSent=0;for(var a=0;a<i.upload.totalChunkCount;a++)void 0!==i.upload.chunks[a]&&void 0!==i.upload.chunks[a].progress&&(i.upload.progress+=i.upload.chunks[a].progress,i.upload.total+=i.upload.chunks[a].total,i.upload.bytesSent+=i.upload.chunks[a].bytesSent);i.upload.progress=i.upload.progress/i.upload.totalChunkCount}else{var s=e,l=!0,u=0;for(s=l?s:s[Symbol.iterator]();;){var c;if(l){if(u>=s.length)break;c=s[u++]}else{if(u=s.next(),u.done)break;c=u.value}var d=c;d.upload.progress=n,d.upload.total=r.total,d.upload.bytesSent=r.loaded}}var h=e,f=!0,p=0;for(h=f?h:h[Symbol.iterator]();;){var m;if(f){if(p>=h.length)break;m=h[p++]}else{if(p=h.next(),p.done)break;m=p.value}var g=m;this.emit("uploadprogress",g,g.upload.progress,g.upload.bytesSent)}}else{var v=!0;n=100;var y=e,b=!0,_=0;for(y=b?y:y[Symbol.iterator]();;){var w;if(b){if(_>=y.length)break;w=y[_++]}else{if(_=y.next(),_.done)break;w=_.value}var x=w;100===x.upload.progress&&x.upload.bytesSent===x.upload.total||(v=!1),x.upload.progress=n,x.upload.bytesSent=x.upload.total}if(v)return;var k=e,S=!0,M=0;for(k=S?k:k[Symbol.iterator]();;){var C;if(S){if(M>=k.length)break;C=k[M++]}else{if(M=k.next(),M.done)break;C=M.value}var T=C;this.emit("uploadprogress",T,n,T.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(e,t,r){var n=void 0;if(e[0].status!==a.CANCELED&&4===t.readyState){if("arraybuffer"!==t.responseType&&"blob"!==t.responseType&&(n=t.responseText,t.getResponseHeader("content-type")&&~t.getResponseHeader("content-type").indexOf("application/json")))try{n=JSON.parse(n)}catch(i){r=i,n="Invalid JSON response from server."}this._updateFilesUploadProgress(e),200<=t.status&&t.status<300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],t)):this._finished(e,n,r):this._handleUploadError(e,t,n)}}},{key:"_handleUploadError",value:function(e,t,r){if(e[0].status!==a.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var n=this._getChunk(e[0],t);if(n.retries++<this.options.retryChunksLimit)return void this._uploadData(e,[n.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}var i=e,o=!0,s=0;for(i=o?i:i[Symbol.iterator]();;){if(o){if(s>=i.length)break;i[s++]}else{if(s=i.next(),s.done)break;s.value}this._errorProcessing(e,r||this.options.dictResponseError.replace("{{statusCode}}",t.status),t)}}}},{key:"submitRequest",value:function(e,t,r){e.send(t)}},{key:"_finished",value:function(e,t,r){var n=e,i=!0,o=0;for(n=i?n:n[Symbol.iterator]();;){var s;if(i){if(o>=n.length)break;s=n[o++]}else{if(o=n.next(),o.done)break;s=o.value}var l=s;l.status=a.SUCCESS,this.emit("success",l,t,r),this.emit("complete",l)}if(this.options.uploadMultiple&&(this.emit("successmultiple",e,t,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(e,t,r){var n=e,i=!0,o=0;for(n=i?n:n[Symbol.iterator]();;){var s;if(i){if(o>=n.length)break;s=n[o++]}else{if(o=n.next(),o.done)break;s=o.value}var l=s;l.status=a.ERROR,this.emit("error",l,t,r),this.emit("complete",l)}if(this.options.uploadMultiple&&(this.emit("errormultiple",e,t,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,r="x"===e?t:3&t|8;return r.toString(16)}))}}]),a}(o);a.initClass(),a.version="5.5.1",a.options={},a.optionsForElement=function(e){return e.getAttribute("id")?a.options[l(e.getAttribute("id"))]:void 0},a.instances=[],a.forElement=function(e){if("string"===typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},a.autoDiscover=!0,a.discover=function(){var e=void 0;if(document.querySelectorAll)e=document.querySelectorAll(".dropzone");else{e=[];var t=function(t){return function(){var r=[],n=t,i=!0,o=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(o>=n.length)break;a=n[o++]}else{if(o=n.next(),o.done)break;a=o.value}var s=a;/(^| )dropzone($| )/.test(s.className)?r.push(e.push(s)):r.push(void 0)}return r}()};t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return function(){var t=[],r=e,n=!0,i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if(i=r.next(),i.done)break;o=i.value}var s=o;!1!==a.optionsForElement(s)?t.push(new a(s)):t.push(void 0)}return t}()},a.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],a.isBrowserSupported=function(){var e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){var t=a.blacklistedBrowsers,r=!0,n=0;for(t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if(n=t.next(),n.done)break;i=n.value}var o=i;o.test(navigator.userAgent)&&(e=!1)}}else e=!1;else e=!1;return e},a.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),r=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),i=new Uint8Array(n),o=0,a=t.length,s=0<=a;s?o<=a:o>=a;s?o++:o--)i[o]=t.charCodeAt(o);return new Blob([n],{type:r})};var s=function(e,t){return e.filter((function(e){return e!==t})).map((function(e){return e}))},l=function(e){return e.replace(/[\-_](\w)/g,(function(e){return e.charAt(1).toUpperCase()}))};a.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},a.elementInside=function(e,t){if(e===t)return!0;while(e=e.parentNode)if(e===t)return!0;return!1},a.getElement=function(e,t){var r=void 0;if("string"===typeof e?r=document.querySelector(e):null!=e.nodeType&&(r=e),null==r)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return r},a.getElements=function(e,t){var r=void 0,n=void 0;if(e instanceof Array){n=[];try{var i=e,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){if(o){if(a>=i.length)break;r=i[a++]}else{if(a=i.next(),a.done)break;r=a.value}n.push(this.getElement(r,t))}}catch(c){n=null}}else if("string"===typeof e){n=[];var s=document.querySelectorAll(e),l=!0,u=0;for(s=l?s:s[Symbol.iterator]();;){if(l){if(u>=s.length)break;r=s[u++]}else{if(u=s.next(),u.done)break;r=u.value}n.push(r)}}else null!=e.nodeType&&(n=[e]);if(null==n||!n.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return n},a.confirm=function(e,t,r){return window.confirm(e)?t():null!=r?r():void 0},a.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");var r=e.type,n=r.replace(/\/.*$/,""),i=t,o=!0,a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s;if(l=l.trim(),"."===l.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(l.toLowerCase(),e.name.length-l.length))return!0}else if(/\/\*$/.test(l)){if(n===l.replace(/\/.*$/,""))return!0}else if(r===l)return!0}return!1},"undefined"!==typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each((function(){return new a(this,e)}))}),null!==e?e.exports=a:window.Dropzone=a,a.ADDED="added",a.QUEUED="queued",a.ACCEPTED=a.QUEUED,a.UPLOADING="uploading",a.PROCESSING=a.UPLOADING,a.CANCELED="canceled",a.ERROR="error",a.SUCCESS="success";var u=function(e){e.naturalWidth;var t=e.naturalHeight,r=document.createElement("canvas");r.width=1,r.height=t;var n=r.getContext("2d");n.drawImage(e,0,0);var i=n.getImageData(1,0,1,t),o=i.data,a=0,s=t,l=t;while(l>a){var u=o[4*(l-1)+3];0===u?s=l:a=l,l=s+a>>1}var c=l/t;return 0===c?1:c},c=function(e,t,r,n,i,o,a,s,l,c){var d=u(t);return e.drawImage(t,r,n,i,o,a,s,l,c/d)},d=function(){function e(){i(this,e)}return t(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){var t="",r=void 0,n=void 0,i="",o=void 0,a=void 0,s=void 0,l="",u=0;while(1)if(r=e[u++],n=e[u++],i=e[u++],o=r>>2,a=(3&r)<<4|n>>4,s=(15&n)<<2|i>>6,l=63&i,isNaN(n)?s=l=64:isNaN(i)&&(l=64),t=t+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),r=n=i="",o=a=s=l="",!(u<e.length))break;return t}},{key:"restore",value:function(e,t){if(!e.match("data:image/jpeg;base64,"))return t;var r=this.decode64(e.replace("data:image/jpeg;base64,","")),n=this.slice2Segments(r),i=this.exifManipulation(t,n);return"data:image/jpeg;base64,"+this.encode64(i)}},{key:"exifManipulation",value:function(e,t){var r=this.getExifArray(t),n=this.insertExif(e,r),i=new Uint8Array(n);return i}},{key:"getExifArray",value:function(e){var t=void 0,r=0;while(r<e.length){if(t=e[r],255===t[0]&225===t[1])return t;r++}return[]}},{key:"insertExif",value:function(e,t){var r=e.replace("data:image/jpeg;base64,",""),n=this.decode64(r),i=n.indexOf(255,3),o=n.slice(0,i),a=n.slice(i),s=o;return s=s.concat(t),s=s.concat(a),s}},{key:"slice2Segments",value:function(e){var t=0,r=[];while(1){var n;if(255===e[t]&218===e[t+1])break;if(255===e[t]&216===e[t+1])t+=2;else{n=256*e[t+2]+e[t+3];var i=t+n+2,o=e.slice(t,i);r.push(o),t=i}if(t>e.length)break}return r}},{key:"decode64",value:function(e){var t=void 0,r=void 0,n="",i=void 0,o=void 0,a=void 0,s="",l=0,u=[],c=/[^A-Za-z0-9\+\/\=]/g;c.exec(e)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(1)if(i=this.KEY_STR.indexOf(e.charAt(l++)),o=this.KEY_STR.indexOf(e.charAt(l++)),a=this.KEY_STR.indexOf(e.charAt(l++)),s=this.KEY_STR.indexOf(e.charAt(l++)),t=i<<2|o>>4,r=(15&o)<<4|a>>2,n=(3&a)<<6|s,u.push(t),64!==a&&u.push(r),64!==s&&u.push(n),t=r=n="",i=o=a=s="",!(l<e.length))break;return u}}]),e}();d.initClass();var h=function(e,t){var r=!1,n=!0,i=e.document,o=i.documentElement,a=i.addEventListener?"addEventListener":"attachEvent",s=i.addEventListener?"removeEventListener":"detachEvent",l=i.addEventListener?"":"on",u=function n(o){if("readystatechange"!==o.type||"complete"===i.readyState)return("load"===o.type?e:i)[s](l+o.type,n,!1),!r&&(r=!0)?t.call(e,o.type||o):void 0},c=function e(){try{o.doScroll("left")}catch(t){return void setTimeout(e,50)}return u("poll")};if("complete"!==i.readyState){if(i.createEventObject&&o.doScroll){try{n=!e.frameElement}catch(d){}n&&c()}return i[a](l+"DOMContentLoaded",u,!1),i[a](l+"readystatechange",u,!1),e[a](l+"load",u,!1)}};function f(e,t){return"undefined"!==typeof e&&null!==e?t(e):void 0}function p(e,t,r){return"undefined"!==typeof e&&null!==e&&"function"===typeof e[t]?r(e,t):void 0}a._autoDiscoverFunction=function(){if(a.autoDiscover)return a.discover()},h(window,a._autoDiscoverFunction)}).call(this,r("7ebd")(e))},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a29":function(e,t,r){"use strict";(function(e){r.d(t,"p",(function(){return s})),r.d(t,"j",(function(){return u})),r.d(t,"q",(function(){return d})),r.d(t,"e",(function(){return h})),r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return p})),r.d(t,"i",(function(){return m})),r.d(t,"h",(function(){return g})),r.d(t,"l",(function(){return v})),r.d(t,"n",(function(){return b})),r.d(t,"m",(function(){return _})),r.d(t,"o",(function(){return w})),r.d(t,"k",(function(){return x})),r.d(t,"d",(function(){return k})),r.d(t,"f",(function(){return S})),r.d(t,"g",(function(){return M})),r.d(t,"c",(function(){return C}));var n=r("6d8b"),i=r("41ef"),o=r("22d1"),a=Math.round;function s(e){var t;if(e&&"transparent"!==e){if("string"===typeof e&&e.indexOf("rgba")>-1){var r=Object(i["h"])(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}}else e="none";return{color:e,opacity:null==t?1:t}}var l=1e-4;function u(e){return e<l&&e>-l}function c(e){return a(1e3*e)/1e3}function d(e){return a(1e4*e)/1e4}function h(e){return"matrix("+c(e[0])+","+c(e[1])+","+c(e[2])+","+c(e[3])+","+d(e[4])+","+d(e[5])+")"}var f={left:"start",right:"end",center:"middle",middle:"middle"};function p(e,t,r){return"top"===r?e+=t/2:"bottom"===r&&(e-=t/2),e}function m(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function g(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function v(e){return e&&!!e.image}function y(e){return e&&!!e.svgElement}function b(e){return v(e)||y(e)}function _(e){return"linear"===e.type}function w(e){return"radial"===e.type}function x(e){return e&&("linear"===e.type||"radial"===e.type)}function k(e){return"url(#"+e+")"}function S(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function M(e){var t=e.x||0,r=e.y||0,i=(e.rotation||0)*n["a"],o=Object(n["P"])(e.scaleX,1),s=Object(n["P"])(e.scaleY,1),l=e.skewX||0,u=e.skewY||0,c=[];return(t||r)&&c.push("translate("+t+"px,"+r+"px)"),i&&c.push("rotate("+i+")"),1===o&&1===s||c.push("scale("+o+","+s+")"),(l||u)&&c.push("skew("+a(l*n["a"])+"deg, "+a(u*n["a"])+"deg)"),c.join(" ")}var C=function(){return o["a"].hasGlobalWindow&&Object(n["w"])(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:"undefined"!==typeof e?function(t){return e.from(t).toString("base64")}:function(e){return null}}()}).call(this,r("1c35").Buffer)},"7a56":function(e,t,r){"use strict";var n=r("7726"),i=r("86cc"),o=r("9e1e"),a=r("2b4c")("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},"7a77":function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},"7aac":function(e,t,r){"use strict";var n=r("c532");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b23":function(e,t,r){var n=r("d8e8"),i=r("4bf8"),o=r("626a"),a=r("9def");e.exports=function(e,t,r,s,l){n(t);var u=i(e),c=o(u),d=a(u.length),h=l?d-1:0,f=l?-1:1;if(r<2)for(;;){if(h in c){s=c[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in c&&(s=t(s,c[h],h,u));return s}},"7b3e":function(e,t,r){"use strict";var n,i=r("a3de");
|
||
/**
|
||
* Checks if an event is supported in the current execution environment.
|
||
*
|
||
* NOTE: This will not work correctly for non-generic events such as `change`,
|
||
* `reset`, `load`, `error`, and `select`.
|
||
*
|
||
* Borrows from Modernizr.
|
||
*
|
||
* @param {string} eventNameSuffix Event name, e.g. "click".
|
||
* @param {?boolean} capture Check if the capture phase is supported.
|
||
* @return {boolean} True if the event is supported.
|
||
* @internal
|
||
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
||
*/
|
||
function o(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var r="on"+e,o=r in document;if(!o){var a=document.createElement("div");a.setAttribute(r,"return;"),o="function"===typeof a[r]}return!o&&n&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},"7bbc":function(e,t,r){var n=r("6821"),i=r("9093").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(n(e))}},"7bbcc":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("94f8"),r("5980"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,a=o.SHA256,s=o.HMAC,l=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var r=this.cfg,n=s.create(r.hasher,e),o=i.create(),a=i.create([1]),l=o.words,u=a.words,c=r.keySize,d=r.iterations;while(l.length<c){var h=n.update(t).finalize(a);n.reset();for(var f=h.words,p=f.length,m=h,g=1;g<d;g++){m=n.finalize(m),n.reset();for(var v=m.words,y=0;y<p;y++)f[y]^=v[y]}o.concat(h),u[0]++}return o.sigBytes=4*c,o}});t.PBKDF2=function(e,t,r){return l.create(r).compute(e,t)}}(),e.PBKDF2}))},"7be6":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function i(e,t,r,i){var o=e+" ";switch(r){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(n(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(n(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(n(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?o+(n(e)?"dni":"dní"):o+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(n(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(n(e)?"roky":"rokov"):o+"rokmi"}}var o=e.defineLocale("sk",{months:t,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"7c0e":function(e,t,r){"use strict";r("aa77")("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},"7c89":function(e,t,r){var n=r("1395"),i=r("5ca1");r("8378")._=n._=n._||{},i(i.P+i.F,"Function",{part:r("b477")})},"7cc8":function(e,t,r){},"7cd6":function(e,t,r){var n=r("40c3"),i=r("5168")("iterator"),o=r("481b");e.exports=r("584a").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},"7cdf":function(e,t,r){var n=r("5ca1");n(n.S,"Number",{isInteger:r("9c12")})},"7cdff":function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=n.keys,a=n.key;n.exp({getOwnMetadataKeys:function(e){return o(i(e),arguments.length<2?void 0:a(arguments[1]))}})},"7e90":function(e,t,r){var n=r("d9f6"),i=r("e4ae"),o=r("c3a1");e.exports=r("8e60")?Object.defineProperties:function(e,t){i(e);var r,a=o(t),s=a.length,l=0;while(s>l)n.f(e,r=a[l++],t[r]);return e}},"7ebd":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"7ec2":function(e,t,r){var n=r("7037")["default"];function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return r},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,r={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function h(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(t){h=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var i=t&&t.prototype instanceof _?t:_,o=Object.create(i.prototype),a=new I(n||[]);return s(o,"_invoke",{value:L(e,r,a)}),o}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=f;var m="suspendedStart",g="suspendedYield",v="executing",y="completed",b={};function _(){}function w(){}function x(){}var k={};h(k,u,(function(){return this}));var S=Object.getPrototypeOf,M=S&&S(S(j([])));M&&M!==o&&a.call(M,u)&&(k=M);var C=x.prototype=_.prototype=Object.create(k);function T(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(i,o,s,l){var u=p(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==n(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,l)}))}l(u.arg)}var i;s(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}})}function L(e,r,n){var i=m;return function(o,a){if(i===v)throw Error("Generator is already running");if(i===y){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=A(s,n);if(l){if(l===b)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var u=p(e,r,n);if("normal"===u.type){if(i=n.done?y:g,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=y,n.method="throw",n.arg=u.arg)}}}function A(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=p(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function j(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(a.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(n(e)+" is not iterable")}return w.prototype=x,s(C,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:w,configurable:!0}),w.displayName=h(x,d,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,h(e,d,"GeneratorFunction")),e.prototype=Object.create(C),e},r.awrap=function(e){return{__await:e}},T(O.prototype),h(O.prototype,c,(function(){return this})),r.AsyncIterator=O,r.async=function(e,t,n,i,o){void 0===o&&(o=Promise);var a=new O(f(e,t,n,i),o);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(C),h(C,d,"Generator"),h(C,u,(function(){return this})),h(C,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=j,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;E(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},r}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"7ed3":function(e,t,r){},"7f20":function(e,t,r){var n=r("86cc").f,i=r("69a8"),o=r("2b4c")("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},"7f25":function(e,t,r){var n=r("5ca1"),i=r("d6c6"),o=Math.sqrt,a=Math.acosh;n(n.S+n.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},"7f33":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.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 t}))},"7f7f":function(e,t,r){var n=r("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||r("9e1e")&&n(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},"7ff6":function(e,t,r){"use strict";var n=r("5ca1"),i=r("cb7c"),o=function(e){this._t=i(e),this._i=0;var t,r=this._k=[];for(t in e)r.push(t)};r("41a0")(o,"Object",(function(){var e,t=this,r=t._k;do{if(t._i>=r.length)return{value:void 0,done:!0}}while(!((e=r[t._i++])in t._t));return{value:e,done:!1}})),n(n.S,"Reflect",{enumerate:function(e){return new o(e)}})},8079:function(e,t,r){var n=r("7726"),i=r("1991").set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,l="process"==r("2d95")(a);e.exports=function(){var e,t,r,u=function(){var n,i;l&&(n=a.domain)&&n.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?r():t=void 0,o}}t=void 0,n&&n.enter()};if(l)r=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);r=function(){c.then(u)}}else r=function(){i.call(n,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),r=function(){h.data=d=!d}}return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},8155:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund",i;case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami",i;case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami",i;case"d":return t||n?"en dan":"enim dnem";case"dd":return i+=1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi",i;case"M":return t||n?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci",i;case"y":return t||n?"eno leto":"enim letom";case"yy":return i+=1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti",i}}var r=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"81bf":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB}))},"81e9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,t,r,n){var o="";switch(r){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":o=n?"sekunnin":"sekuntia";break;case"m":return n?"minuutin":"minuutti";case"mm":o=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":o=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":o=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":o=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":o=n?"vuoden":"vuotta";break}return o=i(e,n)+" "+o,o}function i(e,n){return e<10?n?r[e]:t[e]:e}var o=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},8230:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return n}))},8261:function(e,t,r){},8378:function(e,t){var r=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},8381:function(e,t,r){"use strict";var n=r("cb7c"),i=r("6a99"),o="number";e.exports=function(e){if("string"!==e&&e!==o&&"default"!==e)throw TypeError("Incorrect hint");return i(n(this),e!=o)}},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},8436:function(e,t){e.exports=function(){}},8449:function(e,t,r){"use strict";r("386b")("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},8478:function(e,t,r){var n=r("5ca1");n(n.S,"Object",{create:r("2aeb")})},"84aa":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"84b4":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},"84cd":function(e,t,r){},"84f2":function(e,t){e.exports={}},8580:function(e,t,r){r("ee6d"),e.exports=r("584a").Object.getOwnPropertyDescriptors},"85c4":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("9523")),o=n(r("448a")),a=n(r("970b")),s=n(r("a870")),l=n(r("050c")),u=r("5557"),c=n(r("b06d")),d=n(r("eb53"));function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(r,!0).forEach((function(t){(0,i["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function e(t){if((0,a["default"])(this,e),t){var r=t.getContext("2d"),n=t.clientWidth,i=t.clientHeight,o=[n,i];t.setAttribute("width",n),t.setAttribute("height",i),this.ctx=r,this.area=o,this.animationStatus=!1,this.graphs=[],this.color=s["default"],this.bezierCurve=l["default"],t.addEventListener("mousedown",v.bind(this)),t.addEventListener("mousemove",y.bind(this)),t.addEventListener("mouseup",b.bind(this))}else console.error("CRender Missing parameters!")};function m(e,t){var r=this.graphs;g(r)?(r.forEach((function(e){return e.turnNextAnimationFrame(t)})),this.drawAllGraph(),requestAnimationFrame(m.bind(this,e,t))):e()}function g(e){return e.find((function(e){return!e.animationPause&&e.animationFrameState.length}))}function v(e){var t=this.graphs,r=t.find((function(e){return"hover"===e.status}));r&&(r.status="active")}function y(e){var t=e.offsetX,r=e.offsetY,n=[t,r],i=this.graphs,o=i.find((function(e){return"active"===e.status||"drag"===e.status}));if(o){if(!o.drag)return;return"function"!==typeof o.move?void console.error("No move method is provided, cannot be dragged!"):(o.moveProcessor(e),void(o.status="drag"))}var a=i.find((function(e){return"hover"===e.status})),s=i.filter((function(e){return e.hover&&("function"===typeof e.hoverCheck||e.hoverRect)})),l=s.find((function(e){return e.hoverCheckProcessor(n,e)}));document.body.style.cursor=l?l.style.hoverCursor:"default";var u=!1,c=!1;if(a&&(u="function"===typeof a.mouseOuter),l&&(c="function"===typeof l.mouseEnter),l||a){if(!l&&a)return u&&a.mouseOuter(e,a),void(a.status="static");if(!l||l!==a)return l&&!a?(c&&l.mouseEnter(e,l),void(l.status="hover")):void(l&&a&&l!==a&&(u&&a.mouseOuter(e,a),a.status="static",c&&l.mouseEnter(e,l),l.status="hover"))}}function b(e){var t=this.graphs,r=t.find((function(e){return"active"===e.status})),n=t.find((function(e){return"drag"===e.status}));r&&"function"===typeof r.click&&r.click(e,r),t.forEach((function(e){return e&&(e.status="static")})),r&&(r.status="hover"),n&&(n.status="hover")}t["default"]=p,p.prototype.clearArea=function(){var e,t=this.area;(e=this.ctx).clearRect.apply(e,[0,0].concat((0,o["default"])(t)))},p.prototype.add=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name;if(t){var r=c["default"].get(t);if(r){var n=new d["default"](r,e);if(n.validator(n))return n.render=this,this.graphs.push(n),this.sortGraphsByIndex(),this.drawAllGraph(),n}else console.warn("No corresponding graph configuration found!")}else console.error("add Missing parameters!")},p.prototype.sortGraphsByIndex=function(){var e=this.graphs;e.sort((function(e,t){return e.index>t.index?1:e.index===t.index?0:e.index<t.index?-1:void 0}))},p.prototype.delGraph=function(e){"function"===typeof e.delProcessor&&(e.delProcessor(this),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph())},p.prototype.delAllGraph=function(){var e=this;this.graphs.forEach((function(t){return t.delProcessor(e)})),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph()},p.prototype.drawAllGraph=function(){var e=this;this.clearArea(),this.graphs.filter((function(e){return e&&e.visible})).forEach((function(t){return t.drawProcessor(e,t)}))},p.prototype.launchAnimation=function(){var e=this,t=this.animationStatus;if(!t)return this.animationStatus=!0,new Promise((function(t){m.call(e,(function(){e.animationStatus=!1,t()}),Date.now())}))},p.prototype.clone=function(e){var t=e.style.getStyle(),r=f({},e,{style:t});return delete r.render,r=(0,u.deepClone)(r,!0),this.add(r)}},8615:function(e,t,r){var n=r("5ca1"),i=r("504c")(!1);n(n.S,"Object",{values:function(e){return i(e)}})},8689:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},r={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},n=e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return n}))},"86cc":function(e,t,r){var n=r("cb7c"),i=r("c69a"),o=r("6a99"),a=Object.defineProperty;t.f=r("9e1e")?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(s){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},"873c":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.title=u;var i=n(r("278c")),o=r("18ad"),a=r("5557"),s=r("9d85"),l=r("becb");function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];t.title&&(r[0]=(0,l.deepMerge)((0,a.deepClone)(s.titleConfig,!0),t.title)),(0,o.doUpdate)({chart:e,series:r,key:"title",getGraphConfig:c})}function c(e,t){var r=s.titleConfig.animationCurve,n=s.titleConfig.animationFrame,i=s.titleConfig.rLevel,o=d(e,t),a=h(e);return[{name:"text",index:i,visible:e.show,animationCurve:r,animationFrame:n,shape:o,style:a}]}function d(e,t){var r=e.offset,n=e.text,o=t.chart.gridArea,a=o.x,s=o.y,l=o.w,u=(0,i["default"])(r,2),c=u[0],d=u[1];return{content:n,position:[a+l/2+c,s+d]}}function h(e){var t=e.style;return t}},"87b3":function(e,t,r){var n=Date.prototype,i="Invalid Date",o="toString",a=n[o],s=n.getTime;new Date(NaN)+""!=i&&r("2aba")(n,o,(function(){var e=s.call(this);return e===e?a.call(this):i}))},"87f3":function(e,t,r){var n=r("5ca1");n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},8840:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"887c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.titleConfig=void 0;var n={show:!0,text:"",offset:[0,-20],style:{fill:"#333",fontSize:17,fontWeight:"bold",textAlign:"center",textBaseline:"bottom"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};t.titleConfig=n},8894:function(e,t,r){var n=r("86cc"),i=r("11e9"),o=r("990b"),a=r("6821");e.exports=function(e,t){var r,s=o(a(t)),l=s.length,u=0;while(l>u)n.f(e,r=s[u++],i.f(t,r));return e}},"88ca":function(e,t,r){var n=r("86cc"),i=r("5ca1"),o=r("cb7c"),a=r("6a99");i(i.S+i.F*r("79e5")((function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,r){o(e),t=a(t,!0),o(r);try{return n.f(e,t,r),!0}catch(i){return!1}}})},"896f":function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=r("38fd"),a=n.has,s=n.key,l=function(e,t,r){var n=a(e,t,r);if(n)return!0;var i=o(t);return null!==i&&l(e,i,r)};n.exp({hasMetadata:function(e,t){return l(e,i(t),arguments.length<3?void 0:s(arguments[2]))}})},"898b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return o}))},"8a1d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeColor=a;var n=r("9d85"),i=r("5557"),o=r("becb");function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.deepClone)(n.colorConfig,!0),a=t.color,s=t.series;if(s||(s=[]),a||(a=[]),t.color=a=(0,o.deepMerge)(r,a),s.length){var l=a.length;s.forEach((function(e,t){e.color||(e.color=a[t%l])}));var u=s.filter((function(e){var t=e.type;return"pie"===t}));u.forEach((function(e){return e.data.forEach((function(e,t){return e.color=a[t%l]}))}));var c=s.filter((function(e){var t=e.type;return"gauge"===t}));c.forEach((function(e){return e.data.forEach((function(e,t){return e.color=a[t%l]}))}));var d=s.filter((function(e){var t=e.type,r=e.independentColor;return"bar"===t&&r}));d.forEach((function(e){e.independentColors||(e.independentColors=a)}))}}},"8a5c":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{umulh:function(e,t){var r=65535,n=+e,i=+t,o=n&r,a=i&r,s=n>>>16,l=i>>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>>16)+((o*l>>>0)+(u&r)>>>16)}})},"8a81":function(e,t,r){"use strict";var n=r("7726"),i=r("69a8"),o=r("9e1e"),a=r("5ca1"),s=r("2aba"),l=r("67ab").KEY,u=r("79e5"),c=r("5537"),d=r("7f20"),h=r("ca5a"),f=r("2b4c"),p=r("37c8"),m=r("3a72"),g=r("d4c0"),v=r("1169"),y=r("cb7c"),b=r("d3f4"),_=r("4bf8"),w=r("6821"),x=r("6a99"),k=r("4630"),S=r("2aeb"),M=r("7bbc"),C=r("11e9"),T=r("2621"),O=r("86cc"),L=r("0d58"),A=C.f,D=O.f,E=M.f,I=n.Symbol,j=n.JSON,P=j&&j.stringify,R="prototype",N=f("_hidden"),B=f("toPrimitive"),Y={}.propertyIsEnumerable,F=c("symbol-registry"),z=c("symbols"),H=c("op-symbols"),V=Object[R],U="function"==typeof I&&!!T.f,W=n.QObject,$=!W||!W[R]||!W[R].findChild,G=o&&u((function(){return 7!=S(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=A(V,t);n&&delete V[t],D(e,t,r),n&&e!==V&&D(V,t,n)}:D,q=function(e){var t=z[e]=S(I[R]);return t._k=e,t},X=U&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,r){return e===V&&K(H,t,r),y(e),t=x(t,!0),y(r),i(z,t)?(r.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),r=S(r,{enumerable:k(0,!1)})):(i(e,N)||D(e,N,k(1,{})),e[N][t]=!0),G(e,t,r)):D(e,t,r)},Z=function(e,t){y(e);var r,n=g(t=w(t)),i=0,o=n.length;while(o>i)K(e,r=n[i++],t[r]);return e},J=function(e,t){return void 0===t?S(e):Z(S(e),t)},Q=function(e){var t=Y.call(this,e=x(e,!0));return!(this===V&&i(z,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,N)&&this[N][e])||t)},ee=function(e,t){if(e=w(e),t=x(t,!0),e!==V||!i(z,t)||i(H,t)){var r=A(e,t);return!r||!i(z,t)||i(e,N)&&e[N][t]||(r.enumerable=!0),r}},te=function(e){var t,r=E(w(e)),n=[],o=0;while(r.length>o)i(z,t=r[o++])||t==N||t==l||n.push(t);return n},re=function(e){var t,r=e===V,n=E(r?H:w(e)),o=[],a=0;while(n.length>a)!i(z,t=n[a++])||r&&!i(V,t)||o.push(z[t]);return o};U||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(r){this===V&&t.call(H,r),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),G(this,e,k(1,r))};return o&&$&&G(V,e,{configurable:!0,set:t}),q(e)},s(I[R],"toString",(function(){return this._k})),C.f=ee,O.f=K,r("9093").f=M.f=te,r("52a7").f=Q,T.f=re,o&&!r("2d00")&&s(V,"propertyIsEnumerable",Q,!0),p.f=function(e){return q(f(e))}),a(a.G+a.W+a.F*!U,{Symbol:I});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;ne.length>ie;)f(ne[ie++]);for(var oe=L(f.store),ae=0;oe.length>ae;)m(oe[ae++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!U,"Object",{create:J,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:re});var se=u((function(){T.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(_(e))}}),j&&a(a.S+a.F*(!U||u((function(){var e=I();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){var t,r,n=[e],i=1;while(arguments.length>i)n.push(arguments[i++]);if(r=t=n[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!X(t))return t}),n[1]=t,P.apply(j,n)}}),I[R][B]||r("32e9")(I[R],B,I[R].valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},"8aae":function(e,t,r){r("32a6"),e.exports=r("584a").Object.keys},"8b97":function(e,t,r){var n=r("d3f4"),i=r("cb7c"),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r("9b43")(Function.call,r("11e9").f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},"8c4e":function(e,t,r){"use strict";r("01f9")(Number,"Number",(function(e){this._l=+e,this._i=0}),(function(){var e=this._i++,t=!(e<this._l);return{done:t,value:t?void 0:e}}))},"8c4f":function(e,t,r){"use strict";
|
||
/*!
|
||
* vue-router v3.0.2
|
||
* (c) 2018 Evan You
|
||
* @license MIT
|
||
*/function n(e,t){0}function i(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function o(e,t){for(var r in t)e[r]=t[r];return e}var a={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var r=t.props,n=t.children,i=t.parent,a=t.data;a.routerView=!0;var l=i.$createElement,u=r.name,c=i.$route,d=i._routerViewCache||(i._routerViewCache={}),h=0,f=!1;while(i&&i._routerRoot!==i)i.$vnode&&i.$vnode.data.routerView&&h++,i._inactive&&(f=!0),i=i.$parent;if(a.routerViewDepth=h,f)return l(d[u],a,n);var p=c.matched[h];if(!p)return d[u]=null,l();var m=d[u]=p.components[u];a.registerRouteInstance=function(e,t){var r=p.instances[u];(t&&r!==e||!t&&r===e)&&(p.instances[u]=t)},(a.hook||(a.hook={})).prepatch=function(e,t){p.instances[u]=t.componentInstance};var g=a.props=s(c,p.props&&p.props[u]);if(g){g=a.props=o({},g);var v=a.attrs=a.attrs||{};for(var y in g)m.props&&y in m.props||(v[y]=g[y],delete g[y])}return l(m,a,n)}};function s(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}var l=/[!'()*]/g,u=function(e){return"%"+e.charCodeAt(0).toString(16)},c=/%2C/g,d=function(e){return encodeURIComponent(e).replace(l,u).replace(c,",")},h=decodeURIComponent;function f(e,t,r){void 0===t&&(t={});var n,i=r||p;try{n=i(e||"")}catch(a){n={}}for(var o in t)n[o]=t[o];return n}function p(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var r=e.replace(/\+/g," ").split("="),n=h(r.shift()),i=r.length>0?h(r.join("=")):null;void 0===t[n]?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]})),t):t}function m(e){var t=e?Object.keys(e).map((function(t){var r=e[t];if(void 0===r)return"";if(null===r)return d(t);if(Array.isArray(r)){var n=[];return r.forEach((function(e){void 0!==e&&(null===e?n.push(d(t)):n.push(d(t)+"="+d(e)))})),n.join("&")}return d(t)+"="+d(r)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var g=/\/?$/;function v(e,t,r,n){var i=n&&n.options.stringifyQuery,o=t.query||{};try{o=y(o)}catch(s){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:w(t,i),matched:e?_(e):[]};return r&&(a.redirectedFrom=w(r,i)),Object.freeze(a)}function y(e){if(Array.isArray(e))return e.map(y);if(e&&"object"===typeof e){var t={};for(var r in e)t[r]=y(e[r]);return t}return e}var b=v(null,{path:"/"});function _(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function w(e,t){var r=e.path,n=e.query;void 0===n&&(n={});var i=e.hash;void 0===i&&(i="");var o=t||m;return(r||"/")+o(n)+i}function x(e,t){return t===b?e===t:!!t&&(e.path&&t.path?e.path.replace(g,"")===t.path.replace(g,"")&&e.hash===t.hash&&k(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&k(e.query,t.query)&&k(e.params,t.params)))}function k(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every((function(r){var n=e[r],i=t[r];return"object"===typeof n&&"object"===typeof i?k(n,i):String(n)===String(i)}))}function S(e,t){return 0===e.path.replace(g,"/").indexOf(t.path.replace(g,"/"))&&(!t.hash||e.hash===t.hash)&&M(e.query,t.query)}function M(e,t){for(var r in t)if(!(r in e))return!1;return!0}var C,T=[String,Object],O=[String,Array],L={name:"RouterLink",props:{to:{type:T,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:O,default:"click"}},render:function(e){var t=this,r=this.$router,n=this.$route,i=r.resolve(this.to,n,this.append),a=i.location,s=i.route,l=i.href,u={},c=r.options.linkActiveClass,d=r.options.linkExactActiveClass,h=null==c?"router-link-active":c,f=null==d?"router-link-exact-active":d,p=null==this.activeClass?h:this.activeClass,m=null==this.exactActiveClass?f:this.exactActiveClass,g=a.path?v(null,a,null,r):s;u[m]=x(n,g),u[p]=this.exact?u[m]:S(n,g);var y=function(e){A(e)&&(t.replace?r.replace(a):r.push(a))},b={click:A};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=y})):b[this.event]=y;var _={class:u};if("a"===this.tag)_.on=b,_.attrs={href:l};else{var w=D(this.$slots.default);if(w){w.isStatic=!1;var k=w.data=o({},w.data);k.on=b;var M=w.data.attrs=o({},w.data.attrs);M.href=l}else _.on=b}return e(this.tag,_,this.$slots.default)}};function A(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function D(e){if(e)for(var t,r=0;r<e.length;r++){if(t=e[r],"a"===t.tag)return t;if(t.children&&(t=D(t.children)))return t}}function E(e){if(!E.installed||C!==e){E.installed=!0,C=e;var t=function(e){return void 0!==e},r=function(e,r){var n=e.$options._parentVnode;t(n)&&t(n=n.data)&&t(n=n.registerRouteInstance)&&n(e,r)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",a),e.component("RouterLink",L);var n=e.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var I="undefined"!==typeof window;function j(e,t,r){var n=e.charAt(0);if("/"===n)return e;if("?"===n||"#"===n)return t+e;var i=t.split("/");r&&i[i.length-1]||i.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function P(e){var t="",r="",n=e.indexOf("#");n>=0&&(t=e.slice(n),e=e.slice(0,n));var i=e.indexOf("?");return i>=0&&(r=e.slice(i+1),e=e.slice(0,i)),{path:e,query:r,hash:t}}function R(e){return e.replace(/\/\//g,"/")}var N=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},B=ne,Y=U,F=W,z=q,H=re,V=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function U(e,t){var r,n=[],i=0,o=0,a="",s=t&&t.delimiter||"/";while(null!=(r=V.exec(e))){var l=r[0],u=r[1],c=r.index;if(a+=e.slice(o,c),o=c+l.length,u)a+=u[1];else{var d=e[o],h=r[2],f=r[3],p=r[4],m=r[5],g=r[6],v=r[7];a&&(n.push(a),a="");var y=null!=h&&null!=d&&d!==h,b="+"===g||"*"===g,_="?"===g||"*"===g,w=r[2]||s,x=p||m;n.push({name:f||i++,prefix:h||"",delimiter:w,optional:_,repeat:b,partial:y,asterisk:!!v,pattern:x?K(x):v?".*":"[^"+X(w)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&n.push(a),n}function W(e,t){return q(U(e,t))}function $(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function G(e){return encodeURI(e).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function q(e){for(var t=new Array(e.length),r=0;r<e.length;r++)"object"===typeof e[r]&&(t[r]=new RegExp("^(?:"+e[r].pattern+")$"));return function(r,n){for(var i="",o=r||{},a=n||{},s=a.pretty?$:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!==typeof u){var c,d=o[u.name];if(null==d){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(N(d)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(c=s(d[h]),!t[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");i+=(0===h?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?G(d):s(d),!t[l].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');i+=u.prefix+c}}else i+=u}return i}}function X(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function K(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function Z(e,t){return e.keys=t,e}function J(e){return e.sensitive?"":"i"}function Q(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Z(e,t)}function ee(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(ne(e[i],t,r).source);var o=new RegExp("(?:"+n.join("|")+")",J(r));return Z(o,t)}function te(e,t,r){return re(U(e,r),t,r)}function re(e,t,r){N(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,i=!1!==r.end,o="",a=0;a<e.length;a++){var s=e[a];if("string"===typeof s)o+=X(s);else{var l=X(s.prefix),u="(?:"+s.pattern+")";t.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=X(r.delimiter||"/"),d=o.slice(-c.length)===c;return n||(o=(d?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=i?"$":n&&d?"":"(?="+c+"|$)",Z(new RegExp("^"+o,J(r)),t)}function ne(e,t,r){return N(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?Q(e,t):N(e)?ee(e,t,r):te(e,t,r)}B.parse=Y,B.compile=F,B.tokensToFunction=z,B.tokensToRegExp=H;var ie=Object.create(null);function oe(e,t,r){try{var n=ie[e]||(ie[e]=B.compile(e));return n(t||{},{pretty:!0})}catch(i){return""}}function ae(e,t,r,n){var i=t||[],o=r||Object.create(null),a=n||Object.create(null);e.forEach((function(e){se(i,o,a,e)}));for(var s=0,l=i.length;s<l;s++)"*"===i[s]&&(i.push(i.splice(s,1)[0]),l--,s--);return{pathList:i,pathMap:o,nameMap:a}}function se(e,t,r,n,i,o){var a=n.path,s=n.name;var l=n.pathToRegexpOptions||{},u=ue(a,i,l.strict);"boolean"===typeof n.caseSensitive&&(l.sensitive=n.caseSensitive);var c={path:u,regex:le(u,l),components:n.components||{default:n.component},instances:{},name:s,parent:i,matchAs:o,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach((function(n){var i=o?R(o+"/"+n.path):void 0;se(e,t,r,n,c,i)})),void 0!==n.alias){var d=Array.isArray(n.alias)?n.alias:[n.alias];d.forEach((function(o){var a={path:o,children:n.children};se(e,t,r,a,i,c.path||"/")}))}t[c.path]||(e.push(c.path),t[c.path]=c),s&&(r[s]||(r[s]=c))}function le(e,t){var r=B(e,[],t);return r}function ue(e,t,r){return r||(e=e.replace(/\/$/,"")),"/"===e[0]||null==t?e:R(t.path+"/"+e)}function ce(e,t,r,n){var i="string"===typeof e?{path:e}:e;if(i.name||i._normalized)return i;if(!i.path&&i.params&&t){i=o({},i),i._normalized=!0;var a=o(o({},t.params),i.params);if(t.name)i.name=t.name,i.params=a;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;i.path=oe(s,a,"path "+t.path)}else 0;return i}var l=P(i.path||""),u=t&&t.path||"/",c=l.path?j(l.path,u,r||i.append):u,d=f(l.query,i.query,n&&n.options.parseQuery),h=i.hash||l.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:d,hash:h}}function de(e,t){var r=ae(e),n=r.pathList,i=r.pathMap,o=r.nameMap;function a(e){ae(e,n,i,o)}function s(e,r,a){var s=ce(e,r,!1,t),l=s.name;if(l){var u=o[l];if(!u)return c(null,s);var d=u.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!==typeof s.params&&(s.params={}),r&&"object"===typeof r.params)for(var h in r.params)!(h in s.params)&&d.indexOf(h)>-1&&(s.params[h]=r.params[h]);if(u)return s.path=oe(u.path,s.params,'named route "'+l+'"'),c(u,s,a)}else if(s.path){s.params={};for(var f=0;f<n.length;f++){var p=n[f],m=i[p];if(he(m.regex,s.path,s.params))return c(m,s,a)}}return c(null,s)}function l(e,r){var n=e.redirect,i="function"===typeof n?n(v(e,r,null,t)):n;if("string"===typeof i&&(i={path:i}),!i||"object"!==typeof i)return c(null,r);var a=i,l=a.name,u=a.path,d=r.query,h=r.hash,f=r.params;if(d=a.hasOwnProperty("query")?a.query:d,h=a.hasOwnProperty("hash")?a.hash:h,f=a.hasOwnProperty("params")?a.params:f,l){o[l];return s({_normalized:!0,name:l,query:d,hash:h,params:f},void 0,r)}if(u){var p=fe(u,e),m=oe(p,f,'redirect route with path "'+p+'"');return s({_normalized:!0,path:m,query:d,hash:h},void 0,r)}return c(null,r)}function u(e,t,r){var n=oe(r,t.params,'aliased route with path "'+r+'"'),i=s({_normalized:!0,path:n});if(i){var o=i.matched,a=o[o.length-1];return t.params=i.params,c(a,t)}return c(null,t)}function c(e,r,n){return e&&e.redirect?l(e,n||r):e&&e.matchAs?u(e,r,e.matchAs):v(e,r,n,t)}return{match:s,addRoutes:a}}function he(e,t,r){var n=t.match(e);if(!n)return!1;if(!r)return!0;for(var i=1,o=n.length;i<o;++i){var a=e.keys[i-1],s="string"===typeof n[i]?decodeURIComponent(n[i]):n[i];a&&(r[a.name||"pathMatch"]=s)}return!0}function fe(e,t){return j(e,t.parent?t.parent.path:"/",!0)}var pe=Object.create(null);function me(){window.history.replaceState({key:Le()},"",window.location.href.replace(window.location.origin,"")),window.addEventListener("popstate",(function(e){ve(),e.state&&e.state.key&&Ae(e.state.key)}))}function ge(e,t,r,n){if(e.app){var i=e.options.scrollBehavior;i&&e.app.$nextTick((function(){var o=ye(),a=i.call(e,t,r,n?o:null);a&&("function"===typeof a.then?a.then((function(e){Se(e,o)})).catch((function(e){0})):Se(a,o))}))}}function ve(){var e=Le();e&&(pe[e]={x:window.pageXOffset,y:window.pageYOffset})}function ye(){var e=Le();if(e)return pe[e]}function be(e,t){var r=document.documentElement,n=r.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}function _e(e){return ke(e.x)||ke(e.y)}function we(e){return{x:ke(e.x)?e.x:window.pageXOffset,y:ke(e.y)?e.y:window.pageYOffset}}function xe(e){return{x:ke(e.x)?e.x:0,y:ke(e.y)?e.y:0}}function ke(e){return"number"===typeof e}function Se(e,t){var r="object"===typeof e;if(r&&"string"===typeof e.selector){var n=document.querySelector(e.selector);if(n){var i=e.offset&&"object"===typeof e.offset?e.offset:{};i=xe(i),t=be(n,i)}else _e(e)&&(t=we(e))}else r&&_e(e)&&(t=we(e));t&&window.scrollTo(t.x,t.y)}var Me=I&&function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),Ce=I&&window.performance&&window.performance.now?window.performance:Date,Te=Oe();function Oe(){return Ce.now().toFixed(3)}function Le(){return Te}function Ae(e){Te=e}function De(e,t){ve();var r=window.history;try{t?r.replaceState({key:Te},"",e):(Te=Oe(),r.pushState({key:Te},"",e))}catch(n){window.location[t?"replace":"assign"](e)}}function Ee(e){De(e,!0)}function Ie(e,t,r){var n=function(i){i>=e.length?r():e[i]?t(e[i],(function(){n(i+1)})):n(i+1)};n(0)}function je(e){return function(t,r,n){var o=!1,a=0,s=null;Pe(e,(function(e,t,r,l){if("function"===typeof e&&void 0===e.cid){o=!0,a++;var u,c=Ye((function(t){Be(t)&&(t=t.default),e.resolved="function"===typeof t?t:C.extend(t),r.components[l]=t,a--,a<=0&&n()})),d=Ye((function(e){var t="Failed to resolve async component "+l+": "+e;s||(s=i(e)?e:new Error(t),n(s))}));try{u=e(c,d)}catch(f){d(f)}if(u)if("function"===typeof u.then)u.then(c,d);else{var h=u.component;h&&"function"===typeof h.then&&h.then(c,d)}}})),o||n()}}function Pe(e,t){return Re(e.map((function(e){return Object.keys(e.components).map((function(r){return t(e.components[r],e.instances[r],e,r)}))})))}function Re(e){return Array.prototype.concat.apply([],e)}var Ne="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Be(e){return e.__esModule||Ne&&"Module"===e[Symbol.toStringTag]}function Ye(e){var t=!1;return function(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];if(!t)return t=!0,e.apply(this,r)}}var Fe=function(e,t){this.router=e,this.base=ze(t),this.current=b,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function ze(e){if(!e)if(I){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function He(e,t){var r,n=Math.max(e.length,t.length);for(r=0;r<n;r++)if(e[r]!==t[r])break;return{updated:t.slice(0,r),activated:t.slice(r),deactivated:e.slice(r)}}function Ve(e,t,r,n){var i=Pe(e,(function(e,n,i,o){var a=Ue(e,t);if(a)return Array.isArray(a)?a.map((function(e){return r(e,n,i,o)})):r(a,n,i,o)}));return Re(n?i.reverse():i)}function Ue(e,t){return"function"!==typeof e&&(e=C.extend(e)),e.options[t]}function We(e){return Ve(e,"beforeRouteLeave",Ge,!0)}function $e(e){return Ve(e,"beforeRouteUpdate",Ge)}function Ge(e,t){if(t)return function(){return e.apply(t,arguments)}}function qe(e,t,r){return Ve(e,"beforeRouteEnter",(function(e,n,i,o){return Xe(e,i,o,t,r)}))}function Xe(e,t,r,n,i){return function(o,a,s){return e(o,a,(function(e){s(e),"function"===typeof e&&n.push((function(){Ke(e,t.instances,r,i)}))}))}}function Ke(e,t,r,n){t[r]&&!t[r]._isBeingDestroyed?e(t[r]):n()&&setTimeout((function(){Ke(e,t,r,n)}),16)}Fe.prototype.listen=function(e){this.cb=e},Fe.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Fe.prototype.onError=function(e){this.errorCbs.push(e)},Fe.prototype.transitionTo=function(e,t,r){var n=this,i=this.router.match(e,this.current);this.confirmTransition(i,(function(){n.updateRoute(i),t&&t(i),n.ensureURL(),n.ready||(n.ready=!0,n.readyCbs.forEach((function(e){e(i)})))}),(function(e){r&&r(e),e&&!n.ready&&(n.ready=!0,n.readyErrorCbs.forEach((function(t){t(e)})))}))},Fe.prototype.confirmTransition=function(e,t,r){var o=this,a=this.current,s=function(e){i(e)&&(o.errorCbs.length?o.errorCbs.forEach((function(t){t(e)})):(n(!1,"uncaught error during route navigation:"),console.error(e))),r&&r(e)};if(x(e,a)&&e.matched.length===a.matched.length)return this.ensureURL(),s();var l=He(this.current.matched,e.matched),u=l.updated,c=l.deactivated,d=l.activated,h=[].concat(We(c),this.router.beforeHooks,$e(u),d.map((function(e){return e.beforeEnter})),je(d));this.pending=e;var f=function(t,r){if(o.pending!==e)return s();try{t(e,a,(function(e){!1===e||i(e)?(o.ensureURL(!0),s(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(s(),"object"===typeof e&&e.replace?o.replace(e):o.push(e)):r(e)}))}catch(n){s(n)}};Ie(h,f,(function(){var r=[],n=function(){return o.current===e},i=qe(d,r,n),a=i.concat(o.router.resolveHooks);Ie(a,f,(function(){if(o.pending!==e)return s();o.pending=null,t(e),o.router.app&&o.router.app.$nextTick((function(){r.forEach((function(e){e()}))}))}))}))},Fe.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach((function(r){r&&r(e,t)}))};var Ze=function(e){function t(t,r){var n=this;e.call(this,t,r);var i=t.options.scrollBehavior,o=Me&&i;o&&me();var a=Je(this.base);window.addEventListener("popstate",(function(e){var r=n.current,i=Je(n.base);n.current===b&&i===a||n.transitionTo(i,(function(e){o&&ge(t,e,r,!0)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){De(R(n.base+e.fullPath)),ge(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.replace=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){Ee(R(n.base+e.fullPath)),ge(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.ensureURL=function(e){if(Je(this.base)!==this.current.fullPath){var t=R(this.base+this.current.fullPath);e?De(t):Ee(t)}},t.prototype.getCurrentLocation=function(){return Je(this.base)},t}(Fe);function Je(e){var t=decodeURI(window.location.pathname);return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Qe=function(e){function t(t,r,n){e.call(this,t,r),n&&et(this.base)||tt()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this,t=this.router,r=t.options.scrollBehavior,n=Me&&r;n&&me(),window.addEventListener(Me?"popstate":"hashchange",(function(){var t=e.current;tt()&&e.transitionTo(rt(),(function(r){n&&ge(e.router,r,t,!0),Me||ot(r.fullPath)}))}))},t.prototype.push=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){it(e.fullPath),ge(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.replace=function(e,t,r){var n=this,i=this,o=i.current;this.transitionTo(e,(function(e){ot(e.fullPath),ge(n.router,e,o,!1),t&&t(e)}),r)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;rt()!==t&&(e?it(t):ot(t))},t.prototype.getCurrentLocation=function(){return rt()},t}(Fe);function et(e){var t=Je(e);if(!/^\/#/.test(t))return window.location.replace(R(e+"/#"+t)),!0}function tt(){var e=rt();return"/"===e.charAt(0)||(ot("/"+e),!1)}function rt(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":decodeURI(e.slice(t+1))}function nt(e){var t=window.location.href,r=t.indexOf("#"),n=r>=0?t.slice(0,r):t;return n+"#"+e}function it(e){Me?De(nt(e)):window.location.hash=e}function ot(e){Me?Ee(nt(e)):window.location.replace(nt(e))}var at=function(e){function t(t,r){e.call(this,t,r),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,r){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index+1).concat(e),n.index++,t&&t(e)}),r)},t.prototype.replace=function(e,t,r){var n=this;this.transitionTo(e,(function(e){n.stack=n.stack.slice(0,n.index).concat(e),t&&t(e)}),r)},t.prototype.go=function(e){var t=this,r=this.index+e;if(!(r<0||r>=this.stack.length)){var n=this.stack[r];this.confirmTransition(n,(function(){t.index=r,t.updateRoute(n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Fe),st=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=de(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Me&&!1!==e.fallback,this.fallback&&(t="hash"),I||(t="abstract"),this.mode=t,t){case"history":this.history=new Ze(this,e.base);break;case"hash":this.history=new Qe(this,e.base,this.fallback);break;case"abstract":this.history=new at(this,e.base);break;default:0}},lt={currentRoute:{configurable:!0}};function ut(e,t){return e.push(t),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function ct(e,t,r){var n="hash"===r?"#"+t:t;return e?R(e+"/"+n):n}st.prototype.match=function(e,t,r){return this.matcher.match(e,t,r)},lt.currentRoute.get=function(){return this.history&&this.history.current},st.prototype.init=function(e){var t=this;if(this.apps.push(e),!this.app){this.app=e;var r=this.history;if(r instanceof Ze)r.transitionTo(r.getCurrentLocation());else if(r instanceof Qe){var n=function(){r.setupListeners()};r.transitionTo(r.getCurrentLocation(),n,n)}r.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},st.prototype.beforeEach=function(e){return ut(this.beforeHooks,e)},st.prototype.beforeResolve=function(e){return ut(this.resolveHooks,e)},st.prototype.afterEach=function(e){return ut(this.afterHooks,e)},st.prototype.onReady=function(e,t){this.history.onReady(e,t)},st.prototype.onError=function(e){this.history.onError(e)},st.prototype.push=function(e,t,r){this.history.push(e,t,r)},st.prototype.replace=function(e,t,r){this.history.replace(e,t,r)},st.prototype.go=function(e){this.history.go(e)},st.prototype.back=function(){this.go(-1)},st.prototype.forward=function(){this.go(1)},st.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},st.prototype.resolve=function(e,t,r){var n=ce(e,t||this.history.current,r,this),i=this.match(n,t),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=ct(a,o,this.mode);return{location:n,route:i,href:s,normalizedTo:n,resolved:i}},st.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==b&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(st.prototype,lt),st.install=E,st.version="3.0.2",I&&window.Vue&&window.Vue.use(st),t["a"]=st},"8cef":function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971}))},"8d47":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var r=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,r){return e>11?r?"μμ":"ΜΜ":r?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,r){var n=this._calendarEl[e],i=r&&r.hours();return t(n)&&(n=n.apply(r)),n.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return r}))},"8d57":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function o(e,t,r){var n=e+" ";switch(r){case"ss":return n+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(i(e)?"godziny":"godzin");case"ww":return n+(i(e)?"tygodnie":"tygodni");case"MM":return n+(i(e)?"miesiące":"miesięcy");case"yy":return n+(i(e)?"lata":"lat")}}var a=e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?r[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"8df4":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},r={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},n=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,r){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return n}))},"8df4b":function(e,t,r){"use strict";var n=r("7a77");function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},"8e60":function(e,t,r){e.exports=!r("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(e,t,r){var n=r("5ca1"),i=r("990b"),o=r("6821"),a=r("11e9"),s=r("f1ae");n(n.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,n=o(e),l=a.f,u=i(n),c={},d=0;while(u.length>d)r=l(n,t=u[d++]),void 0!==r&&s(c,t,r);return c}})},"8e73":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,r,o,a){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},"8ea5":function(e,t,r){var n=r("5ca1"),i=r("8ed0");n(n.P+n.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},"8eb7":function(e,t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,g,v=!1;function y(){if(!v){v=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),h=!!/Win64/.exec(e),t){r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,r&&document&&document.documentMode&&(r=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:r,n=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,o=t[4]?parseFloat(t[4]):NaN,o?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else r=n=i=a=o=NaN;if(y){if(y[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!_||parseFloat(_[1].replace("_","."))}else l=!1;u=!!y[2],c=!!y[3]}else l=u=c=!1}}var b={ie:function(){return y()||r},ieCompatibilityMode:function(){return y()||s>r},ie64:function(){return b.ie()&&h},firefox:function(){return y()||n},opera:function(){return y()||i},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||a},windows:function(){return y()||u},osx:function(){return y()||l},linux:function(){return y()||c},iphone:function(){return y()||f},mobile:function(){return y()||f||p||d||g},nativeApp:function(){return y()||m},android:function(){return y()||d},ipad:function(){return y()||p}};e.exports=b},"8ed0":function(e,t,r){"use strict";var n=r("79e5"),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!n((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),r=e.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(r>99?r:"0"+a(r))+"Z"}:o},"8f47":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.transition=l,t.injectNewCurve=w,t["default"]=void 0;var i=n(r("278c")),o=n(r("7037")),a=n(r("df83")),s="linear";function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!u.apply(void 0,arguments))return!1;try{var o=c(e),a=d(o,n);return i&&"number"!==typeof r?_(t,r,a):g(t,r,a)}catch(s){return console.warn("Transition parameter may be abnormal!"),[r]}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;if(!e||!1===t||!1===r||!n)return console.error("transition: Missing Parameters!"),!1;if((0,o["default"])(t)!==(0,o["default"])(r))return console.error("transition: Inconsistent Status Types!"),!1;var i=(0,o["default"])(r);return"string"!==i&&"boolean"!==i&&e.length?(a["default"].has(e)||e instanceof Array||console.warn("transition: Transition curve not found, default curve will be used!"),!0):(console.error("transition: Unsupported Data Type of State!"),!1)}function c(e){var t="";return t=a["default"].has(e)?a["default"].get(e):e instanceof Array?e:a["default"].get(s),t}function d(e,t){var r=1/(t-1),n=new Array(t).fill(0).map((function(e,t){return t*r})),i=n.map((function(t){return h(e,t)}));return i}function h(e,t){var r=f(e,t),n=p(r,t);return m(r,n)}function f(e,t){var r=e.length-1,n="",i="";e.findIndex((function(o,a){if(a!==r){n=o,i=e[a+1];var s=n[0][0],l=i[0][0];return t>=s&&t<l}}));var o=n[0],a=n[2]||n[0],s=i[1]||i[0],l=i[0];return[o,a,s,l]}function p(e,t){var r=e[0][0],n=e[3][0],i=n-r,o=t-r;return o/i}function m(e,t){var r=(0,i["default"])(e,4),n=(0,i["default"])(r[0],2),o=n[1],a=(0,i["default"])(r[1],2),s=a[1],l=(0,i["default"])(r[2],2),u=l[1],c=(0,i["default"])(r[3],2),d=c[1],h=Math.pow,f=1-t,p=o*h(f,3),m=3*s*t*h(f,2),g=3*u*h(t,2)*f,v=d*h(t,3);return 1-(p+m+g+v)}function g(e,t,r){var n="object";return"number"===typeof e&&(n="number"),e instanceof Array&&(n="array"),"number"===n?v(e,t,r):"array"===n?y(e,t,r):"object"===n?b(e,t,r):r.map((function(e){return t}))}function v(e,t,r){var n=t-e;return r.map((function(t){return e+n*t}))}function y(e,t,r){var n=t.map((function(t,r){return"number"===typeof t&&t-e[r]}));return r.map((function(r){return n.map((function(n,i){return!1===n?t[i]:e[i]+n*r}))}))}function b(e,t,r){var n=Object.keys(t),i=n.map((function(t){return e[t]})),o=n.map((function(e){return t[e]})),a=y(i,o,r);return a.map((function(e){var t={};return e.forEach((function(e,r){return t[n[r]]=e})),t}))}function _(e,t,r){var n=g(e,t,r),i=function(i){var a=e[i],s=t[i];if("object"!==(0,o["default"])(s))return"continue";var l=_(a,s,r);n.forEach((function(e,t){return e[i]=l[t]}))};for(var a in t)i(a);return n}function w(e,t){e&&t?a["default"].set(e,t):console.error("InjectNewCurve Missing Parameters!")}var x=l;t["default"]=x},"8f60":function(e,t,r){"use strict";var n=r("a159"),i=r("aebd"),o=r("45f2"),a={};r("35e8")(a,r("5168")("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},9003:function(e,t,r){var n=r("6b4c");e.exports=Array.isArray||function(e){return"Array"==n(e)}},9043:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,r){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return n}))},9091:function(e,t,r){var n=r("7726"),i=r("8378"),o=r("5ca1"),a=r("b477");o(o.G+o.F,{delay:function(e){return new(i.Promise||n.Promise)((function(t){setTimeout(a.call(t,!0),e)}))}})},9093:function(e,t,r){var n=r("ce10"),i=r("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},"90ea":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},9138:function(e,t,r){e.exports=r("35e8")},"913b":function(e,t){(function(t){e.exports=t}).call(this,{})},9152:function(e,t){
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=u}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*m}},"91ca":function(e,t,r){var n=r("96fb"),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),l=i(2,-126),u=function(e){return e+1/o-1/o};e.exports=Math.fround||function(e){var t,r,i=Math.abs(e),c=n(e);return i<l?c*u(i/l/a)*l*a:(t=(1+a/o)*i,r=t-(t-i),r>s||r!=r?c*(1/0):c*r)}},"91dd":function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,o){t=t||"&",r=r||"=";var a={};if("string"!==typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;o&&"number"===typeof o.maxKeys&&(l=o.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var d,h,f,p,m=e[c].replace(s,"%20"),g=m.indexOf(r);g>=0?(d=m.substr(0,g),h=m.substr(g+1)):(d=m,h=""),f=decodeURIComponent(d),p=decodeURIComponent(h),n(a,f)?i(a[f])?a[f].push(p):a[f]=[a[f],p]:a[f]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},9253:function(e,t,r){var n=r("86cc"),i=r("11e9"),o=r("38fd"),a=r("69a8"),s=r("5ca1"),l=r("4630"),u=r("cb7c"),c=r("d3f4");function d(e,t,r){var s,h,f=arguments.length<4?e:arguments[3],p=i.f(u(e),t);if(!p){if(c(h=o(e)))return d(h,t,r,f);p=l(0)}if(a(p,"value")){if(!1===p.writable||!c(f))return!1;if(s=i.f(f,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=r,n.f(f,t,s)}else n.f(f,t,l(0,r));return!0}return void 0!==p.set&&(p.set.call(f,r),!0)}s(s.S,"Reflect",{set:d})},9275:function(e,t,r){var n=r("5ca1"),i=r("8b97");i&&n(n.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(r){return!1}}})},9278:function(e,t,r){var n=r("5ca1");n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"92fa":function(e,t){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var i,o,a,s,l;for(a in t)if(i=e[a],o=t[a],i&&r.test(a))if("class"===a&&("string"===typeof i&&(l=i,e[a]=i={},i[l]=!0),"string"===typeof o&&(l=o,t[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=n(i[s],o[s]);else if(Array.isArray(i))e[a]=i.concat(o);else if(Array.isArray(o))e[a]=[i].concat(o);else for(s in o)i[s]=o[s];else e[a]=t[a];return e}),{})}},9306:function(e,t,r){"use strict";var n=r("8e60"),i=r("c3a1"),o=r("9aa9"),a=r("355d"),s=r("241e"),l=r("335c"),u=Object.assign;e.exports=!u||r("294c")((function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||Object.keys(u({},t)).join("")!=n}))?function(e,t){var r=s(e),u=arguments.length,c=1,d=o.f,h=a.f;while(u>c){var f,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;while(g>v)f=m[v++],n&&!h.call(p,f)||(r[f]=p[f])}return r}:u},"93bf":function(e,t,r){
|
||
/*!
|
||
* screenfull
|
||
* v4.2.0 - 2019-04-01
|
||
* (c) Sindre Sorhus; MIT License
|
||
*/
|
||
(function(){"use strict";var t="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},r=e.exports,n="undefined"!==typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,i=function(){for(var e,r=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,i=r.length,o={};n<i;n++)if(e=r[n],e&&e[1]in t){for(n=0;n<e.length;n++)o[r[0][n]]=e[n];return o}return!1}(),o={change:i.fullscreenchange,error:i.fullscreenerror},a={request:function(e){return new Promise(function(r){var o=i.requestFullscreen,a=function(){this.off("change",a),r()}.bind(this);e=e||t.documentElement,/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?e[o]():e[o](n?Element.ALLOW_KEYBOARD_INPUT:{}),this.on("change",a)}.bind(this))},exit:function(){return new Promise(function(e){if(this.isFullscreen){var r=function(){this.off("change",r),e()}.bind(this);t[i.exitFullscreen](),this.on("change",r)}else e()}.bind(this))},toggle:function(e){return this.isFullscreen?this.exit():this.request(e)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,r){var n=o[e];n&&t.addEventListener(n,r,!1)},off:function(e,r){var n=o[e];n&&t.removeEventListener(n,r,!1)},raw:i};i?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[i.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[i.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(t[i.fullscreenEnabled])}}}),r?(e.exports=a,e.exports.default=a):window.screenfull=a):r?e.exports=!1:window.screenfull=!1})()},9427:function(e,t,r){var n=r("63b6");n(n.S,"Object",{create:r("a159")})},"94f8":function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,a=r.algo,s=[],l=[];(function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}var n=2,i=0;while(i<64)e(n)&&(i<8&&(s[i]=r(t.pow(n,.5))),l[i]=r(t.pow(n,1/3)),i++),n++})();var u=[],c=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=r[5],d=r[6],h=r[7],f=0;f<64;f++){if(f<16)u[f]=0|e[t+f];else{var p=u[f-15],m=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=u[f-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[f]=m+u[f-7]+v+u[f-16]}var y=s&c^~s&d,b=n&i^n&o^i&o,_=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),x=h+w+y+l[f]+u[f],k=_+b;h=d,d=c,c=s,s=a+x|0,a=o,o=i,i=n,n=x+k|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+c|0,r[6]=r[6]+d|0,r[7]=r[7]+h|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=o._createHelper(c),r.HmacSHA256=o._createHmacHelper(c)}(Math),e.SHA256}))},9523:function(e,t,r){var n=r("a395");function i(e,t,r){return t=n(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"957c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t){var r=e.split("_");return t%10===1&&t%100!==11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){var i={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?r?"минута":"минуту":e+" "+t(i[n],+e)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:r,m:r,mm:r,h:"час",hh:r,d:"день",dd:r,w:"неделя",ww:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return i}))},"958b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){switch(r){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var r=e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,r){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return r}))},9609:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},r=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}});return r}))},9619:function(e,t,r){var n=r("597f"),i=r("0e15");e.exports={throttle:n,debounce:i}},9686:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return n}))},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(I){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),s=new A(n||[]);return i(a,"_invoke",{value:C(e,r,s)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(I){return{type:"throw",arg:I}}}e.wrap=c;var h="suspendedStart",f="suspendedYield",p="executing",m="completed",g={};function v(){}function y(){}function b(){}var _={};u(_,a,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(D([])));x&&x!==r&&n.call(x,a)&&(_=x);var k=b.prototype=v.prototype=Object.create(_);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function r(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"===typeof c&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(c).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var o;function a(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}i(this,"_invoke",{value:a})}function C(e,t,r){var n=h;return function(i,o){if(n===p)throw new Error("Generator is already running");if(n===m){if("throw"===i)throw o;return E()}r.method=i,r.arg=o;while(1){var a=r.delegate;if(a){var s=T(a,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var l=d(e,t,r);if("normal"===l.type){if(n=r.done?m:f,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=m,r.method="throw",r.arg=l.arg)}}}function T(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=d(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(e){if(null!=e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){while(++i<e.length)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}function E(){return{value:t,done:!0}}return y.prototype=b,i(k,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},S(M.prototype),u(M.prototype,s,(function(){return this})),e.AsyncIterator=M,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new M(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(k),u(k,l,"Generator"),u(k,a,(function(){return this})),u(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){while(r.length){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=D,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;L(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=n}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"96fb":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"970b":function(e,t){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"972c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r){var n={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100===0)&&(i=" de "),e+i+n[r]}var r=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return r}))},9744:function(e,t,r){"use strict";var n=r("4588"),i=r("be13");e.exports=function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},9797:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,r="",n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?r=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(r=n[t]),e+r},week:{dow:1,doy:4}});return t}))},"980a":function(e,t,r){var n=r("5ca1"),i=r("8894");n(n.S+n.F,"Object",{define:i})},9865:function(e,t,r){"use strict";var n=r("5ca1"),i=r("6821"),o=r("4588"),a=r("9def"),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!r("2f21")(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=i(this),r=a(t.length),n=r-1;for(arguments.length>1&&(n=Math.min(n,o(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in t&&t[n]===e)return n||0;return-1}})},9886:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CRender",{enumerable:!0,get:function(){return i["default"]}}),Object.defineProperty(t,"extendNewGraph",{enumerable:!0,get:function(){return o.extendNewGraph}}),t["default"]=void 0;var i=n(r("85c4")),o=r("b06d"),a=i["default"];t["default"]=a},"988d":function(e,t,r){"use strict";var n=r("5ca1"),i=r("be13"),o=r("9def"),a=r("aae3"),s=r("0bfb"),l=RegExp.prototype,u=function(e,t){this._r=e,this._s=t};r("41a0")(u,"RegExp String",(function(){var e=this._r.exec(this._s);return{value:e,done:null===e}})),n(n.P,"String",{matchAll:function(e){if(i(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),r="flags"in l?String(e.flags):s.call(e),n=new RegExp(e.source,~r.indexOf("g")?r:"g"+r);return n.lastIndex=o(e.lastIndex),new u(n,t)}})},"990b":function(e,t,r){var n=r("9093"),i=r("2621"),o=r("cb7c"),a=r("7726").Reflect;e.exports=a&&a.ownKeys||function(e){var t=n.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},9964:function(e,t,r){var n=r("cb7c"),i=r("27ee");e.exports=r("8378").getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},9986:function(e,t,r){var n=r("6821"),i=r("11e9").f;r("5eda")("getOwnPropertyDescriptor",(function(){return function(e,t){return i(n(e),t)}}))},"99c5":function(e,t,r){r("c6a1")("Set")},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9ab4":function(e,t,r){},"9aea":function(e,t,r){var n=r("d3f4"),i=r("67ab").onFreeze;r("5eda")("preventExtensions",(function(e){return function(t){return e&&n(t)?e(i(t)):t}}))},"9b06":function(e,t,r){},"9b42":function(e,t){function r(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r["return"]&&(a=r["return"](),Object(a)!==a))return}finally{if(u)throw i}}return s}}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"9b43":function(e,t,r){var n=r("d8e8");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},"9c00":function(e,t,r){var n=r("5ca1");n(n.S,"Math",{iaddh:function(e,t,r,n){var i=e>>>0,o=t>>>0,a=r>>>0;return o+(n>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}})},"9c12":function(e,t,r){var n=r("d3f4"),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},"9c29":function(e,t,r){r("ec30")("Uint32",4,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"9c6c":function(e,t,r){var n=r("2b4c")("unscopables"),i=Array.prototype;void 0==i[n]&&r("32e9")(i,n,{}),e.exports=function(e){i[n][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9c86":function(e,t,r){"use strict";r("386b")("big",(function(e){return function(){return e(this,"big","","")}}))},"9d85":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.changeDefaultConfig=g,Object.defineProperty(t,"colorConfig",{enumerable:!0,get:function(){return n.colorConfig}}),Object.defineProperty(t,"gridConfig",{enumerable:!0,get:function(){return i.gridConfig}}),Object.defineProperty(t,"xAxisConfig",{enumerable:!0,get:function(){return o.xAxisConfig}}),Object.defineProperty(t,"yAxisConfig",{enumerable:!0,get:function(){return o.yAxisConfig}}),Object.defineProperty(t,"titleConfig",{enumerable:!0,get:function(){return a.titleConfig}}),Object.defineProperty(t,"lineConfig",{enumerable:!0,get:function(){return s.lineConfig}}),Object.defineProperty(t,"barConfig",{enumerable:!0,get:function(){return l.barConfig}}),Object.defineProperty(t,"pieConfig",{enumerable:!0,get:function(){return u.pieConfig}}),Object.defineProperty(t,"radarAxisConfig",{enumerable:!0,get:function(){return c.radarAxisConfig}}),Object.defineProperty(t,"radarConfig",{enumerable:!0,get:function(){return d.radarConfig}}),Object.defineProperty(t,"gaugeConfig",{enumerable:!0,get:function(){return h.gaugeConfig}}),Object.defineProperty(t,"legendConfig",{enumerable:!0,get:function(){return f.legendConfig}}),t.keys=void 0;var n=r("f3cb"),i=r("49bc"),o=r("c930"),a=r("887c"),s=r("6eb9"),l=r("f111"),u=r("222a"),c=r("0cd4"),d=r("3938"),h=r("cc6d"),f=r("60f1"),p=r("becb"),m={colorConfig:n.colorConfig,gridConfig:i.gridConfig,xAxisConfig:o.xAxisConfig,yAxisConfig:o.yAxisConfig,titleConfig:a.titleConfig,lineConfig:s.lineConfig,barConfig:l.barConfig,pieConfig:u.pieConfig,radarAxisConfig:c.radarAxisConfig,radarConfig:d.radarConfig,gaugeConfig:h.gaugeConfig,legendConfig:f.legendConfig};function g(e,t){m["".concat(e,"Config")]?(0,p.deepMerge)(m["".concat(e,"Config")],t):console.warn("Change default config Error - Invalid key!")}var v=["color","title","legend","xAxis","yAxis","grid","radarAxis","line","bar","pie","radar","gauge"];t.keys=v},"9d98":function(e,t,r){var n=r("63b6");n(n.S+n.F*!r("8e60"),"Object",{defineProperties:r("7e90")})},"9def":function(e,t,r){var n=r("4588"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},"9e1e":function(e,t,r){e.exports=!r("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9ec8":function(e,t,r){"use strict";r("386b")("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},"9f26":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:t,monthsShortStrictRegex:r,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return o}))},"9f3c":function(e,t,r){var n=r("5ca1"),i=r("2d5c");n(n.S+n.F*(i!=Math.expm1),"Math",{expm1:i})},a032:function(e,t,r){"use strict";var n=r("5ca1"),i=r("02f4")(!1);n(n.P,"String",{codePointAt:function(e){return i(this,e)}})},a0f0:function(e,t,r){},a11b:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126}))},a143:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxis=f;var i=n(r("278c")),o=n(r("9523")),a=n(r("448a")),s=r("18ad"),l=r("9d85"),u=r("5557"),c=r("becb");function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,o["default"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.radar,n=[];r&&(n=p(r),n=m(n,e),n=g(n,e),n=v(n),n=y(n),n=b(n),n=[n]);var i=n;n.length&&!n[0].show&&(i=[]),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisSplitArea",getGraphConfig:_,beforeUpdate:k,beforeChange:S}),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisSplitLine",getGraphConfig:M,beforeUpdate:O,beforeChange:L}),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisLine",getGraphConfig:A}),(0,s.doUpdate)({chart:e,series:i,key:"radarAxisLable",getGraphConfig:I}),e.radarAxis=n[0]}function p(e){return(0,c.deepMerge)((0,u.deepClone)(l.radarAxisConfig),e)}function m(e,t){var r=t.render.area,n=e.center;return e.centerPos=n.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*r[t]})),e}function g(e,t){var r=t.render.area,n=e.splitNum,i=e.radius,o=Math.min.apply(Math,(0,a["default"])(r))/2;"number"!==typeof i&&(i=parseInt(i)/100*o);var s=i/n;return e.ringRadius=new Array(n).fill(0).map((function(e,t){return s*(t+1)})),e.radius=i,e}function v(e){var t=e.indicator,r=e.centerPos,n=e.radius,i=e.startAngle,o=2*Math.PI,s=t.length,l=o/s,c=new Array(s).fill(0).map((function(e,t){return l*t+i}));return e.axisLineAngles=c,e.axisLinePosition=c.map((function(e){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(r).concat([n,e]))})),e}function y(e){var t=e.ringRadius,r=t[0]/2;return e.areaRadius=t.map((function(e){return e-r})),e}function b(e){var t=e.axisLineAngles,r=e.centerPos,n=e.radius,i=e.axisLabel;return n+=i.labelGap,e.axisLabelPosition=t.map((function(e){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(r).concat([n,e]))})),e}function _(e){var t=e.areaRadius,r=e.polygon,n=e.animationCurve,i=e.animationFrame,o=e.rLevel,a=r?"regPolygon":"ring";return t.map((function(t,r){return{name:a,index:o,visible:e.splitArea.show,animationCurve:n,animationFrame:i,shape:w(e,r),style:x(e,r)}}))}function w(e,t){var r=e.polygon,n=e.areaRadius,i=e.indicator,o=e.centerPos,a=i.length,s={rx:o[0],ry:o[1],r:n[t]};return r&&(s.side=a),s}function x(e,t){var r=e.splitArea,n=e.ringRadius,i=e.axisLineAngles,o=e.polygon,s=e.centerPos,l=r.color,d=r.style;d=h({fill:"rgba(0, 0, 0, 0)"},d);var f=n[0]-0;if(o){var p=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([n[0],i[0]])),m=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([n[0],i[1]]));f=(0,c.getPointToLineDistance)(s,p,m)}if(d=(0,c.deepMerge)((0,u.deepClone)(d,!0),{lineWidth:f}),!l.length)return d;var g=l.length;return(0,c.deepMerge)(d,{stroke:l[t%g]})}function k(e,t,r,n){var i=e[r];if(i){var o=n.chart.render,a=t.polygon,s=i[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(i.forEach((function(e){return o.delGraph(e)})),e[r]=null)}}function S(e,t){var r=t.shape.side;"number"===typeof r&&(e.shape.side=r)}function M(e){var t=e.ringRadius,r=e.polygon,n=e.animationCurve,i=e.animationFrame,o=e.rLevel,a=r?"regPolygon":"ring";return t.map((function(t,r){return{name:a,index:o,animationCurve:n,animationFrame:i,visible:e.splitLine.show,shape:C(e,r),style:T(e,r)}}))}function C(e,t){var r=e.ringRadius,n=e.centerPos,i=e.indicator,o=e.polygon,a={rx:n[0],ry:n[1],r:r[t]},s=i.length;return o&&(a.side=s),a}function T(e,t){var r=e.splitLine,n=r.color,i=r.style;if(i=h({fill:"rgba(0, 0, 0, 0)"},i),!n.length)return i;var o=n.length;return(0,c.deepMerge)(i,{stroke:n[t%o]})}function O(e,t,r,n){var i=e[r];if(i){var o=n.chart.render,a=t.polygon,s=i[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(i.forEach((function(e){return o.delGraph(e)})),e[r]=null)}}function L(e,t){var r=t.shape.side;"number"===typeof r&&(e.shape.side=r)}function A(e){var t=e.axisLinePosition,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"polyline",index:i,visible:e.axisLine.show,animationCurve:r,animationFrame:n,shape:D(e,o),style:E(e,o)}}))}function D(e,t){var r=e.centerPos,n=e.axisLinePosition,i=[r,n[t]];return{points:i}}function E(e,t){var r=e.axisLine,n=r.color,i=r.style;if(!n.length)return i;var o=n.length;return(0,c.deepMerge)(i,{stroke:n[t%o]})}function I(e){var t=e.axisLabelPosition,r=e.animationCurve,n=e.animationFrame,i=e.rLevel;return t.map((function(t,o){return{name:"text",index:i,visible:e.axisLabel.show,animationCurve:r,animationFrame:n,shape:j(e,o),style:P(e,o)}}))}function j(e,t){var r=e.axisLabelPosition,n=e.indicator;return{content:n[t].name,position:r[t]}}function P(e,t){var r=e.axisLabel,n=(0,i["default"])(e.centerPos,2),o=n[0],a=n[1],s=e.axisLabelPosition,l=r.color,u=r.style,d=(0,i["default"])(s[t],2),h=d[0],f=d[1],p=h>o?"left":"right",m=f>a?"top":"bottom";if(u=(0,c.deepMerge)({textAlign:p,textBaseline:m},u),!l.length)return u;var g=l.length;return(0,c.deepMerge)(u,{fill:l[t%g]})}},a157:function(e,t,r){},a159:function(e,t,r){var n=r("e4ae"),i=r("7e90"),o=r("1691"),a=r("5559")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=r("1ec9")("iframe"),n=o.length,i="<",a=">";t.style.display="none",r("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(n--)delete u[l][o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[l]=n(e),r=new s,s[l]=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},a15e:function(e,t,r){"use strict";r.r(t);var n=r("41b2"),i=r.n(n),o=r("1098"),a=r.n(o),s=/%[sdj%]/g,l=function(){};function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,i=t[0],o=t.length;if("function"===typeof i)return i.apply(null,t.slice(1));if("string"===typeof i){for(var a=String(i).replace(s,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(r){return"[Circular]"}break;default:return e}})),l=t[n];n<o;l=t[++n])a+=" "+l;return a}return i}function c(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function d(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!c(t)||"string"!==typeof e||e))}function h(e,t,r){var n=[],i=0,o=e.length;function a(e){n.push.apply(n,e),i++,i===o&&r(n)}e.forEach((function(e){t(e,a)}))}function f(e,t,r){var n=0,i=e.length;function o(a){if(a&&a.length)r(a);else{var s=n;n+=1,s<i?t(e[s],o):r([])}}o([])}function p(e){var t=[];return Object.keys(e).forEach((function(r){t.push.apply(t,e[r])})),t}function m(e,t,r,n){if(t.first){var i=p(e);return f(i,r,n)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,l=0,u=[],c=function(e){u.push.apply(u,e),l++,l===s&&n(u)};a.forEach((function(t){var n=e[t];-1!==o.indexOf(t)?f(n,r,c):h(n,r,c)}))}function g(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function v(e,t){if(t)for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];"object"===("undefined"===typeof n?"undefined":a()(n))&&"object"===a()(e[r])?e[r]=i()({},e[r],n):e[r]=n}return e}function y(e,t,r,n,i,o){!e.required||r.hasOwnProperty(e.field)&&!d(t,o||e.type)||n.push(u(i.messages.required,e.fullField))}var b=y;function _(e,t,r,n,i){(/^\s+$/.test(t)||""===t)&&n.push(u(i.messages.whitespace,e.fullField))}var w=_,x={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},k={integer:function(e){return k.number(e)&&parseInt(e,10)===e},float:function(e){return k.number(e)&&!k.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===("undefined"===typeof e?"undefined":a()(e))&&!k.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(x.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(x.url)},hex:function(e){return"string"===typeof e&&!!e.match(x.hex)}};function S(e,t,r,n,i){if(e.required&&void 0===t)b(e,t,r,n,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=e.type;o.indexOf(s)>-1?k[s](t)||n.push(u(i.messages.types[s],e.fullField,e.type)):s&&("undefined"===typeof t?"undefined":a()(t))!==e.type&&n.push(u(i.messages.types[s],e.fullField,e.type))}}var M=S;function C(e,t,r,n,i){var o="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,d=null,h="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(h?d="number":f?d="string":p&&(d="array"),!d)return!1;p&&(c=t.length),f&&(c=t.replace(l,"_").length),o?c!==e.len&&n.push(u(i.messages[d].len,e.fullField,e.len)):a&&!s&&c<e.min?n.push(u(i.messages[d].min,e.fullField,e.min)):s&&!a&&c>e.max?n.push(u(i.messages[d].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&n.push(u(i.messages[d].range,e.fullField,e.min,e.max))}var T=C,O="enum";function L(e,t,r,n,i){e[O]=Array.isArray(e[O])?e[O]:[],-1===e[O].indexOf(t)&&n.push(u(i.messages[O],e.fullField,e[O].join(", ")))}var A=L;function D(e,t,r,n,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(u(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||n.push(u(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var E=D,I={required:b,whitespace:w,type:M,range:T,enum:A,pattern:E};function j(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return r();I.required(e,t,n,o,i,"string"),d(t,"string")||(I.type(e,t,n,o,i),I.range(e,t,n,o,i),I.pattern(e,t,n,o,i),!0===e.whitespace&&I.whitespace(e,t,n,o,i))}r(o)}var P=j;function R(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),void 0!==t&&I.type(e,t,n,o,i)}r(o)}var N=R;function B(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),void 0!==t&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}var Y=B;function F(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),void 0!==t&&I.type(e,t,n,o,i)}r(o)}var z=F;function H(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),d(t)||I.type(e,t,n,o,i)}r(o)}var V=H;function U(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),void 0!==t&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}var W=U;function $(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),void 0!==t&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}var G=$;function q(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t,"array")&&!e.required)return r();I.required(e,t,n,o,i,"array"),d(t,"array")||(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}var X=q;function K(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),void 0!==t&&I.type(e,t,n,o,i)}r(o)}var Z=K,J="enum";function Q(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();I.required(e,t,n,o,i),t&&I[J](e,t,n,o,i)}r(o)}var ee=Q;function te(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return r();I.required(e,t,n,o,i),d(t,"string")||I.pattern(e,t,n,o,i)}r(o)}var re=te;function ne(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();if(I.required(e,t,n,o,i),!d(t)){var s=void 0;s="number"===typeof t?new Date(t):t,I.type(e,s,n,o,i),s&&I.range(e,s.getTime(),n,o,i)}}r(o)}var ie=ne;function oe(e,t,r,n,i){var o=[],s=Array.isArray(t)?"array":"undefined"===typeof t?"undefined":a()(t);I.required(e,t,n,o,i,s),r(o)}var ae=oe;function se(e,t,r,n,i){var o=e.type,a=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(d(t,o)&&!e.required)return r();I.required(e,t,n,a,i,o),d(t,o)||I.type(e,t,n,a,i)}r(a)}var le=se,ue={string:P,method:N,number:Y,boolean:z,regexp:V,integer:W,float:G,array:X,object:Z,enum:ee,pattern:re,date:ie,url:le,hex:le,email:le,required:ae};function ce(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var de=ce();function he(e){this.rules=null,this._messages=de,this.define(e)}he.prototype={messages:function(e){return e&&(this._messages=v(ce(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":a()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,r=void 0;for(t in e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2],o=e,s=r,c=n;if("function"===typeof s&&(c=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var d=this.messages();d===de&&(d=ce()),v(d,s.messages),s.messages=d}else s.messages=this.messages();var h=void 0,f=void 0,p={},y=s.keys||Object.keys(this.rules);y.forEach((function(r){h=t.rules[r],f=o[r],h.forEach((function(n){var a=n;"function"===typeof a.transform&&(o===e&&(o=i()({},o)),f=o[r]=a.transform(f)),a="function"===typeof a?{validator:a}:i()({},a),a.validator=t.getValidationMethod(a),a.field=r,a.fullField=a.fullField||r,a.type=t.getType(a),a.validator&&(p[r]=p[r]||[],p[r].push({rule:a,value:f,source:o,field:r}))}))}));var b={};m(p,s,(function(e,t){var r=e.rule,n=("object"===r.type||"array"===r.type)&&("object"===a()(r.fields)||"object"===a()(r.defaultField));function o(e,t){return i()({},t,{fullField:r.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;if(Array.isArray(c)||(c=[c]),c.length&&l("async-validator:",c),c.length&&r.message&&(c=[].concat(r.message)),c=c.map(g(r)),s.first&&c.length)return b[r.field]=1,t(c);if(n){if(r.required&&!e.value)return c=r.message?[].concat(r.message).map(g(r)):s.error?[s.error(r,u(s.messages.required,r.field))]:[],t(c);var d={};if(r.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(d[h]=r.defaultField);for(var f in d=i()({},d,e.rule.fields),d)if(d.hasOwnProperty(f)){var p=Array.isArray(d[f])?d[f]:[d[f]];d[f]=p.map(o.bind(null,f))}var m=new he(d);m.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),m.validate(e.value,e.rule.options||s,(function(e){t(e&&e.length?c.concat(e):e)}))}else t(c)}n=n&&(r.required||!r.required&&e.value),r.field=e.field;var d=r.validator(r,e.value,c,e.source,s);d&&d.then&&d.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){_(e)}))}else c&&c();function _(e){var t=void 0,r=void 0,n=[],i={};function o(e){Array.isArray(e)?n=n.concat.apply(n,e):n.push(e)}for(t=0;t<e.length;t++)o(e[t]);if(n.length)for(t=0;t<n.length;t++)r=n[t].field,i[r]=i[r]||[],i[r].push(n[t]);else n=null,i=null;c(n,i)}},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!ue.hasOwnProperty(e.type))throw new Error(u("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),r=t.indexOf("message");return-1!==r&&t.splice(r,1),1===t.length&&"required"===t[0]?ue.required:ue[this.getType(e)]||!1}},he.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");ue[e]=t},he.messages=de;t["default"]=he},a19f:function(e,t,r){var n=r("5ca1"),i=r("cb7c"),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(t){return!1}}})},a22a:function(e,t,r){var n=r("d864"),i=r("b0dc"),o=r("3702"),a=r("e4ae"),s=r("b447"),l=r("7cd6"),u={},c={};t=e.exports=function(e,t,r,d,h){var f,p,m,g,v=h?function(){return e}:l(e),y=n(r,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>b;b++)if(g=t?y(a(p=e[b])[0],p[1]):y(e[b]),g===u||g===c)return g}else for(m=v.call(e);!(p=m.next()).done;)if(g=i(m,y,p.value,t),g===u||g===c)return g};t.BREAK=u,t.RETURN=c},a234:function(e,t,r){var n=r("5ca1");n(n.S,"System",{global:r("7726")})},a25f:function(e,t,r){var n=r("7726"),i=n.navigator;e.exports=i&&i.userAgent||""},a34a:function(e,t,r){var n=r("7ec2")();e.exports=n;try{regeneratorRuntime=n}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},a356:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(n,i,o,a){var s=t(n),l=r[e][t(n)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,n)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return o}))},a395:function(e,t,r){var n=r("7037")["default"],i=r("e50d");function o(e){var t=i(e,"string");return"symbol"==n(t)?t:t+""}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},a3c3:function(e,t,r){var n=r("63b6");n(n.S+n.F,"Object",{assign:r("9306")})},a3de:function(e,t,r){"use strict";var n=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:n,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=i},a40e:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.BlockCipher,o=t.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=i.extend({_doReset:function(){for(var e=this._key,t=e.words,r=[],n=0;n<56;n++){var i=a[n]-1;r[n]=t[i>>>5]>>>31-i%32&1}for(var o=this._subKeys=[],u=0;u<16;u++){var c=o[u]=[],d=l[u];for(n=0;n<24;n++)c[n/6|0]|=r[(s[n]-1+d)%28]<<31-n%6,c[4+(n/6|0)]|=r[28+(s[n+24]-1+d)%28]<<31-n%6;c[0]=c[0]<<1|c[0]>>>31;for(n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var h=this._invSubKeys=[];for(n=0;n<16;n++)h[n]=o[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],o=this._lBlock,a=this._rBlock,s=0,l=0;l<8;l++)s|=u[l][((a^i[l])&c[l])>>>0];this._lBlock=a,this._rBlock=o^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function f(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=i._createHelper(d);var p=o.TripleDES=i.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var r=t.slice(0,2),i=t.length<4?t.slice(0,2):t.slice(2,4),o=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=d.createEncryptor(n.create(r)),this._des2=d.createEncryptor(n.create(i)),this._des3=d.createEncryptor(n.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(p)}(),e.TripleDES}))},a481:function(e,t,r){"use strict";var n=r("cb7c"),i=r("4bf8"),o=r("9def"),a=r("4588"),s=r("0390"),l=r("5f1b"),u=Math.max,c=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};r("214f")("replace",2,(function(e,t,r,m){return[function(n,i){var o=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,o,i):r.call(String(o),n,i)},function(e,t){var i=m(r,e,this,t);if(i.done)return i.value;var d=n(e),h=String(this),f="function"===typeof t;f||(t=String(t));var v=d.global;if(v){var y=d.unicode;d.lastIndex=0}var b=[];while(1){var _=l(d,h);if(null===_)break;if(b.push(_),!v)break;var w=String(_[0]);""===w&&(d.lastIndex=s(h,o(d.lastIndex),y))}for(var x="",k=0,S=0;S<b.length;S++){_=b[S];for(var M=String(_[0]),C=u(c(a(_.index),h.length),0),T=[],O=1;O<_.length;O++)T.push(p(_[O]));var L=_.groups;if(f){var A=[M].concat(T,C,h);void 0!==L&&A.push(L);var D=String(t.apply(void 0,A))}else D=g(M,h,C,T,L,t);C>=k&&(x+=h.slice(k,C)+D,k=C+M.length)}return x+h.slice(k)}];function g(e,t,n,o,a,s){var l=n+e.length,u=o.length,c=f;return void 0!==a&&(a=i(a),c=h),r.call(s,c,(function(r,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>u){var h=d(c/10);return 0===h?r:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):r}s=o[c-1]}return void 0===s?"":s}))}}))},a5b8:function(e,t,r){"use strict";var n=r("d8e8");function i(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},a5d8:function(e,t,r){},a69f:function(e,t,r){var n=r("5ca1");n(n.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},a6fa:function(e,t,r){"use strict";var n=r("7618"),i=r("366e"),o=r.n(i);function a(e,t){if("object"!=Object(n["a"])(e)||!e)return e;var r=e[o.a];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=Object(n["a"])(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e){var t=a(e,"string");return"symbol"==Object(n["a"])(t)?t:t+""}r.d(t,"a",(function(){return s}))},a736:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mergeColor",{enumerable:!0,get:function(){return n.mergeColor}}),Object.defineProperty(t,"title",{enumerable:!0,get:function(){return i.title}}),Object.defineProperty(t,"grid",{enumerable:!0,get:function(){return o.grid}}),Object.defineProperty(t,"axis",{enumerable:!0,get:function(){return a.axis}}),Object.defineProperty(t,"line",{enumerable:!0,get:function(){return s.line}}),Object.defineProperty(t,"bar",{enumerable:!0,get:function(){return l.bar}}),Object.defineProperty(t,"pie",{enumerable:!0,get:function(){return u.pie}}),Object.defineProperty(t,"radarAxis",{enumerable:!0,get:function(){return c.radarAxis}}),Object.defineProperty(t,"radar",{enumerable:!0,get:function(){return d.radar}}),Object.defineProperty(t,"gauge",{enumerable:!0,get:function(){return h.gauge}}),Object.defineProperty(t,"legend",{enumerable:!0,get:function(){return f.legend}});var n=r("8a1d"),i=r("873c"),o=r("46bb"),a=r("0680"),s=r("252f"),l=r("204e"),u=r("729e"),c=r("a143"),d=r("4eb1"),h=r("1f55"),f=r("60f7")},a78e:function(e,t,r){var n,i;
|
||
/*!
|
||
* JavaScript Cookie v2.2.0
|
||
* https://github.com/js-cookie/js-cookie
|
||
*
|
||
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
||
* Released under the MIT license
|
||
*/(function(o){var a=!1;if(n=o,i="function"===typeof n?n.call(t,r,t,e):n,void 0===i||(e.exports=i),a=!0,e.exports=o(),a=!0,!a){var s=window.Cookies,l=window.Cookies=o();l.noConflict=function(){return window.Cookies=s,l}}})((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(r){function n(t,i,o){var a;if("undefined"!==typeof document){if(arguments.length>1){if(o=e({path:"/"},n.defaults,o),"number"===typeof o.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*o.expires),o.expires=s}o.expires=o.expires?o.expires.toUTCString():"";try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch(g){}i=r.write?r.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape);var l="";for(var u in o)o[u]&&(l+="; "+u,!0!==o[u]&&(l+="="+o[u]));return document.cookie=t+"="+i+l}t||(a={});for(var c=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,h=0;h<c.length;h++){var f=c[h].split("="),p=f.slice(1).join("=");this.json||'"'!==p.charAt(0)||(p=p.slice(1,-1));try{var m=f[0].replace(d,decodeURIComponent);if(p=r.read?r.read(p,m):r(p,m)||p.replace(d,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(g){}if(t===m){a=p;break}t||(a[m]=p)}catch(g){}}return a}}return n.set=n,n.get=function(e){return n.call(n,e)},n.getJSON=function(){return n.apply({json:!0},[].slice.call(arguments))},n.defaults={},n.remove=function(t,r){n(t,"",e(r,{expires:-1}))},n.withConverter=t,n}return t((function(){}))}))},a7fa:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return t}))},a817:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,o=r+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923}))},a870:function(e,t,r){"use strict";r.r(t);var n=(e=>(e.transparent="rgba(0,0,0,0)",e.black="#000000",e.silver="#C0C0C0",e.gray="#808080",e.white="#FFFFFF",e.maroon="#800000",e.red="#FF0000",e.purple="#800080",e.fuchsia="#FF00FF",e.green="#008000",e.lime="#00FF00",e.olive="#808000",e.yellow="#FFFF00",e.navy="#000080",e.blue="#0000FF",e.teal="#008080",e.aqua="#00FFFF",e.aliceblue="#f0f8ff",e.antiquewhite="#faebd7",e.aquamarine="#7fffd4",e.azure="#f0ffff",e.beige="#f5f5dc",e.bisque="#ffe4c4",e.blanchedalmond="#ffebcd",e.blueviolet="#8a2be2",e.brown="#a52a2a",e.burlywood="#deb887",e.cadetblue="#5f9ea0",e.chartreuse="#7fff00",e.chocolate="#d2691e",e.coral="#ff7f50",e.cornflowerblue="#6495ed",e.cornsilk="#fff8dc",e.crimson="#dc143c",e.cyan="#00ffff",e.darkblue="#00008b",e.darkcyan="#008b8b",e.darkgoldenrod="#b8860b",e.darkgray="#a9a9a9",e.darkgreen="#006400",e.darkgrey="#a9a9a9",e.darkkhaki="#bdb76b",e.darkmagenta="#8b008b",e.darkolivegreen="#556b2f",e.darkorange="#ff8c00",e.darkorchid="#9932cc",e.darkred="#8b0000",e.darksalmon="#e9967a",e.darkseagreen="#8fbc8f",e.darkslateblue="#483d8b",e.darkslategray="#2f4f4f",e.darkslategrey="#2f4f4f",e.darkturquoise="#00ced1",e.darkviolet="#9400d3",e.deeppink="#ff1493",e.deepskyblue="#00bfff",e.dimgray="#696969",e.dimgrey="#696969",e.dodgerblue="#1e90ff",e.firebrick="#b22222",e.floralwhite="#fffaf0",e.forestgreen="#228b22",e.gainsboro="#dcdcdc",e.ghostwhite="#f8f8ff",e.gold="#ffd700",e.goldenrod="#daa520",e.greenyellow="#adff2f",e.grey="#808080",e.honeydew="#f0fff0",e.hotpink="#ff69b4",e.indianred="#cd5c5c",e.indigo="#4b0082",e.ivory="#fffff0",e.khaki="#f0e68c",e.lavender="#e6e6fa",e.lavenderblush="#fff0f5",e.lawngreen="#7cfc00",e.lemonchiffon="#fffacd",e.lightblue="#add8e6",e.lightcoral="#f08080",e.lightcyan="#e0ffff",e.lightgoldenrodyellow="#fafad2",e.lightgray="#d3d3d3",e.lightgreen="#90ee90",e.lightgrey="#d3d3d3",e.lightpink="#ffb6c1",e.lightsalmon="#ffa07a",e.lightseagreen="#20b2aa",e.lightskyblue="#87cefa",e.lightslategray="#778899",e.lightslategrey="#778899",e.lightsteelblue="#b0c4de",e.lightyellow="#ffffe0",e.limegreen="#32cd32",e.linen="#faf0e6",e.magenta="#ff00ff",e.mediumaquamarine="#66cdaa",e.mediumblue="#0000cd",e.mediumorchid="#ba55d3",e.mediumpurple="#9370db",e.mediumseagreen="#3cb371",e.mediumslateblue="#7b68ee",e.mediumspringgreen="#00fa9a",e.mediumturquoise="#48d1cc",e.mediumvioletred="#c71585",e.midnightblue="#191970",e.mintcream="#f5fffa",e.mistyrose="#ffe4e1",e.moccasin="#ffe4b5",e.navajowhite="#ffdead",e.oldlace="#fdf5e6",e.olivedrab="#6b8e23",e.orange="#ffa500",e.orangered="#ff4500",e.orchid="#da70d6",e.palegoldenrod="#eee8aa",e.palegreen="#98fb98",e.paleturquoise="#afeeee",e.palevioletred="#db7093",e.papayawhip="#ffefd5",e.peachpuff="#ffdab9",e.peru="#cd853f",e.pink="#ffc0cb",e.plum="#dda0dd",e.powderblue="#b0e0e6",e.rosybrown="#bc8f8f",e.royalblue="#4169e1",e.saddlebrown="#8b4513",e.salmon="#fa8072",e.sandybrown="#f4a460",e.seagreen="#2e8b57",e.seashell="#fff5ee",e.sienna="#a0522d",e.skyblue="#87ceeb",e.slateblue="#6a5acd",e.slategray="#708090",e.snow="#fffafa",e.springgreen="#00ff7f",e.steelblue="#4682b4",e.tan="#d2b48c",e.thistle="#d8bfd8",e.tomato="#ff6347",e.turquoise="#40e0d0",e.violet="#ee82ee",e.wheat="#f5deb3",e.whitesmoke="#f5f5f5",e.yellowgreen="#9acd32",e))(n||{});function i(e){return"string"==typeof e&&(e=e.toLowerCase(),/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e))}function o(e){return"string"==typeof e&&(e=e.toLowerCase(),/^(rgb\(|RGB\()/.test(e))}function a(e){return"string"==typeof e&&(e=e.toLowerCase(),/^(rgba|RGBA)/.test(e))}function s(e){return/^(rgb|rgba|RGB|RGBA)/.test(e)}function l(e){return n[e]}function u(e){if(i(e)||s(e))return e;const t=l(e);if(!t)throw new Error("Color: Invalid Input of "+e);return t}function c(e){e=e.replace("#",""),3===e.length&&(e=Array.from(e).map(e=>e+e).join(""));const t=e.split("");return new Array(3).fill(0).map((e,r)=>parseInt(`0x${t[2*r]}${t[2*r+1]}`))}function d(e){return e.replace(/rgb\(|rgba\(|\)/g,"").split(",").slice(0,3).map(e=>parseInt(e))}function h(e){const t=u(e).toLowerCase();return i(t)?c(t):d(t)}function f(e){const t=u(e);return a(t)?Number(t.toLowerCase().split(",").slice(-1)[0].replace(/[)|\s]/g,"")):1}function p(e){const t=h(e);return t&&[...t,f(e)]}function m(e,t){const r=h(e);return"number"==typeof t?`rgba(${r.join(",")},${t})`:`rgb(${r.join(",")})`}function g(e){if(i(e))return e;const t=h(e),r=e=>Number(e).toString(16).padStart(2,"0");return"#"+t.map(r).join("")}function v(e){if(!Array.isArray(e))throw new Error(`getColorFromRgbValue: ${e} is not an array`);const{length:t}=e;if(3!==t&&4!==t)throw new Error("getColorFromRgbValue: value length should be 3 or 4");return(3===t?"rgb(":"rgba(")+e.join(",")+")"}function y(e,t=0){let r=p(e);return r=r.map((e,r)=>3===r?e:e-Math.ceil(2.55*t)).map(e=>e<0?0:e),v(r)}function b(e,t=0){let r=p(e);return r=r.map((e,r)=>3===r?e:e+Math.ceil(2.55*t)).map(e=>e>255?255:e),v(r)}function _(e,t=100){const r=h(e);return v([...r,t/100])}r.d(t,"darken",(function(){return y})),r.d(t,"fade",(function(){return _})),r.d(t,"getColorFromRgbValue",(function(){return v})),r.d(t,"getOpacity",(function(){return f})),r.d(t,"getRgbValue",(function(){return h})),r.d(t,"getRgbaValue",(function(){return p})),r.d(t,"isHex",(function(){return i})),r.d(t,"isRgb",(function(){return o})),r.d(t,"isRgbOrRgba",(function(){return s})),r.d(t,"isRgba",(function(){return a})),r.d(t,"lighten",(function(){return b})),r.d(t,"toHex",(function(){return g})),r.d(t,"toRgb",(function(){return m}))},a8ce:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=t.enc;i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return n.create(r,2*t)}};function o(e){return e<<8&4278255360|e>>>8&16711935}i.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return n.create(r,2*t)}}}(),e.enc.Utf16}))},a9cc:function(e,t,r){"use strict";var n=r("5ca1"),i=r("a5b8"),o=r("9c80");n(n.S,"Promise",{try:function(e){var t=i.f(this),r=o(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},aa77:function(e,t,r){var n=r("5ca1"),i=r("be13"),o=r("79e5"),a=r("fdef"),s="["+a+"]",l="
",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),d=function(e,t,r){var i={},s=o((function(){return!!a[e]()||l[e]()!=l})),u=i[e]=s?t(h):a[e];r&&(i[r]=u),n(n.P+n.F*s,"String",i)},h=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=d},aae3:function(e,t,r){var n=r("d3f4"),i=r("2d95"),o=r("2b4c")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},aaef:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){
|
||
/** @preserve
|
||
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
||
* derived from CryptoJS.mode.CTR
|
||
* Jan Hruby jhruby.web@gmail.com
|
||
*/
|
||
return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255===(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var l=0;l<i;l++)e[t+l]^=s[l]}});return t.Decryptor=i,t}(),e.mode.CTRGladman}))},aaf2:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return n?i[r][0]:i[r][1]}var r=e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return r}))},aba2:function(e,t,r){var n=r("e53d"),i=r("4178").set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,l="process"==r("6b4c")(a);e.exports=function(){var e,t,r,u=function(){var n,i;l&&(n=a.domain)&&n.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?r():t=void 0,o}}t=void 0,n&&n.enter()};if(l)r=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);r=function(){c.then(u)}}else r=function(){i.call(n,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),r=function(){h.data=d=!d}}return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},abd7:function(e,t){e.exports=function(e,t){var r=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,r)}}},ac4d:function(e,t,r){r("3a72")("asyncIterator")},ac6a:function(e,t,r){for(var n=r("cadf"),i=r("0d58"),o=r("2aba"),a=r("7726"),s=r("32e9"),l=r("84f2"),u=r("2b4c"),c=u("iterator"),d=u("toStringTag"),h=l.Array,f={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},p=i(f),m=0;m<p.length;m++){var g,v=p[m],y=f[v],b=a[v],_=b&&b.prototype;if(_&&(_[c]||s(_,c,h),_[d]||s(_,d,v),l[v]=h,y))for(g in n)_[g]||o(_,g,n[g],!0)}},ada2:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t){var r=e.split("_");return t%10===1&&t%100!==11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){var i={ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?r?"хвилина":"хвилину":"h"===n?r?"година":"годину":e+" "+t(i[n],+e)}function n(e,t){var r,n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n["nominative"].slice(1,7).concat(n["nominative"].slice(0,1)):e?(r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",n[r][e.day()]):n["nominative"]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:r,m:r,mm:r,h:"годину",hh:r,d:"день",dd:r,M:"місяць",MM:r,y:"рік",yy:r},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return o}))},ae10:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("278c")),o=n(r("448a"));function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.25,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25;if(!(e instanceof Array))return console.error("polylineToBezierCurve: Parameter polyline must be an array!"),!1;if(e.length<=2)return console.error("polylineToBezierCurve: Converting to a curve requires at least 3 points!"),!1;var i=e[0],a=e.length-1,u=new Array(a).fill(0).map((function(i,a){return[].concat((0,o["default"])(s(e,a,t,r,n)),[e[a+1]])}));return t&&l(u,i),u.unshift(e[0]),u}function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.25,o=e.length;if(!(o<3||t>=o)){var a=t-1;a<0&&(a=r?o+a:0);var s=t+1;s>=o&&(s=r?s-o:o-1);var l=t+2;l>=o&&(l=r?l-o:o-1);var u=e[a],c=e[t],d=e[s],h=e[l];return[[c[0]+n*(d[0]-u[0]),c[1]+n*(d[1]-u[1])],[d[0]-i*(h[0]-c[0]),d[1]-i*(h[1]-c[1])]]}}function l(e,t){var r=e[0],n=e.slice(-1)[0];return e.push([u(n[1],n[2]),u(r[0],t),t]),e}function u(e,t){var r=(0,i["default"])(e,2),n=r[0],o=r[1],a=(0,i["default"])(t,2),s=a[0],l=a[1],u=s-n,c=l-o;return[s+u,l+c]}var c=a;t["default"]=c},aebd:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},aef6:function(e,t,r){"use strict";var n=r("5ca1"),i=r("9def"),o=r("d2c8"),a="endsWith",s=""[a];n(n.P+n.F*r("5147")(a),"String",{endsWith:function(e){var t=o(this,e,a),r=arguments.length>1?arguments[1]:void 0,n=i(t.length),l=void 0===r?n:Math.min(i(r),n),u=String(e);return s?s.call(t,u,l):t.slice(l-u.length,l)===u}})},af56:function(e,t,r){r("ec30")("Uint16",2,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},af5b:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.BlockCipher,i=t.algo;const o=16,a=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var l={pbox:[],sbox:[]};function u(e,t){let r=t>>24&255,n=t>>16&255,i=t>>8&255,o=255&t,a=e.sbox[0][r]+e.sbox[1][n];return a^=e.sbox[2][i],a+=e.sbox[3][o],a}function c(e,t,r){let n,i=t,a=r;for(let s=0;s<o;++s)i^=e.pbox[s],a=u(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[o],i^=e.pbox[o+1],{left:i,right:a}}function d(e,t,r){let n,i=t,a=r;for(let s=o+1;s>1;--s)i^=e.pbox[s],a=u(e,i)^a,n=i,i=a,a=n;return n=i,i=a,a=n,a^=e.pbox[1],i^=e.pbox[0],{left:i,right:a}}function h(e,t,r){for(let o=0;o<4;o++){e.sbox[o]=[];for(let t=0;t<256;t++)e.sbox[o][t]=s[o][t]}let n=0;for(let s=0;s<o+2;s++)e.pbox[s]=a[s]^t[n],n++,n>=r&&(n=0);let i=0,l=0,u=0;for(let a=0;a<o+2;a+=2)u=c(e,i,l),i=u.left,l=u.right,e.pbox[a]=i,e.pbox[a+1]=l;for(let o=0;o<4;o++)for(let t=0;t<256;t+=2)u=c(e,i,l),i=u.left,l=u.right,e.sbox[o][t]=i,e.sbox[o][t+1]=l;return!0}var f=i.Blowfish=n.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;h(l,t,r)}},encryptBlock:function(e,t){var r=c(l,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=d(l,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=n._createHelper(f)}(),e.Blowfish}))},af87:function(e,t,r){r("66f9"),r("e82b"),r("27ee"),r("9964"),r("d5d2"),r("9091"),r("7c89"),r("ba3e"),r("cc89"),r("980a"),r("20fc"),r("8c4e"),r("d0ca"),r("5ce3"),r("d511"),e.exports=r("8378")},b05c:function(e,t,r){r("ec30")("Int8",1,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},b06d:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.extendNewGraph=S,t["default"]=t.text=t.bezierCurve=t.smoothline=t.polyline=t.regPolygon=t.sector=t.arc=t.ring=t.rect=t.ellipse=t.circle=void 0;var i=n(r("448a")),o=n(r("278c")),a=n(r("050c")),s=r("5557"),l=r("e169"),u=a["default"].polylineToBezierCurve,c=a["default"].bezierCurveToPolyline,d={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,r=t.rx,n=t.ry,i=t.r;return"number"===typeof r&&"number"===typeof n&&"number"===typeof i||(console.error("Circle shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.rx,o=n.ry,a=n.r;r.arc(i,o,a>0?a:.01,0,2*Math.PI),r.fill(),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=r.rx,i=r.ry,o=r.r;return(0,s.checkPointIsInCircle)(e,n,i,o)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry;n.graphCenter=[i,o]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+r,ry:i.ry+n})}};t.circle=d;var h={shape:{rx:0,ry:0,hr:0,vr:0},validator:function(e){var t=e.shape,r=t.rx,n=t.ry,i=t.hr,o=t.vr;return"number"===typeof r&&"number"===typeof n&&"number"===typeof i&&"number"===typeof o||(console.error("Ellipse shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.rx,o=n.ry,a=n.hr,s=n.vr;r.ellipse(i,o,a>0?a:.01,s>0?s:.01,0,0,2*Math.PI),r.fill(),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=r.rx,i=r.ry,o=r.hr,a=r.vr,l=Math.max(o,a),u=Math.min(o,a),c=Math.sqrt(l*l-u*u),d=[n-c,i],h=[n+c,i],f=(0,s.getTwoPointDistance)(e,d)+(0,s.getTwoPointDistance)(e,h);return f<=2*l},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry;n.graphCenter=[i,o]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+r,ry:i.ry+n})}};t.ellipse=h;var f={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,r=t.x,n=t.y,i=t.w,o=t.h;return"number"===typeof r&&"number"===typeof n&&"number"===typeof i&&"number"===typeof o||(console.error("Rect shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.x,o=n.y,a=n.w,s=n.h;r.rect(i,o,a,s),r.fill(),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=r.x,i=r.y,o=r.w,a=r.h;return(0,s.checkPointIsInRect)(e,n,i,o,a)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.x,o=r.y,a=r.w,s=r.h;n.graphCenter=[i+a/2,o+s/2]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape;this.attr("shape",{x:i.x+r,y:i.y+n})}};t.rect=f;var p={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,r=t.rx,n=t.ry,i=t.r;return"number"===typeof r&&"number"===typeof n&&"number"===typeof i||(console.error("Ring shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.rx,o=n.ry,a=n.r;r.arc(i,o,a>0?a:.01,0,2*Math.PI),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry,a=r.r,l=n.lineWidth,u=l/2,c=a-u,d=a+u,h=(0,s.getTwoPointDistance)(e,[i,o]);return h>=c&&h<=d},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry;n.graphCenter=[i,o]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+r,ry:i.ry+n})}};t.ring=p;var m={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,r=["rx","ry","r","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(console.error("Arc shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.rx,o=n.ry,a=n.r,s=n.startAngle,l=n.endAngle,u=n.clockWise;r.arc(i,o,a>0?a:.001,s,l,!u),r.stroke(),r.closePath()},hoverCheck:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry,a=r.r,l=r.startAngle,u=r.endAngle,c=r.clockWise,d=n.lineWidth,h=d/2,f=a-h,p=a+h;return!(0,s.checkPointIsInSector)(e,i,o,f,l,u,c)&&(0,s.checkPointIsInSector)(e,i,o,p,l,u,c)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry;n.graphCenter=[i,o]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape;this.attr("shape",{rx:i.rx+r,ry:i.ry+n})}};t.arc=m;var g={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,r=["rx","ry","r","startAngle","endAngle"];return!r.find((function(e){return"number"!==typeof t[e]}))||(console.error("Sector shape configuration is abnormal!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape;r.beginPath();var i=n.rx,o=n.ry,a=n.r,s=n.startAngle,l=n.endAngle,u=n.clockWise;r.arc(i,o,a>0?a:.01,s,l,!u),r.lineTo(i,o),r.closePath(),r.stroke(),r.fill()},hoverCheck:function(e,t){var r=t.shape,n=r.rx,i=r.ry,o=r.r,a=r.startAngle,l=r.endAngle,u=r.clockWise;return(0,s.checkPointIsInSector)(e,n,i,o,a,l,u)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry;n.graphCenter=[i,o]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape,o=i.rx,a=i.ry;this.attr("shape",{rx:o+r,ry:a+n})}};t.sector=g;var v={shape:{rx:0,ry:0,r:0,side:0},validator:function(e){var t=e.shape,r=t.side,n=["rx","ry","r","side"];return n.find((function(e){return"number"!==typeof t[e]}))?(console.error("RegPolygon shape configuration is abnormal!"),!1):!(r<3)||(console.error("RegPolygon at least trigon!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,i=t.cache;r.beginPath();var o=n.rx,a=n.ry,u=n.r,c=n.side;if(!i.points||i.rx!==o||i.ry!==a||i.r!==u||i.side!==c){var d=(0,s.getRegularPolygonPoints)(o,a,u,c);Object.assign(i,{points:d,rx:o,ry:a,r:u,side:c})}var h=i.points;(0,l.drawPolylinePath)(r,h),r.closePath(),r.stroke(),r.fill()},hoverCheck:function(e,t){var r=t.cache,n=r.points;return(0,s.checkPointIsInPolygon)(e,n)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.rx,o=r.ry;n.graphCenter=[i,o]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape,a=t.cache,s=i.rx,l=i.ry;a.rx+=r,a.ry+=n,this.attr("shape",{rx:s+r,ry:l+n}),a.points=a.points.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+r,a+n]}))}};t.regPolygon=v;var y={shape:{points:[],close:!1},validator:function(e){var t=e.shape,r=t.points;return r instanceof Array||(console.error("Polyline points should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,i=t.style.lineWidth;r.beginPath();var o=n.points,a=n.close;1===i&&(o=(0,s.eliminateBlur)(o)),(0,l.drawPolylinePath)(r,o),a?(r.closePath(),r.fill(),r.stroke()):r.stroke()},hoverCheck:function(e,t){var r=t.shape,n=t.style,i=r.points,o=r.close,a=n.lineWidth;return o?(0,s.checkPointIsInPolygon)(e,i):(0,s.checkPointIsNearPolyline)(e,i,a)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.points;n.graphCenter=i[0]},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape,a=i.points,s=a.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+r,a+n]}));this.attr("shape",{points:s})}};t.polyline=y;var b={shape:{points:[],close:!1},validator:function(e){var t=e.shape,r=t.points;return r instanceof Array||(console.error("Smoothline points should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,i=t.cache,o=n.points,a=n.close;if(!i.points||i.points.toString()!==o.toString()){var d=u(o,a),h=c(d);Object.assign(i,{points:(0,s.deepClone)(o,!0),bezierCurve:d,hoverPoints:h})}var f=i.bezierCurve;r.beginPath(),(0,l.drawBezierCurvePath)(r,f.slice(1),f[0]),a?(r.closePath(),r.fill(),r.stroke()):r.stroke()},hoverCheck:function(e,t){var r=t.cache,n=t.shape,i=t.style,o=r.hoverPoints,a=n.close,l=i.lineWidth;return a?(0,s.checkPointIsInPolygon)(e,o):(0,s.checkPointIsNearPolyline)(e,o,l)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.points;n.graphCenter=i[0]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,s=t.cache,l=a.points,u=l.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+r,a+n]}));s.points=u;var c=(0,o["default"])(s.bezierCurve[0],2),d=c[0],h=c[1],f=s.bezierCurve.slice(1);s.bezierCurve=[[d+r,h+n]].concat((0,i["default"])(f.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+r,a+n]}))})))),s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+r,a+n]})),this.attr("shape",{points:u})}};t.smoothline=b;var _={shape:{points:[],close:!1},validator:function(e){var t=e.shape,r=t.points;return r instanceof Array||(console.error("BezierCurve points should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,i=t.cache,o=n.points,a=n.close;if(!i.points||i.points.toString()!==o.toString()){var u=c(o,20);Object.assign(i,{points:(0,s.deepClone)(o,!0),hoverPoints:u})}r.beginPath(),(0,l.drawBezierCurvePath)(r,o.slice(1),o[0]),a?(r.closePath(),r.fill(),r.stroke()):r.stroke()},hoverCheck:function(e,t){var r=t.cache,n=t.shape,i=t.style,o=r.hoverPoints,a=n.close,l=i.lineWidth;return a?(0,s.checkPointIsInPolygon)(e,o):(0,s.checkPointIsNearPolyline)(e,o,l)},setGraphCenter:function(e,t){var r=t.shape,n=t.style,i=r.points;n.graphCenter=i[0]},move:function(e,t){var r=e.movementX,n=e.movementY,a=t.shape,s=t.cache,l=a.points,u=(0,o["default"])(l[0],2),c=u[0],d=u[1],h=l.slice(1),f=[[c+r,d+n]].concat((0,i["default"])(h.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+r,a+n]}))}))));s.points=f,s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),i=t[0],a=t[1];return[i+r,a+n]})),this.attr("shape",{points:f})}};t.bezierCurve=_;var w={shape:{content:"",position:[],maxWidth:void 0,rowGap:0},validator:function(e){var t=e.shape,r=t.content,n=t.position,i=t.rowGap;return"string"!==typeof r?(console.error("Text content should be a string!"),!1):n instanceof Array?"number"===typeof i||(console.error("Text rowGap should be a number!"),!1):(console.error("Text position should be an array!"),!1)},draw:function(e,t){var r=e.ctx,n=t.shape,a=n.content,s=n.position,l=n.maxWidth,u=n.rowGap,c=r.textBaseline,d=r.font,h=parseInt(d.replace(/\D/g,"")),f=s,p=(0,o["default"])(f,2),m=p[0],g=p[1];a=a.split("\n");var v=a.length,y=h+u,b=v*y-u,_=0;"middle"===c&&(_=b/2,g+=h/2),"bottom"===c&&(_=b,g+=h),s=new Array(v).fill(0).map((function(e,t){return[m,g+t*y-_]})),r.beginPath(),a.forEach((function(e,t){r.fillText.apply(r,[e].concat((0,i["default"])(s[t]),[l])),r.strokeText.apply(r,[e].concat((0,i["default"])(s[t]),[l]))})),r.closePath()},hoverCheck:function(e,t){t.shape,t.style;return!1},setGraphCenter:function(e,t){var r=t.shape,n=t.style,o=r.position;n.graphCenter=(0,i["default"])(o)},move:function(e,t){var r=e.movementX,n=e.movementY,i=t.shape,a=(0,o["default"])(i.position,2),s=a[0],l=a[1];this.attr("shape",{position:[s+r,l+n]})}};t.text=w;var x=new Map([["circle",d],["ellipse",h],["rect",f],["ring",p],["arc",m],["sector",g],["regPolygon",v],["polyline",y],["smoothline",b],["bezierCurve",_],["text",w]]),k=x;function S(e,t){e&&t?t.shape?t.validator?t.draw?x.set(e,t):console.error("Required function of draw to extendNewGraph!"):console.error("Required function of validator to extendNewGraph!"):console.error("Required attribute of shape to extendNewGraph!"):console.error("ExtendNewGraph Missing Parameters!")}t["default"]=k},b0c5:function(e,t,r){"use strict";var n=r("520a");r("5ca1")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},b0dc:function(e,t,r){var n=r("e4ae");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e["return"];throw void 0!==o&&n(o.call(e)),a}}},b1b1:function(e,t,r){var n=r("5ca1"),i=r("9c12"),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},b29d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,r){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t}))},b311:function(e,t,r){
|
||
/*!
|
||
* clipboard.js v2.0.11
|
||
* https://clipboardjs.com/
|
||
*
|
||
* Licensed MIT © Zeno Rocha
|
||
*/
|
||
(function(t,r){e.exports=r()})(0,(function(){return function(){var e={686:function(e,t,r){"use strict";r.d(t,{default:function(){return E}});var n=r(279),i=r.n(n),o=r(370),a=r.n(o),s=r(817),l=r.n(s);function u(e){try{return document.execCommand(e)}catch(t){return!1}}var c=function(e){var t=l()(e);return u("cut"),t},d=c;function h(e){var t="rtl"===document.documentElement.getAttribute("dir"),r=document.createElement("textarea");r.style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;return r.style.top="".concat(n,"px"),r.setAttribute("readonly",""),r.value=e,r}var f=function(e,t){var r=h(e);t.container.appendChild(r);var n=l()(r);return u("copy"),r.remove(),n},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},r="";return"string"===typeof e?r=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null===e||void 0===e?void 0:e.type)?r=f(e.value,t):(r=l()(e),u("copy")),r},m=p;function g(e){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,r=void 0===t?"copy":t,n=e.container,i=e.target,o=e.text;if("copy"!==r&&"cut"!==r)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==g(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===r&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===r&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?m(o,{container:n}):i?"cut"===r?d(i):m(i,{container:n}):void 0},y=v;function b(e){return b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&w(e.prototype,t),r&&w(e,r),e}function k(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function M(e){var t=O();return function(){var r,n=L(e);if(t){var i=L(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return C(this,r)}}function C(e,t){return!t||"object"!==b(t)&&"function"!==typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}function A(e,t){var r="data-clipboard-".concat(e);if(t.hasAttribute(r))return t.getAttribute(r)}var D=function(e){k(r,e);var t=M(r);function r(e,n){var i;return _(this,r),i=t.call(this),i.resolveOptions(n),i.listenClick(e),i}return x(r,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof e.action?e.action:this.defaultAction,this.target="function"===typeof e.target?e.target:this.defaultTarget,this.text="function"===typeof e.text?e.text:this.defaultText,this.container="object"===b(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,r=this.action(t)||"copy",n=y({action:r,container:this.container,target:this.target(t),text:this.text(t)});this.emit(n?"success":"error",{action:r,text:n,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return A("action",e)}},{key:"defaultTarget",value:function(e){var t=A("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return A("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return m(e,t)}},{key:"cut",value:function(e){return d(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"===typeof e?[e]:e,r=!!document.queryCommandSupported;return t.forEach((function(e){r=r&&!!document.queryCommandSupported(e)})),r}}]),r}(i()),E=D},828:function(e){var t=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function n(e,r){while(e&&e.nodeType!==t){if("function"===typeof e.matches&&e.matches(r))return e;e=e.parentNode}}e.exports=n},438:function(e,t,r){var n=r(828);function i(e,t,r,n,i){var o=a.apply(this,arguments);return e.addEventListener(r,o,i),{destroy:function(){e.removeEventListener(r,o,i)}}}function o(e,t,r,n,o){return"function"===typeof e.addEventListener?i.apply(null,arguments):"function"===typeof r?i.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,r,n,o)})))}function a(e,t,r,i){return function(r){r.delegateTarget=n(r.target,t),r.delegateTarget&&i.call(e,r)}}e.exports=o},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var r=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===r||"[object HTMLCollection]"===r)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},370:function(e,t,r){var n=r(879),i=r(438);function o(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!n.string(t))throw new TypeError("Second argument must be a String");if(!n.fn(r))throw new TypeError("Third argument must be a Function");if(n.node(e))return a(e,t,r);if(n.nodeList(e))return s(e,t,r);if(n.string(e))return l(e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,r){return e.addEventListener(t,r),{destroy:function(){e.removeEventListener(t,r)}}}function s(e,t,r){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,r)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,r)}))}}}function l(e,t,r){return i(document.body,e,t,r)}e.exports=o},817:function(e){function t(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var r=e.hasAttribute("readonly");r||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),r||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(e),n.removeAllRanges(),n.addRange(i),t=n.toString()}return t}e.exports=t},279:function(e){function t(){}t.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var n=this;function i(){n.off(e,i),t.apply(r,arguments)}return i._=t,this.on(e,i,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,i=r.length;for(n;n<i;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],i=[];if(n&&t)for(var o=0,a=n.length;o<a;o++)n[o].fn!==t&&n[o].fn._!==t&&i.push(n[o]);return i.length?r[e]=i:delete r[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}return function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),r(686)}().default}))},b383:function(e,t,r){"use strict";t.decode=t.parse=r("91dd"),t.encode=t.stringify=r("e099")},b39a:function(e,t,r){var n=r("d3f4");e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},b3eb:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}var r=e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},b447:function(e,t,r){var n=r("3a38"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},b469:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}var r=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},b477:function(e,t,r){"use strict";var n=r("1395"),i=r("31f4"),o=r("d8e8");e.exports=function(){var e=o(this),t=arguments.length,r=new Array(t),a=0,s=n._,l=!1;while(t>a)(r[a]=arguments[a++])===s&&(l=!0);return function(){var n,o=this,a=arguments.length,u=0,c=0;if(!l&&!a)return i(e,r,o);if(n=r.slice(),l)for(;t>u;u++)n[u]===s&&(n[u]=arguments[c++]);while(a>c)n.push(arguments[c++]);return i(e,n,o)}}},b4c2:function(e,t,r){var n=r("5ca1");n(n.S,"Math",{imulh:function(e,t){var r=65535,n=+e,i=+t,o=n&r,a=i&r,s=n>>16,l=i>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>16)+((o*l>>>0)+(u&r)>>16)}})},b50d:function(e,t,r){"use strict";var n=r("c532"),i=r("467f"),o=r("30b5"),a=r("c345"),s=r("3934"),l=r("2d83");e.exports=function(e){return new Promise((function(t,u){var c=e.data,d=e.headers;n.isFormData(c)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";d.Authorization="Basic "+btoa(f+":"+p)}if(h.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,n=e.responseType&&"text"!==e.responseType?h.response:h.responseText,o={data:n,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};i(t,u,o),h=null}},h.onerror=function(){u(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){u(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var m=r("7aac"),g=(e.withCredentials||s(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&n.forEach(d,(function(e,t){"undefined"===typeof c&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(v){if("json"!==e.responseType)throw v}"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),u(e),h=null)})),void 0===c&&(c=null),h.send(c)}))}},b53d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return t}))},b540:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},b54a:function(e,t,r){"use strict";r("386b")("link",(function(e){return function(t){return e(this,"a","href",t)}}))},b5b7:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return o}))},b6e4:function(e,t,r){r("ec30")("Int32",4,(function(e){return function(t,r,n){return e(this,t,r,n)}}))},b72c:function(e,t,r){var n=r("5ca1"),i=r("d752");n(n.G+n.F*(parseFloat!=i),{parseFloat:i})},b72d:function(e,t,r){},b7e9:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},b80b:function(e,t,r){var n=r("4f7f"),i=r("4379"),o=r("37a7"),a=r("cb7c"),s=r("38fd"),l=o.keys,u=o.key,c=function(e,t){var r=l(e,t),o=s(e);if(null===o)return r;var a=c(o,t);return a.length?r.length?i(new n(r.concat(a))):a:r};o.exp({getMetadataKeys:function(e){return c(a(e),arguments.length<2?void 0:u(arguments[1]))}})},b84c:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},b86b:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"),r("d6e6"))})(0,(function(e){return function(){var t=e,r=t.x64,n=r.Word,i=r.WordArray,o=t.algo,a=o.SHA512,s=o.SHA384=a.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=a._createHelper(s),t.HmacSHA384=a._createHmacHelper(s)}(),e.SHA384}))},b86c:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}))},b8e3:function(e,t){e.exports=!0},b97c:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(e,t,r){return r?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function n(e,n,i){return e+" "+r(t[i],e,n)}function i(e,n,i){return r(t[i],e,n)}function o(e,t){return t?"dažas sekundes":"dažām sekundēm"}var a=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:o,ss:n,m:i,mm:n,h:i,hh:n,d:i,dd:n,M:i,MM:n,y:i,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},b9a1:function(e,t,r){"use strict";var n=r("5ca1"),i=r("4bf8"),o=r("6a99"),a=r("38fd"),s=r("11e9").f;r("9e1e")&&n(n.P+r("c5b4"),"Object",{__lookupGetter__:function(e){var t,r=i(this),n=o(e,!0);do{if(t=s(r,n))return t.get}while(r=a(r))}})},ba16:function(e,t,r){var n=r("5ca1"),i=r("11e9").f,o=r("cb7c");n(n.S,"Reflect",{deleteProperty:function(e,t){var r=i(o(e),t);return!(r&&!r.configurable)&&delete e[t]}})},ba3e:function(e,t,r){var n=r("5ca1");n(n.S+n.F,"Object",{isObject:r("d3f4")})},ba92:function(e,t,r){"use strict";var n=r("4bf8"),i=r("77f1"),o=r("9def");e.exports=[].copyWithin||function(e,t){var r=n(this),a=o(r.length),s=i(e,a),l=i(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:i(u,a))-l,a-s),d=1;l<s&&s<l+c&&(d=-1,l+=c-1,s+=c-1);while(c-- >0)l in r?r[s]=r[l]:delete r[s],s+=d,l+=d;return r}},ba99:function(e,t,r){var n=r("6abf"),i=r("9aa9"),o=r("e4ae"),a=r("e53d").Reflect;e.exports=a&&a.ownKeys||function(e){var t=n.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},bb71:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}var r=e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},bc13:function(e,t,r){var n=r("e53d"),i=n.navigator;e.exports=i&&i.userAgent||""},bc3a:function(e,t,r){e.exports=r("cee4")},bc96:function(e,t,r){},bcaa:function(e,t,r){var n=r("cb7c"),i=r("d3f4"),o=r("a5b8");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},bd11:function(e,t){e.exports=m,e.exports.parse=o,e.exports.compile=a,e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var r="/",n="./",i=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function o(e,t){var o,a=[],s=0,c=0,d="",h=t&&t.delimiter||r,f=t&&t.delimiters||n,p=!1;while(null!==(o=i.exec(e))){var m=o[0],g=o[1],v=o.index;if(d+=e.slice(c,v),c=v+m.length,g)d+=g[1],p=!0;else{var y="",b=e[c],_=o[2],w=o[3],x=o[4],k=o[5];if(!p&&d.length){var S=d.length-1;f.indexOf(d[S])>-1&&(y=d[S],d=d.slice(0,S))}d&&(a.push(d),d="",p=!1);var M=""!==y&&void 0!==b&&b!==y,C="+"===k||"*"===k,T="?"===k||"*"===k,O=y||h,L=w||x;a.push({name:_||s++,prefix:y,delimiter:O,optional:T,repeat:C,partial:M,pattern:L?u(L):"[^"+l(O)+"]+?"})}}return(d||c<e.length)&&a.push(d+e.substr(c)),a}function a(e,t){return s(o(e,t))}function s(e){for(var t=new Array(e.length),r=0;r<e.length;r++)"object"===typeof e[r]&&(t[r]=new RegExp("^(?:"+e[r].pattern+")$"));return function(r,n){for(var i="",o=n&&n.encode||encodeURIComponent,a=0;a<e.length;a++){var s=e[a];if("string"!==typeof s){var l,u=r?r[s.name]:void 0;if(Array.isArray(u)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but got array');if(0===u.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var c=0;c<u.length;c++){if(l=o(u[c],s),!t[a].test(l))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'"');i+=(0===c?s.prefix:s.delimiter)+l}}else if("string"!==typeof u&&"number"!==typeof u&&"boolean"!==typeof u){if(!s.optional)throw new TypeError('Expected "'+s.name+'" to be '+(s.repeat?"an array":"a string"));s.partial&&(i+=s.prefix)}else{if(l=o(String(u),s),!t[a].test(l))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but got "'+l+'"');i+=s.prefix+l}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$/()])/g,"\\$1")}function c(e){return e&&e.sensitive?"":"i"}function d(e,t){if(!t)return e;var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}function h(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(m(e[i],t,r).source);return new RegExp("(?:"+n.join("|")+")",c(r))}function f(e,t,r){return p(o(e,r),t,r)}function p(e,t,i){i=i||{};for(var o=i.strict,a=!1!==i.start,s=!1!==i.end,u=l(i.delimiter||r),d=i.delimiters||n,h=[].concat(i.endsWith||[]).map(l).concat("$").join("|"),f=a?"^":"",p=0===e.length,m=0;m<e.length;m++){var g=e[m];if("string"===typeof g)f+=l(g),p=m===e.length-1&&d.indexOf(g[g.length-1])>-1;else{var v=g.repeat?"(?:"+g.pattern+")(?:"+l(g.delimiter)+"(?:"+g.pattern+"))*":g.pattern;t&&t.push(g),g.optional?g.partial?f+=l(g.prefix)+"("+v+")?":f+="(?:"+l(g.prefix)+"("+v+"))?":f+=l(g.prefix)+"("+v+")"}}return s?(o||(f+="(?:"+u+")?"),f+="$"===h?"$":"(?="+h+")"):(o||(f+="(?:"+u+"(?="+h+"))?"),p||(f+="(?="+u+"|"+h+")")),new RegExp(f,c(i))}function m(e,t,r){return e instanceof RegExp?d(e,t):Array.isArray(e)?h(e,t,r):f(e,t,r)}},bd86:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("454f"),i=r.n(n),o=r("a6fa");function a(e,t,r){return t=Object(o["a"])(t),t in e?i()(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},bdd1:function(e,t,r){r("c6a1")("WeakSet")},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},becb:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.filterNonNumber=s,t.deepMerge=l,t.mulAdd=u,t.mergeSameStackData=c,t.getTwoPointDistance=d,t.getLinearGradientColor=h,t.getPolylineLength=f,t.getPointToLineDistance=p,t.initNeedSeries=m,t.radianToAngle=g;var i=n(r("448a")),o=n(r("7037")),a=r("5557");function s(e){return e.filter((function(e){return"number"===typeof e}))}function l(e,t){for(var r in t)e[r]&&"object"===(0,o["default"])(e[r])?l(e[r],t[r]):"object"!==(0,o["default"])(t[r])?e[r]=t[r]:e[r]=(0,a.deepClone)(t[r],!0);return e}function u(e){return e=s(e),e.reduce((function(e,t){return e+t}),0)}function c(e,t){var r=e.stack;if(!r)return(0,i["default"])(e.data);var n=t.filter((function(e){var t=e.stack;return t===r})),o=n.findIndex((function(t){var r=t.data;return r===e.data})),a=n.splice(0,o+1).map((function(e){var t=e.data;return t})),s=a[0].length;return new Array(s).fill(0).map((function(e,t){return u(a.map((function(e){return e[t]})))}))}function d(e,t){var r=Math.abs(e[0]-t[0]),n=Math.abs(e[1]-t[1]);return Math.sqrt(r*r+n*n)}function h(e,t,r,n){if(e&&t&&r&&n.length){var o=n;"string"===typeof o&&(o=[n,n]);var a=e.createLinearGradient.apply(e,(0,i["default"])(t).concat((0,i["default"])(r))),s=1/(o.length-1);return o.forEach((function(e,t){return a.addColorStop(s*t,e)})),a}}function f(e){var t=new Array(e.length-1).fill(0).map((function(t,r){return[e[r],e[r+1]]})),r=t.map((function(e){return d.apply(void 0,(0,i["default"])(e))}));return u(r)}function p(e,t,r){var n=d(e,t),i=d(e,r),o=d(t,r);return.5*Math.sqrt((n+i+o)*(n+i-o)*(n+o-i)*(i+o-n))/o}function m(e,t,r){return e=e.filter((function(e){var t=e.type;return t===r})),e=e.map((function(e){return l((0,a.deepClone)(t,!0),e)})),e.filter((function(e){var t=e.show;return t}))}function g(e){return e/Math.PI*180}},bef9:function(e,t,r){var n=r("2d95");e.exports=function(e,t){if("number"!=typeof e&&"Number"!=n(e))throw TypeError(t);return+e}},bf0b:function(e,t,r){var n=r("355d"),i=r("aebd"),o=r("36c3"),a=r("1bc3"),s=r("07e3"),l=r("794b"),u=Object.getOwnPropertyDescriptor;t.f=r("8e60")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(r){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},bf90:function(e,t,r){var n=r("36c3"),i=r("bf0b").f;r("ce7e")("getOwnPropertyDescriptor",(function(){return function(e,t){return i(n(e),t)}}))},c02b:function(e,t,r){"use strict";var n=r("643e"),i=r("b39a"),o="WeakSet";r("e0b8")(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return n.def(i(this,o),e,!0)}},n,!1,!0)},c098:function(e,t,r){e.exports=r("d4af")},c109:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t}))},c135:function(e,t){function r(e){if(Array.isArray(e))return e}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},c198:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.BlockCipher,i=t.algo,o=[],a=[],s=[],l=[],u=[],c=[],d=[],h=[],f=[],p=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^255&i^99,o[r]=i,a[i]=r;var m=e[r],g=e[m],v=e[g],y=257*e[i]^16843008*i;s[r]=y<<24|y>>>8,l[r]=y<<16|y>>>16,u[r]=y<<8|y>>>24,c[r]=y;y=16843009*v^65537*g^257*m^16843008*r;d[i]=y<<24|y>>>8,h[i]=y<<16|y>>>16,f[i]=y<<8|y>>>24,p[i]=y,r?(r=m^e[e[e[v^m]]],n^=e[e[n]]):r=n=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=this._nRounds=r+6,i=4*(n+1),a=this._keySchedule=[],s=0;s<i;s++)s<r?a[s]=t[s]:(c=a[s-1],s%r?r>6&&s%r==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=c<<8|c>>>24,c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=m[s/r|0]<<24),a[s]=a[s-r]^c);for(var l=this._invKeySchedule=[],u=0;u<i;u++){s=i-u;if(u%4)var c=a[s];else c=a[s-4];l[u]=u<4||s<=4?c:d[o[c>>>24]]^h[o[c>>>16&255]]^f[o[c>>>8&255]]^p[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,l,u,c,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,d,h,f,p,a);r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,a,s){for(var l=this._nRounds,u=e[t]^r[0],c=e[t+1]^r[1],d=e[t+2]^r[2],h=e[t+3]^r[3],f=4,p=1;p<l;p++){var m=n[u>>>24]^i[c>>>16&255]^o[d>>>8&255]^a[255&h]^r[f++],g=n[c>>>24]^i[d>>>16&255]^o[h>>>8&255]^a[255&u]^r[f++],v=n[d>>>24]^i[h>>>16&255]^o[u>>>8&255]^a[255&c]^r[f++],y=n[h>>>24]^i[u>>>16&255]^o[c>>>8&255]^a[255&d]^r[f++];u=m,c=g,d=v,h=y}m=(s[u>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&h])^r[f++],g=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^r[f++],v=(s[d>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&c])^r[f++],y=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^r[f++];e[t]=m,e[t+1]=g,e[t+2]=v,e[t+3]=y},keySize:8});t.AES=n._createHelper(g)}(),e.AES}))},c1bc:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=t.enc;i.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var o=[],a=0;a<n;a+=3)for(var s=r[a>>>2]>>>24-a%4*8&255,l=r[a+1>>>2]>>>24-(a+1)%4*8&255,u=r[a+2>>>2]>>>24-(a+2)%4*8&255,c=s<<16|l<<8|u,d=0;d<4&&a+.75*d<n;d++)o.push(i.charAt(c>>>6*(3-d)&63));var h=i.charAt(64);if(h)while(o.length%4)o.push(h);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,n=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<n.length;a++)i[n.charCodeAt(a)]=a}var s=n.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(r=l)}return o(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(e,t,r){for(var i=[],o=0,a=0;a<t;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2,l=r[e.charCodeAt(a)]>>>6-a%4*2,u=s|l;i[o>>>2]|=u<<24-o%4*8,o++}return n.create(i,o)}}(),e.enc.Base64url}))},c1df:function(e,t,r){(function(e){var t;//! moment.js
|
||
//! version : 2.30.1
|
||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||
//! license : MIT
|
||
//! momentjs.com
|
||
(function(t,r){e.exports=r()})(0,(function(){"use strict";var n,i;function o(){return n.apply(null,arguments)}function a(e){n=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(u(e,t))return!1;return!0}function d(e){return void 0===e}function h(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function m(e,t){for(var r in t)u(t,r)&&(e[r]=t[r]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function g(e,t,r,n){return Xr(e,t,r,n,!0).utc()}function v(){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(e){return null==e._pf&&(e._pf=v()),e._pf}function b(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());return n&&(t=y(e),r=i.call(t.parsedDateParts,(function(e){return null!=e})),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?n:(e._isValid=n,e._isValid)}function _(e){var t=g(NaN);return null!=e?m(y(t),e):y(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var w=o.momentProperties=[],x=!1;function k(e,t){var r,n,i,o=w.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=y(t)),d(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)n=w[r],i=t[n],d(i)||(e[n]=i);return e}function S(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,o.updateOffset(this),x=!1)}function M(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function C(e){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var r=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),r){var n,i,a,s=[],l=arguments.length;for(i=0;i<l;i++){if(n="","object"===typeof arguments[i]){for(a in n+="\n["+i+"] ",arguments[0])u(arguments[0],a)&&(n+=a+": "+arguments[0][a]+", ");n=n.slice(0,-2)}else n=arguments[i];s.push(n)}C(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)}),t)}var O,L={};function A(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),L[e]||(C(t),L[e]=!0)}function D(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e){var t,r;for(r in e)u(e,r)&&(t=e[r],D(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(e,t){var r,n=m({},e);for(r in t)u(t,r)&&(l(e[r])&&l(t[r])?(n[r]={},m(n[r],e[r]),m(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)u(e,r)&&!u(t,r)&&l(e[r])&&(n[r]=m({},n[r]));return n}function j(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)u(e,t)&&r.push(t);return r};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 R(e,t,r){var n=this._calendar[e]||this._calendar["sameElse"];return D(n)?n.call(t,r):n}function N(e,t,r){var n=""+Math.abs(e),i=t-n.length,o=e>=0;return(o?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var B=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},z={};function H(e,t,r,n){var i=n;"string"===typeof n&&(i=function(){return this[n]()}),e&&(z[e]=i),t&&(z[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),r&&(z[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function V(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,r,n=e.match(B);for(t=0,r=n.length;t<r;t++)z[n[t]]?n[t]=z[n[t]]:n[t]=V(n[t]);return function(t){var i,o="";for(i=0;i<r;i++)o+=D(n[i])?n[i].call(t,e):n[i];return o}}function W(e,t){return e.isValid()?(t=$(t,e.localeData()),F[t]=F[t]||U(t),F[t](e)):e.localeData().invalidDate()}function $(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}Y.lastIndex=0;while(r>=0&&Y.test(e))e=e.replace(Y,n),Y.lastIndex=0,r-=1;return e}var G={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(B).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var X="Invalid date";function K(){return this._invalidDate}var Z="%d",J=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var ee={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function te(e,t,r,n){var i=this._relativeTime[r];return D(i)?i(e,t,r,n):i.replace(/%d/i,e)}function re(e,t){var r=this._relativeTime[e>0?"future":"past"];return D(r)?r(t):r.replace(/%s/i,t)}var ne={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 ie(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function oe(e){var t,r,n={};for(r in e)u(e,r)&&(t=ie(r),t&&(n[t]=e[r]));return n}var ae={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function se(e){var t,r=[];for(t in e)u(e,t)&&r.push({unit:t,priority:ae[t]});return r.sort((function(e,t){return e.priority-t.priority})),r}var le,ue=/\d/,ce=/\d\d/,de=/\d{3}/,he=/\d{4}/,fe=/[+-]?\d{6}/,pe=/\d\d?/,me=/\d\d\d\d?/,ge=/\d\d\d\d\d\d?/,ve=/\d{1,3}/,ye=/\d{1,4}/,be=/[+-]?\d{1,6}/,_e=/\d+/,we=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,Se=/[+-]?\d+(\.\d{1,3})?/,Me=/[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,Ce=/^[1-9]\d?/,Te=/^([1-9]\d|\d)/;function Oe(e,t,r){le[e]=D(t)?t:function(e,n){return e&&r?r:t}}function Le(e,t){return u(le,e)?le[e](t._strict,t._locale):new RegExp(Ae(e))}function Ae(e){return De(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i})))}function De(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ee(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ie(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=Ee(t)),r}le={};var je={};function Pe(e,t){var r,n,i=t;for("string"===typeof e&&(e=[e]),h(t)&&(i=function(e,r){r[t]=Ie(e)}),n=e.length,r=0;r<n;r++)je[e[r]]=i}function Re(e,t){Pe(e,(function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)}))}function Ne(e,t,r){null!=t&&u(je,e)&&je[e](t,r._a,r,e)}function Be(e){return e%4===0&&e%100!==0||e%400===0}var Ye=0,Fe=1,ze=2,He=3,Ve=4,Ue=5,We=6,$e=7,Ge=8;function qe(e){return Be(e)?366:365}H("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),Oe("Y",we),Oe("YY",pe,ce),Oe("YYYY",ye,he),Oe("YYYYY",be,fe),Oe("YYYYYY",be,fe),Pe(["YYYYY","YYYYYY"],Ye),Pe("YYYY",(function(e,t){t[Ye]=2===e.length?o.parseTwoDigitYear(e):Ie(e)})),Pe("YY",(function(e,t){t[Ye]=o.parseTwoDigitYear(e)})),Pe("Y",(function(e,t){t[Ye]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return Ie(e)+(Ie(e)>68?1900:2e3)};var Xe,Ke=Je("FullYear",!0);function Ze(){return Be(this.year())}function Je(e,t){return function(r){return null!=r?(et(this,e,r),o.updateOffset(this,t),this):Qe(this,e)}}function Qe(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function et(e,t,r){var n,i,o,a,s;if(e.isValid()&&!isNaN(r)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,a=e.month(),s=e.date(),s=29!==s||1!==a||Be(o)?s:28,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function tt(e){return e=ie(e),D(this[e])?this[e]():this}function rt(e,t){if("object"===typeof e){e=oe(e);var r,n=se(e),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=ie(e),D(this[e]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=nt(t,12);return e+=(t-r)/12,1===r?Be(e)?29:28:31-r%7%2}Xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Oe("M",pe,Ce),Oe("MM",pe,ce),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Pe(["M","MM"],(function(e,t){t[Fe]=Ie(e)-1})),Pe(["MMM","MMMM"],(function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[Fe]=i:y(r).invalidMonth=e}));var ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),st=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=Me,ut=Me;function ct(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||st).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months["standalone"]}function dt(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[st.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ht(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=g([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===t?(i=Xe.call(this._shortMonthsParse,a),-1!==i?i:null):(i=Xe.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=Xe.call(this._shortMonthsParse,a),-1!==i?i:(i=Xe.call(this._longMonthsParse,a),-1!==i?i:null)):(i=Xe.call(this._longMonthsParse,a),-1!==i?i:(i=Xe.call(this._shortMonthsParse,a),-1!==i?i:null))}function ft(e,t,r){var n,i,o;if(this._monthsParseExact)return ht.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=g([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function pt(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Ie(t);else if(t=e.localeData().monthsParse(t),!h(t))return e;var r=t,n=e.date();return n=n<29?n:Math.min(n,it(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function mt(e){return null!=e?(pt(this,e),o.updateOffset(this,!0),this):Qe(this,"Month")}function gt(){return it(this.year(),this.month())}function vt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=lt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ut),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,r,n,i,o=[],a=[],s=[];for(t=0;t<12;t++)r=g([2e3,t]),n=De(this.monthsShort(r,"")),i=De(this.months(r,"")),o.push(n),a.push(i),s.push(i),s.push(n);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function _t(e,t,r,n,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,i,o,a),s}function wt(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,r){var n=7+t-r,i=(7+wt(e,0,n).getUTCDay()-t)%7;return-i+n-1}function kt(e,t,r,n,i){var o,a,s=(7+r-n)%7,l=xt(e,n,i),u=1+7*(t-1)+s+l;return u<=0?(o=e-1,a=qe(o)+u):u>qe(e)?(o=e+1,a=u-qe(e)):(o=e,a=u),{year:o,dayOfYear:a}}function St(e,t,r){var n,i,o=xt(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,n=a+Mt(i,t,r)):a>Mt(e.year(),t,r)?(n=a-Mt(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function Mt(e,t,r){var n=xt(e,t,r),i=xt(e+1,t,r);return(qe(e)-n+i)/7}function Ct(e){return St(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Oe("w",pe,Ce),Oe("ww",pe,ce),Oe("W",pe,Ce),Oe("WW",pe,ce),Re(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=Ie(e)}));var Tt={dow:0,doy:6};function Ot(){return this._week.dow}function Lt(){return this._week.doy}function At(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Dt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Et(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function It(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Oe("d",pe),Oe("e",pe),Oe("E",pe),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:y(r).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,r,n){t[n]=Ie(e)}));var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=Me,Yt=Me,Ft=Me;function zt(e,t){var r=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(r,this._week.dow):e?r[e.day()]:r}function Ht(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vt(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=g([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===t?(i=Xe.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=Xe.call(this._weekdaysParse,a),-1!==i?i:(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Xe.call(this._weekdaysParse,a),-1!==i?i:(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Xe.call(this._minWeekdaysParse,a),-1!==i?i:(i=Xe.call(this._weekdaysParse,a),-1!==i?i:(i=Xe.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function Wt(e,t,r){var n,i,o;if(this._weekdaysParseExact)return Ut.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=g([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function $t(e){if(!this.isValid())return null!=e?this:NaN;var t=Qe(this,"Day");return null!=e?(e=Et(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=It(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Xt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,r,n,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)r=g([2e3,1]).day(t),n=De(this.weekdaysMin(r,"")),i=De(this.weekdaysShort(r,"")),o=De(this.weekdays(r,"")),a.push(n),s.push(i),l.push(o),u.push(n),u.push(i),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function er(){return this.hours()||24}function tr(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function rr(e,t){return t._meridiemParse}function nr(e){return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Qt),H("k",["kk",2],0,er),H("hmm",0,0,(function(){return""+Qt.apply(this)+N(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Qt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),tr("a",!0),tr("A",!1),Oe("a",rr),Oe("A",rr),Oe("H",pe,Te),Oe("h",pe,Ce),Oe("k",pe,Ce),Oe("HH",pe,ce),Oe("hh",pe,ce),Oe("kk",pe,ce),Oe("hmm",me),Oe("hmmss",ge),Oe("Hmm",me),Oe("Hmmss",ge),Pe(["H","HH"],He),Pe(["k","kk"],(function(e,t,r){var n=Ie(e);t[He]=24===n?0:n})),Pe(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),Pe(["h","hh"],(function(e,t,r){t[He]=Ie(e),y(r).bigHour=!0})),Pe("hmm",(function(e,t,r){var n=e.length-2;t[He]=Ie(e.substr(0,n)),t[Ve]=Ie(e.substr(n)),y(r).bigHour=!0})),Pe("hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[He]=Ie(e.substr(0,n)),t[Ve]=Ie(e.substr(n,2)),t[Ue]=Ie(e.substr(i)),y(r).bigHour=!0})),Pe("Hmm",(function(e,t,r){var n=e.length-2;t[He]=Ie(e.substr(0,n)),t[Ve]=Ie(e.substr(n))})),Pe("Hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[He]=Ie(e.substr(0,n)),t[Ve]=Ie(e.substr(n,2)),t[Ue]=Ie(e.substr(i))}));var ir=/[ap]\.?m?\.?/i,or=Je("Hours",!0);function ar(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var sr,lr={calendar:P,longDateFormat:G,invalidDate:X,ordinal:Z,dayOfMonthOrdinalParse:J,relativeTime:ee,months:ot,monthsShort:at,week:Tt,weekdays:Pt,weekdaysMin:Nt,weekdaysShort:Rt,meridiemParse:ir},ur={},cr={};function dr(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function hr(e){return e?e.toLowerCase().replace("_","-"):e}function fr(e){var t,r,n,i,o=0;while(o<e.length){i=hr(e[o]).split("-"),t=i.length,r=hr(e[o+1]),r=r?r.split("-"):null;while(t>0){if(n=mr(i.slice(0,t).join("-")),n)return n;if(r&&r.length>=t&&dr(i,r)>=t-1)break;t--}o++}return sr}function pr(e){return!(!e||!e.match("^[^/\\\\]*$"))}function mr(n){var i=null;if(void 0===ur[n]&&"undefined"!==typeof e&&e&&e.exports&&pr(n))try{i=sr._abbr,t,r("4678")("./"+n),gr(i)}catch(o){ur[n]=null}return ur[n]}function gr(e,t){var r;return e&&(r=d(t)?br(e):vr(e,t),r?sr=r:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sr._abbr}function vr(e,t){if(null!==t){var r,n=lr;if(t.abbr=e,null!=ur[e])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."),n=ur[e]._config;else if(null!=t.parentLocale)if(null!=ur[t.parentLocale])n=ur[t.parentLocale]._config;else{if(r=mr(t.parentLocale),null==r)return cr[t.parentLocale]||(cr[t.parentLocale]=[]),cr[t.parentLocale].push({name:e,config:t}),null;n=r._config}return ur[e]=new j(I(n,t)),cr[e]&&cr[e].forEach((function(e){vr(e.name,e.config)})),gr(e),ur[e]}return delete ur[e],null}function yr(e,t){if(null!=t){var r,n,i=lr;null!=ur[e]&&null!=ur[e].parentLocale?ur[e].set(I(ur[e]._config,t)):(n=mr(e),null!=n&&(i=n._config),t=I(i,t),null==n&&(t.abbr=e),r=new j(t),r.parentLocale=ur[e],ur[e]=r),gr(e)}else null!=ur[e]&&(null!=ur[e].parentLocale?(ur[e]=ur[e].parentLocale,e===gr()&&gr(e)):null!=ur[e]&&delete ur[e]);return ur[e]}function br(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sr;if(!s(e)){if(t=mr(e),t)return t;e=[e]}return fr(e)}function _r(){return O(ur)}function wr(e){var t,r=e._a;return r&&-2===y(e).overflow&&(t=r[Fe]<0||r[Fe]>11?Fe:r[ze]<1||r[ze]>it(r[Ye],r[Fe])?ze:r[He]<0||r[He]>24||24===r[He]&&(0!==r[Ve]||0!==r[Ue]||0!==r[We])?He:r[Ve]<0||r[Ve]>59?Ve:r[Ue]<0||r[Ue]>59?Ue:r[We]<0||r[We]>999?We:-1,y(e)._overflowDayOfYear&&(t<Ye||t>ze)&&(t=ze),y(e)._overflowWeeks&&-1===t&&(t=$e),y(e)._overflowWeekday&&-1===t&&(t=Ge),y(e).overflow=t),e}var xr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sr=/Z|[+-]\d\d(?::?\d\d)?/,Mr=[["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]],Cr=[["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/]],Tr=/^\/?Date\((-?\d+)/i,Or=/^(?:(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}))$/,Lr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ar(e){var t,r,n,i,o,a,s=e._i,l=xr.exec(s)||kr.exec(s),u=Mr.length,c=Cr.length;if(l){for(y(e).iso=!0,t=0,r=u;t<r;t++)if(Mr[t][1].exec(l[1])){i=Mr[t][0],n=!1!==Mr[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,r=c;t<r;t++)if(Cr[t][1].exec(l[3])){o=(l[2]||" ")+Cr[t][0];break}if(null==o)return void(e._isValid=!1)}if(!n&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Sr.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Hr(e)}else e._isValid=!1}function Dr(e,t,r,n,i,o){var a=[Er(e),at.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Er(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ir(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function jr(e,t,r){if(e){var n=Rt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return y(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Pr(e,t,r){if(e)return Lr[e];if(t)return 0;var n=parseInt(r,10),i=n%100,o=(n-i)/100;return 60*o+i}function Rr(e){var t,r=Or.exec(Ir(e._i));if(r){if(t=Dr(r[4],r[3],r[2],r[5],r[6],r[7]),!jr(r[1],t,e))return;e._a=t,e._tzm=Pr(r[8],r[9],r[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Nr(e){var t=Tr.exec(e._i);null===t?(Ar(e),!1===e._isValid&&(delete e._isValid,Rr(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Br(e,t,r){return null!=e?e:null!=t?t:r}function Yr(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fr(e){var t,r,n,i,o,a=[];if(!e._d){for(n=Yr(e),e._w&&null==e._a[ze]&&null==e._a[Fe]&&zr(e),null!=e._dayOfYear&&(o=Br(e._a[Ye],n[Ye]),(e._dayOfYear>qe(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),r=wt(o,0,e._dayOfYear),e._a[Fe]=r.getUTCMonth(),e._a[ze]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=n[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[He]&&0===e._a[Ve]&&0===e._a[Ue]&&0===e._a[We]&&(e._nextDay=!0,e._a[He]=0),e._d=(e._useUTC?wt:_t).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[He]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function zr(e){var t,r,n,i,o,a,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,r=Br(t.GG,e._a[Ye],St(Kr(),1,4).year),n=Br(t.W,1),i=Br(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=St(Kr(),o,a),r=Br(t.gg,e._a[Ye],u.year),n=Br(t.w,u.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),n<1||n>Mt(r,o,a)?y(e)._overflowWeeks=!0:null!=l?y(e)._overflowWeekday=!0:(s=kt(r,n,i,o,a),e._a[Ye]=s.year,e._dayOfYear=s.dayOfYear)}function Hr(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],y(e).empty=!0;var t,r,n,i,a,s,l,u=""+e._i,c=u.length,d=0;for(n=$(e._f,e._locale).match(B)||[],l=n.length,t=0;t<l;t++)i=n[t],r=(u.match(Le(i,e))||[])[0],r&&(a=u.substr(0,u.indexOf(r)),a.length>0&&y(e).unusedInput.push(a),u=u.slice(u.indexOf(r)+r.length),d+=r.length),z[i]?(r?y(e).empty=!1:y(e).unusedTokens.push(i),Ne(i,r,e)):e._strict&&!r&&y(e).unusedTokens.push(i);y(e).charsLeftOver=c-d,u.length>0&&y(e).unusedInput.push(u),e._a[He]<=12&&!0===y(e).bigHour&&e._a[He]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[He]=Vr(e._locale,e._a[He],e._meridiem),s=y(e).era,null!==s&&(e._a[Ye]=e._locale.erasConvertYear(s,e._a[Ye])),Fr(e),wr(e)}else Rr(e);else Ar(e)}function Vr(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?(n=e.isPM(r),n&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Ur(e){var t,r,n,i,o,a,s=!1,l=e._f.length;if(0===l)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)o=0,a=!1,t=k({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Hr(t),b(t)&&(a=!0),o+=y(t).charsLeftOver,o+=10*y(t).unusedTokens.length,y(t).score=o,s?o<n&&(n=o,r=t):(null==n||o<n||a)&&(n=o,r=t,a&&(s=!0));m(e,r||t)}function Wr(e){if(!e._d){var t=oe(e._i),r=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Fr(e)}}function $r(e){var t=new S(wr(Gr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gr(e){var t=e._i,r=e._f;return e._locale=e._locale||br(e._l),null===t||void 0===r&&""===t?_({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),M(t)?new S(wr(t)):(f(t)?e._d=t:s(r)?Ur(e):r?Hr(e):qr(e),b(e)||(e._d=null),e))}function qr(e){var t=e._i;d(t)?e._d=new Date(o.now()):f(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Nr(e):s(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),Fr(e)):l(t)?Wr(e):h(t)?e._d=new Date(t):o.createFromInputFallback(e)}function Xr(e,t,r,n,i){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(l(e)&&c(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=r,o._i=e,o._f=t,o._strict=n,$r(o)}function Kr(e,t,r,n){return Xr(e,t,r,n,!1)}o.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Zr=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kr.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Jr=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kr.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Qr(e,t){var r,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Kr();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}function en(){var e=[].slice.call(arguments,0);return Qr("isBefore",e)}function tn(){var e=[].slice.call(arguments,0);return Qr("isAfter",e)}var rn=function(){return Date.now?Date.now():+new Date},nn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function on(e){var t,r,n=!1,i=nn.length;for(t in e)if(u(e,t)&&(-1===Xe.call(nn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[nn[r]]){if(n)return!1;parseFloat(e[nn[r]])!==Ie(e[nn[r]])&&(n=!0)}return!0}function an(){return this._isValid}function sn(){return An(NaN)}function ln(e){var t=oe(e),r=t.year||0,n=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=on(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=br(),this._bubble()}function un(e){return e instanceof ln}function cn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dn(e,t,r){var n,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(n=0;n<i;n++)(r&&e[n]!==t[n]||!r&&Ie(e[n])!==Ie(t[n]))&&a++;return a+o}function hn(e,t){H(e,0,0,(function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+N(~~(e/60),2)+t+N(~~e%60,2)}))}hn("Z",":"),hn("ZZ",""),Oe("Z",ke),Oe("ZZ",ke),Pe(["Z","ZZ"],(function(e,t,r){r._useUTC=!0,r._tzm=pn(ke,e)}));var fn=/([\+\-]|\d\d)/gi;function pn(e,t){var r,n,i,o=(t||"").match(e);return null===o?null:(r=o[o.length-1]||[],n=(r+"").match(fn)||["-",0,0],i=60*n[1]+Ie(n[2]),0===i?0:"+"===n[0]?i:-i)}function mn(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(M(e)||f(e)?e.valueOf():Kr(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),o.updateOffset(r,!1),r):Kr(e).local()}function gn(e){return-Math.round(e._d.getTimezoneOffset())}function vn(e,t,r){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=pn(ke,e),null===e)return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=gn(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Pn(this,An(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:gn(this)}function yn(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function bn(e){return this.utcOffset(0,e)}function _n(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(gn(this),"m")),this}function wn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=pn(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xn(e){return!!this.isValid()&&(e=e?Kr(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function kn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sn(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),t=Gr(t),t._a?(e=t._isUTC?g(t._a):Kr(t._a),this._isDSTShifted=this.isValid()&&dn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Mn(){return!!this.isValid()&&!this._isUTC}function Cn(){return!!this.isValid()&&this._isUTC}function Tn(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var On=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ln=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function An(e,t){var r,n,i,o=e,a=null;return un(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=On.exec(e))?(r="-"===a[1]?-1:1,o={y:0,d:Ie(a[ze])*r,h:Ie(a[He])*r,m:Ie(a[Ve])*r,s:Ie(a[Ue])*r,ms:Ie(cn(1e3*a[We]))*r}):(a=Ln.exec(e))?(r="-"===a[1]?-1:1,o={y:Dn(a[2],r),M:Dn(a[3],r),w:Dn(a[4],r),d:Dn(a[5],r),h:Dn(a[6],r),m:Dn(a[7],r),s:Dn(a[8],r)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=In(Kr(o.from),Kr(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),n=new ln(o),un(e)&&u(e,"_locale")&&(n._locale=e._locale),un(e)&&u(e,"_isValid")&&(n._isValid=e._isValid),n}function Dn(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function En(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function In(e,t){var r;return e.isValid()&&t.isValid()?(t=mn(t,e),e.isBefore(t)?r=En(e,t):(r=En(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function jn(e,t){return function(r,n){var i,o;return null===n||isNaN(+n)||(A(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=r,r=n,n=o),i=An(r,n),Pn(this,i,e),this}}function Pn(e,t,r,n){var i=t._milliseconds,a=cn(t._days),s=cn(t._months);e.isValid()&&(n=null==n||n,s&&pt(e,Qe(e,"Month")+s*r),a&&et(e,"Date",Qe(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&o.updateOffset(e,a||s))}An.fn=ln.prototype,An.invalid=sn;var Rn=jn(1,"add"),Nn=jn(-1,"subtract");function Bn(e){return"string"===typeof e||e instanceof String}function Yn(e){return M(e)||f(e)||Bn(e)||h(e)||zn(e)||Fn(e)||null===e||void 0===e}function Fn(e){var t,r,n=l(e)&&!c(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)r=o[t],i=i||u(e,r);return n&&i}function zn(e){var t=s(e),r=!1;return t&&(r=0===e.filter((function(t){return!h(t)&&Bn(e)})).length),t&&r}function Hn(e){var t,r,n=l(e)&&!c(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=o[t],i=i||u(e,r);return n&&i}function Vn(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Un(e,t){1===arguments.length&&(arguments[0]?Yn(arguments[0])?(e=arguments[0],t=void 0):Hn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Kr(),n=mn(r,this).startOf("day"),i=o.calendarFormat(this,n)||"sameElse",a=t&&(D(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,Kr(r)))}function Wn(){return new S(this)}function $n(e,t){var r=M(e)?e:Kr(e);return!(!this.isValid()||!r.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())}function Gn(e,t){var r=M(e)?e:Kr(e);return!(!this.isValid()||!r.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())}function qn(e,t,r,n){var i=M(e)?e:Kr(e),o=M(t)?t:Kr(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(n=n||"()",("("===n[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r)))}function Xn(e,t){var r,n=M(e)?e:Kr(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))}function Kn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jn(e,t,r){var n,i,o;if(!this.isValid())return NaN;if(n=mn(e,this),!n.isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=ie(t),t){case"year":o=Qn(this,n)/12;break;case"month":o=Qn(this,n);break;case"quarter":o=Qn(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:Ee(o)}function Qn(e,t){if(e.date()<t.date())return-Qn(t,e);var r,n,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(r=e.clone().add(i-1,"months"),n=(t-o)/(o-r)):(r=e.clone().add(i+1,"months"),n=(t-o)/(r-o)),-(i+n)||0}function ei(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ti(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?W(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(r,"Z")):W(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ri(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=o+'[")]',this.format(e+t+r+n)}function ni(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function ii(e,t){return this.isValid()&&(M(e)&&e.isValid()||Kr(e).isValid())?An({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.from(Kr(),e)}function ai(e,t){return this.isValid()&&(M(e)&&e.isValid()||Kr(e).isValid())?An({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to(Kr(),e)}function li(e){var t;return void 0===e?this._locale._abbr:(t=br(e),null!=t&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ui=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var di=1e3,hi=60*di,fi=60*hi,pi=3506328*fi;function mi(e,t){return(e%t+t)%t}function gi(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-pi:new Date(e,t,r).valueOf()}function vi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-pi:Date.UTC(e,t,r)}function yi(e){var t,r;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?vi:gi,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*hi),fi);break;case"minute":t=this._d.valueOf(),t-=mi(t,hi);break;case"second":t=this._d.valueOf(),t-=mi(t,di);break}return this._d.setTime(t),o.updateOffset(this,!0),this}function bi(e){var t,r;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?vi:gi,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-mi(t+(this._isUTC?0:this.utcOffset()*hi),fi)-1;break;case"minute":t=this._d.valueOf(),t+=hi-mi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=di-mi(t,di)-1;break}return this._d.setTime(t),o.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function ki(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Mi(){return this.isValid()?this.toISOString():null}function Ci(){return b(this)}function Ti(){return m({},y(this))}function Oi(){return y(this).overflow}function Li(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ai(e,t){var r,n,i,a=this._eras||br("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":i=o(a[r].since).startOf("day"),a[r].since=i.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=o(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}}return a}function Di(e,t,r){var n,i,o,a,s,l=this.eras();for(e=e.toUpperCase(),n=0,i=l.length;n<i;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n];break}else if([o,a,s].indexOf(e)>=0)return l[n]}function Ei(e,t){var r=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*r}function Ii(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].name;if(n[e].until<=r&&r<=n[e].since)return n[e].name}return""}function ji(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].narrow;if(n[e].until<=r&&r<=n[e].since)return n[e].narrow}return""}function Pi(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].abbr;if(n[e].until<=r&&r<=n[e].since)return n[e].abbr}return""}function Ri(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-o(i[e].since).year())*r+i[e].offset;return this.year()}function Ni(e){return u(this,"_erasNameRegex")||Ui.call(this),e?this._erasNameRegex:this._erasRegex}function Bi(e){return u(this,"_erasAbbrRegex")||Ui.call(this),e?this._erasAbbrRegex:this._erasRegex}function Yi(e){return u(this,"_erasNarrowRegex")||Ui.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function zi(e,t){return t.erasNameRegex(e)}function Hi(e,t){return t.erasNarrowRegex(e)}function Vi(e,t){return t._eraYearOrdinalRegex||_e}function Ui(){var e,t,r,n,i,o=[],a=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)r=De(u[e].name),n=De(u[e].abbr),i=De(u[e].narrow),a.push(r),o.push(n),s.push(i),l.push(r),l.push(n),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Wi(e,t){H(0,[e,e.length],0,t)}function $i(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qi(){return Mt(this.year(),1,4)}function Xi(){return Mt(this.isoWeekYear(),1,4)}function Ki(){var e=this.localeData()._week;return Mt(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return Mt(this.weekYear(),e.dow,e.doy)}function Ji(e,t,r,n,i){var o;return null==e?St(this,n,i).year:(o=Mt(e,n,i),t>o&&(t=o),Qi.call(this,e,t,r,n,i))}function Qi(e,t,r,n,i){var o=kt(e,t,r,n,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function eo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Oe("N",Fi),Oe("NN",Fi),Oe("NNN",Fi),Oe("NNNN",zi),Oe("NNNNN",Hi),Pe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?y(r).era=i:y(r).invalidEra=e})),Oe("y",_e),Oe("yy",_e),Oe("yyy",_e),Oe("yyyy",_e),Oe("yo",Vi),Pe(["y","yy","yyy","yyyy"],Ye),Pe(["yo"],(function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Ye]=r._locale.eraYearOrdinalParse(e,i):t[Ye]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wi("gggg","weekYear"),Wi("ggggg","weekYear"),Wi("GGGG","isoWeekYear"),Wi("GGGGG","isoWeekYear"),Oe("G",we),Oe("g",we),Oe("GG",pe,ce),Oe("gg",pe,ce),Oe("GGGG",ye,he),Oe("gggg",ye,he),Oe("GGGGG",be,fe),Oe("ggggg",be,fe),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=Ie(e)})),Re(["gg","GG"],(function(e,t,r,n){t[n]=o.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),Oe("Q",ue),Pe("Q",(function(e,t){t[Fe]=3*(Ie(e)-1)})),H("D",["DD",2],"Do","date"),Oe("D",pe,Ce),Oe("DD",pe,ce),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Pe(["D","DD"],ze),Pe("Do",(function(e,t){t[ze]=Ie(e.match(pe)[0])}));var to=Je("Date",!0);function ro(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),Oe("DDD",ve),Oe("DDDD",de),Pe(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=Ie(e)})),H("m",["mm",2],0,"minute"),Oe("m",pe,Te),Oe("mm",pe,ce),Pe(["m","mm"],Ve);var no=Je("Minutes",!1);H("s",["ss",2],0,"second"),Oe("s",pe,Te),Oe("ss",pe,ce),Pe(["s","ss"],Ue);var io,oo,ao=Je("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Oe("S",ve,ue),Oe("SS",ve,ce),Oe("SSS",ve,de),io="SSSS";io.length<=9;io+="S")Oe(io,_e);function so(e,t){t[We]=Ie(1e3*("0."+e))}for(io="S";io.length<=9;io+="S")Pe(io,so);function lo(){return this._isUTC?"UTC":""}function uo(){return this._isUTC?"Coordinated Universal Time":""}oo=Je("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var co=S.prototype;function ho(e){return Kr(1e3*e)}function fo(){return Kr.apply(null,arguments).parseZone()}function po(e){return e}co.add=Rn,co.calendar=Un,co.clone=Wn,co.diff=Jn,co.endOf=bi,co.format=ni,co.from=ii,co.fromNow=oi,co.to=ai,co.toNow=si,co.get=tt,co.invalidAt=Oi,co.isAfter=$n,co.isBefore=Gn,co.isBetween=qn,co.isSame=Xn,co.isSameOrAfter=Kn,co.isSameOrBefore=Zn,co.isValid=Ci,co.lang=ui,co.locale=li,co.localeData=ci,co.max=Jr,co.min=Zr,co.parsingFlags=Ti,co.set=rt,co.startOf=yi,co.subtract=Nn,co.toArray=ki,co.toObject=Si,co.toDate=xi,co.toISOString=ti,co.inspect=ri,"undefined"!==typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Mi,co.toString=ei,co.unix=wi,co.valueOf=_i,co.creationData=Li,co.eraName=Ii,co.eraNarrow=ji,co.eraAbbr=Pi,co.eraYear=Ri,co.year=Ke,co.isLeapYear=Ze,co.weekYear=$i,co.isoWeekYear=Gi,co.quarter=co.quarters=eo,co.month=mt,co.daysInMonth=gt,co.week=co.weeks=At,co.isoWeek=co.isoWeeks=Dt,co.weeksInYear=Ki,co.weeksInWeekYear=Zi,co.isoWeeksInYear=qi,co.isoWeeksInISOWeekYear=Xi,co.date=to,co.day=co.days=$t,co.weekday=Gt,co.isoWeekday=qt,co.dayOfYear=ro,co.hour=co.hours=or,co.minute=co.minutes=no,co.second=co.seconds=ao,co.millisecond=co.milliseconds=oo,co.utcOffset=vn,co.utc=bn,co.local=_n,co.parseZone=wn,co.hasAlignedHourOffset=xn,co.isDST=kn,co.isLocal=Mn,co.isUtcOffset=Cn,co.isUtc=Tn,co.isUTC=Tn,co.zoneAbbr=lo,co.zoneName=uo,co.dates=T("dates accessor is deprecated. Use date instead.",to),co.months=T("months accessor is deprecated. Use month instead",mt),co.years=T("years accessor is deprecated. Use year instead",Ke),co.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),co.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sn);var mo=j.prototype;function go(e,t,r,n){var i=br(),o=g().set(n,t);return i[r](o,e)}function vo(e,t,r){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return go(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=go(e,n,r,"month");return i}function yo(e,t,r,n){"boolean"===typeof e?(h(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,h(t)&&(r=t,t=void 0),t=t||"");var i,o=br(),a=e?o._week.dow:0,s=[];if(null!=r)return go(t,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=go(t,(i+a)%7,n,"day");return s}function bo(e,t){return vo(e,t,"months")}function _o(e,t){return vo(e,t,"monthsShort")}function wo(e,t,r){return yo(e,t,r,"weekdays")}function xo(e,t,r){return yo(e,t,r,"weekdaysShort")}function ko(e,t,r){return yo(e,t,r,"weekdaysMin")}mo.calendar=R,mo.longDateFormat=q,mo.invalidDate=K,mo.ordinal=Q,mo.preparse=po,mo.postformat=po,mo.relativeTime=te,mo.pastFuture=re,mo.set=E,mo.eras=Ai,mo.erasParse=Di,mo.erasConvertYear=Ei,mo.erasAbbrRegex=Bi,mo.erasNameRegex=Ni,mo.erasNarrowRegex=Yi,mo.months=ct,mo.monthsShort=dt,mo.monthsParse=ft,mo.monthsRegex=yt,mo.monthsShortRegex=vt,mo.week=Ct,mo.firstDayOfYear=Lt,mo.firstDayOfWeek=Ot,mo.weekdays=zt,mo.weekdaysMin=Vt,mo.weekdaysShort=Ht,mo.weekdaysParse=Wt,mo.weekdaysRegex=Xt,mo.weekdaysShortRegex=Kt,mo.weekdaysMinRegex=Zt,mo.isPM=nr,mo.meridiem=ar,gr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===Ie(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}}),o.lang=T("moment.lang is deprecated. Use moment.locale instead.",gr),o.langData=T("moment.langData is deprecated. Use moment.localeData instead.",br);var So=Math.abs;function Mo(){var e=this._data;return this._milliseconds=So(this._milliseconds),this._days=So(this._days),this._months=So(this._months),e.milliseconds=So(e.milliseconds),e.seconds=So(e.seconds),e.minutes=So(e.minutes),e.hours=So(e.hours),e.months=So(e.months),e.years=So(e.years),this}function Co(e,t,r,n){var i=An(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function To(e,t){return Co(this,e,t,1)}function Oo(e,t){return Co(this,e,t,-1)}function Lo(e){return e<0?Math.floor(e):Math.ceil(e)}function Ao(){var e,t,r,n,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Lo(Eo(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=Ee(o/1e3),l.seconds=e%60,t=Ee(e/60),l.minutes=t%60,r=Ee(t/60),l.hours=r%24,a+=Ee(r/24),i=Ee(Do(a)),s+=i,a-=Lo(Eo(i)),n=Ee(s/12),s%=12,l.days=a,l.months=s,l.years=n,this}function Do(e){return 4800*e/146097}function Eo(e){return 146097*e/4800}function Io(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=ie(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Do(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Eo(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function jo(e){return function(){return this.as(e)}}var Po=jo("ms"),Ro=jo("s"),No=jo("m"),Bo=jo("h"),Yo=jo("d"),Fo=jo("w"),zo=jo("M"),Ho=jo("Q"),Vo=jo("y"),Uo=Po;function Wo(){return An(this)}function $o(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Go(e){return function(){return this.isValid()?this._data[e]:NaN}}var qo=Go("milliseconds"),Xo=Go("seconds"),Ko=Go("minutes"),Zo=Go("hours"),Jo=Go("days"),Qo=Go("months"),ea=Go("years");function ta(){return Ee(this.days()/7)}var ra=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ia(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function oa(e,t,r,n){var i=An(e).abs(),o=ra(i.as("s")),a=ra(i.as("m")),s=ra(i.as("h")),l=ra(i.as("d")),u=ra(i.as("M")),c=ra(i.as("w")),d=ra(i.as("y")),h=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||l<=1&&["d"]||l<r.d&&["dd",l];return null!=r.w&&(h=h||c<=1&&["w"]||c<r.w&&["ww",c]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=n,ia.apply(null,h)}function aa(e){return void 0===e?ra:"function"===typeof e&&(ra=e,!0)}function sa(e,t){return void 0!==na[e]&&(void 0===t?na[e]:(na[e]=t,"s"===e&&(na.ss=t-1),!0))}function la(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=na;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},na,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=this.localeData(),n=oa(this,!i,o,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)}var ua=Math.abs;function ca(e){return(e>0)-(e<0)||+e}function da(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,o,a,s,l=ua(this._milliseconds)/1e3,u=ua(this._days),c=ua(this._months),d=this.asSeconds();return d?(e=Ee(l/60),t=Ee(e/60),l%=60,e%=60,r=Ee(c/12),c%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=ca(this._months)!==ca(d)?"-":"",a=ca(this._days)!==ca(d)?"-":"",s=ca(this._milliseconds)!==ca(d)?"-":"",i+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+n+"S":"")):"P0D"}var ha=ln.prototype;return ha.isValid=an,ha.abs=Mo,ha.add=To,ha.subtract=Oo,ha.as=Io,ha.asMilliseconds=Po,ha.asSeconds=Ro,ha.asMinutes=No,ha.asHours=Bo,ha.asDays=Yo,ha.asWeeks=Fo,ha.asMonths=zo,ha.asQuarters=Ho,ha.asYears=Vo,ha.valueOf=Uo,ha._bubble=Ao,ha.clone=Wo,ha.get=$o,ha.milliseconds=qo,ha.seconds=Xo,ha.minutes=Ko,ha.hours=Zo,ha.days=Jo,ha.weeks=ta,ha.months=Qo,ha.years=ea,ha.humanize=la,ha.toISOString=da,ha.toString=da,ha.toJSON=da,ha.locale=li,ha.localeData=ci,ha.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",da),ha.lang=ui,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Oe("x",we),Oe("X",Se),Pe("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),Pe("x",(function(e,t,r){r._d=new Date(Ie(e))})),
|
||
//! moment.js
|
||
o.version="2.30.1",a(Kr),o.fn=co,o.min=en,o.max=tn,o.now=rn,o.utc=g,o.unix=ho,o.months=bo,o.isDate=f,o.locale=gr,o.invalid=_,o.duration=An,o.isMoment=M,o.weekdays=wo,o.parseZone=fo,o.localeData=br,o.isDuration=un,o.monthsShort=_o,o.weekdaysMin=ko,o.defineLocale=vr,o.updateLocale=yr,o.locales=_r,o.weekdaysShort=xo,o.normalizeUnits=ie,o.relativeTimeRounding=aa,o.relativeTimeThreshold=sa,o.calendarFormat=Vn,o.prototype=co,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}))}).call(this,r("7ebd")(e))},c207:function(e,t){},c240:function(e,t){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},c26b:function(e,t,r){"use strict";var n=r("86cc").f,i=r("2aeb"),o=r("dcbc"),a=r("9b43"),s=r("f605"),l=r("4a59"),u=r("01f9"),c=r("d53b"),d=r("7a56"),h=r("9e1e"),f=r("67ab").fastKey,p=r("b39a"),m=h?"_s":"size",g=function(e,t){var r,n=f(t);if("F"!==n)return e._i[n];for(r=e._f;r;r=r.n)if(r.k==t)return r};e.exports={getConstructor:function(e,t,r,u){var c=e((function(e,n){s(e,c,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=n&&l(n,r,e[u],e)}));return o(c.prototype,{clear:function(){for(var e=p(this,t),r=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete r[n.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var r=p(this,t),n=g(r,e);if(n){var i=n.n,o=n.p;delete r._i[n.i],n.r=!0,o&&(o.n=i),i&&(i.p=o),r._f==n&&(r._f=i),r._l==n&&(r._l=o),r[m]--}return!!n},forEach:function(e){p(this,t);var r,n=a(e,arguments.length>1?arguments[1]:void 0,3);while(r=r?r.n:this._f){n(r.v,r.k,this);while(r&&r.r)r=r.p}},has:function(e){return!!g(p(this,t),e)}}),h&&n(c.prototype,"size",{get:function(){return p(this,t)[m]}}),c},def:function(e,t,r){var n,i,o=g(e,t);return o?o.v=r:(e._l=o={i:i=f(t,!0),k:t,v:r,p:n=e._l,n:void 0,r:!1},e._f||(e._f=o),n&&(n.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:g,setStrong:function(e,t,r){u(e,t,(function(e,r){this._t=p(e,t),this._k=r,this._l=void 0}),(function(){var e=this,t=e._k,r=e._l;while(r&&r.r)r=r.p;return e._t&&(e._l=r=r?r.n:e._t._f)?c(0,"keys"==t?r.k:"values"==t?r.v:[r.k,r.v]):(e._t=void 0,c(1))}),r?"entries":"values",!r,!0),d(t)}}},c280:function(e,t,r){},c2ca:function(e,t,r){},c345:function(e,t,r){"use strict";var n=r("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},c366:function(e,t,r){var n=r("6821"),i=r("9def"),o=r("77f1");e.exports=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}},c367:function(e,t,r){"use strict";var n=r("8436"),i=r("50ed"),o=r("481b"),a=r("36c3");e.exports=r("30f1")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},c3a1:function(e,t,r){var n=r("e6f3"),i=r("1691");e.exports=Object.keys||function(e){return n(e,i)}},c3b6:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.StreamCipher,i=t.algo,o=i.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var o=0;i<256;i++){var a=i%r,s=t[a>>>2]>>>24-a%4*8&255;o=(o+n[i]+s)%256;var l=n[i];n[i]=n[o],n[o]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){t=(t+1)%256,r=(r+e[t])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}t.RC4=n._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=n._createHelper(s)}(),e.RC4}))},c3f0:function(e,t,r){"use strict";e.exports=function(e){return JSON.stringify(e,null,2)}},c401:function(e,t,r){"use strict";var n=r("c532");e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},c423:function(e,t,r){},c45f:function(e,t,r){"use strict";var n=r("1169"),i=r("d3f4"),o=r("9def"),a=r("9b43"),s=r("2b4c")("isConcatSpreadable");function l(e,t,r,u,c,d,h,f){var p,m,g=c,v=0,y=!!h&&a(h,f,3);while(v<u){if(v in r){if(p=y?y(r[v],v,t):r[v],m=!1,i(p)&&(m=p[s],m=void 0!==m?!!m:n(p)),m&&d>0)g=l(e,t,p,o(p.length),g,d-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=p}g++}v++}return g}e.exports=l},c532:function(e,t,r){"use strict";var n=r("1d2b"),i=r("044b"),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function c(e){return"string"===typeof e}function d(e){return"number"===typeof e}function h(e){return"undefined"===typeof e}function f(e){return null!==e&&"object"===typeof e}function p(e){return"[object Date]"===o.call(e)}function m(e){return"[object File]"===o.call(e)}function g(e){return"[object Blob]"===o.call(e)}function v(e){return"[object Function]"===o.call(e)}function y(e){return f(e)&&v(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function _(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function k(){var e={};function t(t,r){"object"===typeof e[r]&&"object"===typeof t?e[r]=k(e[r],t):e[r]=t}for(var r=0,n=arguments.length;r<n;r++)x(arguments[r],t);return e}function S(e,t,r){return x(t,(function(t,i){e[i]=r&&"function"===typeof t?n(t,r):t})),e}e.exports={isArray:a,isArrayBuffer:s,isBuffer:i,isFormData:l,isArrayBufferView:u,isString:c,isNumber:d,isObject:f,isUndefined:h,isDate:p,isFile:m,isBlob:g,isFunction:v,isStream:y,isURLSearchParams:b,isStandardBrowserEnv:w,forEach:x,merge:k,extend:S,trim:_}},c5b4:function(e,t,r){"use strict";e.exports=r("2d00")||!r("79e5")((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r("7726")[e]}))},c5f6:function(e,t,r){"use strict";var n=r("7726"),i=r("69a8"),o=r("2d95"),a=r("5dbc"),s=r("6a99"),l=r("79e5"),u=r("9093").f,c=r("11e9").f,d=r("86cc").f,h=r("aa77").trim,f="Number",p=n[f],m=p,g=p.prototype,v=o(r("2aeb")(g))==f,y="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=y?t.trim():h(t,3);var r,n,i,o=t.charCodeAt(0);if(43===o||45===o){if(r=t.charCodeAt(2),88===r||120===r)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;u<c;u++)if(a=l.charCodeAt(u),a<48||a>i)return NaN;return parseInt(l,n)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof p&&(v?l((function(){g.valueOf.call(r)})):o(r)!=f)?a(new m(b(t)),r,p):b(t)};for(var _,w=r("9e1e")?u(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)i(m,_=w[x])&&!i(p,_)&&d(p,_,c(m,_));p.prototype=g,g.constructor=p,r("2aba")(n,f,p)}},c66f:function(e,t,r){"use strict";var n=r("5ca1"),i=r("0f88"),o=r("ed0b"),a=r("cb7c"),s=r("77f1"),l=r("9def"),u=r("d3f4"),c=r("7726").ArrayBuffer,d=r("ebd6"),h=o.ArrayBuffer,f=o.DataView,p=i.ABV&&c.isView,m=h.prototype.slice,g=i.VIEW,v="ArrayBuffer";n(n.G+n.W+n.F*(c!==h),{ArrayBuffer:h}),n(n.S+n.F*!i.CONSTR,v,{isView:function(e){return p&&p(e)||u(e)&&g in e}}),n(n.P+n.U+n.F*r("79e5")((function(){return!new h(2).slice(1,void 0).byteLength})),v,{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);var r=a(this).byteLength,n=s(e,r),i=s(void 0===t?r:t,r),o=new(d(this,h))(l(i-n)),u=new f(this),c=new f(o),p=0;while(n<i)c.setUint8(p++,u.getUint8(n++));return o}}),r("7a56")(v)},c698:function(e,t,r){var n=r("5ca1");n(n.S,"Reflect",{ownKeys:r("990b")})},c69a:function(e,t,r){e.exports=!r("9e1e")&&!r("79e5")((function(){return 7!=Object.defineProperty(r("230e")("div"),"a",{get:function(){return 7}}).a}))},c6a1:function(e,t,r){"use strict";var n=r("5ca1");e.exports=function(e){n(n.S,e,{of:function(){var e=arguments.length,t=new Array(e);while(e--)t[e]=arguments[e];return new this(t)}})}},c71c:function(e,t,r){"use strict";(function(e,n){r.d(t,"a",(function(){return gr}));var i=r("c82c"),o=r.n(i),a=r("2b0e"),s="object"==typeof e&&e&&e.Object===Object&&e,l=s,u="object"==typeof self&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),d=c,h=d.Symbol,f=h,p=Object.prototype,m=p.hasOwnProperty,g=p.toString,v=f?f.toStringTag:void 0;function y(e){var t=m.call(e,v),r=e[v];try{e[v]=void 0;var n=!0}catch(o){}var i=g.call(e);return n&&(t?e[v]=r:delete e[v]),i}var b=Object.prototype,_=b.toString;function w(e){return _.call(e)}var x="[object Null]",k="[object Undefined]",S=f?f.toStringTag:void 0;function M(e){return null==e?void 0===e?k:x:S&&S in Object(e)?y(e):w(e)}function C(e){return null!=e&&"object"==typeof e}var T="[object Symbol]";function O(e){return"symbol"==typeof e||C(e)&&M(e)==T}var L=Array.isArray,A=L,D=/\s/;function E(e){var t=e.length;while(t--&&D.test(e.charAt(t)));return t}var I=/^\s+/;function j(e){return e?e.slice(0,E(e)+1).replace(I,""):e}function P(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var R=NaN,N=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,Y=/^0o[0-7]+$/i,F=parseInt;function z(e){if("number"==typeof e)return e;if(O(e))return R;if(P(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=P(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=j(e);var r=B.test(e);return r||Y.test(e)?F(e.slice(2),r?2:8):N.test(e)?R:+e}function H(e){return e}var V="[object AsyncFunction]",U="[object Function]",W="[object GeneratorFunction]",$="[object Proxy]";function G(e){if(!P(e))return!1;var t=M(e);return t==U||t==W||t==V||t==$}var q=d["__core-js_shared__"],X=q,K=function(){var e=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Z(e){return!!K&&K in e}var J=Function.prototype,Q=J.toString;function ee(e){if(null!=e){try{return Q.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var te=/[\\^$.*+?()[\]{}|]/g,re=/^\[object .+?Constructor\]$/,ne=Function.prototype,ie=Object.prototype,oe=ne.toString,ae=ie.hasOwnProperty,se=RegExp("^"+oe.call(ae).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function le(e){if(!P(e)||Z(e))return!1;var t=G(e)?se:re;return t.test(ee(e))}function ue(e,t){return null==e?void 0:e[t]}function ce(e,t){var r=ue(e,t);return le(r)?r:void 0}function de(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var he=800,fe=16,pe=Date.now;function me(e){var t=0,r=0;return function(){var n=pe(),i=fe-(n-r);if(r=n,i>0){if(++t>=he)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ge(e){return function(){return e}}var ve=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),ye=ve,be=ye?function(e,t){return ye(e,"toString",{configurable:!0,enumerable:!1,value:ge(t),writable:!0})}:H,_e=be,we=me(_e),xe=we,ke=9007199254740991,Se=/^(?:0|[1-9]\d*)$/;function Me(e,t){var r=typeof e;return t=null==t?ke:t,!!t&&("number"==r||"symbol"!=r&&Se.test(e))&&e>-1&&e%1==0&&e<t}function Ce(e,t,r){"__proto__"==t&&ye?ye(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Te(e,t){return e===t||e!==e&&t!==t}var Oe=Object.prototype,Le=Oe.hasOwnProperty;function Ae(e,t,r){var n=e[t];Le.call(e,t)&&Te(n,r)&&(void 0!==r||t in e)||Ce(e,t,r)}function De(e,t,r,n){var i=!r;r||(r={});var o=-1,a=t.length;while(++o<a){var s=t[o],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),i?Ce(r,s,l):Ae(r,s,l)}return r}var Ee=Math.max;function Ie(e,t,r){return t=Ee(void 0===t?e.length-1:t,0),function(){var n=arguments,i=-1,o=Ee(n.length-t,0),a=Array(o);while(++i<o)a[i]=n[t+i];i=-1;var s=Array(t+1);while(++i<t)s[i]=n[i];return s[t]=r(a),de(e,this,s)}}function je(e,t){return xe(Ie(e,t,H),e+"")}var Pe=9007199254740991;function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Pe}function Ne(e){return null!=e&&Re(e.length)&&!G(e)}function Be(e,t,r){if(!P(r))return!1;var n=typeof t;return!!("number"==n?Ne(r)&&Me(t,r.length):"string"==n&&t in r)&&Te(r[t],e)}function Ye(e){return je((function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&Be(r[0],r[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);while(++n<i){var s=r[n];s&&e(t,s,n,o)}return t}))}var Fe=Object.prototype;function ze(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||Fe;return e===r}function He(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}var Ve="[object Arguments]";function Ue(e){return C(e)&&M(e)==Ve}var We=Object.prototype,$e=We.hasOwnProperty,Ge=We.propertyIsEnumerable,qe=Ue(function(){return arguments}())?Ue:function(e){return C(e)&&$e.call(e,"callee")&&!Ge.call(e,"callee")},Xe=qe;function Ke(){return!1}var Ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,Je=Ze&&"object"==typeof n&&n&&!n.nodeType&&n,Qe=Je&&Je.exports===Ze,et=Qe?d.Buffer:void 0,tt=et?et.isBuffer:void 0,rt=tt||Ke,nt=rt,it="[object Arguments]",ot="[object Array]",at="[object Boolean]",st="[object Date]",lt="[object Error]",ut="[object Function]",ct="[object Map]",dt="[object Number]",ht="[object Object]",ft="[object RegExp]",pt="[object Set]",mt="[object String]",gt="[object WeakMap]",vt="[object ArrayBuffer]",yt="[object DataView]",bt="[object Float32Array]",_t="[object Float64Array]",wt="[object Int8Array]",xt="[object Int16Array]",kt="[object Int32Array]",St="[object Uint8Array]",Mt="[object Uint8ClampedArray]",Ct="[object Uint16Array]",Tt="[object Uint32Array]",Ot={};function Lt(e){return C(e)&&Re(e.length)&&!!Ot[M(e)]}function At(e){return function(t){return e(t)}}Ot[bt]=Ot[_t]=Ot[wt]=Ot[xt]=Ot[kt]=Ot[St]=Ot[Mt]=Ot[Ct]=Ot[Tt]=!0,Ot[it]=Ot[ot]=Ot[vt]=Ot[at]=Ot[yt]=Ot[st]=Ot[lt]=Ot[ut]=Ot[ct]=Ot[dt]=Ot[ht]=Ot[ft]=Ot[pt]=Ot[mt]=Ot[gt]=!1;var Dt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Dt&&"object"==typeof n&&n&&!n.nodeType&&n,It=Et&&Et.exports===Dt,jt=It&&l.process,Pt=function(){try{var e=Et&&Et.require&&Et.require("util").types;return e||jt&&jt.binding&&jt.binding("util")}catch(t){}}(),Rt=Pt,Nt=Rt&&Rt.isTypedArray,Bt=Nt?At(Nt):Lt,Yt=Bt,Ft=Object.prototype,zt=Ft.hasOwnProperty;function Ht(e,t){var r=A(e),n=!r&&Xe(e),i=!r&&!n&&nt(e),o=!r&&!n&&!i&&Yt(e),a=r||n||i||o,s=a?He(e.length,String):[],l=s.length;for(var u in e)!t&&!zt.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Me(u,l))||s.push(u);return s}function Vt(e,t){return function(r){return e(t(r))}}var Ut=Vt(Object.keys,Object),Wt=Ut,$t=Object.prototype,Gt=$t.hasOwnProperty;function qt(e){if(!ze(e))return Wt(e);var t=[];for(var r in Object(e))Gt.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Xt(e){return Ne(e)?Ht(e):qt(e)}var Kt=Object.prototype,Zt=Kt.hasOwnProperty,Jt=Ye((function(e,t){if(ze(t)||Ne(t))De(t,Xt(t),e);else for(var r in t)Zt.call(t,r)&&Ae(e,r,t[r])})),Qt=Jt,er=function(){return d.Date.now()},tr=er,rr="Expected a function",nr=Math.max,ir=Math.min;function or(e,t,r){var n,i,o,a,s,l,u=0,c=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError(rr);function f(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r),a}function p(e){return u=e,s=setTimeout(v,t),c?f(e):a}function m(e){var r=e-l,n=e-u,i=t-r;return d?ir(i,o-n):i}function g(e){var r=e-l,n=e-u;return void 0===l||r>=t||r<0||d&&n>=o}function v(){var e=tr();if(g(e))return y(e);s=setTimeout(v,m(e))}function y(e){return s=void 0,h&&n?f(e):(n=i=void 0,a)}function b(){void 0!==s&&clearTimeout(s),u=0,n=l=i=s=void 0}function _(){return void 0===s?a:y(tr())}function w(){var e=tr(),r=g(e);if(n=arguments,i=this,l=e,r){if(void 0===s)return p(l);if(d)return clearTimeout(s),s=setTimeout(v,t),f(l)}return void 0===s&&(s=setTimeout(v,t)),a}return t=z(t)||0,P(r)&&(c=!!r.leading,d="maxWait"in r,o=d?nr(z(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h),w.cancel=b,w.flush=_,w}var ar=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e._t("default",null,{images:e.images,options:e.options})],2)},sr=[];function lr(e,t,r,n,i,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}const ur={props:{images:{type:Array},rebuild:{type:Boolean,default:!1},trigger:{},options:{type:Object}},data(){return{}},computed:{},watch:{images(){this.$nextTick(()=>{this.onChange()})},trigger:{handler(){this.$nextTick(()=>{this.onChange()})},deep:!0},options:{handler(){this.$nextTick(()=>{this.rebuildViewer()})},deep:!0}},mounted(){this.createViewer()},unmounted(){this.destroyViewer()},methods:{onChange(){this.rebuild?this.rebuildViewer():this.updateViewer()},rebuildViewer(){this.destroyViewer(),this.createViewer()},updateViewer(){this.$viewer?(this.$viewer.update(),this.$emit("inited",this.$viewer)):this.createViewer()},destroyViewer(){this.$viewer&&this.$viewer.destroy()},createViewer(){this.$viewer=new o.a(this.$el,this.options),this.$emit("inited",this.$viewer)}}},cr={};var dr=lr(ur,ar,sr,!1,hr,null,null,null);function hr(e){for(let t in cr)this[t]=cr[t]}var fr=function(){return dr.exports}();const pr=({name:e="viewer",debug:t=!1}={})=>{function r(t,r,i=!1,s=!1){a["default"].nextTick(()=>{s&&!n(t)||(i||!t["$"+e]?(l(t),t["$"+e]=new o.a(t,r),d("Viewer created")):(t["$"+e].update(),d("Viewer updated")))})}function n(e){const t=e.innerHTML.match(/<img([\w\W]+?)[\\/]?>/g),r=t?t.join(""):void 0;return e.__viewerImageDiffCache===r?(d("Element change detected, but image(s) has not changed"),!1):(d("Image change detected"),e.__viewerImageDiffCache=r,!0)}function i(e,t,r,n){u(e);const i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(!i)return void d("Observer not supported");const o=new i(i=>{i.forEach(i=>{d("Viewer mutation:"+i.type),r(e,t,n,!0)})}),a={attributes:!0,childList:!0,characterData:!0,subtree:!0};o.observe(e,a),e.__viewerMutationObserver=o,d("Observer created")}function s(e,{expression:t},r,n){const i=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/;t&&i.test(t)?(e.__viewerUnwatch=r.context.$watch(t,(r,i)=>{d("Change detected by watcher: ",t),n(e,r,!0)},{deep:!0}),d("Watcher created, expression: ",t)):d("Only simple dot-delimited paths can create watcher")}function l(t){t["$"+e]&&(t["$"+e].destroy(),delete t["$"+e],d("Viewer destroyed"))}function u(e){e.__viewerMutationObserver&&(e.__viewerMutationObserver.disconnect(),delete e.__viewerMutationObserver,d("Observer destroyed"))}function c(e){e.__viewerUnwatch&&(e.__viewerUnwatch(),delete e.__viewerUnwatch,d("Watcher destroyed"))}function d(){t&&console.log(...arguments)}const h={bind(e,t,n){d("Viewer bind");const o=or(r,50);o(e,t.value),s(e,t,n,o),t.modifiers.static||i(e,t.value,o,t.modifiers.rebuild)},unbind(e,t){d("Viewer unbind"),u(e),c(e),l(e)}};return h},mr=({images:e=[],options:t={}}={})=>{t=Qt(t,{inline:!1});const r=a["default"].extend({render(t){return t("div",{style:{display:"none"},class:["__viewer-token"]},e.map(e=>t("img",{attrs:"string"===typeof e?{src:e}:e})))}}),n=new r;n.$mount(),document.body.appendChild(n.$el);const i=new o.a(n.$el,t),s=i.destroy.bind(i);return i.destroy=function(){return s(),n.$destroy(),document.body.removeChild(n.$el),i},i.show(),n.$el.addEventListener("hidden",(function(){this.viewer===i&&i.destroy()})),i};var gr={install(e,{name:t="viewer",debug:r=!1,defaultOptions:n}={}){o.a.setDefaults(n),e.component(t,Qt(fr,{name:t})),e.directive(t,pr({name:t,debug:r})),e.prototype[`$${t}Api`]=mr},setDefaults(e){o.a.setDefaults(e)}}}).call(this,r("24aa"),r("faff")(e))},c775:function(e,t,r){var n=r("5ca1");n(n.S,"Math",{scale:r("e9d2")})},c7aa:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,r){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?r?'לפנה"צ':"לפני הצהריים":e<18?r?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},c7c6:function(e,t,r){var n=r("5ca1"),i=Math.abs;n(n.S,"Math",{hypot:function(e,t){var r,n,o=0,a=0,s=arguments.length,l=0;while(a<s)r=i(arguments[a++]),l<r?(n=l/r,o=o*n*n+1,l=r):r>0?(n=r/l,o+=n*n):o+=r;return l===1/0?1/0:l*Math.sqrt(o)}})},c7c62:function(e,t,r){var n=r("5ca1"),i=r("2d5c"),o=Math.exp;n(n.S,"Math",{tanh:function(e){var t=i(e=+e),r=i(-e);return t==1/0?1:r==1/0?-1:(t-r)/(o(e)+o(-e))}})},c7c8:function(e,t,r){},c7ca:function(e,t,r){r("3a72")("observable")},c80c:function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var n=r("7618"),i=r("454f"),o=r.n(i),a=r("f921"),s=r.n(a),l=r("dc62"),u=r.n(l),c=r("fa99"),d=r.n(c),h=r("25b0"),f=r.n(h),p=r("696e"),m=r.n(p);function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
g=function(){return t};var e,t={},r=Object.prototype,i=r.hasOwnProperty,a=o.a||function(e,t,r){e[t]=r.value},l="function"==typeof s.a?s.a:{},c=l.iterator||"@@iterator",h=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function v(e,t,r){return o()(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{v({},"")}catch(e){v=function(e,t,r){return e[t]=r}}function y(e,t,r,n){var i=t&&t.prototype instanceof M?t:M,o=u()(i.prototype),s=new B(n||[]);return a(o,"_invoke",{value:j(e,r,s)}),o}function b(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=y;var _="suspendedStart",w="suspendedYield",x="executing",k="completed",S={};function M(){}function C(){}function T(){}var O={};v(O,c,(function(){return this}));var L=d.a,A=L&&L(L(Y([])));A&&A!==r&&i.call(A,c)&&(O=A);var D=T.prototype=M.prototype=u()(O);function E(e){["next","throw","return"].forEach((function(t){v(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function r(o,a,s,l){var u=b(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==Object(n["a"])(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}})}function j(t,r,n){var i=_;return function(o,a){if(i===x)throw Error("Generator is already running");if(i===k){if("throw"===o)throw a;return{value:e,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=P(s,n);if(l){if(l===S)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===_)throw i=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=x;var u=b(t,r,n);if("normal"===u.type){if(i=n.done?k:w,u.arg===S)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=k,n.method="throw",n.arg=u.arg)}}}function P(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator["return"]&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),S;var o=b(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,S;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,S):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,S)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function Y(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(i.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(Object(n["a"])(t)+" is not iterable")}return C.prototype=T,a(D,"constructor",{value:T,configurable:!0}),a(T,"constructor",{value:C,configurable:!0}),C.displayName=v(T,p,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===C||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return f.a?f()(e,T):(e.__proto__=T,v(e,p,"GeneratorFunction")),e.prototype=u()(D),e},t.awrap=function(e){return{__await:e}},E(I.prototype),v(I.prototype,h,(function(){return this})),t.AsyncIterator=I,t.async=function(e,r,n,i,o){void 0===o&&(o=m.a);var a=new I(y(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(D),v(D,p,"Generator"),v(D,c,(function(){return this})),v(D,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=Y,B.prototype={constructor:B,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,S):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),S},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),S}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;N(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:Y(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),S}},t}},c82c:function(e,t,r){
|
||
/*!
|
||
* Viewer.js v1.11.6
|
||
* https://fengyuanchen.github.io/viewerjs
|
||
*
|
||
* Copyright 2015-present Chen Fengyuan
|
||
* Released under the MIT license
|
||
*
|
||
* Date: 2023-09-17T03:16:38.052Z
|
||
*/
|
||
(function(t,r){e.exports=r()})(0,(function(){"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return t=l(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){if("object"!==typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e){var t=s(e,"string");return"symbol"===typeof t?t:String(t)}var u={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},c='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',d="undefined"!==typeof window&&"undefined"!==typeof window.document,h=d?window:{},f=!(!d||!h.document.documentElement)&&"ontouchstart"in h.document.documentElement,p=!!d&&"PointerEvent"in h,m="viewer",g="move",v="switch",y="zoom",b="".concat(m,"-active"),_="".concat(m,"-close"),w="".concat(m,"-fade"),x="".concat(m,"-fixed"),k="".concat(m,"-fullscreen"),S="".concat(m,"-fullscreen-exit"),M="".concat(m,"-hide"),C="".concat(m,"-hide-md-down"),T="".concat(m,"-hide-sm-down"),O="".concat(m,"-hide-xs-down"),L="".concat(m,"-in"),A="".concat(m,"-invisible"),D="".concat(m,"-loading"),E="".concat(m,"-move"),I="".concat(m,"-open"),j="".concat(m,"-show"),P="".concat(m,"-transition"),R="click",N="dblclick",B="dragstart",Y="focusin",F="keydown",z="load",H="error",V=f?"touchend touchcancel":"mouseup",U=f?"touchmove":"mousemove",W=f?"touchstart":"mousedown",$=p?"pointerdown":W,G=p?"pointermove":U,q=p?"pointerup pointercancel":V,X="resize",K="transitionend",Z="wheel",J="ready",Q="show",ee="shown",te="hide",re="hidden",ne="view",ie="viewed",oe="move",ae="moved",se="rotate",le="rotated",ue="scale",ce="scaled",de="zoom",he="zoomed",fe="play",pe="stop",me="".concat(m,"Action"),ge=/\s\s*/,ve=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function ye(e){return"string"===typeof e}var be=Number.isNaN||h.isNaN;function _e(e){return"number"===typeof e&&!be(e)}function we(e){return"undefined"===typeof e}function xe(e){return"object"===r(e)&&null!==e}var ke=Object.prototype.hasOwnProperty;function Se(e){if(!xe(e))return!1;try{var t=e.constructor,r=t.prototype;return t&&r&&ke.call(r,"isPrototypeOf")}catch(n){return!1}}function Me(e){return"function"===typeof e}function Ce(e,t){if(e&&Me(t))if(Array.isArray(e)||_e(e.length)){var r,n=e.length;for(r=0;r<n;r+=1)if(!1===t.call(e,e[r],r,e))break}else xe(e)&&Object.keys(e).forEach((function(r){t.call(e,e[r],r,e)}));return e}var Te=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return xe(e)&&r.length>0&&r.forEach((function(t){xe(t)&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e},Oe=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Le(e,t){var r=e.style;Ce(t,(function(e,t){Oe.test(t)&&_e(e)&&(e+="px"),r[t]=e}))}function Ae(e){return ye(e)?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):e}function De(e,t){return!(!e||!t)&&(e.classList?e.classList.contains(t):e.className.indexOf(t)>-1)}function Ee(e,t){if(e&&t)if(_e(e.length))Ce(e,(function(e){Ee(e,t)}));else if(e.classList)e.classList.add(t);else{var r=e.className.trim();r?r.indexOf(t)<0&&(e.className="".concat(r," ").concat(t)):e.className=t}}function Ie(e,t){e&&t&&(_e(e.length)?Ce(e,(function(e){Ie(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function je(e,t,r){t&&(_e(e.length)?Ce(e,(function(e){je(e,t,r)})):r?Ee(e,t):Ie(e,t))}var Pe=/([a-z\d])([A-Z])/g;function Re(e){return e.replace(Pe,"$1-$2").toLowerCase()}function Ne(e,t){return xe(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Re(t)))}function Be(e,t,r){xe(r)?e[t]=r:e.dataset?e.dataset[t]=r:e.setAttribute("data-".concat(Re(t)),r)}var Ye=function(){var e=!1;if(d){var t=!1,r=function(){},n=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});h.addEventListener("test",r,n),h.removeEventListener("test",r,n)}return e}();function Fe(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r;t.trim().split(ge).forEach((function(t){if(!Ye){var o=e.listeners;o&&o[t]&&o[t][r]&&(i=o[t][r],delete o[t][r],0===Object.keys(o[t]).length&&delete o[t],0===Object.keys(o).length&&delete e.listeners)}e.removeEventListener(t,i,n)}))}function ze(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r;t.trim().split(ge).forEach((function(t){if(n.once&&!Ye){var o=e.listeners,a=void 0===o?{}:o;i=function(){delete a[t][r],e.removeEventListener(t,i,n);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];r.apply(e,s)},a[t]||(a[t]={}),a[t][r]&&e.removeEventListener(t,a[t][r],n),a[t][r]=i,e.listeners=a}e.addEventListener(t,i,n)}))}function He(e,r,n,i){var o;return Me(Event)&&Me(CustomEvent)?o=new CustomEvent(r,t({bubbles:!0,cancelable:!0,detail:n},i)):(o=document.createEvent("CustomEvent"),o.initCustomEvent(r,!0,!0,n)),e.dispatchEvent(o)}function Ve(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}function Ue(e){var t=e.rotate,r=e.scaleX,n=e.scaleY,i=e.translateX,o=e.translateY,a=[];_e(i)&&0!==i&&a.push("translateX(".concat(i,"px)")),_e(o)&&0!==o&&a.push("translateY(".concat(o,"px)")),_e(t)&&0!==t&&a.push("rotate(".concat(t,"deg)")),_e(r)&&1!==r&&a.push("scaleX(".concat(r,")")),_e(n)&&1!==n&&a.push("scaleY(".concat(n,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function We(e){return ye(e)?decodeURIComponent(e.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var $e=h.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(h.navigator.userAgent);function Ge(e,t,r){var n=document.createElement("img");if(e.naturalWidth&&!$e)return r(e.naturalWidth,e.naturalHeight),n;var i=document.body||document.documentElement;return n.onload=function(){r(n.width,n.height),$e||i.removeChild(n)},Ce(t.inheritedAttributes,(function(t){var r=e.getAttribute(t);null!==r&&n.setAttribute(t,r)})),n.src=e.src,$e||(n.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(n)),n}function qe(e){switch(e){case 2:return O;case 3:return T;case 4:return C;default:return""}}function Xe(e){var r=t({},e),n=[];return Ce(e,(function(e,t){delete r[t],Ce(r,(function(t){var r=Math.abs(e.startX-t.startX),i=Math.abs(e.startY-t.startY),o=Math.abs(e.endX-t.endX),a=Math.abs(e.endY-t.endY),s=Math.sqrt(r*r+i*i),l=Math.sqrt(o*o+a*a),u=(l-s)/s;n.push(u)}))})),n.sort((function(e,t){return Math.abs(e)<Math.abs(t)})),n[0]}function Ke(e,r){var n=e.pageX,i=e.pageY,o={endX:n,endY:i};return r?o:t({timeStamp:Date.now(),startX:n,startY:i},o)}function Ze(e){var t=0,r=0,n=0;return Ce(e,(function(e){var i=e.startX,o=e.startY;t+=i,r+=o,n+=1})),t/=n,r/=n,{pageX:t,pageY:r}}var Je={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var e=this.element.ownerDocument,t=e.body||e.documentElement;this.body=t,this.scrollbarWidth=window.innerWidth-e.documentElement.clientWidth,this.initialBodyPaddingRight=t.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(t).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var e,t=this.options,r=this.parent;t.inline&&(e={width:Math.max(r.offsetWidth,t.minWidth),height:Math.max(r.offsetHeight,t.minHeight)},this.parentData=e),!this.fulled&&e||(e=this.containerData),this.viewerData=Te({},e)},renderViewer:function(){this.options.inline&&!this.fulled&&Le(this.viewer,this.viewerData)},initList:function(){var e=this,t=this.element,r=this.options,n=this.list,i=[];n.innerHTML="",Ce(this.images,(function(t,o){var a=t.src,s=t.alt||We(a),l=e.getImageURL(t);if(a||l){var u=document.createElement("li"),c=document.createElement("img");Ce(r.inheritedAttributes,(function(e){var r=t.getAttribute(e);null!==r&&c.setAttribute(e,r)})),r.navbar&&(c.src=a||l),c.alt=s,c.setAttribute("data-original-url",l||a),u.setAttribute("data-index",o),u.setAttribute("data-viewer-action","view"),u.setAttribute("role","button"),r.keyboard&&u.setAttribute("tabindex",0),u.appendChild(c),n.appendChild(u),i.push(u)}})),this.items=i,Ce(i,(function(t){var n,i,o=t.firstElementChild;Be(o,"filled",!0),r.loading&&Ee(t,D),ze(o,z,n=function(n){Fe(o,H,i),r.loading&&Ie(t,D),e.loadImage(n)},{once:!0}),ze(o,H,i=function(){Fe(o,z,n),r.loading&&Ie(t,D)},{once:!0})})),r.transition&&ze(t,ie,(function(){Ee(n,P)}),{once:!0})},renderList:function(){var e=this.index,t=this.items[e];if(t){var r=t.nextElementSibling,n=parseInt(window.getComputedStyle(r||t).marginLeft,10),i=t.offsetWidth,o=i+n;Le(this.list,Te({width:o*this.length-n},Ue({translateX:(this.viewerData.width-i)/2-o*e})))}},resetList:function(){var e=this.list;e.innerHTML="",Ie(e,P),Le(e,Ue({translateX:0}))},initImage:function(e){var t,r=this,n=this.options,i=this.image,o=this.viewerData,a=this.footer.offsetHeight,s=o.width,l=Math.max(o.height-a,a),u=this.imageData||{};this.imageInitializing={abort:function(){t.onload=null}},t=Ge(i,n,(function(t,i){var o=t/i,a=Math.max(0,Math.min(1,n.initialCoverage)),c=s,d=l;r.imageInitializing=!1,l*o>s?d=s/o:c=l*o,a=_e(a)?a:.9,c=Math.min(c*a,t),d=Math.min(d*a,i);var h=(s-c)/2,f=(l-d)/2,p={left:h,top:f,x:h,y:f,width:c,height:d,oldRatio:1,ratio:c/t,aspectRatio:o,naturalWidth:t,naturalHeight:i},m=Te({},p);n.rotatable&&(p.rotate=u.rotate||0,m.rotate=0),n.scalable&&(p.scaleX=u.scaleX||1,p.scaleY=u.scaleY||1,m.scaleX=1,m.scaleY=1),r.imageData=p,r.initialImageData=m,e&&e()}))},renderImage:function(e){var t=this,r=this.image,n=this.imageData;if(Le(r,Te({width:n.width,height:n.height,marginLeft:n.x,marginTop:n.y},Ue(n))),e)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&De(r,P)){var i=function(){t.imageRendering=!1,e()};this.imageRendering={abort:function(){Fe(r,K,i)}},ze(r,K,i,{once:!0})}else e()},resetImage:function(){var e=this.image;e&&(this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null,this.title.innerHTML="")}},Qe={bind:function(){var e=this.options,t=this.viewer,r=this.canvas,n=this.element.ownerDocument;ze(t,R,this.onClick=this.click.bind(this)),ze(t,B,this.onDragStart=this.dragstart.bind(this)),ze(r,$,this.onPointerDown=this.pointerdown.bind(this)),ze(n,G,this.onPointerMove=this.pointermove.bind(this)),ze(n,q,this.onPointerUp=this.pointerup.bind(this)),ze(n,F,this.onKeyDown=this.keydown.bind(this)),ze(window,X,this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&ze(t,Z,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleOnDblclick&&ze(r,N,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,t=this.viewer,r=this.canvas,n=this.element.ownerDocument;Fe(t,R,this.onClick),Fe(t,B,this.onDragStart),Fe(r,$,this.onPointerDown),Fe(n,G,this.onPointerMove),Fe(n,q,this.onPointerUp),Fe(n,F,this.onKeyDown),Fe(window,X,this.onResize),e.zoomable&&e.zoomOnWheel&&Fe(t,Z,this.onWheel,{passive:!1,capture:!0}),e.toggleOnDblclick&&Fe(r,N,this.onDblclick)}},et={click:function(e){var t=this.options,r=this.imageData,n=e.target,i=Ne(n,me);switch(i||"img"!==n.localName||"li"!==n.parentElement.localName||(n=n.parentElement,i=Ne(n,me)),f&&e.isTrusted&&n===this.canvas&&clearTimeout(this.clickCanvasTimeout),i){case"mix":this.played?this.stop():t.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Ne(n,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(t.loop);break;case"play":this.play(t.fullscreen);break;case"next":this.next(t.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-r.scaleX||-1);break;case"flip-vertical":this.scaleY(-r.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(f&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(e.isTrusted?e:e.detail&&e.detail.originalEvent))},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var t=this.element,r=this.options,n=this.image,i=this.index,o=this.viewerData;Ie(n,A),r.loading&&Ie(this.canvas,D),n.style.cssText="height:0;"+"margin-left:".concat(o.width/2,"px;")+"margin-top:".concat(o.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage((function(){je(n,E,r.movable),je(n,P,r.transition),e.renderImage((function(){e.viewed=!0,e.viewing=!1,Me(r.viewed)&&ze(t,ie,r.viewed,{once:!0}),He(t,ie,{originalImage:e.images[i],index:i,image:n},{cancelable:!1})}))}))},loadImage:function(e){var t=e.target,r=t.parentNode,n=r.offsetWidth||30,i=r.offsetHeight||50,o=!!Ne(t,"filled");Ge(t,this.options,(function(e,r){var a=e/r,s=n,l=i;i*a>n?o?s=i*a:l=n/a:o?l=n/a:s=i*a,Le(t,Te({width:s,height:l},Ue({translateX:(n-s)/2,translateY:(i-l)/2})))}))},keydown:function(e){var t=this.options;if(t.keyboard){var r=e.keyCode||e.which||e.charCode;switch(r){case 13:this.viewer.contains(e.target)&&this.click(e);break}if(this.fulled)switch(r){case 27:this.played?this.stop():t.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(t.loop);break;case 38:e.preventDefault(),this.zoom(t.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(t.loop);break;case 40:e.preventDefault(),this.zoom(-t.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle());break}}},dragstart:function(e){"img"===e.target.localName&&e.preventDefault()},pointerdown:function(e){var t=this.options,r=this.pointers,n=e.buttons,i=e.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(_e(n)&&1!==n||_e(i)&&0!==i||e.ctrlKey))){e.preventDefault(),e.changedTouches?Ce(e.changedTouches,(function(e){r[e.identifier]=Ke(e)})):r[e.pointerId||0]=Ke(e);var o=!!t.movable&&g;t.zoomOnTouch&&t.zoomable&&Object.keys(r).length>1?o=y:t.slideOnTouch&&("touch"===e.pointerType||"touchstart"===e.type)&&this.isSwitchable()&&(o=v),!t.transition||o!==g&&o!==y||Ie(this.image,P),this.action=o}},pointermove:function(e){var t=this.pointers,r=this.action;this.viewed&&r&&(e.preventDefault(),e.changedTouches?Ce(e.changedTouches,(function(e){Te(t[e.identifier]||{},Ke(e,!0))})):Te(t[e.pointerId||0]||{},Ke(e,!0)),this.change(e))},pointerup:function(e){var t,r=this,n=this.options,i=this.action,o=this.pointers;e.changedTouches?Ce(e.changedTouches,(function(e){t=o[e.identifier],delete o[e.identifier]})):(t=o[e.pointerId||0],delete o[e.pointerId||0]),i&&(e.preventDefault(),!n.transition||i!==g&&i!==y||Ee(this.image,P),this.action=!1,f&&i!==y&&t&&Date.now()-t.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),n.toggleOnDblclick&&this.viewed&&e.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){He(r.image,N,{originalEvent:e})}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){r.imageClicked=!1}),500)):(this.imageClicked=!1,n.backdrop&&"static"!==n.backdrop&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){He(r.canvas,R,{originalEvent:e})}),50)))))},resize:function(){var e=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();Ce(this.player.getElementsByTagName("img"),(function(t){ze(t,z,e.loadImage.bind(e),{once:!0}),He(t,z)}))}},wheel:function(e){var t=this;if(this.viewed&&(e.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50);var r=Number(this.options.zoomRatio)||.1,n=1;e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,!0,null,e)}}},tt={show:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,r=this.options;if(r.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(Me(r.show)&&ze(t,Q,r.show,{once:!0}),!1===He(t,Q)||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var n=this.viewer;if(Ie(n,M),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("aria-hidden"),r.transition&&!e){var i=this.shown.bind(this);this.transitioning={abort:function(){Fe(n,K,i),Ie(n,L)}},Ee(n,P),n.initialOffsetWidth=n.offsetWidth,ze(n,K,i,{once:!0}),Ee(n,L)}else Ee(n,L),this.shown();return this},hide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.element,n=this.options;if(n.inline||this.hiding||!this.isShown&&!this.showing)return this;if(Me(n.hide)&&ze(r,te,n.hide,{once:!0}),!1===He(r,te))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var i=this.viewer,o=this.image,a=function(){Ie(i,L),e.hidden()};if(n.transition&&!t){var s=function t(r){r&&r.target===i&&(Fe(i,K,t),e.hidden())},l=function(){De(i,P)?(ze(i,K,s),Ie(i,L)):a()};this.transitioning={abort:function(){e.viewed&&De(o,P)?Fe(o,K,l):De(i,P)&&Fe(i,K,s)}},this.viewed&&De(o,P)?(ze(o,K,l,{once:!0}),this.zoomTo(0,!1,null,null,!0)):l()}else a();return this},view:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(t=Number(t)||0,this.hiding||this.played||t<0||t>=this.length||this.viewed&&t===this.index)return this;if(!this.isShown)return this.index=t,this.show();this.viewing&&this.viewing.abort();var r=this.element,n=this.options,i=this.title,o=this.canvas,a=this.items[t],s=a.querySelector("img"),l=Ne(s,"originalUrl"),u=s.getAttribute("alt"),c=document.createElement("img");if(Ce(n.inheritedAttributes,(function(e){var t=s.getAttribute(e);null!==t&&c.setAttribute(e,t)})),c.src=l,c.alt=u,Me(n.view)&&ze(r,ne,n.view,{once:!0}),!1===He(r,ne,{originalImage:this.images[t],index:t,image:c})||!this.isShown||this.hiding||this.played)return this;var d=this.items[this.index];d&&(Ie(d,b),d.removeAttribute("aria-selected")),Ee(a,b),a.setAttribute("aria-selected",!0),n.focus&&a.focus(),this.image=c,this.viewed=!1,this.index=t,this.imageData={},Ee(c,A),n.loading&&Ee(o,D),o.innerHTML="",o.appendChild(c),this.renderList(),i.innerHTML="";var h,f,p=function(){var t=e.imageData,r=Array.isArray(n.title)?n.title[1]:n.title;i.innerHTML=Ae(Me(r)?r.call(e,c,t):"".concat(u," (").concat(t.naturalWidth," × ").concat(t.naturalHeight,")"))};return ze(r,ie,p,{once:!0}),this.viewing={abort:function(){Fe(r,ie,p),c.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(c.src="",Fe(c,z,h),e.timeout&&clearTimeout(e.timeout))}},c.complete?this.load():(ze(c,z,h=function(){Fe(c,H,f),e.load()},{once:!0}),ze(c,H,f=function(){Fe(c,z,h),e.timeout&&(clearTimeout(e.timeout),e.timeout=!1),Ie(c,A),n.loading&&Ie(e.canvas,D)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){Ie(c,A),e.timeout=!1}),1e3)),this},prev:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.index-1;return t<0&&(t=e?this.length-1:0),this.view(t),this},next:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.length-1,r=this.index+1;return r>t&&(r=e?0:t),this.view(r),this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=this.imageData;return this.moveTo(we(e)?e:r.x+Number(e),we(t)?t:r.y+Number(t)),this},moveTo:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.element,o=this.options,a=this.imageData;if(e=Number(e),r=Number(r),this.viewed&&!this.played&&o.movable){var s=a.x,l=a.y,u=!1;if(_e(e)?u=!0:e=s,_e(r)?u=!0:r=l,u){if(Me(o.move)&&ze(i,oe,o.move,{once:!0}),!1===He(i,oe,{x:e,y:r,oldX:s,oldY:l,originalEvent:n}))return this;a.x=e,a.y=r,a.left=e,a.top=r,this.moving=!0,this.renderImage((function(){t.moving=!1,Me(o.moved)&&ze(i,ae,o.moved,{once:!0}),He(i,ae,{x:e,y:r,oldX:s,oldY:l,originalEvent:n},{cancelable:!1})}))}}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var t=this,r=this.element,n=this.options,i=this.imageData;if(e=Number(e),_e(e)&&this.viewed&&!this.played&&n.rotatable){var o=i.rotate;if(Me(n.rotate)&&ze(r,se,n.rotate,{once:!0}),!1===He(r,se,{degree:e,oldDegree:o}))return this;i.rotate=e,this.rotating=!0,this.renderImage((function(){t.rotating=!1,Me(n.rotated)&&ze(r,le,n.rotated,{once:!0}),He(r,le,{degree:e,oldDegree:o},{cancelable:!1})}))}return this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.element,i=this.options,o=this.imageData;if(e=Number(e),r=Number(r),this.viewed&&!this.played&&i.scalable){var a=o.scaleX,s=o.scaleY,l=!1;if(_e(e)?l=!0:e=a,_e(r)?l=!0:r=s,l){if(Me(i.scale)&&ze(n,ue,i.scale,{once:!0}),!1===He(n,ue,{scaleX:e,scaleY:r,oldScaleX:a,oldScaleY:s}))return this;o.scaleX=e,o.scaleY=r,this.scaling=!0,this.renderImage((function(){t.scaling=!1,Me(i.scaled)&&ze(n,ce,i.scaled,{once:!0}),He(n,ce,{scaleX:e,scaleY:r,oldScaleX:a,oldScaleY:s},{cancelable:!1})}))}}return this},zoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=this.imageData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(i.width*e/i.naturalWidth,t,r,n),this},zoomTo:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=this.element,s=this.options,l=this.pointers,u=this.imageData,c=u.x,d=u.y,h=u.width,f=u.height,p=u.naturalWidth,m=u.naturalHeight;if(e=Math.max(0,e),_e(e)&&this.viewed&&!this.played&&(o||s.zoomable)){if(!o){var g=Math.max(.01,s.minZoomRatio),v=Math.min(100,s.maxZoomRatio);e=Math.min(Math.max(e,g),v)}if(i)switch(i.type){case"wheel":s.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);break;case"pointermove":case"touchmove":case"mousemove":e>.99&&e<1.01&&(e=1);break}var y=p*e,b=m*e,_=y-h,w=b-f,x=u.ratio;if(Me(s.zoom)&&ze(a,de,s.zoom,{once:!0}),!1===He(a,de,{ratio:e,oldRatio:x,originalEvent:i}))return this;if(this.zooming=!0,i){var k=Ve(this.viewer),S=l&&Object.keys(l).length>0?Ze(l):{pageX:i.pageX,pageY:i.pageY};u.x-=_*((S.pageX-k.left-c)/h),u.y-=w*((S.pageY-k.top-d)/f)}else Se(n)&&_e(n.x)&&_e(n.y)?(u.x-=_*((n.x-c)/h),u.y-=w*((n.y-d)/f)):(u.x-=_/2,u.y-=w/2);u.left=u.x,u.top=u.y,u.width=y,u.height=b,u.oldRatio=x,u.ratio=e,this.renderImage((function(){t.zooming=!1,Me(s.zoomed)&&ze(a,he,s.zoomed,{once:!0}),He(a,he,{ratio:e,oldRatio:x,originalEvent:i},{cancelable:!1})})),r&&this.tooltip()}return this},play:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var r=this.element,n=this.options;if(Me(n.play)&&ze(r,fe,n.play,{once:!0}),!1===He(r,fe))return this;var i=this.player,o=this.loadImage.bind(this),a=[],s=0,l=0;if(this.played=!0,this.onLoadWhenPlay=o,t&&this.requestFullscreen(t),Ee(i,j),Ce(this.items,(function(e,t){var r=e.querySelector("img"),u=document.createElement("img");u.src=Ne(r,"originalUrl"),u.alt=r.getAttribute("alt"),u.referrerPolicy=r.referrerPolicy,s+=1,Ee(u,w),je(u,P,n.transition),De(e,b)&&(Ee(u,L),l=t),a.push(u),ze(u,z,o,{once:!0}),i.appendChild(u)})),_e(n.interval)&&n.interval>0){var u=function t(){clearTimeout(e.playing.timeout),Ie(a[l],L),l-=1,l=l>=0?l:s-1,Ee(a[l],L),e.playing.timeout=setTimeout(t,n.interval)},c=function t(){clearTimeout(e.playing.timeout),Ie(a[l],L),l+=1,l=l<s?l:0,Ee(a[l],L),e.playing.timeout=setTimeout(t,n.interval)};s>1&&(this.playing={prev:u,next:c,timeout:setTimeout(c,n.interval)})}return this},stop:function(){var e=this;if(!this.played)return this;var t=this.element,r=this.options;if(Me(r.stop)&&ze(t,pe,r.stop,{once:!0}),!1===He(t,pe))return this;var n=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Ce(n.getElementsByTagName("img"),(function(t){Fe(t,z,e.onLoadWhenPlay)})),Ie(n,j),n.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,t=this.options,r=this.viewer,n=this.image,i=this.list;return!this.isShown||this.played||this.fulled||!t.inline||(this.fulled=!0,this.open(),Ee(this.button,S),t.transition&&(Ie(i,P),this.viewed&&Ie(n,P)),Ee(r,x),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("style"),Le(r,{zIndex:t.zIndex}),t.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Te({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){Ee(n,P),Ee(i,P)}),0)}))}))),this},exit:function(){var e=this,t=this.options,r=this.viewer,n=this.image,i=this.list;return this.isShown&&!this.played&&this.fulled&&t.inline?(this.fulled=!1,this.close(),Ie(this.button,S),t.transition&&(Ie(i,P),this.viewed&&Ie(n,P)),t.focus&&this.clearEnforceFocus(),r.removeAttribute("role"),r.removeAttribute("aria-labelledby"),r.removeAttribute("aria-modal"),Ie(r,x),Le(r,{zIndex:t.zIndexInline}),this.viewerData=Te({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){Ee(n,P),Ee(i,P)}),0)}))})),this):this},tooltip:function(){var e=this,t=this.options,r=this.tooltipBox,n=this.imageData;return this.viewed&&!this.played&&t.tooltip?(r.textContent="".concat(Math.round(100*n.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):t.transition?(this.fading&&He(r,K),Ee(r,j),Ee(r,w),Ee(r,P),r.removeAttribute("aria-hidden"),r.initialOffsetWidth=r.offsetWidth,Ee(r,L)):(Ee(r,j),r.removeAttribute("aria-hidden")),this.tooltipping=setTimeout((function(){t.transition?(ze(r,K,(function(){Ie(r,j),Ie(r,w),Ie(r,P),r.setAttribute("aria-hidden",!0),e.fading=!1}),{once:!0}),Ie(r,L),e.fading=!0):(Ie(r,j),r.setAttribute("aria-hidden",!0)),e.tooltipping=!1}),1e3),this):this},toggle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,null,e):this.zoomTo(1,!0,null,e),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Te({},this.initialImageData),this.renderImage()),this},update:function(){var e=this,t=this.element,r=this.options,n=this.isImg;if(n&&!t.parentNode)return this.destroy();var i=[];if(Ce(n?[t]:t.querySelectorAll("img"),(function(t){Me(r.filter)?r.filter.call(e,t)&&i.push(t):e.getImageURL(t)&&i.push(t)})),!i.length)return this;if(this.images=i,this.length=i.length,this.ready){var o=[];if(Ce(this.items,(function(e,t){var r=e.querySelector("img"),n=i[t];n&&r&&n.src===r.src&&n.alt===r.alt||o.push(t)})),Le(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var a=o.indexOf(this.index);if(a>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-a,this.length-1),0));else{var s=this.items[this.index];Ee(s,b),s.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,t=this.options;return e[m]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),t.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):t.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),t.inline||Fe(e,R,this.onStart),e[m]=void 0,this):this}},rt={getImageURL:function(e){var t=this.options.url;return t=ye(t)?e.getAttribute(t):Me(t)?t.call(this,e):"",t},enforceFocus:function(){var e=this;this.clearEnforceFocus(),ze(document,Y,this.onFocusin=function(t){var r=e.viewer,n=t.target;if(n!==document&&n!==r&&!r.contains(n)){while(n){if(null!==n.getAttribute("tabindex")||"true"===n.getAttribute("aria-modal"))return;n=n.parentElement}r.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(Fe(document,Y,this.onFocusin),this.onFocusin=null)},open:function(){var e=this.body;Ee(e,I),this.scrollbarWidth>0&&(e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var e=this.body;Ie(e,I),this.scrollbarWidth>0&&(e.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var e=this.element,t=this.options,r=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,t.focus&&(r.focus(),this.enforceFocus()),Me(t.shown)&&ze(e,ee,t.shown,{once:!0}),!1!==He(e,ee)&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,t=this.options,r=this.viewer;t.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),Ee(r,M),r.removeAttribute("role"),r.removeAttribute("aria-labelledby"),r.removeAttribute("aria-modal"),r.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(Me(t.hidden)&&ze(e,re,t.hidden,{once:!0}),He(e,re,null,{cancelable:!1}))},requestFullscreen:function(e){var t=this.element.ownerDocument;if(this.fulled&&!(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)){var r=t.documentElement;r.requestFullscreen?Se(e)?r.requestFullscreen(e):r.requestFullscreen():r.webkitRequestFullscreen?r.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):r.mozRequestFullScreen?r.mozRequestFullScreen():r.msRequestFullscreen&&r.msRequestFullscreen()}},exitFullscreen:function(){var e=this.element.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var t=this.options,r=this.pointers,n=r[Object.keys(r)[0]];if(n){var i=n.endX-n.startX,o=n.endY-n.startY;switch(this.action){case g:0===i&&0===o||(this.pointerMoved=!0,this.move(i,o,e));break;case y:this.zoom(Xe(r),!1,null,e);break;case v:this.action="switched";var a=Math.abs(i);a>1&&a>Math.abs(o)&&(this.pointers={},i>1?this.prev(t.loop):i<-1&&this.next(t.loop));break}Ce(r,(function(e){e.startX=e.endX,e.startY=e.endY}))}},isSwitchable:function(){var e=this.imageData,t=this.viewerData;return this.length>1&&e.x>=0&&e.y>=0&&e.width<=t.width&&e.height<=t.height}},nt=h.Viewer,it=function(e){return function(){return e+=1,e}}(-1),ot=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n(this,e),!t||1!==t.nodeType)throw new Error("The first argument is required and must be an element.");this.element=t,this.options=Te({},u,Se(r)&&r),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=it(),this.init()}return o(e,[{key:"init",value:function(){var e=this,t=this.element,r=this.options;if(!t[m]){t[m]=this,r.focus&&!r.keyboard&&(r.focus=!1);var n="img"===t.localName,i=[];if(Ce(n?[t]:t.querySelectorAll("img"),(function(t){Me(r.filter)?r.filter.call(e,t)&&i.push(t):e.getImageURL(t)&&i.push(t)})),this.isImg=n,this.length=i.length,this.images=i,this.initBody(),we(document.createElement(m).style.transition)&&(r.transition=!1),r.inline){var o=0,a=function(){var t;(o+=1,o===e.length)&&(e.initializing=!1,e.delaying={abort:function(){clearTimeout(t)}},t=setTimeout((function(){e.delaying=!1,e.build()}),0))};this.initializing={abort:function(){Ce(i,(function(e){e.complete||(Fe(e,z,a),Fe(e,H,a))}))}},Ce(i,(function(e){var t,r;e.complete?a():(ze(e,z,t=function(){Fe(e,H,r),a()},{once:!0}),ze(e,H,r=function(){Fe(e,z,t),a()},{once:!0}))}))}else ze(t,R,this.onStart=function(t){var n=t.target;"img"!==n.localName||Me(r.filter)&&!r.filter.call(e,n)||e.view(e.images.indexOf(n))})}}},{key:"build",value:function(){if(!this.ready){var e=this.element,t=this.options,r=e.parentNode,n=document.createElement("div");n.innerHTML=c;var i=n.querySelector(".".concat(m,"-container")),o=i.querySelector(".".concat(m,"-title")),a=i.querySelector(".".concat(m,"-toolbar")),s=i.querySelector(".".concat(m,"-navbar")),l=i.querySelector(".".concat(m,"-button")),u=i.querySelector(".".concat(m,"-canvas"));if(this.parent=r,this.viewer=i,this.title=o,this.toolbar=a,this.navbar=s,this.button=l,this.canvas=u,this.footer=i.querySelector(".".concat(m,"-footer")),this.tooltipBox=i.querySelector(".".concat(m,"-tooltip")),this.player=i.querySelector(".".concat(m,"-player")),this.list=i.querySelector(".".concat(m,"-list")),i.id="".concat(m).concat(this.id),o.id="".concat(m,"Title").concat(this.id),Ee(o,t.title?qe(Array.isArray(t.title)?t.title[0]:t.title):M),Ee(s,t.navbar?qe(t.navbar):M),je(l,M,!t.button),t.keyboard&&l.setAttribute("tabindex",0),t.backdrop&&(Ee(i,"".concat(m,"-backdrop")),t.inline||"static"===t.backdrop||Be(u,me,"hide")),ye(t.className)&&t.className&&t.className.split(ge).forEach((function(e){Ee(i,e)})),t.toolbar){var d=document.createElement("ul"),h=Se(t.toolbar),f=ve.slice(0,3),p=ve.slice(7,9),g=ve.slice(9);h||Ee(a,qe(t.toolbar)),Ce(h?t.toolbar:ve,(function(e,r){var n=h&&Se(e),i=h?Re(r):e,o=n&&!we(e.show)?e.show:e;if(o&&(t.zoomable||-1===f.indexOf(i))&&(t.rotatable||-1===p.indexOf(i))&&(t.scalable||-1===g.indexOf(i))){var a=n&&!we(e.size)?e.size:e,s=n&&!we(e.click)?e.click:e,l=document.createElement("li");t.keyboard&&l.setAttribute("tabindex",0),l.setAttribute("role","button"),Ee(l,"".concat(m,"-").concat(i)),Me(s)||Be(l,me,i),_e(o)&&Ee(l,qe(o)),-1!==["small","large"].indexOf(a)?Ee(l,"".concat(m,"-").concat(a)):"play"===i&&Ee(l,"".concat(m,"-large")),Me(s)&&ze(l,R,s),d.appendChild(l)}})),a.appendChild(d)}else Ee(a,M);if(!t.rotatable){var v=a.querySelectorAll('li[class*="rotate"]');Ee(v,A),Ce(v,(function(e){a.appendChild(e)}))}if(t.inline)Ee(l,k),Le(i,{zIndex:t.zIndexInline}),"static"===window.getComputedStyle(r).position&&Le(r,{position:"relative"}),r.insertBefore(i,e.nextSibling);else{Ee(l,_),Ee(i,x),Ee(i,w),Ee(i,M),Le(i,{zIndex:t.zIndex});var y=t.container;ye(y)&&(y=e.ownerDocument.querySelector(y)),y||(y=this.body),y.appendChild(i)}t.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Me(t.ready)&&ze(e,J,t.ready,{once:!0}),!1!==He(e,J)?this.ready&&t.inline&&this.view(this.index):this.ready=!1}}}],[{key:"noConflict",value:function(){return window.Viewer=nt,e}},{key:"setDefaults",value:function(e){Te(u,Se(e)&&e)}}]),e}();return Te(ot.prototype,Je,Qe,et,tt,rt),ot}))},c8af:function(e,t,r){"use strict";var n=r("c532");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},c8ce:function(e,t,r){var n=r("2b4c")("toPrimitive"),i=Date.prototype;n in i||r("32e9")(i,n,r("8381"))},c8f3:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,r){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},c930:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yAxisConfig=t.xAxisConfig=void 0;var n={name:"",show:!0,position:"bottom",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!1,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.xAxisConfig=n;var i={name:"",show:!0,position:"left",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!0,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.yAxisConfig=i},c973:function(e,t){function r(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void r(u)}s.done?t(l):Promise.resolve(l).then(n,i)}function n(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,"next",e)}function l(e){r(a,i,o,s,l,"throw",e)}s(void 0)}))}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},ca5a:function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},cadf:function(e,t,r){"use strict";var n=r("9c6c"),i=r("d53b"),o=r("84f2"),a=r("6821");e.exports=r("01f9")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},caf9:function(e,t,r){"use strict";
|
||
/*!
|
||
* Vue-Lazyload.js v1.3.5
|
||
* (c) 2023 Awe <hilongjw@gmail.com>
|
||
* Released under the MIT License.
|
||
*/
|
||
function n(e,t){return t={exports:{}},e(t,t.exports),t.exports}r.d(t,"a",(function(){return W}));var i=n((function(e){var t=Object.prototype.toString,r=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols;function i(e){return"function"===typeof e||"[object Object]"===t.call(e)||Array.isArray(e)}e.exports=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),a=1;a<t;a++)o[a-1]=arguments[a];if(!i(e))throw new TypeError("expected the first argument to be an object");if(0===o.length||"function"!==typeof Symbol||"function"!==typeof n)return e;var s=!0,l=!1,u=void 0;try{for(var c,d=o[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){var h=c.value,f=n(h),p=!0,m=!1,g=void 0;try{for(var v,y=f[Symbol.iterator]();!(p=(v=y.next()).done);p=!0){var b=v.value;r.call(h,b)&&(e[b]=h[b])}}catch(_){m=!0,g=_}finally{try{!p&&y.return&&y.return()}finally{if(m)throw g}}}}catch(_){l=!0,u=_}finally{try{!s&&d.return&&d.return()}finally{if(l)throw u}}return e}})),o=Object.freeze({__proto__:null,default:i,__moduleExports:i}),a=o&&i||o,s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=n((function(e){var t=Object.prototype.toString,r=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e},n=e.exports=function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),l=1;l<t;l++)s[l-1]=arguments[l];var u=0;for(o(e)&&(e=s[u++]),e||(e={});u<s.length;u++)if(i(s[u])){var c=!0,d=!1,h=void 0;try{for(var f,p=Object.keys(s[u])[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var m=f.value;r(m)&&(i(e[m])&&i(s[u][m])?n(e[m],s[u][m]):e[m]=s[u][m])}}catch(g){d=!0,h=g}finally{try{!c&&p.return&&p.return()}finally{if(d)throw h}}a(e,s[u])}return e};function i(e){return"function"===typeof e||"[object Object]"===t.call(e)}function o(e){return"object"===("undefined"===typeof e?"undefined":s(e))?null===e:"function"!==typeof e}})),d="undefined"!==typeof window&&null!==window,h=f();function f(){return!!(d&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)&&("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0)}var p={event:"event",observer:"observer"},m=function(){if(d)return"function"===typeof window.CustomEvent?window.CustomEvent:(e.prototype=window.Event.prototype,e);function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}}();function g(e,t){if(e.length){var r=e.indexOf(t);return r>-1?e.splice(r,1):void 0}}function v(e,t){for(var r=!1,n=0,i=e.length;n<i;n++)if(t(e[n])){r=!0;break}return r}function y(e,t){if("IMG"===e.tagName&&e.getAttribute("data-srcset")){var r=e.getAttribute("data-srcset"),n=[],i=e.parentNode,o=i.offsetWidth*t,a=void 0,s=void 0,l=void 0;r=r.trim().split(","),r.map((function(e){e=e.trim(),a=e.lastIndexOf(" "),-1===a?(s=e,l=999998):(s=e.substr(0,a),l=parseInt(e.substr(a+1,e.length-a-2),10)),n.push([l,s])})),n.sort((function(e,t){if(e[0]<t[0])return 1;if(e[0]>t[0])return-1;if(e[0]===t[0]){if(-1!==t[1].indexOf(".webp",t[1].length-5))return 1;if(-1!==e[1].indexOf(".webp",e[1].length-5))return-1}return 0}));for(var u="",c=void 0,d=0;d<n.length;d++){c=n[d],u=c[1];var h=n[d+1];if(h&&h[0]<o){u=c[1];break}if(!h){u=c[1];break}}return u}}function b(e,t){for(var r=void 0,n=0,i=e.length;n<i;n++)if(t(e[n])){r=e[n];break}return r}var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return d&&window.devicePixelRatio||e};function w(){if(!d)return!1;var e=!0;try{var t=document.createElement("canvas");t.getContext&&t.getContext("2d")&&(e=0===t.toDataURL("image/webp").indexOf("data:image/webp"))}catch(r){e=!1}return e}function x(e,t){var r=null,n=null,i=0,o=!1;return function(){if(o=!0,!r){var a=Date.now()-i,s=this,l=arguments,u=function(){i=Date.now(),r=!1,e.apply(s,l)};a>=t?u():r=setTimeout(u,t),o&&(clearTimeout(n),n=setTimeout(u,2*t))}}}function k(){if(d){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(r){}return e}}var S=k(),M={on:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];S?e.addEventListener(t,r,{capture:n,passive:!0}):e.addEventListener(t,r,n)},off:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,r,n)}},C=function(e,t,r){var n=new Image;if(!e||!e.src){var i=new Error("image src is required");return r(i)}n.src=e.src,e.cors&&(n.crossOrigin=e.cors),n.onload=function(){t({naturalHeight:n.naturalHeight,naturalWidth:n.naturalWidth,src:n.src})},n.onerror=function(e){r(e)}},T=function(e,t){return"undefined"!==typeof getComputedStyle?getComputedStyle(e,null).getPropertyValue(t):e.style[t]},O=function(e){return T(e,"overflow")+T(e,"overflow-y")+T(e,"overflow-x")},L=function(e){if(d){if(!(e instanceof HTMLElement))return window;var t=e;while(t){if(t===document.body||t===document.documentElement)break;if(!t.parentNode)break;if(/(scroll|auto)/.test(O(t)))return t;t=t.parentNode}return window}};function A(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":s(e))}function D(e){if(!(e instanceof Object))return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function E(e){for(var t=e.length,r=[],n=0;n<t;n++)r.push(e[n]);return r}function I(){}var j=function(){function e(t){var r=t.max;l(this,e),this.options={max:r||100},this._caches=[]}return u(e,[{key:"has",value:function(e){return this._caches.indexOf(e)>-1}},{key:"add",value:function(e){this.has(e)||(this._caches.push(e),this._caches.length>this.options.max&&this.free())}},{key:"free",value:function(){this._caches.shift()}}]),e}(),P=function(){function e(t){var r=t.el,n=t.src,i=t.error,o=t.loading,a=t.bindType,s=t.$parent,u=t.options,c=t.cors,d=t.elRenderer,h=t.imageCache;l(this,e),this.el=r,this.src=n,this.error=i,this.loading=o,this.bindType=a,this.attempt=0,this.cors=c,this.naturalHeight=0,this.naturalWidth=0,this.options=u,this.rect=null,this.$parent=s,this.elRenderer=d,this._imageCache=h,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return u(e,[{key:"initState",value:function(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(e){this.performanceData[e]=Date.now()}},{key:"update",value:function(e){var t=e.src,r=e.loading,n=e.error,i=this.src;this.src=t,this.loading=r,this.error=n,this.filter(),i!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var e=this;D(this.options.filter).map((function(t){e.options.filter[t](e,e.options)}))}},{key:"renderLoading",value:function(e){var t=this;this.state.loading=!0,C({src:this.loading,cors:this.cors},(function(r){t.render("loading",!1),t.state.loading=!1,e()}),(function(){e(),t.state.loading=!1,t.options.silent||console.warn("VueLazyload log: load failed with loading image("+t.loading+")")}))}},{key:"load",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void t()):this.state.rendered&&this.state.loaded?void 0:this._imageCache.has(this.src)?(this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,t()):void this.renderLoading((function(){e.attempt++,e.options.adapter["beforeLoad"]&&e.options.adapter["beforeLoad"](e,e.options),e.record("loadStart"),C({src:e.src,cors:e.cors},(function(r){e.naturalHeight=r.naturalHeight,e.naturalWidth=r.naturalWidth,e.state.loaded=!0,e.state.error=!1,e.record("loadEnd"),e.render("loaded",!1),e.state.rendered=!0,e._imageCache.add(e.src),t()}),(function(t){!e.options.silent&&console.error(t),e.state.error=!0,e.state.loaded=!1,e.render("error",!1)}))}))}},{key:"render",value:function(e,t){this.elRenderer(this,e,t)}},{key:"performance",value:function(){var e="loading",t=0;return this.state.loaded&&(e="loaded",t=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(e="error"),{src:this.src,state:e,time:t}}},{key:"$destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),e}(),R="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",N=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],B={rootMargin:"0px",threshold:0};function Y(e){return function(){function t(e){var r=e.preLoad,n=e.error,i=e.throttleWait,o=e.preLoadTop,a=e.dispatchEvent,s=e.loading,u=e.attempt,c=e.silent,d=void 0===c||c,h=e.scale,f=e.listenEvents;e.hasbind;var m=e.filter,g=e.adapter,v=e.observer,y=e.observerOptions;l(this,t),this.version='"1.3.5"',this.mode=p.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!a,throttleWait:i||200,preLoad:r||1.3,preLoadTop:o||0,error:n||R,loading:s||R,attempt:u||3,scale:h||_(h),ListenEvents:f||N,hasbind:!1,supportWebp:w(),filter:m||{},adapter:g||{},observer:!!v,observerOptions:y||B},this._initEvent(),this._imageCache=new j({max:200}),this.lazyLoadHandler=x(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?p.observer:p.event)}return u(t,[{key:"config",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this.options,e)}},{key:"performance",value:function(){var e=[];return this.ListenerQueue.map((function(t){e.push(t.performance())})),e}},{key:"addLazyBox",value:function(e){this.ListenerQueue.push(e),d&&(this._addListenerTarget(window),this._observer&&this._observer.observe(e.el),e.$el&&e.$el.parentNode&&this._addListenerTarget(e.$el.parentNode))}},{key:"add",value:function(t,r,n){var i=this;if(v(this.ListenerQueue,(function(e){return e.el===t})))return this.update(t,r),e.nextTick(this.lazyLoadHandler);var o=this._valueFormatter(r.value),a=o.src,s=o.loading,l=o.error,u=o.cors;e.nextTick((function(){a=y(t,i.options.scale)||a,i._observer&&i._observer.observe(t);var o=Object.keys(r.modifiers)[0],c=void 0;o&&(c=n.context.$refs[o],c=c?c.$el||c:document.getElementById(o)),c||(c=L(t));var h=new P({bindType:r.arg,$parent:c,el:t,loading:s,error:l,src:a,cors:u,elRenderer:i._elRenderer.bind(i),options:i.options,imageCache:i._imageCache});i.ListenerQueue.push(h),d&&(i._addListenerTarget(window),i._addListenerTarget(c)),i.lazyLoadHandler(),e.nextTick((function(){return i.lazyLoadHandler()}))}))}},{key:"update",value:function(t,r,n){var i=this,o=this._valueFormatter(r.value),a=o.src,s=o.loading,l=o.error;a=y(t,this.options.scale)||a;var u=b(this.ListenerQueue,(function(e){return e.el===t}));u?u.update({src:a,loading:s,error:l}):this.add(t,r,n),this._observer&&(this._observer.unobserve(t),this._observer.observe(t)),this.lazyLoadHandler(),e.nextTick((function(){return i.lazyLoadHandler()}))}},{key:"remove",value:function(e){if(e){this._observer&&this._observer.unobserve(e);var t=b(this.ListenerQueue,(function(t){return t.el===e}));t&&(this._removeListenerTarget(t.$parent),this._removeListenerTarget(window),g(this.ListenerQueue,t),t.$destroy())}}},{key:"removeComponent",value:function(e){e&&(g(this.ListenerQueue,e),this._observer&&this._observer.unobserve(e.el),e.$parent&&e.$el.parentNode&&this._removeListenerTarget(e.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(e){var t=this;h||e!==p.observer||(e=p.event),this.mode=e,e===p.event?(this._observer&&(this.ListenerQueue.forEach((function(e){t._observer.unobserve(e.el)})),this._observer=null),this.TargetQueue.forEach((function(e){t._initListen(e.el,!0)}))):(this.TargetQueue.forEach((function(e){t._initListen(e.el,!1)})),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(e){if(e){var t=b(this.TargetQueue,(function(t){return t.el===e}));return t?t.childrenCount++:(t={el:e,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===p.event&&this._initListen(t.el,!0),this.TargetQueue.push(t)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(e){var t=this;this.TargetQueue.forEach((function(r,n){r.el===e&&(r.childrenCount--,r.childrenCount||(t._initListen(r.el,!1),t.TargetQueue.splice(n,1),r=null))}))}},{key:"_initListen",value:function(e,t){var r=this;this.options.ListenEvents.forEach((function(n){return M[t?"on":"off"](e,n,r.lazyLoadHandler)}))}},{key:"_initEvent",value:function(){var e=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(t,r){e.Event.listeners[t]||(e.Event.listeners[t]=[]),e.Event.listeners[t].push(r)},this.$once=function(t,r){var n=e;function i(){n.$off(t,i),r.apply(n,arguments)}e.$on(t,i)},this.$off=function(t,r){if(r)g(e.Event.listeners[t],r);else{if(!e.Event.listeners[t])return;e.Event.listeners[t].length=0}},this.$emit=function(t,r,n){e.Event.listeners[t]&&e.Event.listeners[t].forEach((function(e){return e(r,n)}))}}},{key:"_lazyLoadHandler",value:function(){var e=this,t=[];this.ListenerQueue.forEach((function(e,r){e.el&&e.el.parentNode||t.push(e);var n=e.checkInView();n&&e.load()})),t.forEach((function(t){g(e.ListenerQueue,t),t.$destroy()}))}},{key:"_initIntersectionObserver",value:function(){var e=this;h&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach((function(t){e._observer.observe(t.el)})))}},{key:"_observerHandler",value:function(e,t){var r=this;e.forEach((function(e){e.isIntersecting&&r.ListenerQueue.forEach((function(t){if(t.el===e.target){if(t.state.loaded)return r._observer.unobserve(t.el);t.load()}}))}))}},{key:"_elRenderer",value:function(e,t,r){if(e.el){var n=e.el,i=e.bindType,o=void 0;switch(t){case"loading":o=e.loading;break;case"error":o=e.error;break;default:o=e.src;break}if(i?n.style[i]='url("'+o+'")':n.getAttribute("src")!==o&&n.setAttribute("src",o),n.setAttribute("lazy",t),this.$emit(t,e,r),this.options.adapter[t]&&this.options.adapter[t](e,this.options),this.options.dispatchEvent){var a=new m(t,{detail:e});n.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(e){var t=e,r=this.options.loading,n=this.options.error;return A(e)&&(e.src||this.options.silent||console.error("Vue Lazyload warning: miss src with "+e),t=e.src,r=e.loading||this.options.loading,n=e.error||this.options.error),{src:t,loading:r,error:n}}}]),t}()}Y.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Y(e),n=new r(t),i="2"===e.version.split(".")[0];i?e.directive("lazy",{bind:n.add.bind(n),update:n.update.bind(n),componentUpdated:n.lazyLoadHandler.bind(n),unbind:n.remove.bind(n)}):e.directive("lazy",{bind:n.lazyLoadHandler.bind(n),update:function(e,t){c(this.vm.$refs,this.vm.$els),n.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){n.remove(this.el)}})};var F=function(e){return{props:{tag:{type:String,default:"div"}},render:function(e){return e(this.tag,null,this.show?this.$slots.default:null)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeDestroy:function(){e.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),d&&this.rect.top<window.innerHeight*e.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*e.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)},destroy:function(){return this.$destroy}}}};F.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Y(e),n=new r(t);e.component("lazy-component",F(n))};var z=function(){function e(t){var r=t.lazy;l(this,e),this.lazy=r,r.lazyContainerMananger=this,this._queue=[]}return u(e,[{key:"bind",value:function(e,t,r){var n=new V({el:e,binding:t,vnode:r,lazy:this.lazy});this._queue.push(n)}},{key:"update",value:function(e,t,r){var n=b(this._queue,(function(t){return t.el===e}));n&&n.update({el:e,binding:t,vnode:r})}},{key:"unbind",value:function(e,t,r){var n=b(this._queue,(function(t){return t.el===e}));n&&(n.clear(),g(this._queue,n))}}]),e}(),H={selector:"img"},V=function(){function e(t){var r=t.el,n=t.binding,i=t.vnode,o=t.lazy;l(this,e),this.el=null,this.vnode=i,this.binding=n,this.options={},this.lazy=o,this._queue=[],this.update({el:r,binding:n})}return u(e,[{key:"update",value:function(e){var t=this,r=e.el,n=e.binding;this.el=r,this.options=c({},H,n.value);var i=this.getImgs();i.forEach((function(e){t.lazy.add(e,c({},t.binding,{value:{src:"dataset"in e?e.dataset.src:e.getAttribute("data-src"),error:("dataset"in e?e.dataset.error:e.getAttribute("data-error"))||t.options.error,loading:("dataset"in e?e.dataset.loading:e.getAttribute("data-loading"))||t.options.loading}}),t.vnode)}))}},{key:"getImgs",value:function(){return E(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var e=this,t=this.getImgs();t.forEach((function(t){return e.lazy.remove(t)})),this.vnode=null,this.binding=null,this.lazy=null}}]),e}();V.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Y(e),n=new r(t),i=new V({lazy:n}),o="2"===e.version.split(".")[0];o?e.directive("lazy-container",{bind:i.bind.bind(i),componentUpdated:i.update.bind(i),unbind:i.unbind.bind(i)}):e.directive("lazy-container",{update:function(e,t){i.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){i.unbind(this.el)}})};var U=function(e){return{props:{src:[String,Object],tag:{type:String,default:"img"}},render:function(e){return e(this.tag,{attrs:{src:this.renderSrc}},this.$slots.default)},data:function(){return{el:null,options:{src:"",error:"",loading:"",attempt:e.options.attempt},state:{loaded:!1,error:!1,attempt:0},rect:{},renderSrc:""}},watch:{src:function(){this.init(),e.addLazyBox(this),e.lazyLoadHandler()}},created:function(){this.init(),this.renderSrc=this.options.loading},mounted:function(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeDestroy:function(){e.removeComponent(this)},methods:{init:function(){var t=e._valueFormatter(this.src),r=t.src,n=t.loading,i=t.error;this.state.loaded=!1,this.options.src=r,this.options.error=i,this.options.loading=n,this.renderSrc=this.options.loading},getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),d&&this.rect.top<window.innerHeight*e.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*e.options.preLoad&&this.rect.right>0},load:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;if(this.state.attempt>this.options.attempt-1&&this.state.error)return e.options.silent||console.log("VueLazyload log: "+this.options.src+" tried too more than "+this.options.attempt+" times"),void r();var n=this.options.src;C({src:n},(function(e){var r=e.src;t.renderSrc=r,t.state.loaded=!0}),(function(e){t.state.attempt++,t.renderSrc=t.options.error,t.state.error=!0}))}}}};U.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Y(e),n=new r(t);e.component("lazy-image",U(n))};var W={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Y(e),n=new r(t),i=new z({lazy:n}),o="2"===e.version.split(".")[0];e.prototype.$Lazyload=n,t.lazyComponent&&e.component("lazy-component",F(n)),t.lazyImage&&e.component("lazy-image",U(n)),o?(e.directive("lazy",{bind:n.add.bind(n),update:n.update.bind(n),componentUpdated:n.lazyLoadHandler.bind(n),unbind:n.remove.bind(n)}),e.directive("lazy-container",{bind:i.bind.bind(i),componentUpdated:i.update.bind(i),unbind:i.unbind.bind(i)})):(e.directive("lazy",{bind:n.lazyLoadHandler.bind(n),update:function(e,t){c(this.vm.$refs,this.vm.$els),n.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){n.remove(this.el)}}),e.directive("lazy-container",{update:function(e,t){i.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:e,oldValue:t},{context:this.vm})},unbind:function(){i.unbind(this.el)}}))}}},cb7c:function(e,t,r){var n=r("d3f4");e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},cc6d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gaugeConfig=void 0;var n={show:!0,name:"",radius:"60%",center:["50%","50%"],startAngle:-Math.PI/4*5,endAngle:Math.PI/4,min:0,max:100,splitNum:5,arcLineWidth:15,data:[],dataItemStyle:{},axisTick:{show:!0,tickLength:6,style:{stroke:"#999",lineWidth:1}},axisLabel:{show:!0,data:[],formatter:null,labelGap:5,style:{}},pointer:{show:!0,valueIndex:0,style:{scale:[1,1],fill:"#fb7293"}},details:{show:!1,formatter:null,offset:[0,0],valueToFixed:0,position:"center",style:{fontSize:20,fontWeight:"bold",textAlign:"center",textBaseline:"middle"}},backgroundArc:{show:!0,style:{stroke:"#e0e0e0"}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};t.gaugeConfig=n},cc89:function(e,t,r){var n=r("5ca1");n(n.S+n.F,"Object",{classof:r("23c6")})},ccb9:function(e,t,r){t.f=r("5168")},cd1c:function(e,t,r){var n=r("e853");e.exports=function(e,t){return new(n(e))(t)}},cd78:function(e,t,r){var n=r("e4ae"),i=r("f772"),o=r("656e");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},ce10:function(e,t,r){var n=r("69a8"),i=r("6821"),o=r("c366")(!1),a=r("613b")("IE_PROTO");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);while(t.length>l)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},ce7e:function(e,t,r){var n=r("63b6"),i=r("584a"),o=r("294c");e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*o((function(){r(1)})),"Object",a)}},ceaf:function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=n.key,a=n.map,s=n.store;n.exp({deleteMetadata:function(e,t){var r=arguments.length<3?void 0:o(arguments[2]),n=a(i(t),r,!1);if(void 0===n||!n["delete"](e))return!1;if(n.size)return!0;var l=s.get(t);return l["delete"](r),!!l.size||s["delete"](t)}})},cee4:function(e,t,r){"use strict";var n=r("c532"),i=r("1d2b"),o=r("0a06"),a=r("2444");function s(e){var t=new o(e),r=i(o.prototype.request,t);return n.extend(r,o.prototype,t),n.extend(r,t),r}var l=s(a);l.Axios=o,l.create=function(e){return s(n.merge(a,e))},l.Cancel=r("7a77"),l.CancelToken=r("8df4b"),l.isCancel=r("2e67"),l.all=function(e){return Promise.all(e)},l.spread=r("0df6"),e.exports=l,e.exports.default=l},cf1e:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,r,n,i){var o,a=t.words[n];return 1===n.length?"y"===n&&r?"jedna godina":i||r?a[0]:a[1]:(o=t.correctGrammaticalCase(e,a),"yy"===n&&r&&"godinu"===o?e+" godina":e+" "+o)}},r=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},cf51:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,r){return e>11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function r(e,t,r,n){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?i[r][0]:i[r][1]}return t}))},cf6a:function(e,t,r){var n=r("d3f4"),i=r("67ab").onFreeze;r("5eda")("seal",(function(e){return function(t){return e&&n(t)?e(i(t)):t}}))},cf75:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function i(e,t,r,n){var i=o(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function o(e){var r=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,o="";return r>0&&(o+=t[r]+"vatlh"),n>0&&(o+=(""!==o?" ":"")+t[n]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}var a=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:r,past:n,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},cff6:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=r("c3f0"),o=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.defaultValue,a=void 0===o?{}:o,s=r.serialize,l=void 0===s?i:s,u=r.deserialize,c=void 0===u?JSON.parse:u;n(this,e),this.source=t,this.defaultValue=a,this.serialize=l,this.deserialize=c};e.exports=o},d044:function(e,t,r){var n;(function(t,r){e.exports=r()})(0,(function(){function e(e){this.mode=r.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;t<n;t++){var i=[],o=this.data.charCodeAt(t);o>65536?(i[0]=240|(1835008&o)>>>18,i[1]=128|(258048&o)>>>12,i[2]=128|(4032&o)>>>6,i[3]=128|63&o):o>2048?(i[0]=224|(61440&o)>>>12,i[1]=128|(4032&o)>>>6,i[2]=128|63&o):o>128?(i[0]=192|(1984&o)>>>6,i[1]=128|63&o):i[0]=o,this.parsedData.push(i)}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 t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,r=this.parsedData.length;t<r;t++)e.put(this.parsedData[t],8)}},t.prototype={addData:function(t){var r=new e(t);this.dataList.push(r),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,r),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1||this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=a.getLostPoint(this);(0==r||e>n)&&(e=n,t=r)}return t},createMovieClip:function(e,t,r){var n=e.createEmptyMovieClip(t,r),i=1;this.make();for(var o=0;o<this.modules.length;o++)for(var a=o*i,s=0;s<this.modules[o].length;s++){var l=s*i,u=this.modules[o][s];u&&(n.beginFill(0,100),n.moveTo(l,a),n.lineTo(l+i,a),n.lineTo(l+i,a+i),n.lineTo(l,a+i),n.endFill())}return n},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],i=e[r];if(null==this.modules[n][i])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[n+o][i+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},setupTypeNumber:function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&1==(t>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++){n=!e&&1==(t>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},setupTypeInfo:function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=a.getBCHTypeInfo(r),i=0;i<15;i++){var o=!e&&1==(n>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++){o=!e&&1==(n>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var r=-1,n=this.moduleCount-1,i=7,o=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[n][s-l]){var u=!1;o<e.length&&(u=1==(e[o]>>>i&1));var c=a.getMask(t,n,s-l);c&&(u=!u),this.modules[n][s-l]=u,i--,-1==i&&(o++,i=7)}if(n+=r,n<0||this.moduleCount<=n){n-=r,r=-r;break}}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,r,n){for(var i=c.getRSBlocks(e,r),o=new d,s=0;s<n.length;s++){var l=n[s];o.put(l.mode,4),o.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(o)}var u=0;for(s=0;s<i.length;s++)u+=i[s].dataCount;if(o.getLengthInBits()>8*u)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*u+")");o.getLengthInBits()+4<=8*u&&o.put(0,4);while(o.getLengthInBits()%8!=0)o.putBit(!1);while(1){if(o.getLengthInBits()>=8*u)break;if(o.put(t.PAD0,8),o.getLengthInBits()>=8*u)break;o.put(t.PAD1,8)}return t.createBytes(o,i)},t.createBytes=function(e,t){for(var r=0,n=0,i=0,o=new Array(t.length),s=new Array(t.length),l=0;l<t.length;l++){var c=t[l].dataCount,d=t[l].totalCount-c;n=Math.max(n,c),i=Math.max(i,d),o[l]=new Array(c);for(var h=0;h<o[l].length;h++)o[l][h]=255&e.buffer[h+r];r+=c;var f=a.getErrorCorrectPolynomial(d),p=new u(o[l],f.getLength()-1),m=p.mod(f);s[l]=new Array(f.getLength()-1);for(h=0;h<s[l].length;h++){var g=h+m.getLength()-s[l].length;s[l][h]=g>=0?m.get(g):0}}var v=0;for(h=0;h<t.length;h++)v+=t[h].totalCount;var y=new Array(v),b=0;for(h=0;h<n;h++)for(l=0;l<t.length;l++)h<o[l].length&&(y[b++]=o[l][h]);for(h=0;h<i;h++)for(l=0;l<t.length;l++)h<s[l].length&&(y[b++]=s[l][h]);return y};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},i={L:1,M:0,Q:3,H:2},o={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={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(e){var t=e<<10;while(a.getBCHDigit(t)-a.getBCHDigit(a.G15)>=0)t^=a.G15<<a.getBCHDigit(t)-a.getBCHDigit(a.G15);return(e<<10|t)^a.G15_MASK},getBCHTypeNumber:function(e){var t=e<<12;while(a.getBCHDigit(t)-a.getBCHDigit(a.G18)>=0)t^=a.G18<<a.getBCHDigit(t)-a.getBCHDigit(a.G18);return e<<12|t},getBCHDigit:function(e){var t=0;while(0!=e)t++,e>>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case o.PATTERN000:return(t+r)%2==0;case o.PATTERN001:return t%2==0;case o.PATTERN010:return r%3==0;case o.PATTERN011:return(t+r)%3==0;case o.PATTERN100:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case o.PATTERN101:return t*r%2+t*r%3==0;case o.PATTERN110:return(t*r%2+t*r%3)%2==0;case o.PATTERN111:return(t*r%3+(t+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new u([1],0),r=0;r<e;r++)t=t.multiply(new u([1,s.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:return 8;case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var i=0;i<t;i++){for(var o=0,a=e.isDark(n,i),s=-1;s<=1;s++)if(!(n+s<0||t<=n+s))for(var l=-1;l<=1;l++)i+l<0||t<=i+l||0==s&&0==l||a==e.isDark(n+s,i+l)&&o++;o>5&&(r+=3+o-5)}for(n=0;n<t-1;n++)for(i=0;i<t-1;i++){var u=0;e.isDark(n,i)&&u++,e.isDark(n+1,i)&&u++,e.isDark(n,i+1)&&u++,e.isDark(n+1,i+1)&&u++,0!=u&&4!=u||(r+=3)}for(n=0;n<t;n++)for(i=0;i<t-6;i++)e.isDark(n,i)&&!e.isDark(n,i+1)&&e.isDark(n,i+2)&&e.isDark(n,i+3)&&e.isDark(n,i+4)&&!e.isDark(n,i+5)&&e.isDark(n,i+6)&&(r+=40);for(i=0;i<t;i++)for(n=0;n<t-6;n++)e.isDark(n,i)&&!e.isDark(n+1,i)&&e.isDark(n+2,i)&&e.isDark(n+3,i)&&e.isDark(n+4,i)&&!e.isDark(n+5,i)&&e.isDark(n+6,i)&&(r+=40);var c=0;for(i=0;i<t;i++)for(n=0;n<t;n++)e.isDark(n,i)&&c++;var d=Math.abs(100*c/t/t-50)/5;return r+=10*d,r}},s={glog:function(e){if(e<1)throw new Error("glog("+e+")");return s.LOG_TABLE[e]},gexp:function(e){while(e<0)e+=255;while(e>=256)e-=255;return s.EXP_TABLE[e]},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(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);var r=0;while(r<e.length&&0==e[r])r++;this.num=new Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}function c(e,t){this.totalCount=e,this.dataCount=t}function d(){this.buffer=[],this.length=0}u.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var n=0;n<e.getLength();n++)t[r+n]^=s.gexp(s.glog(this.get(r))+s.glog(e.get(n)));return new u(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=s.glog(this.get(0))-s.glog(e.get(0)),r=new Array(this.getLength()),n=0;n<this.getLength();n++)r[n]=this.get(n);for(n=0;n<e.getLength();n++)r[n]^=s.gexp(s.glog(e.get(n))+t);return new u(r,0).mod(e)}},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(e,t){var r=c.getRsBlockTable(e,t);if(void 0==r)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var n=r.length/3,i=[],o=0;o<n;o++)for(var a=r[3*o+0],s=r[3*o+1],l=r[3*o+2],u=0;u<a;u++)i.push(new c(s,l));return i},c.getRsBlockTable=function(e,t){switch(t){case i.L:return c.RS_BLOCK_TABLE[4*(e-1)+0];case i.M:return c.RS_BLOCK_TABLE[4*(e-1)+1];case i.Q:return c.RS_BLOCK_TABLE[4*(e-1)+2];case i.H:return c.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},d.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};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 f(){return"undefined"!=typeof CanvasRenderingContext2D}function p(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var r=t.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(e=parseFloat(r[1]))}return e}var m=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){var t=this._htOption,r=this._el,n=e.getModuleCount();Math.floor(t.width/n),Math.floor(t.height/n);function i(e,t){var r=document.createElementNS("http://www.w3.org/2000/svg",e);for(var n in t)t.hasOwnProperty(n)&&r.setAttribute(n,t[n]);return r}this.clear();var o=i("svg",{viewBox:"0 0 "+String(n)+" "+String(n),width:"100%",height:"100%",fill:t.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(o),o.appendChild(i("rect",{fill:t.colorLight,width:"100%",height:"100%"})),o.appendChild(i("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<n;a++)for(var s=0;s<n;s++)if(e.isDark(a,s)){var l=i("use",{x:String(s),y:String(a)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(l)}},e.prototype.clear=function(){while(this._el.hasChildNodes())this._el.removeChild(this._el.lastChild)},e}(),g="svg"===document.documentElement.tagName.toLowerCase(),v=g?m:f()?function(){function e(){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 t=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,n,i,o,a,s,l,u,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*t;else"undefined"==typeof u&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);r.apply(this,arguments)}}function n(e,t){var r=this;if(r._fFail=t,r._fSuccess=e,null===r._bSupportDataURI){var n=document.createElement("img"),i=function(){r._bSupportDataURI=!1,r._fFail&&r._fFail.call(r)},o=function(){r._bSupportDataURI=!0,r._fSuccess&&r._fSuccess.call(r)};return n.onabort=i,n.onerror=i,n.onload=o,void(n.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail&&r._fFail.call(r)}var i=function(e,t){this._bIsPainted=!1,this._android=p(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,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 i.prototype.draw=function(e){var t=this._elImage,r=this._oContext,n=this._htOption,i=e.getModuleCount(),o=n.width/i,a=n.height/i,s=Math.round(o),l=Math.round(a);t.style.display="none",this.clear();for(var u=0;u<i;u++)for(var c=0;c<i;c++){var d=e.isDark(u,c),h=c*o,f=u*a;r.strokeStyle=d?n.colorDark:n.colorLight,r.lineWidth=1,r.fillStyle=d?n.colorDark:n.colorLight,r.fillRect(h,f,o,a),r.strokeRect(Math.floor(h)+.5,Math.floor(f)+.5,s,l),r.strokeRect(Math.ceil(h)-.5,Math.ceil(f)-.5,s,l)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&n.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},i}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,r=this._el,n=e.getModuleCount(),i=Math.floor(t.width/n),o=Math.floor(t.height/n),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<n;s++){a.push("<tr>");for(var l=0;l<n;l++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(e.isDark(s,l)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),r.innerHTML=a.join("");var u=r.childNodes[0],c=(t.width-u.offsetWidth)/2,d=(t.height-u.offsetHeight)/2;c>0&&d>0&&(u.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();function y(e,t){for(var r=1,n=b(e),o=0,a=h.length;o<=a;o++){var s=0;switch(t){case i.L:s=h[o][0];break;case i.M:s=h[o][1];break;case i.Q:s=h[o][2];break;case i.H:s=h[o][3];break}if(n<=s)break;r++}if(r>h.length)throw new Error("Too long data");return r}function b(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}return n=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:i.H},"string"===typeof t&&(t={text:t}),t)for(var r in t)this._htOption[r]=t[r];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(v=m),this._android=p(),this._el=e,this._oQRCode=null,this._oDrawing=new v(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},n.prototype.makeCode=function(e){this._oQRCode=new t(y(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},n.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},n.prototype.clear=function(){this._oDrawing.clear()},n.CorrectLevel=i,n}))},d04f:function(e,t,r){r("7a56")("Array")},d090:function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){"use strict";var e="undefined"===typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"===typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,r=function(e){for(var t=this,r=0;r<e.length;r+=1)t[r]=e[r];return t.length=e.length,this};function n(n,i){var o=[],a=0;if(n&&!i&&n instanceof r)return n;if(n)if("string"===typeof n){var s,l,u=n.trim();if(u.indexOf("<")>=0&&u.indexOf(">")>=0){var c="div";for(0===u.indexOf("<li")&&(c="ul"),0===u.indexOf("<tr")&&(c="tbody"),0!==u.indexOf("<td")&&0!==u.indexOf("<th")||(c="tr"),0===u.indexOf("<tbody")&&(c="table"),0===u.indexOf("<option")&&(c="select"),l=e.createElement(c),l.innerHTML=u,a=0;a<l.childNodes.length;a+=1)o.push(l.childNodes[a])}else for(s=i||"#"!==n[0]||n.match(/[ .<>:~]/)?(i||e).querySelectorAll(n.trim()):[e.getElementById(n.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&o.push(s[a])}else if(n.nodeType||n===t||n===e)o.push(n);else if(n.length>0&&n[0].nodeType)for(a=0;a<n.length;a+=1)o.push(n[a]);return new r(o)}function i(e){for(var t=[],r=0;r<e.length;r+=1)-1===t.indexOf(e[r])&&t.push(e[r]);return t}function o(e){if("undefined"===typeof e)return this;for(var t=e.split(" "),r=0;r<t.length;r+=1)for(var n=0;n<this.length;n+=1)"undefined"!==typeof this[n]&&"undefined"!==typeof this[n].classList&&this[n].classList.add(t[r]);return this}function a(e){for(var t=e.split(" "),r=0;r<t.length;r+=1)for(var n=0;n<this.length;n+=1)"undefined"!==typeof this[n]&&"undefined"!==typeof this[n].classList&&this[n].classList.remove(t[r]);return this}function s(e){return!!this[0]&&this[0].classList.contains(e)}function l(e){for(var t=e.split(" "),r=0;r<t.length;r+=1)for(var n=0;n<this.length;n+=1)"undefined"!==typeof this[n]&&"undefined"!==typeof this[n].classList&&this[n].classList.toggle(t[r]);return this}function u(e,t){var r=arguments;if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===r.length)this[n].setAttribute(e,t);else for(var i in e)this[n][i]=e[i],this[n].setAttribute(i,e[i]);return this}function c(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function d(e,t){var r;if("undefined"!==typeof t){for(var n=0;n<this.length;n+=1)r=this[n],r.dom7ElementDataStorage||(r.dom7ElementDataStorage={}),r.dom7ElementDataStorage[e]=t;return this}if(r=this[0],r){if(r.dom7ElementDataStorage&&e in r.dom7ElementDataStorage)return r.dom7ElementDataStorage[e];var i=r.getAttribute("data-"+e);return i||void 0}}function h(e){for(var t=0;t<this.length;t+=1){var r=this[t].style;r.webkitTransform=e,r.transform=e}return this}function f(e){"string"!==typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var r=this[t].style;r.webkitTransitionDuration=e,r.transitionDuration=e}return this}function p(){var e,t=[],r=arguments.length;while(r--)t[r]=arguments[r];var i=t[0],o=t[1],a=t[2],s=t[3];function l(e){var t=e.target;if(t){var r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),n(t).is(o))a.apply(t,r);else for(var i=n(t).parents(),s=0;s<i.length;s+=1)n(i[s]).is(o)&&a.apply(i[s],r)}}function u(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"===typeof t[1]&&(e=t,i=e[0],a=e[1],s=e[2],o=void 0),s||(s=!1);for(var c,d=i.split(" "),h=0;h<this.length;h+=1){var f=this[h];if(o)for(c=0;c<d.length;c+=1){var p=d[c];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:a,proxyListener:l}),f.addEventListener(p,l,s)}else for(c=0;c<d.length;c+=1){var m=d[c];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[m]||(f.dom7Listeners[m]=[]),f.dom7Listeners[m].push({listener:a,proxyListener:u}),f.addEventListener(m,u,s)}}return this}function m(){var e,t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];"function"===typeof t[1]&&(e=t,n=e[0],o=e[1],a=e[2],i=void 0),a||(a=!1);for(var s=n.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var d=this[c],h=void 0;if(!i&&d.dom7Listeners?h=d.dom7Listeners[u]:i&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[u]),h&&h.length)for(var f=h.length-1;f>=0;f-=1){var p=h[f];o&&p.listener===o||o&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===o?(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1)):o||(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1))}}return this}function g(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];for(var i=r[0].split(" "),o=r[1],a=0;a<i.length;a+=1)for(var s=i[a],l=0;l<this.length;l+=1){var u=this[l],c=void 0;try{c=new t.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0})}catch(d){c=e.createEvent("Event"),c.initEvent(s,!0,!0),c.detail=o}u.dom7EventData=r.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}return this}function v(e){var t,r=["webkitTransitionEnd","transitionend"],n=this;function i(o){if(o.target===this)for(e.call(this,o),t=0;t<r.length;t+=1)n.off(r[t],i)}if(e)for(t=0;t<r.length;t+=1)n.on(r[t],i);return this}function y(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function b(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function _(){if(this.length>0){var r=this[0],n=r.getBoundingClientRect(),i=e.body,o=r.clientTop||i.clientTop||0,a=r.clientLeft||i.clientLeft||0,s=r===t?t.scrollY:r.scrollTop,l=r===t?t.scrollX:r.scrollLeft;return{top:n.top+s-o,left:n.left+l-a}}return null}function w(){return this[0]?t.getComputedStyle(this[0],null):{}}function x(e,r){var n;if(1===arguments.length){if("string"!==typeof e){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=r;return this}return this}function k(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function S(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function M(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function C(i){var o,a,s=this[0];if(!s||"undefined"===typeof i)return!1;if("string"===typeof i){if(s.matches)return s.matches(i);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(i);if(s.msMatchesSelector)return s.msMatchesSelector(i);for(o=n(i),a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}if(i===e)return s===e;if(i===t)return s===t;if(i.nodeType||i instanceof r){for(o=i.nodeType?[i]:i,a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}return!1}function T(){var e,t=this[0];if(t){e=0;while(null!==(t=t.previousSibling))1===t.nodeType&&(e+=1);return e}}function O(e){if("undefined"===typeof e)return this;var t,n=this.length;return e>n-1?new r([]):e<0?(t=n+e,new r(t<0?[]:[this[t]])):new r([this[e]])}function L(){var t,n=[],i=arguments.length;while(i--)n[i]=arguments[i];for(var o=0;o<n.length;o+=1){t=n[o];for(var a=0;a<this.length;a+=1)if("string"===typeof t){var s=e.createElement("div");s.innerHTML=t;while(s.firstChild)this[a].appendChild(s.firstChild)}else if(t instanceof r)for(var l=0;l<t.length;l+=1)this[a].appendChild(t[l]);else this[a].appendChild(t)}return this}function A(t){var n,i;for(n=0;n<this.length;n+=1)if("string"===typeof t){var o=e.createElement("div");for(o.innerHTML=t,i=o.childNodes.length-1;i>=0;i-=1)this[n].insertBefore(o.childNodes[i],this[n].childNodes[0])}else if(t instanceof r)for(i=0;i<t.length;i+=1)this[n].insertBefore(t[i],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this}function D(e){return this.length>0?e?this[0].nextElementSibling&&n(this[0].nextElementSibling).is(e)?new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling?new r([this[0].nextElementSibling]):new r([]):new r([])}function E(e){var t=[],i=this[0];if(!i)return new r([]);while(i.nextElementSibling){var o=i.nextElementSibling;e?n(o).is(e)&&t.push(o):t.push(o),i=o}return new r(t)}function I(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&n(t.previousElementSibling).is(e)?new r([t.previousElementSibling]):new r([]):t.previousElementSibling?new r([t.previousElementSibling]):new r([])}return new r([])}function j(e){var t=[],i=this[0];if(!i)return new r([]);while(i.previousElementSibling){var o=i.previousElementSibling;e?n(o).is(e)&&t.push(o):t.push(o),i=o}return new r(t)}function P(e){for(var t=[],r=0;r<this.length;r+=1)null!==this[r].parentNode&&(e?n(this[r].parentNode).is(e)&&t.push(this[r].parentNode):t.push(this[r].parentNode));return n(i(t))}function R(e){for(var t=[],r=0;r<this.length;r+=1){var o=this[r].parentNode;while(o)e?n(o).is(e)&&t.push(o):t.push(o),o=o.parentNode}return n(i(t))}function N(e){var t=this;return"undefined"===typeof e?new r([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function B(e){for(var t=[],n=0;n<this.length;n+=1)for(var i=this[n].querySelectorAll(e),o=0;o<i.length;o+=1)t.push(i[o]);return new r(t)}function Y(e){for(var t=[],o=0;o<this.length;o+=1)for(var a=this[o].childNodes,s=0;s<a.length;s+=1)e?1===a[s].nodeType&&n(a[s]).is(e)&&t.push(a[s]):1===a[s].nodeType&&t.push(a[s]);return new r(i(t))}function F(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function z(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var r,i,o=this;for(r=0;r<e.length;r+=1){var a=n(e[r]);for(i=0;i<a.length;i+=1)o[o.length]=a[i],o.length+=1}return o}n.fn=r.prototype,n.Class=r,n.Dom7=r;var H={addClass:o,removeClass:a,hasClass:s,toggleClass:l,attr:u,removeAttr:c,data:d,transform:h,transition:f,on:p,off:m,trigger:g,transitionEnd:v,outerWidth:y,outerHeight:b,offset:_,css:x,each:k,html:S,text:M,is:C,index:T,eq:O,append:L,prepend:A,next:D,nextAll:E,prev:I,prevAll:j,parent:P,parents:R,closest:N,find:B,children:Y,remove:F,add:z,styles:w};Object.keys(H).forEach((function(e){n.fn[e]=n.fn[e]||H[e]}));var V={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(r){}try{delete t[e]}catch(r){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,r){var n,i,o;void 0===r&&(r="x");var a=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?(i=a.transform||a.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),o=new t.WebKitCSSMatrix("none"===i?"":i)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),"x"===r&&(i=t.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===r&&(i=t.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0},parseUrlQuery:function(e){var r,n,i,o,a={},s=e||t.location.href;if("string"===typeof s&&s.length)for(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"",n=s.split("&").filter((function(e){return""!==e})),o=n.length,r=0;r<o;r+=1)i=n[r].replace(/#\S+/g,"").split("="),a[decodeURIComponent(i[0])]="undefined"===typeof i[1]?void 0:decodeURIComponent(i[1])||"";return a},isObject:function(e){return"object"===typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];for(var r=Object(e[0]),n=1;n<e.length;n+=1){var i=e[n];if(void 0!==i&&null!==i)for(var o=Object.keys(Object(i)),a=0,s=o.length;a<s;a+=1){var l=o[a],u=Object.getOwnPropertyDescriptor(i,l);void 0!==u&&u.enumerable&&(V.isObject(r[l])&&V.isObject(i[l])?V.extend(r[l],i[l]):!V.isObject(r[l])&&V.isObject(i[l])?(r[l]={},V.extend(r[l],i[l])):r[l]=i[l])}}return r}},U=function(){var r=e.createElement("div");return{touch:t.Modernizr&&!0===t.Modernizr.touch||function(){return!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}(),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:function(){var e=r.style;return"transition"in e||"webkitTransition"in e||"MozTransition"in e}(),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=r.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=r.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n+=1)if(t[n]in e)return!0;return!1}(),observer:function(){return"MutationObserver"in t||"WebkitMutationObserver"in t}(),passiveListener:function(){var e=!1;try{var r=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,r)}catch(n){}return e}(),gestures:function(){return"ongesturestart"in t}()}}(),W=function(){function e(){var e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}return{isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:e(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),$=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},G={components:{configurable:!0}};function q(){var e,t,r=this,n=r.$el;e="undefined"!==typeof r.params.width?r.params.width:n[0].clientWidth,t="undefined"!==typeof r.params.height?r.params.height:n[0].clientHeight,0===e&&r.isHorizontal()||0===t&&r.isVertical()||(e=e-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),t=t-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),V.extend(r,{width:e,height:t,size:r.isHorizontal()?e:t}))}function X(){var e=this,r=e.params,n=e.$wrapperEl,i=e.size,o=e.rtlTranslate,a=e.wrongRTL,s=e.virtual&&r.virtual.enabled,l=s?e.virtual.slides.length:e.slides.length,u=n.children("."+e.params.slideClass),c=s?e.virtual.slides.length:u.length,d=[],h=[],f=[],p=r.slidesOffsetBefore;"function"===typeof p&&(p=r.slidesOffsetBefore.call(e));var m=r.slidesOffsetAfter;"function"===typeof m&&(m=r.slidesOffsetAfter.call(e));var g=e.snapGrid.length,v=e.snapGrid.length,y=r.spaceBetween,b=-p,_=0,w=0;if("undefined"!==typeof i){var x,k;"string"===typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),r.slidesPerColumn>1&&(x=Math.floor(c/r.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/r.slidesPerColumn)*r.slidesPerColumn,"auto"!==r.slidesPerView&&"row"===r.slidesPerColumnFill&&(x=Math.max(x,r.slidesPerView*r.slidesPerColumn)));for(var S,M=r.slidesPerColumn,C=x/M,T=Math.floor(c/r.slidesPerColumn),O=0;O<c;O+=1){k=0;var L=u.eq(O);if(r.slidesPerColumn>1){var A=void 0,D=void 0,E=void 0;if("column"===r.slidesPerColumnFill||"row"===r.slidesPerColumnFill&&r.slidesPerGroup>1){if("column"===r.slidesPerColumnFill)D=Math.floor(O/M),E=O-D*M,(D>T||D===T&&E===M-1)&&(E+=1,E>=M&&(E=0,D+=1));else{var I=Math.floor(O/r.slidesPerGroup);E=Math.floor(O/r.slidesPerView)-I*r.slidesPerColumn,D=O-E*r.slidesPerView-I*r.slidesPerView}A=D+E*x/M,L.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else E=Math.floor(O/C),D=O-E*C;L.css("margin-"+(e.isHorizontal()?"top":"left"),0!==E&&r.spaceBetween&&r.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",E)}if("none"!==L.css("display")){if("auto"===r.slidesPerView){var j=t.getComputedStyle(L[0],null),P=L[0].style.transform,R=L[0].style.webkitTransform;if(P&&(L[0].style.transform="none"),R&&(L[0].style.webkitTransform="none"),r.roundLengths)k=e.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);else if(e.isHorizontal()){var N=parseFloat(j.getPropertyValue("width")),B=parseFloat(j.getPropertyValue("padding-left")),Y=parseFloat(j.getPropertyValue("padding-right")),F=parseFloat(j.getPropertyValue("margin-left")),z=parseFloat(j.getPropertyValue("margin-right")),H=j.getPropertyValue("box-sizing");k=H&&"border-box"===H&&!W.isIE?N+F+z:N+B+Y+F+z}else{var $=parseFloat(j.getPropertyValue("height")),G=parseFloat(j.getPropertyValue("padding-top")),q=parseFloat(j.getPropertyValue("padding-bottom")),X=parseFloat(j.getPropertyValue("margin-top")),K=parseFloat(j.getPropertyValue("margin-bottom")),Z=j.getPropertyValue("box-sizing");k=Z&&"border-box"===Z&&!W.isIE?$+X+K:$+G+q+X+K}P&&(L[0].style.transform=P),R&&(L[0].style.webkitTransform=R),r.roundLengths&&(k=Math.floor(k))}else k=(i-(r.slidesPerView-1)*y)/r.slidesPerView,r.roundLengths&&(k=Math.floor(k)),u[O]&&(e.isHorizontal()?u[O].style.width=k+"px":u[O].style.height=k+"px");u[O]&&(u[O].swiperSlideSize=k),f.push(k),r.centeredSlides?(b=b+k/2+_/2+y,0===_&&0!==O&&(b=b-i/2-y),0===O&&(b=b-i/2-y),Math.abs(b)<.001&&(b=0),r.roundLengths&&(b=Math.floor(b)),w%r.slidesPerGroup===0&&d.push(b),h.push(b)):(r.roundLengths&&(b=Math.floor(b)),w%r.slidesPerGroup===0&&d.push(b),h.push(b),b=b+k+y),e.virtualSize+=k+y,_=k,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+m,o&&a&&("slide"===r.effect||"coverflow"===r.effect)&&n.css({width:e.virtualSize+r.spaceBetween+"px"}),U.flexbox&&!r.setWrapperSize||(e.isHorizontal()?n.css({width:e.virtualSize+r.spaceBetween+"px"}):n.css({height:e.virtualSize+r.spaceBetween+"px"})),r.slidesPerColumn>1&&(e.virtualSize=(k+r.spaceBetween)*x,e.virtualSize=Math.ceil(e.virtualSize/r.slidesPerColumn)-r.spaceBetween,e.isHorizontal()?n.css({width:e.virtualSize+r.spaceBetween+"px"}):n.css({height:e.virtualSize+r.spaceBetween+"px"}),r.centeredSlides)){S=[];for(var J=0;J<d.length;J+=1){var Q=d[J];r.roundLengths&&(Q=Math.floor(Q)),d[J]<e.virtualSize+d[0]&&S.push(Q)}d=S}if(!r.centeredSlides){S=[];for(var ee=0;ee<d.length;ee+=1){var te=d[ee];r.roundLengths&&(te=Math.floor(te)),d[ee]<=e.virtualSize-i&&S.push(te)}d=S,Math.floor(e.virtualSize-i)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-i)}if(0===d.length&&(d=[0]),0!==r.spaceBetween&&(e.isHorizontal()?o?u.css({marginLeft:y+"px"}):u.css({marginRight:y+"px"}):u.css({marginBottom:y+"px"})),r.centerInsufficientSlides){var re=0;if(f.forEach((function(e){re+=e+(r.spaceBetween?r.spaceBetween:0)})),re-=r.spaceBetween,re<i){var ne=(i-re)/2;d.forEach((function(e,t){d[t]=e-ne})),h.forEach((function(e,t){h[t]=e+ne}))}}V.extend(e,{slides:u,snapGrid:d,slidesGrid:h,slidesSizesGrid:f}),c!==l&&e.emit("slidesLengthChange"),d.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==v&&e.emit("slidesGridLengthChange"),(r.watchSlidesProgress||r.watchSlidesVisibility)&&e.updateSlidesOffset()}}function K(e){var t,r=this,n=[],i=0;if("number"===typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed),"auto"!==r.params.slidesPerView&&r.params.slidesPerView>1)for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){var o=r.activeIndex+t;if(o>r.slides.length)break;n.push(r.slides.eq(o)[0])}else n.push(r.slides.eq(r.activeIndex)[0]);for(t=0;t<n.length;t+=1)if("undefined"!==typeof n[t]){var a=n[t].offsetHeight;i=a>i?a:i}i&&r.$wrapperEl.css("height",i+"px")}function Z(){for(var e=this,t=e.slides,r=0;r<t.length;r+=1)t[r].swiperSlideOffset=e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop}function J(e){void 0===e&&(e=this&&this.translate||0);var t=this,r=t.params,i=t.slides,o=t.rtlTranslate;if(0!==i.length){"undefined"===typeof i[0].swiperSlideOffset&&t.updateSlidesOffset();var a=-e;o&&(a=e),i.removeClass(r.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<i.length;s+=1){var l=i[s],u=(a+(r.centeredSlides?t.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+r.spaceBetween);if(r.watchSlidesVisibility){var c=-(a-l.swiperSlideOffset),d=c+t.slidesSizesGrid[s],h=c>=0&&c<t.size-1||d>1&&d<=t.size||c<=0&&d>=t.size;h&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(s),i.eq(s).addClass(r.slideVisibleClass))}l.progress=o?-u:u}t.visibleSlides=n(t.visibleSlides)}}function Q(e){void 0===e&&(e=this&&this.translate||0);var t=this,r=t.params,n=t.maxTranslate()-t.minTranslate(),i=t.progress,o=t.isBeginning,a=t.isEnd,s=o,l=a;0===n?(i=0,o=!0,a=!0):(i=(e-t.minTranslate())/n,o=i<=0,a=i>=1),V.extend(t,{progress:i,isBeginning:o,isEnd:a}),(r.watchSlidesProgress||r.watchSlidesVisibility)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",i)}function ee(){var e,t=this,r=t.slides,n=t.params,i=t.$wrapperEl,o=t.activeIndex,a=t.realIndex,s=t.virtual&&n.virtual.enabled;r.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),e=s?t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+o+'"]'):r.eq(o),e.addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]').addClass(n.slideDuplicateActiveClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]').addClass(n.slideDuplicateActiveClass));var l=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=r.eq(0),l.addClass(n.slideNextClass));var u=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===u.length&&(u=r.eq(-1),u.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),u.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+u.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+u.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass))}function te(e){var t,r=this,n=r.rtlTranslate?r.translate:-r.translate,i=r.slidesGrid,o=r.snapGrid,a=r.params,s=r.activeIndex,l=r.realIndex,u=r.snapIndex,c=e;if("undefined"===typeof c){for(var d=0;d<i.length;d+=1)"undefined"!==typeof i[d+1]?n>=i[d]&&n<i[d+1]-(i[d+1]-i[d])/2?c=d:n>=i[d]&&n<i[d+1]&&(c=d+1):n>=i[d]&&(c=d);a.normalizeSlideIndex&&(c<0||"undefined"===typeof c)&&(c=0)}if(t=o.indexOf(n)>=0?o.indexOf(n):Math.floor(c/a.slidesPerGroup),t>=o.length&&(t=o.length-1),c!==s){var h=parseInt(r.slides.eq(c).attr("data-swiper-slide-index")||c,10);V.extend(r,{snapIndex:t,realIndex:h,previousIndex:s,activeIndex:c}),r.emit("activeIndexChange"),r.emit("snapIndexChange"),l!==h&&r.emit("realIndexChange"),(r.initialized||r.runCallbacksOnInit)&&r.emit("slideChange")}else t!==u&&(r.snapIndex=t,r.emit("snapIndexChange"))}function re(e){var t=this,r=t.params,i=n(e.target).closest("."+r.slideClass)[0],o=!1;if(i)for(var a=0;a<t.slides.length;a+=1)t.slides[a]===i&&(o=!0);if(!i||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(n(i).attr("data-swiper-slide-index"),10):t.clickedIndex=n(i).index(),r.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}$.prototype.on=function(e,t,r){var n=this;if("function"!==typeof t)return n;var i=r?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)})),n},$.prototype.once=function(e,t,r){var n=this;if("function"!==typeof t)return n;function i(){var r=[],o=arguments.length;while(o--)r[o]=arguments[o];t.apply(n,r),n.off(e,i),i.f7proxy&&delete i.f7proxy}return i.f7proxy=t,n.on(e,i,r)},$.prototype.off=function(e,t){var r=this;return r.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].length&&r.eventsListeners[e].forEach((function(n,i){(n===t||n.f7proxy&&n.f7proxy===t)&&r.eventsListeners[e].splice(i,1)}))})),r):r},$.prototype.emit=function(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var r,n,i,o=this;if(!o.eventsListeners)return o;"string"===typeof e[0]||Array.isArray(e[0])?(r=e[0],n=e.slice(1,e.length),i=o):(r=e[0].events,n=e[0].data,i=e[0].context||o);var a=Array.isArray(r)?r:r.split(" ");return a.forEach((function(e){if(o.eventsListeners&&o.eventsListeners[e]){var t=[];o.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(i,n)}))}})),o},$.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(r){var n=t.modules[r];n.params&&V.extend(e,n.params)}))},$.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(r){var n=t.modules[r],i=e[r]||{};n.instance&&Object.keys(n.instance).forEach((function(e){var r=n.instance[e];t[e]="function"===typeof r?r.bind(t):r})),n.on&&t.on&&Object.keys(n.on).forEach((function(e){t.on(e,n.on[e])})),n.create&&n.create.bind(t)(i)}))},G.components.set=function(e){var t=this;t.use&&t.use(e)},$.installModule=function(e){var t=[],r=arguments.length-1;while(r-- >0)t[r]=arguments[r+1];var n=this;n.prototype.modules||(n.prototype.modules={});var i=e.name||Object.keys(n.prototype.modules).length+"_"+V.now();return n.prototype.modules[i]=e,e.proto&&Object.keys(e.proto).forEach((function(t){n.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){n[t]=e.static[t]})),e.install&&e.install.apply(n,t),n},$.use=function(e){var t=[],r=arguments.length-1;while(r-- >0)t[r]=arguments[r+1];var n=this;return Array.isArray(e)?(e.forEach((function(e){return n.installModule(e)})),n):n.installModule.apply(n,[e].concat(t))},Object.defineProperties($,G);var ne={updateSize:q,updateSlides:X,updateAutoHeight:K,updateSlidesOffset:Z,updateSlidesProgress:J,updateProgress:Q,updateSlidesClasses:ee,updateActiveIndex:te,updateClickedSlide:re};function ie(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,r=t.params,n=t.rtlTranslate,i=t.translate,o=t.$wrapperEl;if(r.virtualTranslate)return n?-i:i;var a=V.getTranslate(o[0],e);return n&&(a=-a),a||0}function oe(e,t){var r,n=this,i=n.rtlTranslate,o=n.params,a=n.$wrapperEl,s=n.progress,l=0,u=0,c=0;n.isHorizontal()?l=i?-e:e:u=e,o.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),o.virtualTranslate||(U.transforms3d?a.transform("translate3d("+l+"px, "+u+"px, "+c+"px)"):a.transform("translate("+l+"px, "+u+"px)")),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u;var d=n.maxTranslate()-n.minTranslate();r=0===d?0:(e-n.minTranslate())/d,r!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function ae(){return-this.snapGrid[0]}function se(){return-this.snapGrid[this.snapGrid.length-1]}var le={getTranslate:ie,setTranslate:oe,minTranslate:ae,maxTranslate:se};function ue(e,t){var r=this;r.$wrapperEl.transition(e),r.emit("setTransition",e,t)}function ce(e,t){void 0===e&&(e=!0);var r=this,n=r.activeIndex,i=r.params,o=r.previousIndex;i.autoHeight&&r.updateAutoHeight();var a=t;if(a||(a=n>o?"next":n<o?"prev":"reset"),r.emit("transitionStart"),e&&n!==o){if("reset"===a)return void r.emit("slideResetTransitionStart");r.emit("slideChangeTransitionStart"),"next"===a?r.emit("slideNextTransitionStart"):r.emit("slidePrevTransitionStart")}}function de(e,t){void 0===e&&(e=!0);var r=this,n=r.activeIndex,i=r.previousIndex;r.animating=!1,r.setTransition(0);var o=t;if(o||(o=n>i?"next":n<i?"prev":"reset"),r.emit("transitionEnd"),e&&n!==i){if("reset"===o)return void r.emit("slideResetTransitionEnd");r.emit("slideChangeTransitionEnd"),"next"===o?r.emit("slideNextTransitionEnd"):r.emit("slidePrevTransitionEnd")}}var he={setTransition:ue,transitionStart:ce,transitionEnd:de};function fe(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0);var i=this,o=e;o<0&&(o=0);var a=i.params,s=i.snapGrid,l=i.slidesGrid,u=i.previousIndex,c=i.activeIndex,d=i.rtlTranslate;if(i.animating&&a.preventInteractionOnTransition)return!1;var h=Math.floor(o/a.slidesPerGroup);h>=s.length&&(h=s.length-1),(c||a.initialSlide||0)===(u||0)&&r&&i.emit("beforeSlideChangeStart");var f,p=-s[h];if(i.updateProgress(p),a.normalizeSlideIndex)for(var m=0;m<l.length;m+=1)-Math.floor(100*p)>=Math.floor(100*l[m])&&(o=m);if(i.initialized&&o!==c){if(!i.allowSlideNext&&p<i.translate&&p<i.minTranslate())return!1;if(!i.allowSlidePrev&&p>i.translate&&p>i.maxTranslate()&&(c||0)!==o)return!1}return f=o>c?"next":o<c?"prev":"reset",d&&-p===i.translate||!d&&p===i.translate?(i.updateActiveIndex(o),a.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==a.effect&&i.setTranslate(p),"reset"!==f&&(i.transitionStart(r,f),i.transitionEnd(r,f)),!1):(0!==t&&U.transition?(i.setTransition(t),i.setTranslate(p),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(r,f),i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(r,f))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd))):(i.setTransition(0),i.setTranslate(p),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(r,f),i.transitionEnd(r,f)),!0)}function pe(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0);var i=this,o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,r,n)}function me(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,i=n.params,o=n.animating;return i.loop?!o&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,n.slideTo(n.activeIndex+i.slidesPerGroup,e,t,r)):n.slideTo(n.activeIndex+i.slidesPerGroup,e,t,r)}function ge(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,i=n.params,o=n.animating,a=n.snapGrid,s=n.slidesGrid,l=n.rtlTranslate;if(i.loop){if(o)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}var u=l?n.translate:-n.translate;function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,h=c(u),f=a.map((function(e){return c(e)})),p=(s.map((function(e){return c(e)})),a[f.indexOf(h)],a[f.indexOf(h)-1]);return"undefined"!==typeof p&&(d=s.indexOf(p),d<0&&(d=n.activeIndex-1)),n.slideTo(d,e,t,r)}function ve(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this;return n.slideTo(n.activeIndex,e,t,r)}function ye(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,i=n.activeIndex,o=Math.floor(i/n.params.slidesPerGroup);if(o<n.snapGrid.length-1){var a=n.rtlTranslate?n.translate:-n.translate,s=n.snapGrid[o],l=n.snapGrid[o+1];a-s>(l-s)/2&&(i=n.params.slidesPerGroup)}return n.slideTo(i,e,t,r)}function be(){var e,t=this,r=t.params,i=t.$wrapperEl,o="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,a=t.clickedIndex;if(r.loop){if(t.animating)return;e=parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"),10),r.centeredSlides?a<t.loopedSlides-o/2||a>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),a=i.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),V.nextTick((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-o?(t.loopFix(),a=i.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),V.nextTick((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}var _e={slideTo:fe,slideToLoop:pe,slideNext:me,slidePrev:ge,slideReset:ve,slideToClosest:ye,slideToClickedSlide:be};function we(){var t=this,r=t.params,i=t.$wrapperEl;i.children("."+r.slideClass+"."+r.slideDuplicateClass).remove();var o=i.children("."+r.slideClass);if(r.loopFillGroupWithBlank){var a=r.slidesPerGroup-o.length%r.slidesPerGroup;if(a!==r.slidesPerGroup){for(var s=0;s<a;s+=1){var l=n(e.createElement("div")).addClass(r.slideClass+" "+r.slideBlankClass);i.append(l)}o=i.children("."+r.slideClass)}}"auto"!==r.slidesPerView||r.loopedSlides||(r.loopedSlides=o.length),t.loopedSlides=parseInt(r.loopedSlides||r.slidesPerView,10),t.loopedSlides+=r.loopAdditionalSlides,t.loopedSlides>o.length&&(t.loopedSlides=o.length);var u=[],c=[];o.each((function(e,r){var i=n(r);e<t.loopedSlides&&c.push(r),e<o.length&&e>=o.length-t.loopedSlides&&u.push(r),i.attr("data-swiper-slide-index",e)}));for(var d=0;d<c.length;d+=1)i.append(n(c[d].cloneNode(!0)).addClass(r.slideDuplicateClass));for(var h=u.length-1;h>=0;h-=1)i.prepend(n(u[h].cloneNode(!0)).addClass(r.slideDuplicateClass))}function xe(){var e,t=this,r=t.params,n=t.activeIndex,i=t.slides,o=t.loopedSlides,a=t.allowSlidePrev,s=t.allowSlideNext,l=t.snapGrid,u=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var c=-l[n],d=c-t.getTranslate();if(n<o){e=i.length-3*o+n,e+=o;var h=t.slideTo(e,0,!1,!0);h&&0!==d&&t.setTranslate((u?-t.translate:t.translate)-d)}else if("auto"===r.slidesPerView&&n>=2*o||n>=i.length-o){e=-i.length+n+o,e+=o;var f=t.slideTo(e,0,!1,!0);f&&0!==d&&t.setTranslate((u?-t.translate:t.translate)-d)}t.allowSlidePrev=a,t.allowSlideNext=s}function ke(){var e=this,t=e.$wrapperEl,r=e.params,n=e.slides;t.children("."+r.slideClass+"."+r.slideDuplicateClass+",."+r.slideClass+"."+r.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}var Se={loopCreate:we,loopFix:xe,loopDestroy:ke};function Me(e){var t=this;if(!(U.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var r=t.el;r.style.cursor="move",r.style.cursor=e?"-webkit-grabbing":"-webkit-grab",r.style.cursor=e?"-moz-grabbin":"-moz-grab",r.style.cursor=e?"grabbing":"grab"}}function Ce(){var e=this;U.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}var Te={setGrabCursor:Me,unsetGrabCursor:Ce};function Oe(e){var t=this,r=t.$wrapperEl,n=t.params;if(n.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&r.append(e[i]);else r.append(e);n.loop&&t.loopCreate(),n.observer&&U.observer||t.update()}function Le(e){var t=this,r=t.params,n=t.$wrapperEl,i=t.activeIndex;r.loop&&t.loopDestroy();var o=i+1;if("object"===typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&n.prepend(e[a]);o=i+e.length}else n.prepend(e);r.loop&&t.loopCreate(),r.observer&&U.observer||t.update(),t.slideTo(o,0,!1)}function Ae(e,t){var r=this,n=r.$wrapperEl,i=r.params,o=r.activeIndex,a=o;i.loop&&(a-=r.loopedSlides,r.loopDestroy(),r.slides=n.children("."+i.slideClass));var s=r.slides.length;if(e<=0)r.prependSlide(t);else if(e>=s)r.appendSlide(t);else{for(var l=a>e?a+1:a,u=[],c=s-1;c>=e;c-=1){var d=r.slides.eq(c);d.remove(),u.unshift(d)}if("object"===typeof t&&"length"in t){for(var h=0;h<t.length;h+=1)t[h]&&n.append(t[h]);l=a>e?a+t.length:a}else n.append(t);for(var f=0;f<u.length;f+=1)n.append(u[f]);i.loop&&r.loopCreate(),i.observer&&U.observer||r.update(),i.loop?r.slideTo(l+r.loopedSlides,0,!1):r.slideTo(l,0,!1)}}function De(e){var t=this,r=t.params,n=t.$wrapperEl,i=t.activeIndex,o=i;r.loop&&(o-=t.loopedSlides,t.loopDestroy(),t.slides=n.children("."+r.slideClass));var a,s=o;if("object"===typeof e&&"length"in e){for(var l=0;l<e.length;l+=1)a=e[l],t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<s&&(s-=1),s=Math.max(s,0);r.loop&&t.loopCreate(),r.observer&&U.observer||t.update(),r.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function Ee(){for(var e=this,t=[],r=0;r<e.slides.length;r+=1)t.push(r);e.removeSlide(t)}var Ie={appendSlide:Oe,prependSlide:Le,addSlide:Ae,removeSlide:De,removeAllSlides:Ee},je=function(){var r=t.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},i=r.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),o=r.match(/(Android);?[\s\/]+([\d.]+)?/),a=r.match(/(iPad).*OS\s([\d_]+)/),s=r.match(/(iPod)(.*OS\s([\d_]+))?/),l=!a&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(i&&(n.os="windows",n.osVersion=i[2],n.windows=!0),o&&!i&&(n.os="android",n.osVersion=o[2],n.android=!0,n.androidChrome=r.toLowerCase().indexOf("chrome")>=0),(a||l||s)&&(n.os="ios",n.ios=!0),l&&!s&&(n.osVersion=l[2].replace(/_/g,"."),n.iphone=!0),a&&(n.osVersion=a[2].replace(/_/g,"."),n.ipad=!0),s&&(n.osVersion=s[3]?s[3].replace(/_/g,"."):null,n.iphone=!0),n.ios&&n.osVersion&&r.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=r.toLowerCase().split("version/")[1].split(" ")[0]),n.desktop=!(n.os||n.android||n.webView),n.webView=(l||a||s)&&r.match(/.*AppleWebKit(?!.*Safari)/i),n.os&&"ios"===n.os){var u=n.osVersion.split("."),c=e.querySelector('meta[name="viewport"]');n.minimalUi=!n.webView&&(s||l)&&(1*u[0]===7?1*u[1]>=1:1*u[0]>7)&&c&&c.getAttribute("content").indexOf("minimal-ui")>=0}return n.pixelRatio=t.devicePixelRatio||1,n}();function Pe(r){var i=this,o=i.touchEventsData,a=i.params,s=i.touches;if(!i.animating||!a.preventInteractionOnTransition){var l=r;if(l.originalEvent&&(l=l.originalEvent),o.isTouchEvent="touchstart"===l.type,(o.isTouchEvent||!("which"in l)||3!==l.which)&&!(!o.isTouchEvent&&"button"in l&&l.button>0)&&(!o.isTouched||!o.isMoved))if(a.noSwiping&&n(l.target).closest(a.noSwipingSelector?a.noSwipingSelector:"."+a.noSwipingClass)[0])i.allowClick=!0;else if(!a.swipeHandler||n(l).closest(a.swipeHandler)[0]){s.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,s.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var u=s.currentX,c=s.currentY,d=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,h=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!d||!(u<=h||u>=t.screen.width-h)){if(V.extend(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=u,s.startY=c,o.touchStartTime=V.now(),i.allowClick=!0,i.updateSize(),i.swipeDirection=void 0,a.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==l.type){var f=!0;n(l.target).is(o.formElements)&&(f=!1),e.activeElement&&n(e.activeElement).is(o.formElements)&&e.activeElement!==l.target&&e.activeElement.blur();var p=f&&i.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||p)&&l.preventDefault()}i.emit("touchStart",l)}}}}function Re(t){var r=this,i=r.touchEventsData,o=r.params,a=r.touches,s=r.rtlTranslate,l=t;if(l.originalEvent&&(l=l.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==l.type){var u="touchmove"===l.type?l.targetTouches[0].pageX:l.pageX,c="touchmove"===l.type?l.targetTouches[0].pageY:l.pageY;if(l.preventedByNestedSwiper)return a.startX=u,void(a.startY=c);if(!r.allowTouchMove)return r.allowClick=!1,void(i.isTouched&&(V.extend(a,{startX:u,startY:c,currentX:u,currentY:c}),i.touchStartTime=V.now()));if(i.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(r.isVertical()){if(c<a.startY&&r.translate<=r.maxTranslate()||c>a.startY&&r.translate>=r.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(u<a.startX&&r.translate<=r.maxTranslate()||u>a.startX&&r.translate>=r.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&n(l.target).is(i.formElements))return i.isMoved=!0,void(r.allowClick=!1);if(i.allowTouchCallbacks&&r.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){a.currentX=u,a.currentY=c;var d=a.currentX-a.startX,h=a.currentY-a.startY;if(!(r.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(h,2))<r.params.threshold)){var f;if("undefined"===typeof i.isScrolling)r.isHorizontal()&&a.currentY===a.startY||r.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:d*d+h*h>=25&&(f=180*Math.atan2(Math.abs(h),Math.abs(d))/Math.PI,i.isScrolling=r.isHorizontal()?f>o.touchAngle:90-f>o.touchAngle);if(i.isScrolling&&r.emit("touchMoveOpposite",l),"undefined"===typeof i.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){r.allowClick=!1,l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation(),i.isMoved||(o.loop&&r.loopFix(),i.startTranslate=r.getTranslate(),r.setTransition(0),r.animating&&r.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!o.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",l)),r.emit("sliderMove",l),i.isMoved=!0;var p=r.isHorizontal()?d:h;a.diff=p,p*=o.touchRatio,s&&(p=-p),r.swipeDirection=p>0?"prev":"next",i.currentTranslate=p+i.startTranslate;var m=!0,g=o.resistanceRatio;if(o.touchReleaseOnEdges&&(g=0),p>0&&i.currentTranslate>r.minTranslate()?(m=!1,o.resistance&&(i.currentTranslate=r.minTranslate()-1+Math.pow(-r.minTranslate()+i.startTranslate+p,g))):p<0&&i.currentTranslate<r.maxTranslate()&&(m=!1,o.resistance&&(i.currentTranslate=r.maxTranslate()+1-Math.pow(r.maxTranslate()-i.startTranslate-p,g))),m&&(l.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(p)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=r.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}o.followFinger&&((o.freeMode||o.watchSlidesProgress||o.watchSlidesVisibility)&&(r.updateActiveIndex(),r.updateSlidesClasses()),o.freeMode&&(0===i.velocities.length&&i.velocities.push({position:a[r.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:a[r.isHorizontal()?"currentX":"currentY"],time:V.now()})),r.updateProgress(i.currentTranslate),r.setTranslate(i.currentTranslate))}}}}}else i.startMoving&&i.isScrolling&&r.emit("touchMoveOpposite",l)}function Ne(e){var t=this,r=t.touchEventsData,n=t.params,i=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,u=e;if(u.originalEvent&&(u=u.originalEvent),r.allowTouchCallbacks&&t.emit("touchEnd",u),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&n.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);n.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,d=V.now(),h=d-r.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(u),t.emit("tap",u),h<300&&d-r.lastClickTime>300&&(r.clickTimeout&&clearTimeout(r.clickTimeout),r.clickTimeout=V.nextTick((function(){t&&!t.destroyed&&t.emit("click",u)}),300)),h<300&&d-r.lastClickTime<300&&(r.clickTimeout&&clearTimeout(r.clickTimeout),t.emit("doubleTap",u))),r.lastClickTime=V.now(),V.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===i.diff||r.currentTranslate===r.startTranslate)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,c=n.followFinger?o?t.translate:-t.translate:-r.currentTranslate,n.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(n.freeModeMomentum){if(r.velocities.length>1){var f=r.velocities.pop(),p=r.velocities.pop(),m=f.position-p.position,g=f.time-p.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<n.freeModeMinimumVelocity&&(t.velocity=0),(g>150||V.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,r.velocities.length=0;var v=1e3*n.freeModeMomentumRatio,y=t.velocity*v,b=t.translate+y;o&&(b=-b);var _,w,x=!1,k=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(b<t.maxTranslate())n.freeModeMomentumBounce?(b+t.maxTranslate()<-k&&(b=t.maxTranslate()-k),_=t.maxTranslate(),x=!0,r.allowMomentumBounce=!0):b=t.maxTranslate(),n.loop&&n.centeredSlides&&(w=!0);else if(b>t.minTranslate())n.freeModeMomentumBounce?(b-t.minTranslate()>k&&(b=t.minTranslate()+k),_=t.minTranslate(),x=!0,r.allowMomentumBounce=!0):b=t.minTranslate(),n.loop&&n.centeredSlides&&(w=!0);else if(n.freeModeSticky){for(var S,M=0;M<l.length;M+=1)if(l[M]>-b){S=M;break}b=Math.abs(l[S]-b)<Math.abs(l[S-1]-b)||"next"===t.swipeDirection?l[S]:l[S-1],b=-b}if(w&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)v=o?Math.abs((-b-t.translate)/t.velocity):Math.abs((b-t.translate)/t.velocity);else if(n.freeModeSticky)return void t.slideToClosest();n.freeModeMomentumBounce&&x?(t.updateProgress(_),t.setTransition(v),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&r.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(n.speed),t.setTranslate(_),a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(b),t.setTransition(v),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(b),t.updateActiveIndex(),t.updateSlidesClasses()}else if(n.freeModeSticky)return void t.slideToClosest();(!n.freeModeMomentum||h>=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var C=0,T=t.slidesSizesGrid[0],O=0;O<s.length;O+=n.slidesPerGroup)"undefined"!==typeof s[O+n.slidesPerGroup]?c>=s[O]&&c<s[O+n.slidesPerGroup]&&(C=O,T=s[O+n.slidesPerGroup]-s[O]):c>=s[O]&&(C=O,T=s[s.length-1]-s[s.length-2]);var L=(c-s[C])/T;if(h>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(L>=n.longSwipesRatio?t.slideTo(C+n.slidesPerGroup):t.slideTo(C)),"prev"===t.swipeDirection&&(L>1-n.longSwipesRatio?t.slideTo(C+n.slidesPerGroup):t.slideTo(C))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(C+n.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(C)}}}function Be(){var e=this,t=e.params,r=e.el;if(!r||0!==r.offsetWidth){t.breakpoints&&e.setBreakpoint();var n=e.allowSlideNext,i=e.allowSlidePrev,o=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var a=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}}function Ye(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function Fe(){var t=this,r=t.params,n=t.touchEvents,i=t.el,o=t.wrapperEl;t.onTouchStart=Pe.bind(t),t.onTouchMove=Re.bind(t),t.onTouchEnd=Ne.bind(t),t.onClick=Ye.bind(t);var a="container"===r.touchEventsTarget?i:o,s=!!r.nested;if(U.touch||!U.pointerEvents&&!U.prefixedPointerEvents){if(U.touch){var l=!("touchstart"!==n.start||!U.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(n.start,t.onTouchStart,l),a.addEventListener(n.move,t.onTouchMove,U.passiveListener?{passive:!1,capture:s}:s),a.addEventListener(n.end,t.onTouchEnd,l)}(r.simulateTouch&&!je.ios&&!je.android||r.simulateTouch&&!U.touch&&je.ios)&&(a.addEventListener("mousedown",t.onTouchStart,!1),e.addEventListener("mousemove",t.onTouchMove,s),e.addEventListener("mouseup",t.onTouchEnd,!1))}else a.addEventListener(n.start,t.onTouchStart,!1),e.addEventListener(n.move,t.onTouchMove,s),e.addEventListener(n.end,t.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&a.addEventListener("click",t.onClick,!0),t.on(je.ios||je.android?"resize orientationchange observerUpdate":"resize observerUpdate",Be,!0)}function ze(){var t=this,r=t.params,n=t.touchEvents,i=t.el,o=t.wrapperEl,a="container"===r.touchEventsTarget?i:o,s=!!r.nested;if(U.touch||!U.pointerEvents&&!U.prefixedPointerEvents){if(U.touch){var l=!("onTouchStart"!==n.start||!U.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(n.start,t.onTouchStart,l),a.removeEventListener(n.move,t.onTouchMove,s),a.removeEventListener(n.end,t.onTouchEnd,l)}(r.simulateTouch&&!je.ios&&!je.android||r.simulateTouch&&!U.touch&&je.ios)&&(a.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,s),e.removeEventListener("mouseup",t.onTouchEnd,!1))}else a.removeEventListener(n.start,t.onTouchStart,!1),e.removeEventListener(n.move,t.onTouchMove,s),e.removeEventListener(n.end,t.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&a.removeEventListener("click",t.onClick,!0),t.off(je.ios||je.android?"resize orientationchange observerUpdate":"resize observerUpdate",Be)}var He={attachEvents:Fe,detachEvents:ze};function Ve(){var e=this,t=e.activeIndex,r=e.initialized,n=e.loopedSlides;void 0===n&&(n=0);var i=e.params,o=i.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var a=e.getBreakpoint(o);if(a&&e.currentBreakpoint!==a){var s=a in o?o[a]:void 0;s&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=s[e];"undefined"!==typeof t&&(s[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var l=s||e.originalParams,u=l.direction&&l.direction!==i.direction,c=i.loop&&(l.slidesPerView!==i.slidesPerView||u);u&&r&&e.changeDirection(),V.extend(e.params,l),V.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=a,c&&r&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}}function Ue(e){var r=this;if(e){var n=!1,i=[];Object.keys(e).forEach((function(e){i.push(e)})),i.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var o=0;o<i.length;o+=1){var a=i[o];r.params.breakpointsInverse?a<=t.innerWidth&&(n=a):a>=t.innerWidth&&!n&&(n=a)}return n||"max"}}var We={setBreakpoint:Ve,getBreakpoint:Ue};function $e(){var e=this,t=e.classNames,r=e.params,n=e.rtl,i=e.$el,o=[];o.push("initialized"),o.push(r.direction),r.freeMode&&o.push("free-mode"),U.flexbox||o.push("no-flexbox"),r.autoHeight&&o.push("autoheight"),n&&o.push("rtl"),r.slidesPerColumn>1&&o.push("multirow"),je.android&&o.push("android"),je.ios&&o.push("ios"),(W.isIE||W.isEdge)&&(U.pointerEvents||U.prefixedPointerEvents)&&o.push("wp8-"+r.direction),o.forEach((function(e){t.push(r.containerModifierClass+e)})),i.addClass(t.join(" "))}function Ge(){var e=this,t=e.$el,r=e.classNames;t.removeClass(r.join(" "))}var qe={addClasses:$e,removeClasses:Ge};function Xe(e,r,n,i,o,a){var s;function l(){a&&a()}e.complete&&o?l():r?(s=new t.Image,s.onload=l,s.onerror=l,i&&(s.sizes=i),n&&(s.srcset=n),r&&(s.src=r)):l()}function Ke(){var e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var r=0;r<e.imagesToLoad.length;r+=1){var n=e.imagesToLoad[r];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}var Ze={loadImage:Xe,preloadImages:Ke};function Je(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}var Qe={checkOverflow:Je},et={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},tt={update:ne,translate:le,transition:he,slide:_e,loop:Se,grabCursor:Te,manipulation:Ie,events:He,breakpoints:We,checkOverflow:Qe,classes:qe,images:Ze},rt={},nt=function(e){function t(){var r,i,o,a=[],s=arguments.length;while(s--)a[s]=arguments[s];1===a.length&&a[0].constructor&&a[0].constructor===Object?o=a[0]:(r=a,i=r[0],o=r[1]),o||(o={}),o=V.extend({},o),i&&!o.el&&(o.el=i),e.call(this,o),Object.keys(tt).forEach((function(e){Object.keys(tt[e]).forEach((function(r){t.prototype[r]||(t.prototype[r]=tt[e][r])}))}));var l=this;"undefined"===typeof l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var r=Object.keys(t.params)[0],n=t.params[r];if("object"!==typeof n||null===n)return;if(!(r in o)||!("enabled"in n))return;!0===o[r]&&(o[r]={enabled:!0}),"object"!==typeof o[r]||"enabled"in o[r]||(o[r].enabled=!0),o[r]||(o[r]={enabled:!1})}}));var u=V.extend({},et);l.useModulesParams(u),l.params=V.extend({},u,rt,o),l.originalParams=V.extend({},l.params),l.passedParams=V.extend({},o),l.$=n;var c=n(l.params.el);if(i=c[0],i){if(c.length>1){var d=[];return c.each((function(e,r){var n=V.extend({},o,{el:r});d.push(new t(n))})),d}i.swiper=l,c.data("swiper",l);var h=c.children("."+l.params.wrapperClass);return V.extend(l,{$el:c,el:i,$wrapperEl:h,wrapperEl:h[0],classNames:[],slides:n(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===i.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===h.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend"],t=["mousedown","mousemove","mouseup"];return U.pointerEvents?t=["pointerdown","pointermove","pointerup"]:U.prefixedPointerEvents&&(t=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:e[0],move:e[1],end:e[2]},l.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},U.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:V.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,r=e.slides,n=e.slidesGrid,i=e.size,o=e.activeIndex,a=1;if(t.centeredSlides){for(var s,l=r[o].swiperSlideSize,u=o+1;u<r.length;u+=1)r[u]&&!s&&(l+=r[u].swiperSlideSize,a+=1,l>i&&(s=!0));for(var c=o-1;c>=0;c-=1)r[c]&&!s&&(l+=r[c].swiperSlideSize,a+=1,l>i&&(s=!0))}else for(var d=o+1;d<r.length;d+=1)n[d]-n[o]<i&&(a+=1);return a},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t,r=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(t=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),t||i()),n.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.$el.removeClass(""+r.params.containerModifierClass+n+" wp8-"+n).addClass(""+r.params.containerModifierClass+e),(W.isIE||W.isEdge)&&(U.pointerEvents||U.prefixedPointerEvents)&&r.$el.addClass(r.params.containerModifierClass+"wp8-"+e),r.params.direction=e,r.slides.each((function(t,r){"vertical"===e?r.style.width="":r.style.height=""})),r.emit("changeDirection"),t&&r.update()),r},t.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var r=this,n=r.params,i=r.$el,o=r.$wrapperEl,a=r.slides;return"undefined"===typeof r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((function(e){r.off(e)})),!1!==e&&(r.$el[0].swiper=null,r.$el.data("swiper",null),V.deleteProps(r)),r.destroyed=!0),null},t.extendDefaults=function(e){V.extend(rt,e)},r.extendedDefaults.get=function(){return rt},r.defaults.get=function(){return et},r.Class.get=function(){return e},r.$.get=function(){return n},Object.defineProperties(t,r),t}($),it={name:"device",proto:{device:je},static:{device:je}},ot={name:"support",proto:{support:U},static:{support:U}},at={name:"browser",proto:{browser:W},static:{browser:W}},st={name:"resize",create:function(){var e=this;V.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){var e=this;t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(){var e=this;t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},lt={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,r){void 0===r&&(r={});var n=this,i=lt.func,o=new i((function(e){if(1!==e.length){var r=function(){n.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(r):t.setTimeout(r,0)}else n.emit("observerUpdate",e[0])}));o.observe(e,{attributes:"undefined"===typeof r.attributes||r.attributes,childList:"undefined"===typeof r.childList||r.childList,characterData:"undefined"===typeof r.characterData||r.characterData}),n.observer.observers.push(o)},init:function(){var e=this;if(U.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),r=0;r<t.length;r+=1)e.observer.attach(t[r]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach((function(e){e.disconnect()})),e.observer.observers=[]}},ut={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;V.extend(e,{observer:{init:lt.init.bind(e),attach:lt.attach.bind(e),destroy:lt.destroy.bind(e),observers:[]}})},on:{init:function(){var e=this;e.observer.init()},destroy:function(){var e=this;e.observer.destroy()}}},ct={update:function(e){var t=this,r=t.params,n=r.slidesPerView,i=r.slidesPerGroup,o=r.centeredSlides,a=t.params.virtual,s=a.addSlidesBefore,l=a.addSlidesAfter,u=t.virtual,c=u.from,d=u.to,h=u.slides,f=u.slidesGrid,p=u.renderSlide,m=u.offset;t.updateActiveIndex();var g,v,y,b=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",o?(v=Math.floor(n/2)+i+s,y=Math.floor(n/2)+i+l):(v=n+(i-1)+s,y=i+l);var _=Math.max((b||0)-y,0),w=Math.min((b||0)+v,h.length-1),x=(t.slidesGrid[_]||0)-(t.slidesGrid[0]||0);function k(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(V.extend(t.virtual,{from:_,to:w,offset:x,slidesGrid:t.slidesGrid}),c===_&&d===w&&!e)return t.slidesGrid!==f&&x!==m&&t.slides.css(g,x+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:x,from:_,to:w,slides:function(){for(var e=[],t=_;t<=w;t+=1)e.push(h[t]);return e}()}),void k();var S=[],M=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var C=c;C<=d;C+=1)(C<_||C>w)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+C+'"]').remove();for(var T=0;T<h.length;T+=1)T>=_&&T<=w&&("undefined"===typeof d||e?M.push(T):(T>d&&M.push(T),T<c&&S.push(T)));M.forEach((function(e){t.$wrapperEl.append(p(h[e],e))})),S.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(p(h[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,x+"px"),k()},renderSlide:function(e,t){var r=this,i=r.params.virtual;if(i.cache&&r.virtual.cache[t])return r.virtual.cache[t];var o=i.renderSlide?n(i.renderSlide.call(r,e,t)):n('<div class="'+r.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return o.attr("data-swiper-slide-index")||o.attr("data-swiper-slide-index",t),i.cache&&(r.virtual.cache[t]=o),o},appendSlide:function(e){var t=this;if("object"===typeof e&&"length"in e)for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.push(e[r]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,r=t.activeIndex,n=r+1,i=1;if(Array.isArray(e)){for(var o=0;o<e.length;o+=1)e[o]&&t.virtual.slides.unshift(e[o]);n=r+e.length,i=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var a=t.virtual.cache,s={};Object.keys(a).forEach((function(e){s[parseInt(e,10)+i]=a[e]})),t.virtual.cache=s}t.virtual.update(!0),t.slideTo(n,0)},removeSlide:function(e){var t=this;if("undefined"!==typeof e&&null!==e){var r=t.activeIndex;if(Array.isArray(e))for(var n=e.length-1;n>=0;n-=1)t.virtual.slides.splice(e[n],1),t.params.virtual.cache&&delete t.virtual.cache[e[n]],e[n]<r&&(r-=1),r=Math.max(r,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<r&&(r-=1),r=Math.max(r,0);t.virtual.update(!0),t.slideTo(r,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},dt={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;V.extend(e,{virtual:{update:ct.update.bind(e),appendSlide:ct.appendSlide.bind(e),prependSlide:ct.prependSlide.bind(e),removeSlide:ct.removeSlide.bind(e),removeAllSlides:ct.removeAllSlides.bind(e),renderSlide:ct.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};V.extend(e.params,t),V.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){var e=this;e.params.virtual.enabled&&e.virtual.update()}}},ht={handle:function(r){var n=this,i=n.rtlTranslate,o=r;o.originalEvent&&(o=o.originalEvent);var a=o.keyCode||o.charCode;if(!n.allowSlideNext&&(n.isHorizontal()&&39===a||n.isVertical()&&40===a||34===a))return!1;if(!n.allowSlidePrev&&(n.isHorizontal()&&37===a||n.isVertical()&&38===a||33===a))return!1;if(!(o.shiftKey||o.altKey||o.ctrlKey||o.metaKey)&&(!e.activeElement||!e.activeElement.nodeName||"input"!==e.activeElement.nodeName.toLowerCase()&&"textarea"!==e.activeElement.nodeName.toLowerCase())){if(n.params.keyboard.onlyInViewport&&(33===a||34===a||37===a||39===a||38===a||40===a)){var s=!1;if(n.$el.parents("."+n.params.slideClass).length>0&&0===n.$el.parents("."+n.params.slideActiveClass).length)return;var l=t.innerWidth,u=t.innerHeight,c=n.$el.offset();i&&(c.left-=n.$el[0].scrollLeft);for(var d=[[c.left,c.top],[c.left+n.width,c.top],[c.left,c.top+n.height],[c.left+n.width,c.top+n.height]],h=0;h<d.length;h+=1){var f=d[h];f[0]>=0&&f[0]<=l&&f[1]>=0&&f[1]<=u&&(s=!0)}if(!s)return}n.isHorizontal()?(33!==a&&34!==a&&37!==a&&39!==a||(o.preventDefault?o.preventDefault():o.returnValue=!1),(34!==a&&39!==a||i)&&(33!==a&&37!==a||!i)||n.slideNext(),(33!==a&&37!==a||i)&&(34!==a&&39!==a||!i)||n.slidePrev()):(33!==a&&34!==a&&38!==a&&40!==a||(o.preventDefault?o.preventDefault():o.returnValue=!1),34!==a&&40!==a||n.slideNext(),33!==a&&38!==a||n.slidePrev()),n.emit("keyPress",a)}},enable:function(){var t=this;t.keyboard.enabled||(n(e).on("keydown",t.keyboard.handle),t.keyboard.enabled=!0)},disable:function(){var t=this;t.keyboard.enabled&&(n(e).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},ft={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;V.extend(e,{keyboard:{enabled:!1,enable:ht.enable.bind(e),disable:ht.disable.bind(e),handle:ht.handle.bind(e)}})},on:{init:function(){var e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(){var e=this;e.keyboard.enabled&&e.keyboard.disable()}}};function pt(){var t="onwheel",r=t in e;if(!r){var n=e.createElement("div");n.setAttribute(t,"return;"),r="function"===typeof n[t]}return!r&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(r=e.implementation.hasFeature("Events.wheel","3.0")),r}var mt={lastScrollTime:V.now(),event:function(){return t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":pt()?"wheel":"mousewheel"}(),normalize:function(e){var t=10,r=40,n=800,i=0,o=0,a=0,s=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=o,o=0),a=i*t,s=o*t,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||s)&&e.deltaMode&&(1===e.deltaMode?(a*=r,s*=r):(a*=n,s*=n)),a&&!i&&(i=a<1?-1:1),s&&!o&&(o=s<1?-1:1),{spinX:i,spinY:o,pixelX:a,pixelY:s}},handleMouseEnter:function(){var e=this;e.mouseEntered=!0},handleMouseLeave:function(){var e=this;e.mouseEntered=!1},handle:function(e){var r=e,n=this,i=n.params.mousewheel;if(!n.mouseEntered&&!i.releaseOnEdges)return!0;r.originalEvent&&(r=r.originalEvent);var o=0,a=n.rtlTranslate?-1:1,s=mt.normalize(r);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(i.invert&&(o=-o),n.params.freeMode){n.params.loop&&n.loopFix();var l=n.getTranslate()+o*i.sensitivity,u=n.isBeginning,c=n.isEnd;if(l>=n.minTranslate()&&(l=n.minTranslate()),l<=n.maxTranslate()&&(l=n.maxTranslate()),n.setTransition(0),n.setTranslate(l),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!u&&n.isBeginning||!c&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=V.nextTick((function(){n.slideToClosest()}),300)),n.emit("scroll",r),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),l===n.minTranslate()||l===n.maxTranslate())return!0}else{if(V.now()-n.mousewheel.lastScrollTime>60)if(o<0)if(n.isEnd&&!n.params.loop||n.animating){if(i.releaseOnEdges)return!0}else n.slideNext(),n.emit("scroll",r);else if(n.isBeginning&&!n.params.loop||n.animating){if(i.releaseOnEdges)return!0}else n.slidePrev(),n.emit("scroll",r);n.mousewheel.lastScrollTime=(new t.Date).getTime()}return r.preventDefault?r.preventDefault():r.returnValue=!1,!1},enable:function(){var e=this;if(!mt.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=n(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(mt.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!mt.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=n(e.params.mousewheel.eventsTarged)),t.off(mt.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},gt={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;V.extend(e,{mousewheel:{enabled:!1,enable:mt.enable.bind(e),disable:mt.disable.bind(e),handle:mt.handle.bind(e),handleMouseEnter:mt.handleMouseEnter.bind(e),handleMouseLeave:mt.handleMouseLeave.bind(e),lastScrollTime:V.now()}})},on:{init:function(){var e=this;e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(){var e=this;e.mousewheel.enabled&&e.mousewheel.disable()}}},vt={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var r=e.navigation,n=r.$nextEl,i=r.$prevEl;i&&i.length>0&&(e.isBeginning?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,r=this,i=r.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=n(i.nextEl),r.params.uniqueNavElements&&"string"===typeof i.nextEl&&e.length>1&&1===r.$el.find(i.nextEl).length&&(e=r.$el.find(i.nextEl))),i.prevEl&&(t=n(i.prevEl),r.params.uniqueNavElements&&"string"===typeof i.prevEl&&t.length>1&&1===r.$el.find(i.prevEl).length&&(t=r.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",r.navigation.onNextClick),t&&t.length>0&&t.on("click",r.navigation.onPrevClick),V.extend(r.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,r=t.$nextEl,n=t.$prevEl;r&&r.length&&(r.off("click",e.navigation.onNextClick),r.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}},yt={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;V.extend(e,{navigation:{init:vt.init.bind(e),update:vt.update.bind(e),destroy:vt.destroy.bind(e),onNextClick:vt.onNextClick.bind(e),onPrevClick:vt.onPrevClick.bind(e)}})},on:{init:function(){var e=this;e.navigation.init(),e.navigation.update()},toEdge:function(){var e=this;e.navigation.update()},fromEdge:function(){var e=this;e.navigation.update()},destroy:function(){var e=this;e.navigation.destroy()},click:function(e){var t,r=this,i=r.navigation,o=i.$nextEl,a=i.$prevEl;!r.params.navigation.hideOnClick||n(e.target).is(a)||n(e.target).is(o)||(o?t=o.hasClass(r.params.navigation.hiddenClass):a&&(t=a.hasClass(r.params.navigation.hiddenClass)),!0===t?r.emit("navigationShow",r):r.emit("navigationHide",r),o&&o.toggleClass(r.params.navigation.hiddenClass),a&&a.toggleClass(r.params.navigation.hiddenClass))}}},bt={update:function(){var e=this,t=e.rtl,r=e.params.pagination;if(r.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,o=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,s=e.params.loop?Math.ceil((o-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),i>o-1-2*e.loopedSlides&&(i-=o-2*e.loopedSlides),i>s-1&&(i-=s),i<0&&"bullets"!==e.params.paginationType&&(i=s+i)):i="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===r.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var l,u,c,d=e.pagination.bullets;if(r.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(r.dynamicMainBullets+4)+"px"),r.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>r.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=r.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=i-e.pagination.dynamicBulletIndex,u=l+(Math.min(d.length,r.dynamicMainBullets)-1),c=(u+l)/2),d.removeClass(r.bulletActiveClass+" "+r.bulletActiveClass+"-next "+r.bulletActiveClass+"-next-next "+r.bulletActiveClass+"-prev "+r.bulletActiveClass+"-prev-prev "+r.bulletActiveClass+"-main"),a.length>1)d.each((function(e,t){var o=n(t),a=o.index();a===i&&o.addClass(r.bulletActiveClass),r.dynamicBullets&&(a>=l&&a<=u&&o.addClass(r.bulletActiveClass+"-main"),a===l&&o.prev().addClass(r.bulletActiveClass+"-prev").prev().addClass(r.bulletActiveClass+"-prev-prev"),a===u&&o.next().addClass(r.bulletActiveClass+"-next").next().addClass(r.bulletActiveClass+"-next-next"))}));else{var h=d.eq(i);if(h.addClass(r.bulletActiveClass),r.dynamicBullets){for(var f=d.eq(l),p=d.eq(u),m=l;m<=u;m+=1)d.eq(m).addClass(r.bulletActiveClass+"-main");f.prev().addClass(r.bulletActiveClass+"-prev").prev().addClass(r.bulletActiveClass+"-prev-prev"),p.next().addClass(r.bulletActiveClass+"-next").next().addClass(r.bulletActiveClass+"-next-next")}}if(r.dynamicBullets){var g=Math.min(d.length,r.dynamicMainBullets+4),v=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,y=t?"right":"left";d.css(e.isHorizontal()?y:"top",v+"px")}}if("fraction"===r.type&&(a.find("."+r.currentClass).text(r.formatFractionCurrent(i+1)),a.find("."+r.totalClass).text(r.formatFractionTotal(s))),"progressbar"===r.type){var b;b=r.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var _=(i+1)/s,w=1,x=1;"horizontal"===b?w=_:x=_,a.find("."+r.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+x+")").transition(e.params.speed)}"custom"===r.type&&r.renderCustom?(a.html(r.renderCustom(e,i+1,s)),e.emit("paginationRender",e,a[0])):e.emit("paginationUpdate",e,a[0]),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](r.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,i="";if("bullets"===t.type){for(var o=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,a=0;a<o;a+=1)t.renderBullet?i+=t.renderBullet.call(e,a,t.bulletClass):i+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";n.html(i),e.pagination.bullets=n.find("."+t.bulletClass)}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',n.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',n.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var r=n(t.el);0!==r.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&r.length>1&&1===e.$el.find(t.el).length&&(r=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&r.addClass(t.clickableClass),r.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(r.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&r.addClass(t.progressbarOppositeClass),t.clickable&&r.on("click","."+t.bulletClass,(function(t){t.preventDefault();var r=n(this).index()*e.params.slidesPerGroup;e.params.loop&&(r+=e.loopedSlides),e.slideTo(r)})),V.extend(e.pagination,{$el:r,el:r[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var r=e.pagination.$el;r.removeClass(t.hiddenClass),r.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&r.off("click","."+t.bulletClass)}}},_t={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;V.extend(e,{pagination:{init:bt.init.bind(e),render:bt.render.bind(e),update:bt.update.bind(e),destroy:bt.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;(e.params.loop||"undefined"===typeof e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){var e=this;e.params.loop||e.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){var e=this;e.pagination.destroy()},click:function(e){var t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!n(e.target).hasClass(t.params.pagination.bulletClass)){var r=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);!0===r?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},wt={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,r=e.rtlTranslate,n=e.progress,i=t.dragSize,o=t.trackSize,a=t.$dragEl,s=t.$el,l=e.params.scrollbar,u=i,c=(o-i)*n;r?(c=-c,c>0?(u=i-c,c=0):-c+i>o&&(u=o+c)):c<0?(u=i+c,c=0):c+i>o&&(u=o-c),e.isHorizontal()?(U.transforms3d?a.transform("translate3d("+c+"px, 0, 0)"):a.transform("translateX("+c+"px)"),a[0].style.width=u+"px"):(U.transforms3d?a.transform("translate3d(0px, "+c+"px, 0)"):a.transform("translateY("+c+"px)"),a[0].style.height=u+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),s[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){s[0].style.opacity=0,s.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,r=t.$dragEl,n=t.$el;r[0].style.width="",r[0].style.height="";var i,o=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,a=e.size/e.virtualSize,s=a*(o/e.size);i="auto"===e.params.scrollbar.dragSize?o*a:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?r[0].style.width=i+"px":r[0].style.height=i+"px",n[0].style.display=a>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),V.extend(t,{trackSize:o,divider:a,moveDivider:s,dragSize:i}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){var t=this;return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,r=this,n=r.scrollbar,i=r.rtlTranslate,o=n.$el,a=n.dragSize,s=n.trackSize,l=n.dragStartPos;t=(n.getPointerPosition(e)-o.offset()[r.isHorizontal()?"left":"top"]-(null!==l?l:a/2))/(s-a),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var u=r.minTranslate()+(r.maxTranslate()-r.minTranslate())*t;r.updateProgress(u),r.setTranslate(u),r.updateActiveIndex(),r.updateSlidesClasses()},onDragStart:function(e){var t=this,r=t.params.scrollbar,n=t.scrollbar,i=t.$wrapperEl,o=n.$el,a=n.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===a[0]||e.target===a?n.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),a.transition(100),n.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),o.transition(0),r.hide&&o.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,r=t.scrollbar,n=t.$wrapperEl,i=r.$el,o=r.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,r.setDragPosition(e),n.transition(0),i.transition(0),o.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,r=t.params.scrollbar,n=t.scrollbar,i=n.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,r.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=V.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),r.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var r=t.scrollbar,n=t.touchEventsTouch,i=t.touchEventsDesktop,o=t.params,a=r.$el,s=a[0],l=!(!U.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},u=!(!U.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};U.touch?(s.addEventListener(n.start,t.scrollbar.onDragStart,l),s.addEventListener(n.move,t.scrollbar.onDragMove,l),s.addEventListener(n.end,t.scrollbar.onDragEnd,u)):(s.addEventListener(i.start,t.scrollbar.onDragStart,l),e.addEventListener(i.move,t.scrollbar.onDragMove,l),e.addEventListener(i.end,t.scrollbar.onDragEnd,u))}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var r=t.scrollbar,n=t.touchEventsTouch,i=t.touchEventsDesktop,o=t.params,a=r.$el,s=a[0],l=!(!U.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},u=!(!U.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};U.touch?(s.removeEventListener(n.start,t.scrollbar.onDragStart,l),s.removeEventListener(n.move,t.scrollbar.onDragMove,l),s.removeEventListener(n.end,t.scrollbar.onDragEnd,u)):(s.removeEventListener(i.start,t.scrollbar.onDragStart,l),e.removeEventListener(i.move,t.scrollbar.onDragMove,l),e.removeEventListener(i.end,t.scrollbar.onDragEnd,u))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,r=e.$el,i=e.params.scrollbar,o=n(i.el);e.params.uniqueNavElements&&"string"===typeof i.el&&o.length>1&&1===r.find(i.el).length&&(o=r.find(i.el));var a=o.find("."+e.params.scrollbar.dragClass);0===a.length&&(a=n('<div class="'+e.params.scrollbar.dragClass+'"></div>'),o.append(a)),V.extend(t,{$el:o,el:o[0],$dragEl:a,dragEl:a[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){var e=this;e.scrollbar.disableDraggable()}},xt={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;V.extend(e,{scrollbar:{init:wt.init.bind(e),destroy:wt.destroy.bind(e),updateSize:wt.updateSize.bind(e),setTranslate:wt.setTranslate.bind(e),setTransition:wt.setTransition.bind(e),enableDraggable:wt.enableDraggable.bind(e),disableDraggable:wt.disableDraggable.bind(e),setDragPosition:wt.setDragPosition.bind(e),getPointerPosition:wt.getPointerPosition.bind(e),onDragStart:wt.onDragStart.bind(e),onDragMove:wt.onDragMove.bind(e),onDragEnd:wt.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){var e=this;e.scrollbar.updateSize()},resize:function(){var e=this;e.scrollbar.updateSize()},observerUpdate:function(){var e=this;e.scrollbar.updateSize()},setTranslate:function(){var e=this;e.scrollbar.setTranslate()},setTransition:function(e){var t=this;t.scrollbar.setTransition(e)},destroy:function(){var e=this;e.scrollbar.destroy()}}},kt={setTransform:function(e,t){var r=this,i=r.rtl,o=n(e),a=i?-1:1,s=o.attr("data-swiper-parallax")||"0",l=o.attr("data-swiper-parallax-x"),u=o.attr("data-swiper-parallax-y"),c=o.attr("data-swiper-parallax-scale"),d=o.attr("data-swiper-parallax-opacity");if(l||u?(l=l||"0",u=u||"0"):r.isHorizontal()?(l=s,u="0"):(u=s,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*a+"%":l*t*a+"px",u=u.indexOf("%")>=0?parseInt(u,10)*t+"%":u*t+"px","undefined"!==typeof d&&null!==d){var h=d-(d-1)*(1-Math.abs(t));o[0].style.opacity=h}if("undefined"===typeof c||null===c)o.transform("translate3d("+l+", "+u+", 0px)");else{var f=c-(c-1)*(1-Math.abs(t));o.transform("translate3d("+l+", "+u+", 0px) scale("+f+")")}},setTranslate:function(){var e=this,t=e.$el,r=e.slides,i=e.progress,o=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,r){e.parallax.setTransform(r,i)})),r.each((function(t,r){var a=r.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(t/2)-i*(o.length-1)),a=Math.min(Math.max(a,-1),1),n(r).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,r){e.parallax.setTransform(r,a)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed);var t=this,r=t.$el;r.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,r){var i=n(r),o=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(o=0),i.transition(o)}))}},St={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;V.extend(e,{parallax:{setTransform:kt.setTransform.bind(e),setTranslate:kt.setTranslate.bind(e),setTransition:kt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e){var t=this;t.params.parallax.enabled&&t.parallax.setTransition(e)}}},Mt={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,r=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY,o=Math.sqrt(Math.pow(n-t,2)+Math.pow(i-r,2));return o},onGestureStart:function(e){var t=this,r=t.params.zoom,i=t.zoom,o=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!U.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,o.scaleStart=Mt.getDistanceBetweenTouches(e)}o.$slideEl&&o.$slideEl.length||(o.$slideEl=n(e.target).closest(".swiper-slide"),0===o.$slideEl.length&&(o.$slideEl=t.slides.eq(t.activeIndex)),o.$imageEl=o.$slideEl.find("img, svg, canvas"),o.$imageWrapEl=o.$imageEl.parent("."+r.containerClass),o.maxRatio=o.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,0!==o.$imageWrapEl.length)?(o.$imageEl.transition(0),t.zoom.isScaling=!0):o.$imageEl=void 0},onGestureChange:function(e){var t=this,r=t.params.zoom,n=t.zoom,i=n.gesture;if(!U.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=Mt.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(U.gestures?n.scale=e.scale*n.currentScale:n.scale=i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scale<r.minRatio&&(n.scale=r.minRatio+1-Math.pow(r.minRatio-n.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")"))},onGestureEnd:function(e){var t=this,r=t.params.zoom,n=t.zoom,i=n.gesture;if(!U.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!je.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),r.minRatio),i.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+n.scale+")"),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this,r=t.zoom,n=r.gesture,i=r.image;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(je.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,r=t.zoom,n=r.gesture,i=r.image,o=r.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(t.allowClick=!1,i.isTouched&&n.$slideEl)){i.isMoved||(i.width=n.$imageEl[0].offsetWidth,i.height=n.$imageEl[0].offsetHeight,i.startX=V.getTranslate(n.$imageWrapEl[0],"x")||0,i.startY=V.getTranslate(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),t.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var a=i.width*r.scale,s=i.height*r.scale;if(!(a<n.slideWidth&&s<n.slideHeight)){if(i.minX=Math.min(n.slideWidth/2-a/2,0),i.maxX=-i.minX,i.minY=Math.min(n.slideHeight/2-s/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!r.isScaling){if(t.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),o.prevPositionX||(o.prevPositionX=i.touchesCurrent.x),o.prevPositionY||(o.prevPositionY=i.touchesCurrent.y),o.prevTime||(o.prevTime=Date.now()),o.x=(i.touchesCurrent.x-o.prevPositionX)/(Date.now()-o.prevTime)/2,o.y=(i.touchesCurrent.y-o.prevPositionY)/(Date.now()-o.prevTime)/2,Math.abs(i.touchesCurrent.x-o.prevPositionX)<2&&(o.x=0),Math.abs(i.touchesCurrent.y-o.prevPositionY)<2&&(o.y=0),o.prevPositionX=i.touchesCurrent.x,o.prevPositionY=i.touchesCurrent.y,o.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}}},onTouchEnd:function(){var e=this,t=e.zoom,r=t.gesture,n=t.image,i=t.velocity;if(r.$imageEl&&0!==r.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var o=300,a=300,s=i.x*o,l=n.currentX+s,u=i.y*a,c=n.currentY+u;0!==i.x&&(o=Math.abs((l-n.currentX)/i.x)),0!==i.y&&(a=Math.abs((c-n.currentY)/i.y));var d=Math.max(o,a);n.currentX=l,n.currentY=c;var h=n.width*t.scale,f=n.height*t.scale;n.minX=Math.min(r.slideWidth/2-h/2,0),n.maxX=-n.minX,n.minY=Math.min(r.slideHeight/2-f/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),r.$imageWrapEl.transition(d).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,r=t.gesture;r.$slideEl&&e.previousIndex!==e.activeIndex&&(r.$imageEl.transform("translate3d(0,0,0) scale(1)"),r.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,r.$slideEl=void 0,r.$imageEl=void 0,r.$imageWrapEl=void 0)},toggle:function(e){var t=this,r=t.zoom;r.scale&&1!==r.scale?r.out():r.in(e)},in:function(e){var t,r,i,o,a,s,l,u,c,d,h,f,p,m,g,v,y,b,_=this,w=_.zoom,x=_.params.zoom,k=w.gesture,S=w.image;(k.$slideEl||(k.$slideEl=_.clickedSlide?n(_.clickedSlide):_.slides.eq(_.activeIndex),k.$imageEl=k.$slideEl.find("img, svg, canvas"),k.$imageWrapEl=k.$imageEl.parent("."+x.containerClass)),k.$imageEl&&0!==k.$imageEl.length)&&(k.$slideEl.addClass(""+x.zoomedSlideClass),"undefined"===typeof S.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,r="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=S.touchesStart.x,r=S.touchesStart.y),w.scale=k.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,w.currentScale=k.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,e?(y=k.$slideEl[0].offsetWidth,b=k.$slideEl[0].offsetHeight,i=k.$slideEl.offset().left,o=k.$slideEl.offset().top,a=i+y/2-t,s=o+b/2-r,c=k.$imageEl[0].offsetWidth,d=k.$imageEl[0].offsetHeight,h=c*w.scale,f=d*w.scale,p=Math.min(y/2-h/2,0),m=Math.min(b/2-f/2,0),g=-p,v=-m,l=a*w.scale,u=s*w.scale,l<p&&(l=p),l>g&&(l=g),u<m&&(u=m),u>v&&(u=v)):(l=0,u=0),k.$imageWrapEl.transition(300).transform("translate3d("+l+"px, "+u+"px,0)"),k.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+w.scale+")"))},out:function(){var e=this,t=e.zoom,r=e.params.zoom,i=t.gesture;i.$slideEl||(i.$slideEl=e.clickedSlide?n(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+r.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+r.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var r=!("touchstart"!==e.touchEvents.start||!U.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};U.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,r),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,r),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,r)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,r),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,r),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,r)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var r=!("touchstart"!==e.touchEvents.start||!U.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};U.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,r),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,r),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,r)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,r),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,r),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,r)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}}},Ct={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(r){t[r]=Mt[r].bind(e)})),V.extend(e,{zoom:t});var r=1;Object.defineProperty(e.zoom,"scale",{get:function(){return r},set:function(t){if(r!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,i=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,i)}r=t}})},on:{init:function(){var e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy:function(){var e=this;e.zoom.disable()},touchStart:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},Tt={loadInSlide:function(e,t){void 0===t&&(t=!0);var r=this,i=r.params.lazy;if("undefined"!==typeof e&&0!==r.slides.length){var o=r.virtual&&r.params.virtual.enabled,a=o?r.$wrapperEl.children("."+r.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):r.slides.eq(e),s=a.find("."+i.elementClass+":not(."+i.loadedClass+"):not(."+i.loadingClass+")");!a.hasClass(i.elementClass)||a.hasClass(i.loadedClass)||a.hasClass(i.loadingClass)||(s=s.add(a[0])),0!==s.length&&s.each((function(e,o){var s=n(o);s.addClass(i.loadingClass);var l=s.attr("data-background"),u=s.attr("data-src"),c=s.attr("data-srcset"),d=s.attr("data-sizes");r.loadImage(s[0],u||l,c,d,!1,(function(){if("undefined"!==typeof r&&null!==r&&r&&(!r||r.params)&&!r.destroyed){if(l?(s.css("background-image",'url("'+l+'")'),s.removeAttr("data-background")):(c&&(s.attr("srcset",c),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),u&&(s.attr("src",u),s.removeAttr("data-src"))),s.addClass(i.loadedClass).removeClass(i.loadingClass),a.find("."+i.preloaderClass).remove(),r.params.loop&&t){var e=a.attr("data-swiper-slide-index");if(a.hasClass(r.params.slideDuplicateClass)){var n=r.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+r.params.slideDuplicateClass+")");r.lazy.loadInSlide(n.index(),!1)}else{var o=r.$wrapperEl.children("."+r.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');r.lazy.loadInSlide(o.index(),!1)}}r.emit("lazyImageReady",a[0],s[0])}})),r.emit("lazyImageLoad",a[0],s[0])}))}},load:function(){var e=this,t=e.$wrapperEl,r=e.params,i=e.slides,o=e.activeIndex,a=e.virtual&&r.virtual.enabled,s=r.lazy,l=r.slidesPerView;function u(e){if(a){if(t.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(i[e])return!0;return!1}function c(e){return a?n(e).attr("data-swiper-slide-index"):n(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+r.slideVisibleClass).each((function(t,r){var i=a?n(r).attr("data-swiper-slide-index"):n(r).index();e.lazy.loadInSlide(i)}));else if(l>1)for(var d=o;d<o+l;d+=1)u(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(o);if(s.loadPrevNext)if(l>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var h=s.loadPrevNextAmount,f=l,p=Math.min(o+f+Math.max(h,f),i.length),m=Math.max(o-Math.max(f,h),0),g=o+l;g<p;g+=1)u(g)&&e.lazy.loadInSlide(g);for(var v=m;v<o;v+=1)u(v)&&e.lazy.loadInSlide(v)}else{var y=t.children("."+r.slideNextClass);y.length>0&&e.lazy.loadInSlide(c(y));var b=t.children("."+r.slidePrevClass);b.length>0&&e.lazy.loadInSlide(c(b))}}},Ot={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;V.extend(e,{lazy:{initialImageLoaded:!1,load:Tt.load.bind(e),loadInSlide:Tt.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},Lt={LinearSpline:function(e,t){var r,n,i=function(){var e,t,r;return function(n,i){t=-1,e=n.length;while(e-t>1)r=e+t>>1,n[r]<=i?t=r:e=r;return e}}();return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=i(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Lt.LinearSpline(t.slidesGrid,e.slidesGrid):new Lt.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var r,n,i=this,o=i.controller.control;function a(e){var t=i.rtlTranslate?-i.translate:i.translate;"slide"===i.params.controller.by&&(i.controller.getInterpolateFunction(e),n=-i.controller.spline.interpolate(-t)),n&&"container"!==i.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(i.maxTranslate()-i.minTranslate()),n=(t-i.minTranslate())*r+e.minTranslate()),i.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,i),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s<o.length;s+=1)o[s]!==t&&o[s]instanceof nt&&a(o[s]);else o instanceof nt&&t!==o&&a(o)},setTransition:function(e,t){var r,n=this,i=n.controller.control;function o(t){t.setTransition(e,n),0!==e&&(t.transitionStart(),t.params.autoHeight&&V.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){i&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==t&&i[r]instanceof nt&&o(i[r]);else i instanceof nt&&t!==i&&o(i)}},At={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;V.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:Lt.getInterpolateFunction.bind(e),setTranslate:Lt.setTranslate.bind(e),setTransition:Lt.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){var r=this;r.controller.control&&r.controller.setTranslate(e,t)},setTransition:function(e,t){var r=this;r.controller.control&&r.controller.setTransition(e,t)}}},Dt={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,r=t.params.a11y;if(13===e.keyCode){var i=n(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(r.lastSlideMessage):t.a11y.notify(r.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(r.firstSlideMessage):t.a11y.notify(r.prevSlideMessage)),t.pagination&&i.is("."+t.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this,r=t.a11y.liveRegion;0!==r.length&&(r.html(""),r.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,r=t.$nextEl,n=t.$prevEl;n&&n.length>0&&(e.isBeginning?e.a11y.disableEl(n):e.a11y.enableEl(n)),r&&r.length>0&&(e.isEnd?e.a11y.disableEl(r):e.a11y.enableEl(r))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(r,i){var o=n(i);e.a11y.makeElFocusable(o),e.a11y.addElRole(o,"button"),e.a11y.addElLabel(o,t.paginationBulletMessage.replace(/{{index}}/,o.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,r,n=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(r=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,n.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),r&&(e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,n.prevSlideMessage),r.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,r=this;r.a11y.liveRegion&&r.a11y.liveRegion.length>0&&r.a11y.liveRegion.remove(),r.navigation&&r.navigation.$nextEl&&(e=r.navigation.$nextEl),r.navigation&&r.navigation.$prevEl&&(t=r.navigation.$prevEl),e&&e.off("keydown",r.a11y.onEnterKey),t&&t.off("keydown",r.a11y.onEnterKey),r.pagination&&r.params.pagination.clickable&&r.pagination.bullets&&r.pagination.bullets.length&&r.pagination.$el.off("keydown","."+r.params.pagination.bulletClass,r.a11y.onEnterKey)}},Et={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;V.extend(e,{a11y:{liveRegion:n('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(Dt).forEach((function(t){e.a11y[t]=Dt[t].bind(e)}))},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(){var e=this;e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(){var e=this;e.params.a11y.enabled&&e.a11y.destroy()}}},It={init:function(){var e=this;if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var r=e.history;r.initialized=!0,r.paths=It.getPathValues(),(r.paths.key||r.paths.value)&&(r.scrollToSlide(0,r.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this;e.params.history.replaceState||t.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=It.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),r=e.length,n=e[r-2],i=e[r-1];return{key:n,value:i}},setHistory:function(e,r){var n=this;if(n.history.initialized&&n.params.history.enabled){var i=n.slides.eq(r),o=It.slugify(i.attr("data-history"));t.location.pathname.includes(e)||(o=e+"/"+o);var a=t.history.state;a&&a.value===o||(n.params.history.replaceState?t.history.replaceState({value:o},null,o):t.history.pushState({value:o},null,o))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,r){var n=this;if(t)for(var i=0,o=n.slides.length;i<o;i+=1){var a=n.slides.eq(i),s=It.slugify(a.attr("data-history"));if(s===t&&!a.hasClass(n.params.slideDuplicateClass)){var l=a.index();n.slideTo(l,e,r)}}else n.slideTo(0,e,r)}},jt={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;V.extend(e,{history:{init:It.init.bind(e),setHistory:It.setHistory.bind(e),setHistoryPopState:It.setHistoryPopState.bind(e),scrollToSlide:It.scrollToSlide.bind(e),destroy:It.destroy.bind(e)}})},on:{init:function(){var e=this;e.params.history.enabled&&e.history.init()},destroy:function(){var e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},Pt={onHashCange:function(){var t=this,r=e.location.hash.replace("#",""),n=t.slides.eq(t.activeIndex).attr("data-hash");if(r!==n){var i=t.$wrapperEl.children("."+t.params.slideClass+'[data-hash="'+r+'"]').index();if("undefined"===typeof i)return;t.slideTo(i)}},setHash:function(){var r=this;if(r.hashNavigation.initialized&&r.params.hashNavigation.enabled)if(r.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+r.slides.eq(r.activeIndex).attr("data-hash")||!1);else{var n=r.slides.eq(r.activeIndex),i=n.attr("data-hash")||n.attr("data-history");e.location.hash=i||""}},init:function(){var r=this;if(!(!r.params.hashNavigation.enabled||r.params.history&&r.params.history.enabled)){r.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var o=0,a=0,s=r.slides.length;a<s;a+=1){var l=r.slides.eq(a),u=l.attr("data-hash")||l.attr("data-history");if(u===i&&!l.hasClass(r.params.slideDuplicateClass)){var c=l.index();r.slideTo(c,o,r.params.runCallbacksOnInit,!0)}}r.params.hashNavigation.watchState&&n(t).on("hashchange",r.hashNavigation.onHashCange)}},destroy:function(){var e=this;e.params.hashNavigation.watchState&&n(t).off("hashchange",e.hashNavigation.onHashCange)}},Rt={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;V.extend(e,{hashNavigation:{initialized:!1,init:Pt.init.bind(e),destroy:Pt.destroy.bind(e),setHash:Pt.setHash.bind(e),onHashCange:Pt.onHashCange.bind(e)}})},on:{init:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(){var e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()}}},Nt={run:function(){var e=this,t=e.slides.eq(e.activeIndex),r=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(r=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=V.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),r)},start:function(){var e=this;return"undefined"===typeof e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&("undefined"!==typeof e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},Bt={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;V.extend(e,{autoplay:{running:!1,paused:!1,run:Nt.run.bind(e),start:Nt.start.bind(e),stop:Nt.stop.bind(e),pause:Nt.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){var e=this;e.params.autoplay.enabled&&e.autoplay.start()},beforeTransitionStart:function(e,t){var r=this;r.autoplay.running&&(t||!r.params.autoplay.disableOnInteraction?r.autoplay.pause(e):r.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){var e=this;e.autoplay.running&&e.autoplay.stop()}}},Yt={setTranslate:function(){for(var e=this,t=e.slides,r=0;r<t.length;r+=1){var n=e.slides.eq(r),i=n[0].swiperSlideOffset,o=-i;e.params.virtualTranslate||(o-=e.translate);var a=0;e.isHorizontal()||(a=o,o=0);var s=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0);n.css({opacity:s}).transform("translate3d("+o+"px, "+a+"px, 0px)")}},setTransition:function(e){var t=this,r=t.slides,n=t.$wrapperEl;if(r.transition(e),t.params.virtualTranslate&&0!==e){var i=!1;r.transitionEnd((function(){if(!i&&t&&!t.destroyed){i=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],r=0;r<e.length;r+=1)n.trigger(e[r])}}))}}},Ft={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;V.extend(e,{fadeEffect:{setTranslate:Yt.setTranslate.bind(e),setTransition:Yt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};V.extend(e.params,t),V.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e){var t=this;"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}},zt={setTranslate:function(){var e,t=this,r=t.$el,i=t.$wrapperEl,o=t.slides,a=t.width,s=t.height,l=t.rtlTranslate,u=t.size,c=t.params.cubeEffect,d=t.isHorizontal(),h=t.virtual&&t.params.virtual.enabled,f=0;c.shadow&&(d?(e=i.find(".swiper-cube-shadow"),0===e.length&&(e=n('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:a+"px"})):(e=r.find(".swiper-cube-shadow"),0===e.length&&(e=n('<div class="swiper-cube-shadow"></div>'),r.append(e))));for(var p=0;p<o.length;p+=1){var m=o.eq(p),g=p;h&&(g=parseInt(m.attr("data-swiper-slide-index"),10));var v=90*g,y=Math.floor(v/360);l&&(v=-v,y=Math.floor(-v/360));var b=Math.max(Math.min(m[0].progress,1),-1),_=0,w=0,x=0;g%4===0?(_=4*-y*u,x=0):(g-1)%4===0?(_=0,x=4*-y*u):(g-2)%4===0?(_=u+4*y*u,x=u):(g-3)%4===0&&(_=-u,x=3*u+4*u*y),l&&(_=-_),d||(w=_,_=0);var k="rotateX("+(d?0:-v)+"deg) rotateY("+(d?v:0)+"deg) translate3d("+_+"px, "+w+"px, "+x+"px)";if(b<=1&&b>-1&&(f=90*g+90*b,l&&(f=90*-g-90*b)),m.transform(k),c.slideShadows){var S=d?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),M=d?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===S.length&&(S=n('<div class="swiper-slide-shadow-'+(d?"left":"top")+'"></div>'),m.append(S)),0===M.length&&(M=n('<div class="swiper-slide-shadow-'+(d?"right":"bottom")+'"></div>'),m.append(M)),S.length&&(S[0].style.opacity=Math.max(-b,0)),M.length&&(M[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+u/2+"px","-moz-transform-origin":"50% 50% -"+u/2+"px","-ms-transform-origin":"50% 50% -"+u/2+"px","transform-origin":"50% 50% -"+u/2+"px"}),c.shadow)if(d)e.transform("translate3d(0px, "+(a/2+c.shadowOffset)+"px, "+-a/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var C=Math.abs(f)-90*Math.floor(Math.abs(f)/90),T=1.5-(Math.sin(2*C*Math.PI/360)/2+Math.cos(2*C*Math.PI/360)/2),O=c.shadowScale,L=c.shadowScale/T,A=c.shadowOffset;e.transform("scale3d("+O+", 1, "+L+") translate3d(0px, "+(s/2+A)+"px, "+-s/2/L+"px) rotateX(-90deg)")}var D=W.isSafari||W.isUiWebView?-u/2:0;i.transform("translate3d(0px,0,"+D+"px) rotateX("+(t.isHorizontal()?0:f)+"deg) rotateY("+(t.isHorizontal()?-f:0)+"deg)")},setTransition:function(e){var t=this,r=t.$el,n=t.slides;n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&r.find(".swiper-cube-shadow").transition(e)}},Ht={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;V.extend(e,{cubeEffect:{setTranslate:zt.setTranslate.bind(e),setTransition:zt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};V.extend(e.params,t),V.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e){var t=this;"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}},Vt={setTranslate:function(){for(var e=this,t=e.slides,r=e.rtlTranslate,i=0;i<t.length;i+=1){var o=t.eq(i),a=o[0].progress;e.params.flipEffect.limitRotation&&(a=Math.max(Math.min(o[0].progress,1),-1));var s=o[0].swiperSlideOffset,l=-180*a,u=l,c=0,d=-s,h=0;if(e.isHorizontal()?r&&(u=-u):(h=d,d=0,c=-u,u=0),o[0].style.zIndex=-Math.abs(Math.round(a))+t.length,e.params.flipEffect.slideShadows){var f=e.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),p=e.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");0===f.length&&(f=n('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),o.append(f)),0===p.length&&(p=n('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),o.append(p)),f.length&&(f[0].style.opacity=Math.max(-a,0)),p.length&&(p[0].style.opacity=Math.max(a,0))}o.transform("translate3d("+d+"px, "+h+"px, 0px) rotateX("+c+"deg) rotateY("+u+"deg)")}},setTransition:function(e){var t=this,r=t.slides,n=t.activeIndex,i=t.$wrapperEl;if(r.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var o=!1;r.eq(n).transitionEnd((function(){if(!o&&t&&!t.destroyed){o=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],r=0;r<e.length;r+=1)i.trigger(e[r])}}))}}},Ut={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;V.extend(e,{flipEffect:{setTranslate:Vt.setTranslate.bind(e),setTransition:Vt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};V.extend(e.params,t),V.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e){var t=this;"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}},Wt={setTranslate:function(){for(var e=this,t=e.width,r=e.height,i=e.slides,o=e.$wrapperEl,a=e.slidesSizesGrid,s=e.params.coverflowEffect,l=e.isHorizontal(),u=e.translate,c=l?t/2-u:r/2-u,d=l?s.rotate:-s.rotate,h=s.depth,f=0,p=i.length;f<p;f+=1){var m=i.eq(f),g=a[f],v=m[0].swiperSlideOffset,y=(c-v-g/2)/g*s.modifier,b=l?d*y:0,_=l?0:d*y,w=-h*Math.abs(y),x=l?0:s.stretch*y,k=l?s.stretch*y:0;Math.abs(k)<.001&&(k=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(b)<.001&&(b=0),Math.abs(_)<.001&&(_=0);var S="translate3d("+k+"px,"+x+"px,"+w+"px) rotateX("+_+"deg) rotateY("+b+"deg)";if(m.transform(S),m[0].style.zIndex=1-Math.abs(Math.round(y)),s.slideShadows){var M=l?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),C=l?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===M.length&&(M=n('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),m.append(M)),0===C.length&&(C=n('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),m.append(C)),M.length&&(M[0].style.opacity=y>0?y:0),C.length&&(C[0].style.opacity=-y>0?-y:0)}}if(U.pointerEvents||U.prefixedPointerEvents){var T=o[0].style;T.perspectiveOrigin=c+"px 50%"}},setTransition:function(e){var t=this;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},$t={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;V.extend(e,{coverflowEffect:{setTranslate:Wt.setTranslate.bind(e),setTransition:Wt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){var e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e){var t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}},Gt={init:function(){var e=this,t=e.params,r=t.thumbs,n=e.constructor;r.swiper instanceof n?(e.thumbs.swiper=r.swiper,V.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),V.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):V.isObject(r.swiper)&&(e.thumbs.swiper=new n(V.extend({},r.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var r=t.clickedIndex,i=t.clickedSlide;if((!i||!n(i).hasClass(e.params.thumbs.slideThumbActiveClass))&&"undefined"!==typeof r&&null!==r){var o;if(o=t.params.loop?parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"),10):r,e.params.loop){var a=e.activeIndex;e.slides.eq(a).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,a=e.activeIndex);var s=e.slides.eq(a).prevAll('[data-swiper-slide-index="'+o+'"]').eq(0).index(),l=e.slides.eq(a).nextAll('[data-swiper-slide-index="'+o+'"]').eq(0).index();o="undefined"===typeof s?l:"undefined"===typeof l?s:l-a<a-s?l:s}e.slideTo(o)}}},update:function(e){var t=this,r=t.thumbs.swiper;if(r){var n="auto"===r.params.slidesPerView?r.slidesPerViewDynamic():r.params.slidesPerView;if(t.realIndex!==r.realIndex){var i,o=r.activeIndex;if(r.params.loop){r.slides.eq(o).hasClass(r.params.slideDuplicateClass)&&(r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft,o=r.activeIndex);var a=r.slides.eq(o).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),s=r.slides.eq(o).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();i="undefined"===typeof a?s:"undefined"===typeof s?a:s-o===o-a?o:s-o<o-a?s:a}else i=t.realIndex;r.visibleSlidesIndexes&&r.visibleSlidesIndexes.indexOf(i)<0&&(r.params.centeredSlides?i=i>o?i-Math.floor(n/2)+1:i+Math.floor(n/2)-1:i>o&&(i=i-n+1),r.slideTo(i,e?0:void 0))}var l=1,u=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),r.slides.removeClass(u),r.params.loop||r.params.virtual)for(var c=0;c<l;c+=1)r.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+c)+'"]').addClass(u);else for(var d=0;d<l;d+=1)r.slides.eq(t.realIndex+d).addClass(u)}}},qt={name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var e=this;V.extend(e,{thumbs:{swiper:null,init:Gt.init.bind(e),update:Gt.update.bind(e),onThumbClick:Gt.onThumbClick.bind(e)}})},on:{beforeInit:function(){var e=this,t=e.params,r=t.thumbs;r&&r.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},update:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},resize:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e){var t=this,r=t.thumbs.swiper;r&&r.setTransition(e)},beforeDestroy:function(){var e=this,t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}},Xt=[it,ot,at,st,ut,dt,ft,gt,yt,_t,xt,St,Ct,Ot,At,Et,jt,Rt,Bt,Ft,Ht,Ut,$t,qt];return"undefined"===typeof nt.use&&(nt.use=nt.Class.use,nt.installModule=nt.Class.installModule),nt.use(Xt),nt}))},d0b0:function(e,t,r){"use strict";r("386b")("italics",(function(e){return function(){return e(this,"i","","")}}))},d0b5:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("448a")),o=n(r("970b")),a=r("a870"),s=r("5557"),l=function e(t){(0,o["default"])(this,e),this.colorProcessor(t);var r={fill:[0,0,0,1],stroke:[0,0,0,0],opacity:1,lineCap:null,lineJoin:null,lineDash:null,lineDashOffset:null,shadowBlur:0,shadowColor:[0,0,0,0],shadowOffsetX:0,shadowOffsetY:0,lineWidth:0,graphCenter:null,scale:null,rotate:null,translate:null,hoverCursor:"pointer",fontStyle:"normal",fontVarient:"normal",fontWeight:"normal",fontSize:10,fontFamily:"Arial",textAlign:"center",textBaseline:"middle",gradientColor:null,gradientType:"linear",gradientParams:null,gradientWith:"stroke",gradientStops:"auto",colors:null};Object.assign(this,r,t)};function u(e,t){e.save();var r=t.graphCenter,n=t.rotate,o=t.scale,a=t.translate;r instanceof Array&&(e.translate.apply(e,(0,i["default"])(r)),n&&e.rotate(n*Math.PI/180),o instanceof Array&&e.scale.apply(e,(0,i["default"])(o)),a&&e.translate.apply(e,(0,i["default"])(a)),e.translate(-r[0],-r[1]))}t["default"]=l,l.prototype.colorProcessor=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t?a.getColorFromRgbValue:a.getRgbaValue,n=["fill","stroke","shadowColor"],i=Object.keys(e),o=i.filter((function(e){return n.find((function(t){return t===e}))}));o.forEach((function(t){return e[t]=r(e[t])}));var s=e.gradientColor,l=e.colors;if(s&&(e.gradientColor=s.map((function(e){return r(e)}))),l){var u=Object.keys(l);u.forEach((function(e){return l[e]=r(l[e])}))}},l.prototype.initStyle=function(e){u(e,this),d(e,this),h(e,this)};var c=["lineCap","lineJoin","lineDashOffset","shadowOffsetX","shadowOffsetY","lineWidth","textAlign","textBaseline"];function d(e,t){var r=t.fill,n=t.stroke,o=t.shadowColor,s=t.opacity;c.forEach((function(r){(r||"number"===typeof r)&&(e[r]=t[r])})),r=(0,i["default"])(r),n=(0,i["default"])(n),o=(0,i["default"])(o),r[3]*=s,n[3]*=s,o[3]*=s,e.fillStyle=(0,a.getColorFromRgbValue)(r),e.strokeStyle=(0,a.getColorFromRgbValue)(n),e.shadowColor=(0,a.getColorFromRgbValue)(o);var l=t.lineDash,u=t.shadowBlur;l&&(l=l.map((function(e){return e>=0?e:0})),e.setLineDash(l)),"number"===typeof u&&(e.shadowBlur=u>0?u:.001);var d=t.fontStyle,h=t.fontVarient,f=t.fontWeight,p=t.fontSize,m=t.fontFamily;e.font=d+" "+h+" "+f+" "+p+"px "+m}function h(e,t){if(f(t)){var r=t.gradientColor,n=t.gradientParams,o=t.gradientType,s=t.gradientWith,l=t.gradientStops,u=t.opacity;r=r.map((function(e){var t=e[3]*u,r=(0,i["default"])(e);return r[3]=t,r})),r=r.map((function(e){return(0,a.getColorFromRgbValue)(e)})),"auto"===l&&(l=p(r));var c=e["create".concat(o.slice(0,1).toUpperCase()+o.slice(1),"Gradient")].apply(e,(0,i["default"])(n));l.forEach((function(e,t){return c.addColorStop(e,r[t])})),e["".concat(s,"Style")]=c}}function f(e){var t=e.gradientColor,r=e.gradientParams,n=e.gradientType,i=e.gradientWith,o=e.gradientStops;if(!t||!r)return!1;if(1===t.length)return console.warn("The gradient needs to provide at least two colors"),!1;if("linear"!==n&&"radial"!==n)return console.warn("GradientType only supports linear or radial, current value is "+n),!1;var a=r.length;return"linear"===n&&4!==a||"radial"===n&&6!==a?(console.warn("The expected length of gradientParams is "+("linear"===n?"4":"6")),!1):"fill"!==i&&"stroke"!==i?(console.warn("GradientWith only supports fill or stroke, current value is "+i),!1):"auto"===o||o instanceof Array||(console.warn("gradientStops only supports 'auto' or Number Array ([0, .5, 1]), current value is "+o),!1)}function p(e){var t=1/(e.length-1);return e.map((function(e,r){return t*r}))}l.prototype.restoreTransform=function(e){e.restore()},l.prototype.update=function(e){this.colorProcessor(e),Object.assign(this,e)},l.prototype.getStyle=function(){var e=(0,s.deepClone)(this,!0);return this.colorProcessor(e,!0),e}},d0ca:function(e,t,r){var n=r("5ca1"),i=r("abd7")(/[\\^$*+?.()|[\]{}]/g,"\\$&");n(n.S,"RegExp",{escape:function(e){return i(e)}})},d185:function(e,t,r){var n=r("11e9"),i=r("38fd"),o=r("69a8"),a=r("5ca1"),s=r("d3f4"),l=r("cb7c");function u(e,t){var r,a,c=arguments.length<3?e:arguments[2];return l(e)===c?e[t]:(r=n.f(e,t))?o(r,"value")?r.value:void 0!==r.get?r.get.call(c):void 0:s(a=i(e))?u(a,t,c):void 0}a(a.S,"Reflect",{get:u})},d25f:function(e,t,r){"use strict";var n=r("5ca1"),i=r("0a49")(2);n(n.P+n.F*!r("2f21")([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},d263:function(e,t,r){"use strict";r("386b")("fixed",(function(e){return function(){return e(this,"tt","","")}}))},d26a:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},r={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},n=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,r){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return n}))},d2c8:function(e,t,r){var n=r("aae3"),i=r("be13");e.exports=function(e,t,r){if(n(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(e))}},d2d4:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},d2d5:function(e,t,r){r("1654"),r("549b"),e.exports=r("584a").Array.from},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4af:function(e,t,r){"use strict";var n=r("8eb7"),i=r("7b3e"),o=10,a=40,s=800;function l(e){var t=0,r=0,n=0,i=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=t*o,i=r*o,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||i)&&e.deltaMode&&(1==e.deltaMode?(n*=a,i*=a):(n*=s,i*=s)),n&&!t&&(t=n<1?-1:1),i&&!r&&(r=i<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:i}}l.getEventType=function(){return n.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=l},d4c0:function(e,t,r){var n=r("0d58"),i=r("2621"),o=r("52a7");e.exports=function(e){var t=n(e),r=i.f;if(r){var a,s=r(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},d511:function(e,t,r){"use strict";var n=r("5ca1"),i=r("abd7")(/&(?:amp|lt|gt|quot|apos);/g,{"&":"&","<":"<",">":">",""":'"',"'":"'"});n(n.P+n.F,"String",{unescapeHTML:function(){return i(this)}})},d51b:function(e,t,r){"use strict";var n=function(){function e(e){this.value=e}return e}(),i=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new n(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,r=e.next;t?t.next=r:this.head=r,r?r.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),o=function(){function e(e){this._list=new i,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var r=this._list,i=this._map,o=null;if(null==i[e]){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=r.head;r.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new n(t),s.key=e,r.insertEntry(s),i[e]=s}return o},e.prototype.get=function(e){var t=this._map[e],r=this._list;if(null!=t)return t!==r.tail&&(r.remove(t),r.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();t["a"]=o},d51d:function(e,t,r){},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d5d2:function(e,t,r){var n=r("23c6"),i=r("2b4c")("iterator"),o=r("84f2");e.exports=r("8378").isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(n(t))}},d69a:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},d6b6:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},d6c6:function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},d6e6:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.Hasher,i=t.x64,o=i.Word,a=i.WordArray,s=t.algo;function l(){return o.create.apply(o,arguments)}var u=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],c=[];(function(){for(var e=0;e<80;e++)c[e]=l()})();var d=s.SHA512=n.extend({_doReset:function(){this._hash=new a.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],l=r[5],d=r[6],h=r[7],f=n.high,p=n.low,m=i.high,g=i.low,v=o.high,y=o.low,b=a.high,_=a.low,w=s.high,x=s.low,k=l.high,S=l.low,M=d.high,C=d.low,T=h.high,O=h.low,L=f,A=p,D=m,E=g,I=v,j=y,P=b,R=_,N=w,B=x,Y=k,F=S,z=M,H=C,V=T,U=O,W=0;W<80;W++){var $,G,q=c[W];if(W<16)G=q.high=0|e[t+2*W],$=q.low=0|e[t+2*W+1];else{var X=c[W-15],K=X.high,Z=X.low,J=(K>>>1|Z<<31)^(K>>>8|Z<<24)^K>>>7,Q=(Z>>>1|K<<31)^(Z>>>8|K<<24)^(Z>>>7|K<<25),ee=c[W-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),oe=c[W-7],ae=oe.high,se=oe.low,le=c[W-16],ue=le.high,ce=le.low;$=Q+se,G=J+ae+($>>>0<Q>>>0?1:0),$+=ie,G=G+ne+($>>>0<ie>>>0?1:0),$+=ce,G=G+ue+($>>>0<ce>>>0?1:0),q.high=G,q.low=$}var de=N&Y^~N&z,he=B&F^~B&H,fe=L&D^L&I^D&I,pe=A&E^A&j^E&j,me=(L>>>28|A<<4)^(L<<30|A>>>2)^(L<<25|A>>>7),ge=(A>>>28|L<<4)^(A<<30|L>>>2)^(A<<25|L>>>7),ve=(N>>>14|B<<18)^(N>>>18|B<<14)^(N<<23|B>>>9),ye=(B>>>14|N<<18)^(B>>>18|N<<14)^(B<<23|N>>>9),be=u[W],_e=be.high,we=be.low,xe=U+ye,ke=V+ve+(xe>>>0<U>>>0?1:0),Se=(xe=xe+he,ke=ke+de+(xe>>>0<he>>>0?1:0),xe=xe+we,ke=ke+_e+(xe>>>0<we>>>0?1:0),xe=xe+$,ke=ke+G+(xe>>>0<$>>>0?1:0),ge+pe),Me=me+fe+(Se>>>0<ge>>>0?1:0);V=z,U=H,z=Y,H=F,Y=N,F=B,B=R+xe|0,N=P+ke+(B>>>0<R>>>0?1:0)|0,P=I,R=j,I=D,j=E,D=L,E=A,A=xe+Se|0,L=ke+Me+(A>>>0<xe>>>0?1:0)|0}p=n.low=p+A,n.high=f+L+(p>>>0<A>>>0?1:0),g=i.low=g+E,i.high=m+D+(g>>>0<E>>>0?1:0),y=o.low=y+j,o.high=v+I+(y>>>0<j>>>0?1:0),_=a.low=_+R,a.high=b+P+(_>>>0<R>>>0?1:0),x=s.low=x+B,s.high=w+N+(x>>>0<B>>>0?1:0),S=l.low=S+F,l.high=k+Y+(S>>>0<F>>>0?1:0),C=d.low=C+H,d.high=M+z+(C>>>0<H>>>0?1:0),O=h.low=O+U,h.high=T+V+(O>>>0<U>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process();var i=this._hash.toX32();return i},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(d),t.HmacSHA512=n._createHmacHelper(d)}(),e.SHA512}))},d716:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}});return t}))},d752:function(e,t,r){var n=r("7726").parseFloat,i=r("aa77").trim;e.exports=1/n(r("fdef")+"-0")!==-1/0?function(e){var t=i(String(e),3),r=n(t);return 0===r&&"-"==t.charAt(0)?-0:r}:n},d864:function(e,t,r){var n=r("79aa");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},d8d6:function(e,t,r){r("1654"),r("6c1c"),e.exports=r("ccb9").f("iterator")},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d925:function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d92a:function(e,t,r){var n=r("5ca1");n(n.P,"Function",{bind:r("f0c1")})},d9ab:function(e,t,r){var n=r("5ca1"),i=Math.atanh;n(n.S+n.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},d9f6:function(e,t,r){var n=r("e4ae"),i=r("794b"),o=r("1bc3"),a=Object.defineProperty;t.f=r("8e60")?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(s){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},d9f8:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},db29:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},db2a:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},db72:function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r("8aae"),i=r.n(n),o=r("ed33"),a=r.n(o),s=r("fde4"),l=r.n(s),u=r("8580"),c=r.n(u),d=r("5bba"),h=r.n(d),f=r("454f"),p=r.n(f),m=r("bd86");function g(e,t){var r=i()(e);if(a.a){var n=a()(e);t&&(n=n.filter((function(t){return l()(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){Object(m["a"])(e,t,r[t])})):c.a?h()(e,c()(r)):g(Object(r)).forEach((function(t){p()(e,t,l()(r,t))}))}return e}},db97:function(e,t,r){var n=r("5ca1");n(n.S,"Object",{is:r("83a1")})},db9a:function(e,t,r){var n=r("5ca1");n(n.P+n.R,"Set",{toJSON:r("44b8")("Set")})},dbbf:function(e,t,r){},dbdb:function(e,t,r){var n=r("584a"),i=r("e53d"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r("b8e3")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},dc4d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],o=e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:i,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return o}))},dc62:function(e,t,r){r("9427");var n=r("584a").Object;e.exports=function(e,t){return n.create(e,t)}},dcbc:function(e,t,r){var n=r("2aba");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},dd8a:function(e,t,r){r("28e4")("Set")},df1b:function(e,t,r){var n=r("5ca1"),i=r("d8e8"),o=r("cb7c"),a=(r("7726").Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!r("79e5")((function(){a((function(){}))})),"Reflect",{apply:function(e,t,r){var n=i(e),l=o(r);return a?a(n,t,l):s.call(n,t,l)}})},df2f:function(e,t,r){(function(t,n){e.exports=n(r("21bf"))})(0,(function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,o=t.algo,a=[],s=o.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],l=r[4],u=0;u<80;u++){if(u<16)a[u]=0|e[t+u];else{var c=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=c<<1|c>>>31}var d=(n<<5|n>>>27)+l+a[u];d+=u<20?1518500249+(i&o|~i&s):u<40?1859775393+(i^o^s):u<60?(i&o|i&s|o&s)-1894007588:(i^o^s)-899497514,l=s,s=o,o=i<<30|i>>>2,i=n,n=d}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=i._createHelper(s),t.HmacSHA1=i._createHmacHelper(s)}(),e.SHA1}))},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===o(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var u=[];for(l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},df83:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.easeInOutBounce=t.easeOutBounce=t.easeInBounce=t.easeInOutElastic=t.easeOutElastic=t.easeInElastic=t.easeInOutBack=t.easeOutBack=t.easeInBack=t.easeInOutQuint=t.easeOutQuint=t.easeInQuint=t.easeInOutQuart=t.easeOutQuart=t.easeInQuart=t.easeInOutCubic=t.easeOutCubic=t.easeInCubic=t.easeInOutQuad=t.easeOutQuad=t.easeInQuad=t.easeInOutSine=t.easeOutSine=t.easeInSine=t.linear=void 0;var n=[[[0,1],"",[.33,.67]],[[1,0],[.67,.33]]];t.linear=n;var i=[[[0,1]],[[.538,.564],[.169,.912],[.88,.196]],[[1,0]]];t.easeInSine=i;var o=[[[0,1]],[[.444,.448],[.169,.736],[.718,.16]],[[1,0]]];t.easeOutSine=o;var a=[[[0,1]],[[.5,.5],[.2,1],[.8,0]],[[1,0]]];t.easeInOutSine=a;var s=[[[0,1]],[[.55,.584],[.231,.904],[.868,.264]],[[1,0]]];t.easeInQuad=s;var l=[[[0,1]],[[.413,.428],[.065,.816],[.76,.04]],[[1,0]]];t.easeOutQuad=l;var u=[[[0,1]],[[.5,.5],[.3,.9],[.7,.1]],[[1,0]]];t.easeInOutQuad=u;var c=[[[0,1]],[[.679,.688],[.366,.992],[.992,.384]],[[1,0]]];t.easeInCubic=c;var d=[[[0,1]],[[.321,.312],[.008,.616],[.634,.008]],[[1,0]]];t.easeOutCubic=d;var h=[[[0,1]],[[.5,.5],[.3,1],[.7,0]],[[1,0]]];t.easeInOutCubic=h;var f=[[[0,1]],[[.812,.74],[.611,.988],[1.013,.492]],[[1,0]]];t.easeInQuart=f;var p=[[[0,1]],[[.152,.244],[.001,.448],[.285,-.02]],[[1,0]]];t.easeOutQuart=p;var m=[[[0,1]],[[.5,.5],[.4,1],[.6,0]],[[1,0]]];t.easeInOutQuart=m;var g=[[[0,1]],[[.857,.856],[.714,1],[1,.712]],[[1,0]]];t.easeInQuint=g;var v=[[[0,1]],[[.108,.2],[.001,.4],[.214,-.012]],[[1,0]]];t.easeOutQuint=v;var y=[[[0,1]],[[.5,.5],[.5,1],[.5,0]],[[1,0]]];t.easeInOutQuint=y;var b=[[[0,1]],[[.667,.896],[.38,1.184],[.955,.616]],[[1,0]]];t.easeInBack=b;var _=[[[0,1]],[[.335,.028],[.061,.22],[.631,-.18]],[[1,0]]];t.easeOutBack=_;var w=[[[0,1]],[[.5,.5],[.4,1.4],[.6,-.4]],[[1,0]]];t.easeInOutBack=w;var x=[[[0,1]],[[.474,.964],[.382,.988],[.557,.952]],[[.619,1.076],[.565,1.088],[.669,1.08]],[[.77,.916],[.712,.924],[.847,.904]],[[.911,1.304],[.872,1.316],[.961,1.34]],[[1,0]]];t.easeInElastic=x;var k=[[[0,1]],[[.073,-.32],[.034,-.328],[.104,-.344]],[[.191,.092],[.11,.06],[.256,.08]],[[.31,-.076],[.26,-.068],[.357,-.076]],[[.432,.032],[.362,.028],[.683,-.004]],[[1,0]]];t.easeOutElastic=k;var S=[[[0,1]],[[.21,.94],[.167,.884],[.252,.98]],[[.299,1.104],[.256,1.092],[.347,1.108]],[[.5,.496],[.451,.672],[.548,.324]],[[.696,-.108],[.652,-.112],[.741,-.124]],[[.805,.064],[.756,.012],[.866,.096]],[[1,0]]];t.easeInOutElastic=S;var M=[[[0,1]],[[.148,1],[.075,.868],[.193,.848]],[[.326,1],[.276,.836],[.405,.712]],[[.6,1],[.511,.708],[.671,.348]],[[1,0]]];t.easeInBounce=M;var C=[[[0,1]],[[.357,.004],[.27,.592],[.376,.252]],[[.604,-.004],[.548,.312],[.669,.184]],[[.82,0],[.749,.184],[.905,.132]],[[1,0]]];t.easeOutBounce=C;var T=[[[0,1]],[[.102,1],[.05,.864],[.117,.86]],[[.216,.996],[.208,.844],[.227,.808]],[[.347,.996],[.343,.8],[.48,.292]],[[.635,.004],[.511,.676],[.656,.208]],[[.787,0],[.76,.2],[.795,.144]],[[.905,-.004],[.899,.164],[.944,.144]],[[1,0]]];t.easeInOutBounce=T;var O=new Map([["linear",n],["easeInSine",i],["easeOutSine",o],["easeInOutSine",a],["easeInQuad",s],["easeOutQuad",l],["easeInOutQuad",u],["easeInCubic",c],["easeOutCubic",d],["easeInOutCubic",h],["easeInQuart",f],["easeOutQuart",p],["easeInOutQuart",m],["easeInQuint",g],["easeOutQuint",v],["easeInOutQuint",y],["easeInBack",b],["easeOutBack",_],["easeInOutBack",w],["easeInElastic",x],["easeOutElastic",k],["easeInOutElastic",S],["easeInBounce",M],["easeOutBounce",C],["easeInOutBounce",T]]);t["default"]=O},dfa4:function(e,t,r){},e017:function(e,t,r){(function(t){(function(t,r){e.exports=r()})(0,(function(){"use strict";var e=function(e){var t=e.id,r=e.viewBox,n=e.content;this.id=t,this.viewBox=r,this.content=n};e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var r=function(e){var t=!!document.importNode,r=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(r,!0):r};"undefined"!==typeof window?window:"undefined"!==typeof t||"undefined"!==typeof self&&self;function n(e,t){return t={exports:{}},e(t,t.exports),t.exports}var i=n((function(e,t){(function(t,r){e.exports=r()})(0,(function(){function e(e){var t=e&&"object"===typeof e;return t&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function r(r,n){var i=n&&!0===n.clone;return i&&e(r)?o(t(r),r,n):r}function n(t,n,i){var a=t.slice();return n.forEach((function(n,s){"undefined"===typeof a[s]?a[s]=r(n,i):e(n)?a[s]=o(t[s],n,i):-1===t.indexOf(n)&&a.push(r(n,i))})),a}function i(t,n,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=r(t[e],i)})),Object.keys(n).forEach((function(s){e(n[s])&&t[s]?a[s]=o(t[s],n[s],i):a[s]=r(n[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=o||{arrayMerge:n},l=s.arrayMerge||n;return a?Array.isArray(e)?l(e,t,o):r(t,o):i(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,r){return o(e,r,t)}))},o}))})),o=n((function(e,t){var r={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=r,e.exports=t.default})),a=function(e){return Object.keys(e).map((function(t){var r=e[t].toString().replace(/"/g,""");return t+'="'+r+'"'})).join(" ")},s=o.svg,l=o.xlink,u={};u[s.name]=s.uri,u[l.name]=l.uri;var c=function(e,t){void 0===e&&(e="");var r=i(u,t||{}),n=a(r);return"<svg "+n+">"+e+"</svg>"},d=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"===typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t.appendChild(r),r},t.prototype.render=function(){var e=this.stringify();return r(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e);return d}))}).call(this,r("24aa"))},e099:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?o(a(e),(function(a){var s=encodeURIComponent(n(a))+r;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[a]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},e0b8:function(e,t,r){"use strict";var n=r("7726"),i=r("5ca1"),o=r("2aba"),a=r("dcbc"),s=r("67ab"),l=r("4a59"),u=r("f605"),c=r("d3f4"),d=r("79e5"),h=r("5cc5"),f=r("7f20"),p=r("5dbc");e.exports=function(e,t,r,m,g,v){var y=n[e],b=y,_=g?"set":"add",w=b&&b.prototype,x={},k=function(e){var t=w[e];o(w,e,"delete"==e||"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof b&&(v||w.forEach&&!d((function(){(new b).entries().next()})))){var S=new b,M=S[_](v?{}:-0,1)!=S,C=d((function(){S.has(1)})),T=h((function(e){new b(e)})),O=!v&&d((function(){var e=new b,t=5;while(t--)e[_](t,t);return!e.has(-0)}));T||(b=t((function(t,r){u(t,b,e);var n=p(new y,t,b);return void 0!=r&&l(r,g,n[_],n),n})),b.prototype=w,w.constructor=b),(C||O)&&(k("delete"),k("has"),g&&k("get")),(O||M)&&k(_),v&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,g,_),a(b.prototype,r),s.NEED=!0;return f(b,e),x[e]=b,i(i.G+i.W+i.F*(b!=y),x),v||m.setStrong(b,e,g),b}},e0c5:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},r={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},n=e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return n}))},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e11f:function(e,t,r){},e169:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.drawPolylinePath=o,t.drawBezierCurvePath=a,t["default"]=void 0;var i=n(r("448a"));function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||t.length<2)return!1;r&&e.beginPath(),t.forEach((function(t,r){return t&&(0===r?e.moveTo.apply(e,(0,i["default"])(t)):e.lineTo.apply(e,(0,i["default"])(t)))})),n&&e.closePath()}function a(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!e||!t)return!1;n&&e.beginPath(),r&&e.moveTo.apply(e,(0,i["default"])(r)),t.forEach((function(t){return t&&e.bezierCurveTo.apply(e,(0,i["default"])(t[0]).concat((0,i["default"])(t[1]),(0,i["default"])(t[2])))})),o&&e.closePath()}var s={drawPolylinePath:o,drawBezierCurvePath:a};t["default"]=s},e1d3:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},e394:function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=r("38fd"),a=n.has,s=n.get,l=n.key,u=function(e,t,r){var n=a(e,t,r);if(n)return s(e,t,r);var i=o(t);return null!==i?u(e,i,r):void 0};n.exp({getMetadata:function(e,t){return u(e,i(t),arguments.length<3?void 0:l(arguments[2]))}})},e3d0:function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=n.key,a=n.set;n.exp({defineMetadata:function(e,t,r,n){a(e,t,i(r),o(n))}})},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e4ae:function(e,t,r){var n=r("f772");e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},e4f7:function(e,t,r){var n=r("4bf8"),i=r("38fd");r("5eda")("getPrototypeOf",(function(){return function(e){return i(n(e))}}))},e50d:function(e,t,r){var n=r("7037")["default"];function i(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},e53d:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},e61b:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("3252"))})(0,(function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,a=r.x64,s=a.Word,l=r.algo,u=[],c=[],d=[];(function(){for(var e=1,t=0,r=0;r<24;r++){u[e+5*t]=(r+1)*(r+2)/2%64;var n=t%5,i=(2*e+3*t)%5;e=n,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,a=0;a<24;a++){for(var l=0,h=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?h^=1<<p:l^=1<<p-32}128&o?o=o<<1^113:o<<=1}d[a]=s.create(l,h)}})();var h=[];(function(){for(var e=0;e<25;e++)h[e]=s.create()})();var f=l.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=e[t+2*i],a=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8);var s=r[i];s.high^=a,s.low^=o}for(var l=0;l<24;l++){for(var f=0;f<5;f++){for(var p=0,m=0,g=0;g<5;g++){s=r[f+5*g];p^=s.high,m^=s.low}var v=h[f];v.high=p,v.low=m}for(f=0;f<5;f++){var y=h[(f+4)%5],b=h[(f+1)%5],_=b.high,w=b.low;for(p=y.high^(_<<1|w>>>31),m=y.low^(w<<1|_>>>31),g=0;g<5;g++){s=r[f+5*g];s.high^=p,s.low^=m}}for(var x=1;x<25;x++){s=r[x];var k=s.high,S=s.low,M=u[x];M<32?(p=k<<M|S>>>32-M,m=S<<M|k>>>32-M):(p=S<<M-32|k>>>64-M,m=k<<M-32|S>>>64-M);var C=h[c[x]];C.high=p,C.low=m}var T=h[0],O=r[0];T.high=O.high,T.low=O.low;for(f=0;f<5;f++)for(g=0;g<5;g++){x=f+5*g,s=r[x];var L=h[x],A=h[(f+1)%5+5*g],D=h[(f+2)%5+5*g];s.high=L.high^~A.high&D.high,s.low=L.low^~A.low&D.low}s=r[0];var E=d[l];s.high^=E.high,s.low^=E.low}},_doFinalize:function(){var e=this._data,r=e.words,n=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,l=s/8,u=[],c=0;c<l;c++){var d=a[c],h=d.high,f=d.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),u.push(f),u.push(h)}return new i.init(u,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=o._createHelper(f),r.HmacSHA3=o._createHmacHelper(f)}(Math),e.SHA3}))},e630:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("d2d5"),i=r.n(n),o=r("db2a");function a(e,t){if(e){if("string"===typeof e)return Object(o["a"])(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?i()(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(o["a"])(e,t):void 0}}},e683:function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e6f3:function(e,t,r){var n=r("07e3"),i=r("36c3"),o=r("5b4e")(!1),a=r("5559")("IE_PROTO");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);while(t.length>l)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},e804:function(e,t,r){"use strict";var n=r("5ca1"),i=r("f1ae");n(n.S+n.F*r("79e5")((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){var e=0,t=arguments.length,r=new("function"==typeof this?this:Array)(t);while(t>e)i(r,e,arguments[e++]);return r.length=t,r}})},e81d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},r={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},n=e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,r){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return n}))},e82b:function(e,t,r){"use strict";var n=r("9b43"),i=r("5ca1"),o=r("4630"),a=r("7333"),s=r("2aeb"),l=r("38fd"),u=r("0d58"),c=r("86cc"),d=r("3f71"),h=r("d8e8"),f=r("4a59"),p=r("d5d2"),m=r("41a0"),g=r("d53b"),v=r("d3f4"),y=r("6821"),b=r("9e1e"),_=r("69a8"),w=function(e){var t=1==e,r=4==e;return function(i,o,a){var s,l,u,c=n(o,a,3),d=y(i),h=t||7==e||2==e?new("function"==typeof this?this:M):void 0;for(s in d)if(_(d,s)&&(l=d[s],u=c(l,s,i),e))if(t)h[s]=u;else if(u)switch(e){case 2:h[s]=l;break;case 3:return!0;case 5:return l;case 6:return s;case 7:h[u[0]]=u[1]}else if(r)return!1;return 3==e||r?r:h}},x=w(6),k=function(e){return function(t){return new S(t,e)}},S=function(e,t){this._t=y(e),this._a=u(e),this._i=0,this._k=t};function M(e){var t=s(null);return void 0!=e&&(p(e)?f(e,!0,(function(e,r){t[e]=r})):a(t,e)),t}function C(e,t,r){h(t);var n,i,o=y(e),a=u(o),s=a.length,l=0;if(arguments.length<3){if(!s)throw TypeError("Reduce of empty object with no initial value");n=o[a[l++]]}else n=Object(r);while(s>l)_(o,i=a[l++])&&(n=t(n,o[i],i,e));return n}function T(e,t){return void 0!==(t==t?d(e,t):x(e,(function(e){return e!=e})))}function O(e,t){if(_(e,t))return e[t]}function L(e,t,r){return b&&t in Object?c.f(e,t,o(0,r)):e[t]=r,e}function A(e){return v(e)&&l(e)===M.prototype}m(S,"Dict",(function(){var e,t=this,r=t._t,n=t._a,i=t._k;do{if(t._i>=n.length)return t._t=void 0,g(1)}while(!_(r,e=n[t._i++]));return g(0,"keys"==i?e:"values"==i?r[e]:[e,r[e]])})),M.prototype=null,i(i.G+i.F,{Dict:M}),i(i.S,"Dict",{keys:k("keys"),values:k("values"),entries:k("entries"),forEach:w(0),map:w(1),filter:w(2),some:w(3),every:w(4),find:w(5),findKey:x,mapPairs:w(7),reduce:C,keyOf:d,includes:T,has:_,get:O,set:L,isDict:A})},e853:function(e,t,r){var n=r("d3f4"),i=r("1169"),o=r("2b4c")("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},e8ae:function(e,t,r){(function(t){var r;!function(t){e.exports=t()}((function(){return function e(t,n,i){function o(s,l){if(!n[s]){if(!t[s]){var u="function"==typeof r&&r;if(!l&&u)return r(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[s]={exports:{}};t[s][0].call(d.exports,(function(e){return o(t[s][1][e]||e)}),d,d.exports,e,t,n,i)}return n[s].exports}for(var a="function"==typeof r&&r,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,r){"use strict";const n=e("fs"),i=e("fast-csv"),o=e("dayjs/plugin/customParseFormat"),a=e("dayjs/plugin/utc"),s=e("dayjs").extend(o).extend(a),l=e("../utils/stream-buf"),{fs:{exists:u}}=e("../utils/utils"),c={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};t.exports=class{constructor(e){this.workbook=e,this.worksheet=null}async readFile(e,t){if(t=t||{},!await u(e))throw new Error("File not found: "+e);const r=n.createReadStream(e),i=await this.read(r,t);return r.close(),i}read(e,t){return t=t||{},new Promise((r,n)=>{const o=this.workbook.addWorksheet(t.sheetName),a=t.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],l=t.map||function(e){if(""===e)return null;const t=Number(e);if(!Number.isNaN(t)&&t!==1/0)return t;const r=a.reduce((t,r)=>{if(t)return t;const n=s(e,r,!0);return n.isValid()?n:null},null);if(r)return new Date(r.valueOf());const n=c[e];return void 0!==n?n:e},u=i.parse(t.parserOptions).on("data",e=>{o.addRow(e.map(l))}).on("end",()=>{u.emit("worksheet",o)});u.on("worksheet",r).on("error",n),e.pipe(u)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(e,t){return new Promise((r,n)=>{t=t||{};const o=this.workbook.getWorksheet(t.sheetName||t.sheetId),a=i.format(t.formatterOptions);e.on("finish",()=>{r()}),a.on("error",n),a.pipe(e);const{dateFormat:l,dateUTC:u}=t,c=t.map||(e=>{if(e){if(e.text||e.hyperlink)return e.hyperlink||e.text||"";if(e.formula||e.result)return e.result||"";if(e instanceof Date)return l?u?s.utc(e).format(l):s(e).format(l):u?s.utc(e).format():s(e).format();if(e.error)return e.error;if("object"==typeof e)return JSON.stringify(e)}return e}),d=void 0===t.includeEmptyRows||t.includeEmptyRows;let h=1;o&&o.eachRow((e,t)=>{if(d)for(;h++<t-1;)a.write([]);const{values:r}=e;r.shift(),a.write(r.map(c)),h=t}),a.end()})}writeFile(e,t){const r={encoding:(t=t||{}).encoding||"utf8"},i=n.createWriteStream(e,r);return this.write(i,t)}async writeBuffer(e){const t=new l;return await this.write(t,e),t.read()}}},{"../utils/stream-buf":24,"../utils/utils":27,dayjs:391,"dayjs/plugin/customParseFormat":392,"dayjs/plugin/utc":393,"fast-csv":424,fs:216}],2:[function(e,t,r){"use strict";const n=e("../utils/col-cache");class i{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.worksheet=e,t)if("string"==typeof t){const e=n.decodeAddress(t);this.nativeCol=e.col+r,this.nativeColOff=0,this.nativeRow=e.row+r,this.nativeRowOff=0}else void 0!==t.nativeCol?(this.nativeCol=t.nativeCol||0,this.nativeColOff=t.nativeColOff||0,this.nativeRow=t.nativeRow||0,this.nativeRowOff=t.nativeRowOff||0):void 0!==t.col?(this.col=t.col+r,this.row=t.row+r):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(e){return e instanceof i||null==e?e:new i(e)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(e){this.nativeCol=Math.floor(e),this.nativeColOff=Math.floor((e-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(e){this.nativeRow=Math.floor(e),this.nativeRowOff=Math.floor((e-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(e){this.nativeCol=e.nativeCol,this.nativeColOff=e.nativeColOff,this.nativeRow=e.nativeRow,this.nativeRowOff=e.nativeRowOff}}t.exports=i},{"../utils/col-cache":19}],3:[function(e,t,r){"use strict";const n=e("../utils/col-cache"),i=e("../utils/under-dash"),o=e("./enums"),{slideFormula:a}=e("../utils/shared-formula"),s=e("./note");class l{constructor(e,t,r){if(!e||!t)throw new Error("A Cell needs a Row");this._row=e,this._column=t,n.validateAddress(r),this._address=r,this._value=u.create(l.Types.Null,this),this.style=this._mergeStyle(e.style,t.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(e){this.style.numFmt=e}get font(){return this.style.font}set font(e){this.style.font=e}get alignment(){return this.style.alignment}set alignment(e){this.style.alignment=e}get border(){return this.style.border}set border(e){this.style.border=e}get fill(){return this.style.fill}set fill(e){this.style.fill=e}get protection(){return this.style.protection}set protection(e){this.style.protection=e}_mergeStyle(e,t,r){const n=e&&e.numFmt||t&&t.numFmt;n&&(r.numFmt=n);const i=e&&e.font||t&&t.font;i&&(r.font=i);const o=e&&e.alignment||t&&t.alignment;o&&(r.alignment=o);const a=e&&e.border||t&&t.border;a&&(r.border=a);const s=e&&e.fill||t&&t.fill;s&&(r.fill=s);const l=e&&e.protection||t&&t.protection;return l&&(r.protection=l),r}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===l.Types.Merge}merge(e,t){this._value.release(),this._value=u.create(l.Types.Merge,this,e),t||(this.style=e.style)}unmerge(){this.type===l.Types.Merge&&(this._value.release(),this._value=u.create(l.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(e){return this._value.type===l.Types.Merge&&this._value.isMergedTo(e)}get master(){return this.type===l.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===l.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(e){this.type!==l.Types.Merge?(this._value.release(),this._value=u.create(u.getType(e),this,e)):this._value.master.value=e}get note(){return this._comment&&this._comment.note}set note(e){this._comment=new s(e)}get text(){return this._value.toString()}get html(){return i.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(e){this.type===l.Types.String&&(this._value=u.create(l.Types.Hyperlink,this,{text:this._value.value,hyperlink:e}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:e}=this._row;return{sheetName:e.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(e){this.names=[e]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(e){const{definedNames:t}=this.workbook;t.removeAllNames(this.fullAddress),e.forEach(e=>{t.addEx(this.fullAddress,e)})}addName(e){this.workbook.definedNames.addEx(this.fullAddress,e)}removeName(e){this.workbook.definedNames.removeEx(this.fullAddress,e)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(e){this._dataValidations.add(this.address,e)}get model(){const{model:e}=this._value;return e.style=this.style,this._comment&&(e.comment=this._comment.model),e}set model(e){if(this._value.release(),this._value=u.create(e.type,this),this._value.model=e,e.comment)switch(e.comment.type){case"note":this._comment=s.fromModel(e.comment)}e.style?this.style=e.style:this.style={}}}l.Types=o.ValueType;const u={getType:e=>null==e?l.Types.Null:e instanceof String||"string"==typeof e?l.Types.String:"number"==typeof e?l.Types.Number:"boolean"==typeof e?l.Types.Boolean:e instanceof Date?l.Types.Date:e.text&&e.hyperlink?l.Types.Hyperlink:e.formula||e.sharedFormula?l.Types.Formula:e.richText?l.Types.RichText:e.sharedString?l.Types.SharedString:e.error?l.Types.Error:l.Types.JSON,types:[{t:l.Types.Null,f:class{constructor(e){this.model={address:e.address,type:l.Types.Null}}get value(){return null}set value(e){}get type(){return l.Types.Null}get effectiveType(){return l.Types.Null}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return""}release(){}toString(){return""}}},{t:l.Types.Number,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Number,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Number}get effectiveType(){return l.Types.Number}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.String,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.String}get effectiveType(){return l.Types.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:l.Types.Date,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Date,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Date}get effectiveType(){return l.Types.Date}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.Hyperlink,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Hyperlink,text:t?t.text:void 0,hyperlink:t?t.hyperlink:void 0},t&&t.tooltip&&(this.model.tooltip=t.tooltip)}get value(){const e={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(e.tooltip=this.model.tooltip),e}set value(e){this.model={text:e.text,hyperlink:e.hyperlink},e.tooltip&&(this.model.tooltip=e.tooltip)}get text(){return this.model.text}set text(e){this.model.text=e}get hyperlink(){return this.model.hyperlink}set hyperlink(e){this.model.hyperlink=e}get type(){return l.Types.Hyperlink}get effectiveType(){return l.Types.Hyperlink}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:l.Types.Formula,f:class{constructor(e,t){this.cell=e,this.model={address:e.address,type:l.Types.Formula,shareType:t?t.shareType:void 0,ref:t?t.ref:void 0,formula:t?t.formula:void 0,sharedFormula:t?t.sharedFormula:void 0,result:t?t.result:void 0}}_copyModel(e){const t={},r=r=>{const n=e[r];n&&(t[r]=n)};return r("formula"),r("result"),r("ref"),r("shareType"),r("sharedFormula"),t}get value(){return this._copyModel(this.model)}set value(e){this.model=this._copyModel(e)}validate(e){switch(u.getType(e)){case l.Types.Null:case l.Types.String:case l.Types.Number:case l.Types.Date:break;case l.Types.Hyperlink:case l.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(e){this.model.formula=e}get formulaType(){return this.model.formula?o.FormulaType.Master:this.model.sharedFormula?o.FormulaType.Shared:o.FormulaType.None}get result(){return this.model.result}set result(e){this.model.result=e}get type(){return l.Types.Formula}get effectiveType(){const e=this.model.result;return null==e?o.ValueType.Null:e instanceof String||"string"==typeof e?o.ValueType.String:"number"==typeof e?o.ValueType.Number:e instanceof Date?o.ValueType.Date:e.text&&e.hyperlink?o.ValueType.Hyperlink:e.formula?o.ValueType.Formula:o.ValueType.Null}get address(){return this.model.address}set address(e){this.model.address=e}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){const{worksheet:e}=this.cell,t=e.findCell(this.model.sharedFormula);this._translatedFormula=t&&a(t.formula,t.address,this.model.address)}return this._translatedFormula}toCsvString(){return""+(this.model.result||"")}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:l.Types.Merge,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Merge,master:t?t.address:void 0},this._master=t,t&&t.addMergeRef()}get value(){return this._master.value}set value(e){e instanceof l?(this._master&&this._master.releaseMergeRef(),e.addMergeRef(),this._master=e):this._master.value=e}isMergedTo(e){return e===this._master}get master(){return this._master}get type(){return l.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:l.Types.JSON,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.String,value:JSON.stringify(t),rawValue:t}}get value(){return this.model.rawValue}set value(e){this.model.rawValue=e,this.model.value=JSON.stringify(e)}get type(){return l.Types.String}get effectiveType(){return l.Types.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:l.Types.SharedString,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.SharedString,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.SharedString}get effectiveType(){return l.Types.SharedString}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.RichText,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}toString(){return this.model.value.richText.map(e=>e.text).join("")}get type(){return l.Types.RichText}get effectiveType(){return l.Types.RichText}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:l.Types.Boolean,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Boolean,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Boolean}get effectiveType(){return l.Types.Boolean}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:l.Types.Error,f:class{constructor(e,t){this.model={address:e.address,type:l.Types.Error,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return l.Types.Error}get effectiveType(){return l.Types.Error}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((e,t)=>(e[t.t]=t.f,e),[]),create(e,t,r){const n=this.types[e];if(!n)throw new Error("Could not create Value of type "+e);return new n(t,r)}};t.exports=l},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(e,t,r){"use strict";const n=e("../utils/under-dash"),i=e("./enums"),o=e("../utils/col-cache");class a{constructor(e,t,r){this._worksheet=e,this._number=t,!1!==r&&(this.defn=r)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return o.n2l(this._number)}get isCustomWidth(){return void 0!==this.width&&9!==this.width}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(e){e?(this.key=e.key,this.width=void 0!==e.width?e.width:9,this.outlineLevel=e.outlineLevel,e.style?this.style=e.style:this.style={},this.header=e.header,this._hidden=!!e.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(e){void 0!==e?(this._header=e,this.headers.forEach((e,t)=>{this._worksheet.getCell(t+1,this.number).value=e})):this._header=void 0}get key(){return this._key}set key(e){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=e,e&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(e){return this.width===e.width&&this.hidden===e.hidden&&this.outlineLevel===e.outlineLevel&&n.isEqual(this.style,e.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;const e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}get headerCount(){return this.headers.length}eachCell(e,t){const r=this.number;t||(t=e,e=null),this._worksheet.eachRow(e,(e,n)=>{t(e.getCell(r),n)})}get values(){const e=[];return this.eachCell((t,r)=>{t&&t.type!==i.ValueType.Null&&(e[r]=t.value)}),e}set values(e){if(!e)return;const t=this.number;let r=0;e.hasOwnProperty("0")&&(r=1),e.forEach((e,n)=>{this._worksheet.getCell(n+r,t).value=e})}_applyStyle(e,t){return this.style[e]=t,this.eachCell(r=>{r[e]=t}),t}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}static toModel(e){const t=[];let r=null;return e&&e.forEach((e,n)=>{e.isDefault?r&&(r=null):r&&e.equivalentTo(r)?r.max=n+1:(r={min:n+1,max:n+1,width:void 0!==e.width?e.width:9,style:e.style,isCustomWidth:e.isCustomWidth,hidden:e.hidden,outlineLevel:e.outlineLevel,collapsed:e.collapsed},t.push(r))}),t.length?t:void 0}static fromModel(e,t){const r=[];let n=1,i=0;for(t=(t=t||[]).sort((function(e,t){return e.min-t.min}));i<t.length;){const o=t[i++];for(;n<o.min;)r.push(new a(e,n++));for(;n<=o.max;)r.push(new a(e,n++,o))}return r.length?r:null}}t.exports=a},{"../utils/col-cache":19,"../utils/under-dash":26,"./enums":7}],5:[function(e,t,r){"use strict";t.exports=class{constructor(e){this.model=e||{}}add(e,t){return this.model[e]=t}find(e){return this.model[e]}remove(e){this.model[e]=void 0}}},{}],6:[function(e,t,r){"use strict";const n=e("../utils/under-dash"),i=e("../utils/col-cache"),o=e("../utils/cell-matrix"),a=e("./range"),s=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;t.exports=class{constructor(){this.matrixMap={}}getMatrix(e){return this.matrixMap[e]||(this.matrixMap[e]=new o)}add(e,t){const r=i.decodeEx(e);this.addEx(r,t)}addEx(e,t){const r=this.getMatrix(t);if(e.top)for(let n=e.left;n<=e.right;n++)for(let t=e.top;t<=e.bottom;t++){const o={sheetName:e.sheetName,address:i.n2l(n)+t,row:t,col:n};r.addCellEx(o)}else r.addCellEx(e)}remove(e,t){const r=i.decodeEx(e);this.removeEx(r,t)}removeEx(e,t){this.getMatrix(t).removeCellEx(e)}removeAllNames(e){n.each(this.matrixMap,t=>{t.removeCellEx(e)})}forEach(e){n.each(this.matrixMap,(t,r)=>{t.forEach(t=>{e(r,t)})})}getNames(e){return this.getNamesEx(i.decodeEx(e))}getNamesEx(e){return n.map(this.matrixMap,(t,r)=>t.findCellEx(e)&&r).filter(Boolean)}_explore(e,t){t.mark=!1;const{sheetName:r}=t,n=new a(t.row,t.col,t.row,t.col,r);let i,o;function s(i,o){const a=e.findCellAt(r,i,t.col);return!(!a||!a.mark)&&(n[o]=i,a.mark=!1,!0)}for(o=t.row-1;s(o,"top");o--);for(o=t.row+1;s(o,"bottom");o++);function l(t,i){const a=[];for(o=n.top;o<=n.bottom;o++){const n=e.findCellAt(r,o,t);if(!n||!n.mark)return!1;a.push(n)}n[i]=t;for(let e=0;e<a.length;e++)a[e].mark=!1;return!0}for(i=t.col-1;l(i,"left");i--);for(i=t.col+1;l(i,"right");i++);return n}getRanges(e,t){return(t=t||this.matrixMap[e])?(t.forEach(e=>{e.mark=!0}),{name:e,ranges:t.map(e=>e.mark&&this._explore(t,e)).filter(Boolean).map(e=>e.$shortRange)}):{name:e,ranges:[]}}normaliseMatrix(e,t){e.forEachInSheet(t,(e,t,r)=>{e&&(e.row===t&&e.col===r||(e.row=t,e.col=r,e.address=i.n2l(r)+t))})}spliceRows(e,t,r,i){n.each(this.matrixMap,n=>{n.spliceRows(e,t,r,i),this.normaliseMatrix(n,e)})}spliceColumns(e,t,r,i){n.each(this.matrixMap,n=>{n.spliceColumns(e,t,r,i),this.normaliseMatrix(n,e)})}get model(){return n.map(this.matrixMap,(e,t)=>this.getRanges(t,e)).filter(e=>e.ranges.length)}set model(e){const t=this.matrixMap={};e.forEach(e=>{const r=t[e.name]=new o;e.ranges.forEach(e=>{s.test(e.split("!").pop()||"")&&r.addCell(e)})})}}},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(e,t,r){"use strict";t.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(e,t,r){"use strict";const n=e("../utils/col-cache"),i=e("./anchor");t.exports=class{constructor(e,t){this.worksheet=e,this.model=t}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model(e){let{type:t,imageId:r,range:o,hyperlinks:a}=e;if(this.type=t,this.imageId=r,"image"===t)if("string"==typeof o){const e=n.decode(o);this.range={tl:new i(this.worksheet,{col:e.left,row:e.top},-1),br:new i(this.worksheet,{col:e.right,row:e.bottom},0),editAs:"oneCell"}}else this.range={tl:new i(this.worksheet,o.tl,0),br:o.br&&new i(this.worksheet,o.br,0),ext:o.ext,editAs:o.editAs,hyperlinks:a||o.hyperlinks}}}},{"../utils/col-cache":19,"./anchor":2}],9:[function(e,t,r){"use strict";const n=e("../utils/under-dash");class i{constructor(e){this.note=e}get model(){let e=null;switch(typeof this.note){case"string":e={type:"note",note:{texts:[{text:this.note}]}};break;default:e={type:"note",note:this.note}}return n.deepMerge({},i.DEFAULT_CONFIGS,e)}set model(e){const{note:t}=e,{texts:r}=t;1===r.length&&1===Object.keys(r[0]).length?this.note=r[0].text:this.note=t}static fromModel(e){const t=new i;return t.model=e,t}}i.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},t.exports=i},{"../utils/under-dash":26}],10:[function(e,t,r){"use strict";const n=e("../utils/col-cache");class i{constructor(){this.decode(arguments)}setTLBR(e,t,r,i,o){if(arguments.length<4){const i=n.decodeAddress(e),a=n.decodeAddress(t);this.model={top:Math.min(i.row,a.row),left:Math.min(i.col,a.col),bottom:Math.max(i.row,a.row),right:Math.max(i.col,a.col),sheetName:r},this.setTLBR(i.row,i.col,a.row,a.col,o)}else this.model={top:Math.min(e,r),left:Math.min(t,i),bottom:Math.max(e,r),right:Math.max(t,i),sheetName:o}}decode(e){switch(e.length){case 5:this.setTLBR(e[0],e[1],e[2],e[3],e[4]);break;case 4:this.setTLBR(e[0],e[1],e[2],e[3]);break;case 3:this.setTLBR(e[0],e[1],e[2]);break;case 2:this.setTLBR(e[0],e[1]);break;case 1:{const t=e[0];if(t instanceof i)this.model={top:t.model.top,left:t.model.left,bottom:t.model.bottom,right:t.model.right,sheetName:t.sheetName};else if(t instanceof Array)this.decode(t);else if(t.top&&t.left&&t.bottom&&t.right)this.model={top:t.top,left:t.left,bottom:t.bottom,right:t.right,sheetName:t.sheetName};else{const e=n.decodeEx(t);e.top?this.model={top:e.top,left:e.left,bottom:e.bottom,right:e.right,sheetName:e.sheetName}:this.model={top:e.row,left:e.col,bottom:e.row,right:e.col,sheetName:e.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - "+e.length)}}get top(){return this.model.top||1}set top(e){this.model.top=e}get left(){return this.model.left||1}set left(e){this.model.left=e}get bottom(){return this.model.bottom||1}set bottom(e){this.model.bottom=e}get right(){return this.model.right||1}set right(e){this.model.right=e}get sheetName(){return this.model.sheetName}set sheetName(e){this.model.sheetName=e}get _serialisedSheetName(){const{sheetName:e}=this.model;return e?/^[a-zA-Z0-9]*$/.test(e)?e+"!":`'${e}'!`:""}expand(e,t,r,n){(!this.model.top||e<this.top)&&(this.top=e),(!this.model.left||t<this.left)&&(this.left=t),(!this.model.bottom||r>this.bottom)&&(this.bottom=r),(!this.model.right||n>this.right)&&(this.right=n)}expandRow(e){if(e){const{dimensions:t,number:r}=e;t&&this.expand(r,t.min,r,t.max)}}expandToAddress(e){const t=n.decodeEx(e);this.expand(t.row,t.col,t.row,t.col)}get tl(){return n.n2l(this.left)+this.top}get $t$l(){return`$${n.n2l(this.left)}$${this.top}`}get br(){return n.n2l(this.right)+this.bottom}get $b$r(){return`$${n.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(e){return(!e.sheetName||!this.sheetName||e.sheetName===this.sheetName)&&!(e.bottom<this.top)&&!(e.top>this.bottom)&&!(e.right<this.left)&&!(e.left>this.right)}contains(e){const t=n.decodeEx(e);return this.containsEx(t)}containsEx(e){return(!e.sheetName||!this.sheetName||e.sheetName===this.sheetName)&&e.row>=this.top&&e.row<=this.bottom&&e.col>=this.left&&e.col<=this.right}forEachAddress(e){for(let t=this.left;t<=this.right;t++)for(let r=this.top;r<=this.bottom;r++)e(n.encodeAddress(r,t),r,t)}}t.exports=i},{"../utils/col-cache":19}],11:[function(e,t,r){"use strict";const n=e("../utils/under-dash"),i=e("./enums"),o=e("../utils/col-cache"),a=e("./cell");t.exports=class{constructor(e,t){this._worksheet=e,this._number=t,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(e){return this._cells[e-1]}getCellEx(e){let t=this._cells[e.col-1];if(!t){const r=this._worksheet.getColumn(e.col);t=new a(this,r,e.address),this._cells[e.col-1]=t}return t}getCell(e){if("string"==typeof e){const t=this._worksheet.getColumnKey(e);e=t?t.number:o.l2n(e)}return this._cells[e-1]||this.getCellEx({address:o.encodeAddress(this._number,e),row:this._number,col:e})}splice(e,t){const r=e+t;for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];const a=i.length-t,s=this._cells.length;let l,u,c;if(a<0)for(l=e+i.length;l<=s;l++)c=this._cells[l-1],u=this._cells[l-a-1],u?(c=this.getCell(l),c.value=u.value,c.style=u.style,c._comment=u._comment):c&&(c.value=null,c.style={},c._comment=void 0);else if(a>0)for(l=s;l>=r;l--)u=this._cells[l-1],u?(c=this.getCell(l+a),c.value=u.value,c.style=u.style,c._comment=u._comment):this._cells[l+a-1]=void 0;for(l=0;l<i.length;l++)c=this.getCell(e+l),c.value=i[l],c.style={},c._comment=void 0}eachCell(e,t){if(t||(t=e,e=null),e&&e.includeEmpty){const e=this._cells.length;for(let r=1;r<=e;r++)t(this.getCell(r),r)}else this._cells.forEach((e,r)=>{e&&e.type!==i.ValueType.Null&&t(e,r+1)})}addPageBreak(e,t){const r=this._worksheet,n=Math.max(0,e-1)||0,i=Math.max(0,t-1)||16838,o={id:this._number,max:i,man:1};n&&(o.min=n),r.rowBreaks.push(o)}get values(){const e=[];return this._cells.forEach(t=>{t&&t.type!==i.ValueType.Null&&(e[t.col]=t.value)}),e}set values(e){if(this._cells=[],e)if(e instanceof Array){let t=0;e.hasOwnProperty("0")&&(t=1),e.forEach((e,r)=>{void 0!==e&&(this.getCellEx({address:o.encodeAddress(this._number,r+t),row:this._number,col:r+t}).value=e)})}else this._worksheet.eachColumnKey((t,r)=>{void 0!==e[r]&&(this.getCellEx({address:o.encodeAddress(this._number,t.number),row:this._number,col:t.number}).value=e[r])})}get hasValues(){return n.some(this._cells,e=>e&&e.type!==i.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let e=0;return this.eachCell(()=>{e++}),e}get dimensions(){let e=0,t=0;return this._cells.forEach(r=>{r&&r.type!==i.ValueType.Null&&((!e||e>r.col)&&(e=r.col),t<r.col&&(t=r.col))}),e>0?{min:e,max:t}:null}_applyStyle(e,t){return this.style[e]=t,this._cells.forEach(r=>{r&&(r[e]=t)}),t}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){const e=[];let t=0,r=0;return this._cells.forEach(n=>{if(n){const i=n.model;i&&((!t||t>n.col)&&(t=n.col),r<n.col&&(r=n.col),e.push(i))}}),this.height||e.length?{cells:e,number:this.number,min:t,max:r,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(e){if(e.number!==this._number)throw new Error("Invalid row number in model");let t;this._cells=[],e.cells.forEach(e=>{switch(e.type){case a.Types.Merge:break;default:{let r;if(e.address)r=o.decodeAddress(e.address);else if(t){const{row:e}=t,n=t.col+1;r={row:e,col:n,address:o.encodeAddress(e,n),$col$row:`$${o.n2l(n)}$${e}`}}t=r,this.getCellEx(r).model=e;break}}}),e.height?this.height=e.height:delete this.height,this.hidden=e.hidden,this.outlineLevel=e.outlineLevel||0,this.style=e.style&&JSON.parse(JSON.stringify(e.style))||{}}}},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(e,t,r){"use strict";const n=e("../utils/col-cache");class i{constructor(e,t,r){this.table=e,this.column=t,this.index=r}_set(e,t){this.table.cacheState(),this.column[e]=t}get name(){return this.column.name}set name(e){this._set("name",e)}get filterButton(){return this.column.filterButton}set filterButton(e){this.column.filterButton=e}get style(){return this.column.style}set style(e){this.column.style=e}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(e){this._set("totalsRowLabel",e)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(e){this._set("totalsRowFunction",e)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(e){this._set("totalsRowResult",e)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(e){this._set("totalsRowFormula",e)}}t.exports=class{constructor(e,t){this.worksheet=e,t&&(this.table=t,this.validate(),this.store())}getFormula(e){switch(e.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${e.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${e.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${e.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${e.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${e.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${e.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${e.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${e.name}])`;case"custom":return e.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: "+e.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:e}=this,t=(e,t,r)=>{void 0===e[t]&&(e[t]=r)};t(e,"headerRow",!0),t(e,"totalsRow",!1),t(e,"style",{}),t(e.style,"theme","TableStyleMedium2"),t(e.style,"showFirstColumn",!1),t(e.style,"showLastColumn",!1),t(e.style,"showRowStripes",!1),t(e.style,"showColumnStripes",!1);const r=(e,t)=>{if(!e)throw new Error(t)};r(e.ref,"Table must have ref"),r(e.columns,"Table must have column definitions"),r(e.rows,"Table must have row definitions"),e.tl=n.decodeAddress(e.ref);const{row:i,col:o}=e.tl;r(i>0,"Table must be on valid row"),r(o>0,"Table must be on valid col");const{width:a,filterHeight:s,tableHeight:l}=this;e.autoFilterRef=n.encode(i,o,i+s-1,o+a-1),e.tableRef=n.encode(i,o,i+l-1,o+a-1),e.columns.forEach((e,n)=>{r(e.name,`Column ${n} must have a name`),0===n?t(e,"totalsRowLabel","Total"):(t(e,"totalsRowFunction","none"),e.totalsRowFormula=this.getFormula(e))})}store(){const e=(e,t)=>{t&&Object.keys(t).forEach(r=>{e[r]=t[r]})},{worksheet:t,table:r}=this,{row:n,col:i}=r.tl;let o=0;if(r.headerRow){const a=t.getRow(n+o++);r.columns.forEach((t,r)=>{const{style:n,name:o}=t,s=a.getCell(i+r);s.value=o,e(s,n)})}if(r.rows.forEach(a=>{const s=t.getRow(n+o++);a.forEach((t,n)=>{const o=s.getCell(i+n);o.value=t,e(o,r.columns[n].style)})}),r.totalsRow){const a=t.getRow(n+o++);r.columns.forEach((t,r)=>{const n=a.getCell(i+r);if(0===r)n.value=t.totalsRowLabel;else{const e=this.getFormula(t);n.value=e?{formula:t.totalsRowFormula,result:t.totalsRowResult}:null}e(n,t.style)})}}load(e){const{table:t}=this,{row:r,col:n}=t.tl;let i=0;if(t.headerRow){const o=e.getRow(r+i++);t.columns.forEach((e,t)=>{o.getCell(n+t).value=e.name})}if(t.rows.forEach(t=>{const o=e.getRow(r+i++);t.forEach((e,t)=>{o.getCell(n+t).value=e})}),t.totalsRow){const o=e.getRow(r+i++);t.columns.forEach((e,t)=>{const r=o.getCell(n+t);0===t?r.value=e.totalsRowLabel:this.getFormula(e)&&(r.value={formula:e.totalsRowFormula,result:e.totalsRowResult})})}}get model(){return this.table}set model(e){this.table=e}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const e=n.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let t=0;t<this._cache.tableHeight;t++){const r=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++)r.getCell(e.col+t).value=null}else{for(let t=this.tableHeight;t<this._cache.tableHeight;t++){const r=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++)r.getCell(e.col+t).value=null}for(let t=0;t<this.tableHeight;t++){const r=this.worksheet.getRow(e.row+t);for(let t=this.width;t<this._cache.width;t++)r.getCell(e.col+t).value=null}}this.store()}addRow(e,t){this.cacheState(),void 0===t?this.table.rows.push(e):this.table.rows.splice(t,0,e)}removeRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.rows.splice(e,t)}getColumn(e){const t=this.table.columns[e];return new i(this,t,e)}addColumn(e,t,r){this.cacheState(),void 0===r?(this.table.columns.push(e),this.table.rows.forEach((e,r)=>{e.push(t[r])})):(this.table.columns.splice(r,0,e),this.table.rows.forEach((e,n)=>{e.splice(r,0,t[n])}))}removeColumns(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.columns.splice(e,t),this.table.rows.forEach(r=>{r.splice(e,t)})}_assign(e,t,r){this.cacheState(),e[t]=r}get ref(){return this.table.ref}set ref(e){this._assign(this.table,"ref",e)}get name(){return this.table.name}set name(e){this.table.name=e}get displayName(){return this.table.displyName||this.table.name}set displayNamename(e){this.table.displayName=e}get headerRow(){return this.table.headerRow}set headerRow(e){this._assign(this.table,"headerRow",e)}get totalsRow(){return this.table.totalsRow}set totalsRow(e){this._assign(this.table,"totalsRow",e)}get theme(){return this.table.style.name}set theme(e){this.table.style.name=e}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(e){this.table.style.showFirstColumn=e}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(e){this.table.style.showLastColumn=e}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(e){this.table.style.showRowStripes=e}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(e){this.table.style.showColumnStripes=e}}},{"../utils/col-cache":19}],13:[function(e,t,r){"use strict";const n=e("./worksheet"),i=e("./defined-names"),o=e("../xlsx/xlsx"),a=e("../csv/csv");t.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new i}get xlsx(){return this._xlsx||(this._xlsx=new o(this)),this._xlsx}get csv(){return this._csv||(this._csv=new a(this)),this._csv}get nextId(){for(let e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addWorksheet(e,t){const r=this.nextId;t&&("string"==typeof t?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),t={properties:{tabColor:{argb:t}}}):(t.argb||t.theme||t.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),t={properties:{tabColor:t}}));const i=this._worksheets.reduce((e,t)=>(t&&t.orderNo)>e?t.orderNo:e,0),o=Object.assign({},t,{id:r,name:e,orderNo:i+1,workbook:this}),a=new n(o);return this._worksheets[r]=a,a}removeWorksheetEx(e){delete this._worksheets[e.id]}removeWorksheet(e){const t=this.getWorksheet(e);t&&t.destroy()}getWorksheet(e){return void 0===e?this._worksheets.find(Boolean):"number"==typeof e?this._worksheets[e]:"string"==typeof e?this._worksheets.find(t=>t&&t.name===e):void 0}get worksheets(){return this._worksheets.slice(1).sort((e,t)=>e.orderNo-t.orderNo).filter(Boolean)}eachSheet(e){this.worksheets.forEach(t=>{e(t,t.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(e){const t=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),t}getImage(e){return this.media[e]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(e=>e.model),sheets:this.worksheets.map(e=>e.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(e){this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.calcProperties=e.calcProperties,this._worksheets=[],e.worksheets.forEach(t=>{const{id:r,name:i,state:o}=t,a=e.sheets&&e.sheets.findIndex(e=>e.id===r);(this._worksheets[r]=new n({id:r,name:i,orderNo:a,state:o,workbook:this})).model=t}),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[]}}},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(e,t,r){"use strict";const n=e("../utils/under-dash"),i=e("../utils/col-cache"),o=e("./range"),a=e("./row"),s=e("./column"),l=e("./enums"),u=e("./image"),c=e("./table"),d=e("./data-validations"),h=e("../utils/encryptor"),{copyStyle:f}=e("../utils/copy-style");t.exports=class{constructor(e){e=e||{},this._workbook=e.workbook,this.id=e.id,this.orderNo=e.orderNo,this.name=e.name,this.state=e.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!e.pageSetup||!e.pageSetup.fitToWidth&&!e.pageSetup.fitToHeight||e.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.dataValidations=new d,this.views=e.views||[],this.autoFilter=e.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(e){if(void 0===e&&(e="sheet"+this.id),this._name!==e){if("string"!=typeof e)throw new Error("The name has to be a string.");if(""===e)throw new Error("The name can't be empty.");if("History"===e)throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(e))throw new Error(`Worksheet name ${e} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(e))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: "+e);if(e&&e.length>31&&(console.warn(`Worksheet name ${e} exceeds 31 chars. This will be truncated`),e=e.substring(0,31)),this._workbook._worksheets.find(t=>t&&t.name.toLowerCase()===e.toLowerCase()))throw new Error("Worksheet name already exists: "+e);this._name=e}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const e=new o;return this._rows.forEach(t=>{if(t){const r=t.dimensions;r&&e.expand(t.number,r.min,t.number,r.max)}}),e}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce((e,t)=>{const r=(t.header?1:t.headers&&t.headers.length)||0;return Math.max(e,r)},0);let t=1;const r=this._columns=[];e.forEach(e=>{const n=new s(this,t++,!1);r.push(n),n.defn=e})}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){n.each(this._keys,e)}getColumn(e){if("string"==typeof e){const t=this._keys[e];if(t)return t;e=i.l2n(e)}if(this._columns||(this._columns=[]),e>this._columns.length){let t=this._columns.length+1;for(;t<=e;)this._columns.push(new s(this,t++))}return this._columns[e-1]}spliceColumns(e,t){const r=this._rows.length;for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(i.length>0)for(let u=0;u<r;u++){const r=[e,t];i.forEach(e=>{r.push(e[u]||null)});const n=this.getRow(u+1);n.splice.apply(n,r)}else this._rows.forEach(r=>{r&&r.splice(e,t)});const a=i.length-t,s=e+t,l=this._columns.length;if(a<0)for(let u=e+i.length;u<=l;u++)this.getColumn(u).defn=this.getColumn(u-a).defn;else if(a>0)for(let u=l;u>=s;u--)this.getColumn(u+a).defn=this.getColumn(u).defn;for(let u=e;u<e+i.length;u++)this.getColumn(u).defn=null;this.workbook.definedNames.spliceColumns(this.name,e,t,i.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let e=0;return this.eachRow(t=>{e=Math.max(e,t.cellCount)}),e}get actualColumnCount(){const e=[];let t=0;return this.eachRow(r=>{r.eachCell(r=>{let{col:n}=r;e[n]||(e[n]=!0,t++)})}),t}_commitRow(){}get _lastRowNumber(){const e=this._rows;let t=e.length;for(;t>0&&void 0===e[t-1];)t--;return t}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(e){return this._rows[e-1]}findRows(e,t){return this._rows.slice(e-1,e-1+t)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let e=0;return this.eachRow(()=>{e++}),e}getRow(e){let t=this._rows[e-1];return t||(t=this._rows[e-1]=new a(this,e)),t}getRows(e,t){if(t<1)return;const r=[];for(let n=e;n<e+t;n++)r.push(this.getRow(n));return r}addRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";const r=this._nextRow,n=this.getRow(r);return n.values=e,this._setStyleOption(r,"i"===t[0]?t:"n"),n}addRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";const r=[];return e.forEach(e=>{r.push(this.addRow(e,t))}),r}insertRow(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";return this.spliceRows(e,0,t),this._setStyleOption(e,r),this.getRow(e)}insertRows(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";if(this.spliceRows(e,0,...t),"n"!==r)for(let n=0;n<t.length;n++)"o"===r[0]&&void 0!==this.findRow(t.length+e+n)?this._copyStyle(t.length+e+n,e+n,"+"===r[1]):"i"===r[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e+n,"+"===r[1]);return this.getRows(e,t.length)}_setStyleOption(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";"o"===t[0]&&void 0!==this.findRow(e+1)?this._copyStyle(e+1,e,"+"===t[1]):"i"===t[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e,"+"===t[1])}_copyStyle(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=this.getRow(e),i=this.getRow(t);i.style=f(n.style),n.eachCell({includeEmpty:r},(e,t)=>{i.getCell(t).style=f(e.style)}),i.height=n.height}duplicateRow(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=this._rows[e-1],i=new Array(t).fill(n.values);this.spliceRows(e+1,r?0:t,...i);for(let o=0;o<t;o++){const t=this._rows[e+o];t.style=n.style,t.height=n.height,n.eachCell({includeEmpty:!0},(e,r)=>{t.getCell(r).style=e.style})}}spliceRows(e,t){const r=e+t;for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];const a=i.length,s=a-t,l=this._rows.length;let u,c;if(s<0)for(e===l&&(this._rows[l-1]=void 0),u=r;u<=l;u++)if(c=this._rows[u-1],c){const e=this.getRow(u+s);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},(t,r)=>{e.getCell(r).style=t.style}),this._rows[u-1]=void 0}else this._rows[u+s-1]=void 0;else if(s>0)for(u=l;u>=r;u--)if(c=this._rows[u-1],c){const e=this.getRow(u+s);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},(t,r)=>{if(e.getCell(r).style=t.style,"MergeValue"===t._value.constructor.name){const e=this.getRow(t._row._number+a).getCell(r),n=t._value._master,i=this.getRow(n._row._number+a).getCell(n._column._number);e.merge(i)}})}else this._rows[u+s-1]=void 0;for(u=0;u<a;u++){const t=this.getRow(e+u);t.style={},t.values=i[u]}this.workbook.definedNames.spliceRows(this.name,e,t,a)}eachRow(e,t){if(t||(t=e,e=void 0),e&&e.includeEmpty){const e=this._rows.length;for(let r=1;r<=e;r++)t(this.getRow(r),r)}else this._rows.forEach(e=>{e&&e.hasValues&&t(e,e.number)})}getSheetValues(){const e=[];return this._rows.forEach(t=>{t&&(e[t.number]=t.values)}),e}findCell(e,t){const r=i.getAddress(e,t),n=this._rows[r.row-1];return n?n.findCell(r.col):void 0}getCell(e,t){const r=i.getAddress(e,t);return this.getRow(r.row).getCellEx(r)}mergeCells(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=new o(t);this._mergeCellsInternal(n)}mergeCellsWithoutStyle(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=new o(t);this._mergeCellsInternal(n,!0)}_mergeCellsInternal(e,t){n.each(this._merges,t=>{if(t.intersects(e))throw new Error("Cannot merge already merged cells")});const r=this.getCell(e.top,e.left);for(let n=e.top;n<=e.bottom;n++)for(let i=e.left;i<=e.right;i++)(n>e.top||i>e.left)&&this.getCell(n,i).merge(r,t);this._merges[r.address]=e}_unMergeMaster(e){const t=this._merges[e.address];if(t){for(let e=t.top;e<=t.bottom;e++)for(let r=t.left;r<=t.right;r++)this.getCell(e,r).unmerge();delete this._merges[e.address]}}get hasMerges(){return n.some(this._merges,Boolean)}unMergeCells(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=new o(t);for(let i=n.top;i<=n.bottom;i++)for(let e=n.left;e<=n.right;e++){const t=this.findCell(i,e);t&&(t.type===l.ValueType.Merge?this._unMergeMaster(t.master):this._merges[t.address]&&this._unMergeMaster(t))}}fillFormula(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"shared";const o=i.decode(e),{top:a,left:s,bottom:l,right:u}=o,c=u-s+1,d=i.encodeAddress(a,s),h="shared"===n;let f;f="function"==typeof r?r:Array.isArray(r)?Array.isArray(r[0])?(e,t)=>r[e-a][t-s]:(e,t)=>r[(e-a)*c+(t-s)]:()=>{};let p=!0;for(let i=a;i<=l;i++)for(let r=s;r<=u;r++)p?(this.getCell(i,r).value={shareType:n,formula:t,ref:e,result:f(i,r)},p=!1):this.getCell(i,r).value=h?{sharedFormula:d,result:f(i,r)}:f(i,r)}addImage(e,t){const r={type:"image",imageId:e,range:t};this._media.push(new u(this,r))}getImages(){return this._media.filter(e=>"image"===e.type)}addBackgroundImage(e){const t={type:"background",imageId:e};this._media.push(new u(this,t))}getBackgroundImageId(){const e=this._media.find(e=>"background"===e.type);return e&&e.imageId}protect(e,t){return new Promise(r=>{this.sheetProtection={sheet:!0},t&&"spinCount"in t&&(t.spinCount=Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5),e&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=h.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=t&&"spinCount"in t?t.spinCount:1e5,this.sheetProtection.hashValue=h.convertPasswordToHash(e,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),t&&(this.sheetProtection=Object.assign(this.sheetProtection,t),!e&&"spinCount"in t&&delete this.sheetProtection.spinCount),r()})}unprotect(){this.sheetProtection=null}addTable(e){const t=new c(this,e);return this.tables[e.name]=t,t}getTable(e){return this.tables[e]}removeTable(e){delete this.tables[e]}getTables(){return Object.values(this.tables)}addConditionalFormatting(e){this.conditionalFormattings.push(e)}removeConditionalFormatting(e){"number"==typeof e?this.conditionalFormattings.splice(e,1):this.conditionalFormattings=e instanceof Function?this.conditionalFormattings.filter(e):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(e){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=e}get model(){const e={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(e=>e.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(e=>e.model),conditionalFormattings:this.conditionalFormattings};e.cols=s.toModel(this.columns);const t=e.rows=[],r=e.dimensions=new o;return this._rows.forEach(e=>{const n=e&&e.model;n&&(r.expand(n.number,n.min,n.number,n.max),t.push(n))}),e.merges=[],n.each(this._merges,t=>{e.merges.push(t.range)}),e}_parseRows(e){this._rows=[],e.rows.forEach(e=>{const t=new a(this,e.number);this._rows[t.number-1]=t,t.model=e})}_parseMergeCells(e){n.each(e.mergeCells,e=>{this.mergeCellsWithoutStyle(e)})}set model(e){this.name=e.name,this._columns=s.fromModel(this,e.cols),this._parseRows(e),this._parseMergeCells(e),this.dataValidations=new d(e.dataValidations),this.properties=e.properties,this.pageSetup=e.pageSetup,this.headerFooter=e.headerFooter,this.views=e.views,this.autoFilter=e.autoFilter,this._media=e.media.map(e=>new u(this,e)),this.sheetProtection=e.sheetProtection,this.tables=e.tables.reduce((e,t)=>{const r=new c;return r.model=t,e[t.name]=r,e},{}),this.conditionalFormattings=e.conditionalFormattings}}},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(e,t,r){"use strict";e("core-js/modules/es.promise"),e("core-js/modules/es.promise.finally"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.object.values"),e("core-js/modules/es.symbol"),e("core-js/modules/es.symbol.async-iterator"),e("core-js/modules/es.array.iterator"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.array.find-index"),e("core-js/modules/es.array.find"),e("core-js/modules/es.string.from-code-point"),e("core-js/modules/es.string.includes"),e("core-js/modules/es.number.is-nan"),e("regenerator-runtime/runtime");const n={Workbook:e("./doc/workbook")},i=e("./doc/enums");Object.keys(i).forEach(e=>{n[e]=i[e]}),t.exports=n},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(e,t,r){"use strict";const n="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");r.bufferToString=function(e){return"string"==typeof e?e:n?n.decode(e):e.toString()}},{}],17:[function(e,t,r){"use strict";const n="undefined"==typeof TextEncoder?null:new TextEncoder("utf-8"),{Buffer:i}=e("buffer");r.stringToBuffer=function(e){return"string"!=typeof e?e:n?i.from(n.encode(e).buffer):i.from(e)}},{buffer:220}],18:[function(e,t,r){"use strict";const n=e("./under-dash"),i=e("./col-cache");t.exports=class{constructor(e){this.template=e,this.sheets={}}addCell(e){this.addCellEx(i.decodeEx(e))}getCell(e){return this.findCellEx(i.decodeEx(e),!0)}findCell(e){return this.findCellEx(i.decodeEx(e),!1)}findCellAt(e,t,r){const n=this.sheets[e],i=n&&n[t];return i&&i[r]}addCellEx(e){if(e.top)for(let t=e.top;t<=e.bottom;t++)for(let r=e.left;r<=e.right;r++)this.getCellAt(e.sheetName,t,r);else this.findCellEx(e,!0)}getCellEx(e){return this.findCellEx(e,!0)}findCellEx(e,t){const r=this.findSheet(e,t),n=this.findSheetRow(r,e,t);return this.findRowCell(n,e,t)}getCellAt(e,t,r){const n=this.sheets[e]||(this.sheets[e]=[]),o=n[t]||(n[t]=[]);return o[r]||(o[r]={sheetName:e,address:i.n2l(r)+t,row:t,col:r})}removeCellEx(e){const t=this.findSheet(e);if(!t)return;const r=this.findSheetRow(t,e);r&&delete r[e.col]}forEachInSheet(e,t){const r=this.sheets[e];r&&r.forEach((e,r)=>{e&&e.forEach((e,n)=>{e&&t(e,r,n)})})}forEach(e){n.each(this.sheets,(t,r)=>{this.forEachInSheet(r,e)})}map(e){const t=[];return this.forEach(r=>{t.push(e(r))}),t}findSheet(e,t){const r=e.sheetName;return this.sheets[r]?this.sheets[r]:t?this.sheets[r]=[]:void 0}findSheetRow(e,t,r){const{row:n}=t;return e&&e[n]?e[n]:r?e[n]=[]:void 0}findRowCell(e,t,r){const{col:n}=t;return e&&e[n]?e[n]:r?e[n]=this.template?Object.assign(t,JSON.parse(JSON.stringify(this.template))):t:void 0}spliceRows(e,t,r,n){const i=this.sheets[e];if(i){const e=[];for(let t=0;t<n;t++)e.push([]);i.splice(t,r,...e)}}spliceColumns(e,t,r,i){const o=this.sheets[e];if(o){const e=[];for(let t=0;t<i;t++)e.push(null);n.each(o,n=>{n.splice(t,r,...e)})}}}},{"./col-cache":19,"./under-dash":26}],19:[function(e,t,r){"use strict";const n=/^[A-Z]+\d+$/,i={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:e=>e<=26?1:e<=676?2:3,_fill(e){let t,r,n,i,o,a=1;if(e>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&e>=1){for(;a<=26;)t=this._dictionary[a-1],this._n2l[a]=t,this._l2n[t]=a,a++;this._l2nFill=1}if(this._l2nFill<2&&e>=2){for(a=27;a<=702;)r=a-27,n=r%26,i=Math.floor(r/26),t=this._dictionary[i]+this._dictionary[n],this._n2l[a]=t,this._l2n[t]=a,a++;this._l2nFill=2}if(this._l2nFill<3&&e>=3){for(a=703;a<=16384;)r=a-703,n=r%26,i=Math.floor(r/26)%26,o=Math.floor(r/676),t=this._dictionary[o]+this._dictionary[i]+this._dictionary[n],this._n2l[a]=t,this._l2n[t]=a,a++;this._l2nFill=3}},l2n(e){if(this._l2n[e]||this._fill(e.length),!this._l2n[e])throw new Error("Out of bounds. Invalid column letter: "+e);return this._l2n[e]},n2l(e){if(e<1||e>16384)throw new Error(e+" is out of bounds. Excel supports columns from 1 to 16384");return this._n2l[e]||this._fill(this._level(e)),this._n2l[e]},_hash:{},validateAddress(e){if(!n.test(e))throw new Error("Invalid Address: "+e);return!0},decodeAddress(e){const t=e.length<5&&this._hash[e];if(t)return t;let r=!1,n="",i=0,o=!1,a="",s=0;for(let u,c=0;c<e.length;c++)if(u=e.charCodeAt(c),!o&&u>=65&&u<=90)r=!0,n+=e[c],i=26*i+u-64;else if(u>=48&&u<=57)o=!0,a+=e[c],s=10*s+u-48;else if(o&&r&&36!==u)break;if(r){if(i>16384)throw new Error("Out of bounds. Invalid column letter: "+n)}else i=void 0;o||(s=void 0);const l={address:e=n+a,col:i,row:s,$col$row:`$${n}$${a}`};return i<=100&&s<=100&&(this._hash[e]=l,this._hash[l.$col$row]=l),l},getAddress(e,t){if(t){const r=this.n2l(t)+e;return this.decodeAddress(r)}return this.decodeAddress(e)},decode(e){const t=e.split(":");if(2===t.length){const e=this.decodeAddress(t[0]),r=this.decodeAddress(t[1]),n={top:Math.min(e.row,r.row),left:Math.min(e.col,r.col),bottom:Math.max(e.row,r.row),right:Math.max(e.col,r.col)};return n.tl=this.n2l(n.left)+n.top,n.br=this.n2l(n.right)+n.bottom,n.dimensions=`${n.tl}:${n.br}`,n}return this.decodeAddress(e)},decodeEx(e){const t=e.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),r=t[1]||t[2],n=t[3],i=n.split(":");if(i.length>1){let e=this.decodeAddress(i[0]),t=this.decodeAddress(i[1]);const n=Math.min(e.row,t.row),o=Math.min(e.col,t.col),a=Math.max(e.row,t.row),s=Math.max(e.col,t.col);return e=this.n2l(o)+n,t=this.n2l(s)+a,{top:n,left:o,bottom:a,right:s,sheetName:r,tl:{address:e,col:o,row:n,$col$row:`$${this.n2l(o)}$${n}`,sheetName:r},br:{address:t,col:s,row:a,$col$row:`$${this.n2l(s)}$${a}`,sheetName:r},dimensions:`${e}:${t}`}}if(n.startsWith("#"))return r?{sheetName:r,error:n}:{error:n};const o=this.decodeAddress(n);return r?{sheetName:r,...o}:o},encodeAddress:(e,t)=>i.n2l(t)+e,encode(){switch(arguments.length){case 2:return i.encodeAddress(arguments[0],arguments[1]);case 4:return`${i.encodeAddress(arguments[0],arguments[1])}:${i.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(e,t){const[r,n,,i,o]=e,[a,s]=t;return a>=r&&a<=i&&s>=n&&s<=o}};t.exports=i},{}],20:[function(e,t,r){"use strict";const n=(e,t)=>({...e,...t.reduce((t,r)=>(e[r]&&(t[r]={...e[r]}),t),{})}),i=function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];e[r]&&(t[r]=n(e[r],i))};r.copyStyle=e=>{if(!e)return e;if(t=e,0===Object.keys(t).length)return{};var t;const r={...e};return i(e,r,"font",["color"]),i(e,r,"alignment"),i(e,r,"protection"),e.border&&(i(e,r,"border"),i(e.border,r.border,"top",["color"]),i(e.border,r.border,"left",["color"]),i(e.border,r.border,"bottom",["color"]),i(e.border,r.border,"right",["color"]),i(e.border,r.border,"diagonal",["color"])),e.fill&&(i(e,r,"fill",["fgColor","bgColor","center"]),e.fill.stops&&(r.fill.stops=e.fill.stops.map(e=>n(e,["color"])))),r}},{}],21:[function(e,t,r){(function(r){(function(){"use strict";const n=e("crypto"),i={hash(e){const t=n.createHash(e);for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return t.update(r.concat(o)),t.digest()},convertPasswordToHash(e,t,i,o){if(t=t.toLowerCase(),n.getHashes().indexOf(t)<0)throw new Error(`Hash algorithm '${t}' not supported!`);const a=r.from(e,"utf16le");let s=this.hash(t,r.from(i,"base64"),a);for(let n=0;n<o;n++){const e=r.alloc(4);e.writeUInt32LE(n,0),s=this.hash(t,s,e)}return s.toString("base64")},randomBytes:e=>n.randomBytes(e)};t.exports=i}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(e,t,r){"use strict";const{SaxesParser:n}=e("saxes"),{PassThrough:i}=e("readable-stream"),{bufferToString:o}=e("./browser-buffer-decode");t.exports=async function*(e){e.pipe&&!e[Symbol.asyncIterator]&&(e=e.pipe(new i));const t=new n;let r;t.on("error",e=>{r=e});let a=[];t.on("opentag",e=>a.push({eventType:"opentag",value:e})),t.on("text",e=>a.push({eventType:"text",value:e})),t.on("closetag",e=>a.push({eventType:"closetag",value:e}));for await(const n of e){if(t.write(o(n)),r)throw r;yield a,a=[]}}},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(e,t,r){"use strict";const n=e("./col-cache"),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,o=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;t.exports={slideFormula:function(e,t,r){const a=n.decode(t),s=n.decode(r);return e.replace(i,(e,t,r,i,l)=>{if(l)return e;const u=o.exec(i);if(u){const r=u[1],i=u[2].toUpperCase(),o=u[3],l=u[4];if(i.length>3||3===i.length&&i>"XFD")return e;let c=n.l2n(i),d=parseInt(l,10);return r||(c+=s.col-a.col),o||(d+=s.row-a.row),(t||"")+(r||"")+n.n2l(c)+(o||"")+d}return e})}}},{"./col-cache":19}],24:[function(e,t,r){(function(r,n){(function(){"use strict";const i=e("readable-stream"),o=e("./utils"),a=e("./string-buf");class s{constructor(e,t){this._data=e,this._encoding=t}get length(){return this.toBuffer().length}copy(e,t,r,n){return this.toBuffer().copy(e,t,r,n)}toBuffer(){return this._buffer||(this._buffer=n.from(this._data,this._encoding)),this._buffer}}class l{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,r,n){return this._data._buf.copy(e,t,r,n)}toBuffer(){return this._data.toBuffer()}}class u{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,r,n){this._data.copy(e,t,r,n)}toBuffer(){return this._data}}class c{constructor(e){this.size=e,this.buffer=n.alloc(e),this.iRead=0,this.iWrite=0}toBuffer(){if(0===this.iRead&&this.iWrite===this.size)return this.buffer;const e=n.alloc(this.iWrite-this.iRead);return this.buffer.copy(e,0,this.iRead,this.iWrite),e}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(e){let t;return 0===e?null:void 0===e||e>=this.length?(t=this.toBuffer(),this.iRead=this.iWrite,t):(t=n.alloc(e),this.buffer.copy(t,0,this.iRead,e),this.iRead+=e,t)}write(e,t,r){const n=Math.min(r,this.size-this.iWrite);return e.copy(this.buffer,this.iWrite,t,t+n),this.iWrite+=n,n}}const d=function(e){e=e||{},this.bufSize=e.bufSize||1048576,this.buffers=[],this.batch=e.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};o.inherits(d,i.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return n.concat(this.buffers.map(e=>e.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const e=this.buffers[this.buffers.length-1];if(!e.full)return e}const e=new c(this.bufSize);return this.buffers.push(e),e},async _pipe(e){await Promise.all(this.pipes.map((function(t){return new Promise(r=>{t.write(e.toBuffer(),()=>{r()})})})))},_writeToBuffers(e){let t=0;const r=e.length;for(;t<r;)t+=this._getWritableBuffer().write(e,t,r-t)},async write(e,t,i){let c;if(t instanceof Function&&(i=t,t="utf8"),i=i||o.nop,e instanceof a)c=new l(e);else if(e instanceof n)c=new u(e);else{if(!("string"==typeof e||e instanceof String||e instanceof ArrayBuffer))throw new Error("Chunk must be one of type String, Buffer or StringBuf.");c=new s(e,t)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(c);!this.corked&&this.buffers.length>1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(c),r.nextTick(i)):(await this._pipe(c),i());else this.paused||this.emit("data",c.toBuffer()),this._writeToBuffers(c),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(e,t,r){const n=e=>{e?r(e):(this._flush(),this.pipes.forEach(e=>{e.end()}),this.emit("finish"))};e?this.write(e,t,n):n()},read(e){let t;if(e){for(t=[];e&&this.buffers.length&&!this.buffers[0].eod;){const r=this.buffers[0],n=r.read(e);e-=n.length,t.push(n),r.eod&&r.full&&this.buffers.shift()}return n.concat(t)}return t=this.buffers.map(e=>e.toBuffer()).filter(Boolean),this.buffers=[],n.concat(t)},setEncoding(e){this.encoding=e},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(e){this.pipes.push(e),!this.paused&&this.buffers.length&&this.end()},unpipe(e){this.pipes=this.pipes.filter(t=>t!==e)},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),t.exports=d}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(e,t,r){(function(e){(function(){"use strict";t.exports=class{constructor(t){this._buf=e.alloc(t&&t.size||16384),this._encoding=t&&t.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=e.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(e){e=e||0,this._buffer=void 0,this._inPos=e}_grow(t){let r=2*this._buf.length;for(;r<t;)r*=2;const n=e.alloc(r);this._buf.copy(n,0),this._buf=n}addText(e){this._buffer=void 0;let t=this._inPos+this._buf.write(e,this._inPos,this._encoding);for(;t>=this._buf.length-4;)this._grow(this._inPos+e.length),t=this._inPos+this._buf.write(e,this._inPos,this._encoding);this._inPos=t}addStringBuf(e){e.length&&(this._buffer=void 0,this.length+e.length>this.capacity&&this._grow(this.length+e.length),e._buf.copy(this._buf,this._inPos,0,e.length),this._inPos+=e.length)}}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220}],26:[function(e,t,r){"use strict";const{toString:n}=Object.prototype,i=/["&<>]/,o={each:function(e,t){e&&(Array.isArray(e)?e.forEach(t):Object.keys(e).forEach(r=>{t(e[r],r)}))},some:function(e,t){return!!e&&(Array.isArray(e)?e.some(t):Object.keys(e).some(r=>t(e[r],r)))},every:function(e,t){return!e||(Array.isArray(e)?e.every(t):Object.keys(e).every(r=>t(e[r],r)))},map:function(e,t){return e?Array.isArray(e)?e.map(t):Object.keys(e).map(r=>t(e[r],r)):[]},keyBy:(e,t)=>e.reduce((e,r)=>(e[r[t]]=r,e),{}),isEqual:function(e,t){const r=typeof e,n=typeof t,i=Array.isArray(e),a=Array.isArray(t);let s;if(r!==n)return!1;switch(typeof e){case"object":if(i||a)return!(!i||!a)&&e.length===t.length&&e.every((e,r)=>{const n=t[r];return o.isEqual(e,n)});if(null===e||null===t)return e===t;if(s=Object.keys(e),Object.keys(t).length!==s.length)return!1;for(const e of s)if(!t.hasOwnProperty(e))return!1;return o.every(e,(e,r)=>{const n=t[r];return o.isEqual(e,n)});default:return e===t}},escapeHtml(e){const t=i.exec(e);if(!t)return e;let r="",n="",o=0,a=t.index;for(;a<e.length;a++){switch(e.charAt(a)){case'"':n=""";break;case"&":n="&";break;case"'":n="'";break;case"<":n="<";break;case">":n=">";break;default:continue}o!==a&&(r+=e.substring(o,a)),o=a+1,r+=n}return o!==a?r+e.substring(o,a):r},strcmp:(e,t)=>e<t?-1:e>t?1:0,isUndefined:e=>"[object Undefined]"===n.call(e),isObject:e=>"[object Object]"===n.call(e),deepMerge(){const e=arguments[0]||{},{length:t}=arguments;let r,n,i;function a(t,a){r=e[a],i=Array.isArray(t),o.isObject(t)||i?(i?(i=!1,n=r&&Array.isArray(r)?r:[]):n=r&&o.isObject(r)?r:{},e[a]=o.deepMerge(n,t)):o.isUndefined(t)||(e[a]=t)}for(let s=0;s<t;s++)o.each(arguments[s],a);return e}};t.exports=o},{}],27:[function(e,r,n){(function(t,n){(function(){"use strict";const i=e("fs"),o=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,a={nop(){},promiseImmediate:e=>new Promise(r=>{t.setImmediate?n(()=>{r(e)}):setTimeout(()=>{r(e)},1)}),inherits:function(e,t,r,n){e.super_=t,n||(n=r,r=null),r&&Object.keys(r).forEach(t=>{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))});const i={constructor:{value:e,enumerable:!1,writable:!1,configurable:!0}};n&&Object.keys(n).forEach(e=>{i[e]=Object.getOwnPropertyDescriptor(n,e)}),e.prototype=Object.create(t.prototype,i)},dateToExcel:(e,t)=>25569+e.getTime()/864e5-(t?1462:0),excelToDate(e,t){const r=Math.round(24*(e-25569+(t?1462:0))*3600*1e3);return new Date(r)},parsePath(e){const t=e.lastIndexOf("/");return{path:e.substring(0,t),name:e.substring(t+1)}},getRelsPath(e){const t=a.parsePath(e);return`${t.path}/_rels/${t.name}.rels`},xmlEncode(e){const t=o.exec(e);if(!t)return e;let r="",n="",i=0,a=t.index;for(;a<e.length;a++){const t=e.charCodeAt(a);switch(t){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;case 127:n="";break;default:if(t<=31&&(t<=8||t>=11&&13!==t)){n="";break}continue}i!==a&&(r+=e.substring(i,a)),i=a+1,n&&(r+=n)}return i!==a?r+e.substring(i,a):r},xmlDecode:e=>e.replace(/&([a-z]*);/g,e=>{switch(e){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return e}}),validInt(e){const t=parseInt(e,10);return Number.isNaN(t)?0:t},isDateFmt(e){return!!e&&null!==(e=(e=e.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)},fs:{exists:e=>new Promise(t=>{i.access(e,i.constants.F_OK,e=>{t(!e)})})},toIsoDateString:e=>e.toIsoString().subsstr(0,10),parseBoolean:e=>!0===e||"true"===e||1===e||"1"===e};r.exports=a}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{fs:216,timers:523}],28:[function(e,t,r){"use strict";const n=e("./under-dash"),i=e("./utils");function o(e,t,r){e.push(` ${t}="${i.xmlEncode(r.toString())}"`)}function a(e,t){if(t){const r=[];n.each(t,(e,t)=>{void 0!==e&&o(r,t,e)}),e.push(r.join(""))}}class s{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(e){const t=this._xml;t.push("<?xml"),a(t,e),t.push("?>\n")}openNode(e,t){const r=this.tos,n=this._xml;r&&this.open&&n.push(">"),this._stack.push(e),n.push("<"),n.push(e),a(n,t),this.leaf=!0,this.open=!0}addAttribute(e,t){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");void 0!==t&&o(this._xml,e,t)}addAttributes(e){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");a(this._xml,e)}writeText(e){const t=this._xml;this.open&&(t.push(">"),this.open=!1),this.leaf=!1,t.push(i.xmlEncode(e.toString()))}writeXml(e){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(e)}closeNode(){const e=this._stack.pop(),t=this._xml;this.leaf?t.push("/>"):(t.push("</"),t.push(e),t.push(">")),this.open=!1,this.leaf=!1}leafNode(e,t,r){this.openNode(e,t),void 0!==r&&this.writeText(r),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const e=this._rollbacks.pop();this._xml.length>e.xml&&this._xml.splice(e.xml,this._xml.length-e.xml),this._stack.length>e.stack&&this._stack.splice(e.stack,this._stack.length-e.stack),this.leaf=e.leaf,this.open=e.open}get xml(){return this.closeAll(),this._xml.join("")}}s.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},t.exports=s},{"./under-dash":26,"./utils":27}],29:[function(e,t,r){(function(r){(function(){"use strict";const n=e("events"),i=e("jszip"),o=e("./stream-buf"),{stringToBuffer:a}=e("./browser-buffer-encode");class s extends n.EventEmitter{constructor(e){super(),this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},e),this.zip=new i,this.stream=new o}append(e,t){t.hasOwnProperty("base64")&&t.base64?this.zip.file(t.name,e,{base64:!0}):(r.browser&&"string"==typeof e&&(e=a(e)),this.zip.file(t.name,e))}async finalize(){const e=await this.zip.generateAsync(this.options);this.stream.end(e),this.emit("finish")}read(e){return this.stream.read(e)}setEncoding(e){return this.stream.setEncoding(e)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(e,t){return this.stream.pipe(e,t)}unpipe(e){return this.stream.unpipe(e)}unshift(e){return this.stream.unshift(e)}wrap(e){return this.stream.wrap(e)}}t.exports={ZipWriter:s}}).call(this)}).call(this,e("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(e,t,r){"use strict";t.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],31:[function(e,t,r){"use strict";t.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],32:[function(e,t,r){"use strict";const n=e("../../utils/parse-sax"),i=e("../../utils/xml-stream");class o{prepare(){}render(){}parseOpen(e){}parseText(e){}parseClose(e){}reconcile(e,t){}reset(){this.model=null,this.map&&Object.values(this.map).forEach(e=>{e instanceof o?e.reset():e.xform&&e.xform.reset()})}mergeModel(e){this.model=Object.assign(this.model||{},e)}async parse(e){for await(const t of e)for(const{eventType:e,value:r}of t)if("opentag"===e)this.parseOpen(r);else if("text"===e)this.parseText(r);else if("closetag"===e&&!this.parseClose(r.name))return this.model;return this.model}async parseStream(e){return this.parse(n(e))}get xml(){return this.toXml(this.model)}toXml(e){const t=new i;return this.render(t,e),t.xml}static toAttribute(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===e){if(r)return t}else if(r||e!==t)return e.toString()}static toStringAttribute(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return o.toAttribute(e,t,r)}static toStringValue(e,t){return void 0===e?t:e}static toBoolAttribute(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===e){if(r)return t}else if(r||e!==t)return e?"1":"0"}static toBoolValue(e,t){return void 0===e?t:"1"===e}static toIntAttribute(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return o.toAttribute(e,t,r)}static toIntValue(e,t){return void 0===e?t:parseInt(e,10)}static toFloatAttribute(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return o.toAttribute(e,t,r)}static toFloatValue(e,t){return void 0===e?t:parseFloat(e)}}t.exports=o},{"../../utils/parse-sax":22,"../../utils/xml-stream":28}],33:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("../../../utils/col-cache");function o(e){try{return i.decodeEx(e),!0}catch(e){return!1}}function a(e){const t=[];let r=!1,n="";return e.split(",").forEach(e=>{if(!e)return;const i=(e.match(/'/g)||[]).length;if(!i)return void(r?n+=e+",":o(e)&&t.push(e));const a=i%2==0;!r&&a&&o(e)?t.push(e):r&&!a?(r=!1,o(n+e)&&t.push(n+e),n=""):(r=!0,n+=e+",")}),t}t.exports=class extends n{render(e,t){e.openNode("definedName",{name:t.name,localSheetId:t.localSheetId}),e.writeText(t.ranges.join(",")),e.closeNode()}parseOpen(e){switch(e.name){case"definedName":return this._parsedName=e.attributes.name,this._parsedLocalSheetId=e.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText(e){this._parsedText.push(e)}parseClose(){return this.model={name:this._parsedName,ranges:a(this._parsedText.join(""))},void 0!==this._parsedLocalSheetId&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{"../../../utils/col-cache":19,"../base-xform":32}],34:[function(e,t,r){"use strict";const n=e("../../../utils/utils"),i=e("../base-xform");t.exports=class extends i{render(e,t){e.leafNode("sheet",{sheetId:t.id,name:t.name,state:t.state,"r:id":t.rId})}parseOpen(e){return"sheet"===e.name&&(this.model={name:n.xmlDecode(e.attributes.name),id:parseInt(e.attributes.sheetId,10),state:e.attributes.state,rId:e.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/utils":27,"../base-xform":32}],35:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{render(e,t){e.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:t.fullCalcOnLoad?1:void 0})}parseOpen(e){return"calcPr"===e.name&&(this.model={},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],36:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{render(e,t){e.leafNode("workbookPr",{date1904:t.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(e){return"workbookPr"===e.name&&(this.model={date1904:"1"===e.attributes.date1904},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],37:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{render(e,t){const r={xWindow:t.x||0,yWindow:t.y||0,windowWidth:t.width||12e3,windowHeight:t.height||24e3,firstSheet:t.firstSheet,activeTab:t.activeTab};t.visibility&&"visible"!==t.visibility&&(r.visibility=t.visibility),e.leafNode("workbookView",r)}parseOpen(e){if("workbookView"===e.name){const t=this.model={},r=function(e,r,n){const i=void 0!==r?t[e]=r:n;void 0!==i&&(t[e]=i)},n=function(e,r,n){const i=void 0!==r?t[e]=parseInt(r,10):n;void 0!==i&&(t[e]=i)};return n("x",e.attributes.xWindow,0),n("y",e.attributes.yWindow,0),n("width",e.attributes.windowWidth,25e3),n("height",e.attributes.windowHeight,1e4),r("visibility",e.attributes.visibility,"visible"),n("activeTab",e.attributes.activeTab,void 0),n("firstSheet",e.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],38:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../../../utils/col-cache"),o=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("../static-xform"),l=e("../list-xform"),u=e("./defined-name-xform"),c=e("./sheet-xform"),d=e("./workbook-view-xform"),h=e("./workbook-properties-xform"),f=e("./workbook-calc-properties-xform");class p extends a{constructor(){super(),this.map={fileVersion:p.STATIC_XFORMS.fileVersion,workbookPr:new h,bookViews:new l({tag:"bookViews",count:!1,childXform:new d}),sheets:new l({tag:"sheets",count:!1,childXform:new c}),definedNames:new l({tag:"definedNames",count:!1,childXform:new u}),calcPr:new f}}prepare(e){e.sheets=e.worksheets;const t=[];let r=0;e.sheets.forEach(e=>{if(e.pageSetup&&e.pageSetup.printArea&&e.pageSetup.printArea.split("&&").forEach(n=>{const i=n.split(":"),o={name:"_xlnm.Print_Area",ranges:[`'${e.name}'!$${i[0]}:$${i[1]}`],localSheetId:r};t.push(o)}),e.pageSetup&&(e.pageSetup.printTitlesRow||e.pageSetup.printTitlesColumn)){const n=[];if(e.pageSetup.printTitlesColumn){const t=e.pageSetup.printTitlesColumn.split(":");n.push(`'${e.name}'!$${t[0]}:$${t[1]}`)}if(e.pageSetup.printTitlesRow){const t=e.pageSetup.printTitlesRow.split(":");n.push(`'${e.name}'!$${t[0]}:$${t[1]}`)}const i={name:"_xlnm.Print_Titles",ranges:n,localSheetId:r};t.push(i)}r++}),t.length&&(e.definedNames=e.definedNames.concat(t)),(e.media||[]).forEach((e,t)=>{e.name=e.type+(t+1)})}render(e,t){e.openXml(o.StdDocAttributes),e.openNode("workbook",p.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(e),this.map.workbookPr.render(e,t.properties),this.map.bookViews.render(e,t.views),this.map.sheets.render(e,t.sheets),this.map.definedNames.render(e,t.definedNames),this.map.calcPr.render(e,t.calcProperties),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"workbook":return!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}reconcile(e){const t=(e.workbookRels||[]).reduce((e,t)=>(e[t.Id]=t,e),{}),r=[];let o,a=0;(e.sheets||[]).forEach(n=>{const i=t[n.rId];i&&(o=e.worksheetHash["xl/"+i.Target.replace(/^(\s|\/xl\/)+/,"")],o&&(o.name=n.name,o.id=n.id,o.state=n.state,r[a++]=o))});const s=[];n.each(e.definedNames,e=>{if("_xlnm.Print_Area"===e.name){if(o=r[e.localSheetId],o){o.pageSetup||(o.pageSetup={});const t=i.decodeEx(e.ranges[0]);o.pageSetup.printArea=o.pageSetup.printArea?`${o.pageSetup.printArea}&&${t.dimensions}`:t.dimensions}}else if("_xlnm.Print_Titles"===e.name){if(o=r[e.localSheetId],o){o.pageSetup||(o.pageSetup={});const t=e.ranges.join(","),r=/\$/g,n=/\$\d+:\$\d+/,i=t.match(n);if(i&&i.length){const e=i[0];o.pageSetup.printTitlesRow=e.replace(r,"")}const a=/\$[A-Z]+:\$[A-Z]+/,s=t.match(a);if(s&&s.length){const e=s[0];o.pageSetup.printTitlesColumn=e.replace(r,"")}}}else s.push(e)}),e.definedNames=s,e.media.forEach((e,t)=>{e.index=t})}}p.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},p.STATIC_XFORMS={fileVersion:new s({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},t.exports=p},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./defined-name-xform":33,"./sheet-xform":34,"./workbook-calc-properties-xform":35,"./workbook-properties-xform":36,"./workbook-view-xform":37}],39:[function(e,t,r){"use strict";const n=e("../strings/rich-text-xform"),i=e("../../../utils/utils"),o=e("../base-xform"),a=t.exports=function(e){this.model=e};i.inherits(a,o,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new n),this._richTextXform},render(e,t){t=t||this.model,e.openNode("comment",{ref:t.ref,authorId:0}),e.openNode("text"),t&&t.note&&t.note.texts&&t.note.texts.forEach(t=>{this.richTextXform.render(e,t)}),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"comment":return this.model={type:"note",note:{texts:[]},...e.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],40:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../../../utils/utils"),o=e("../base-xform"),a=e("./comment-xform"),s=t.exports=function(){this.map={comment:new a}};i.inherits(s,o,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render(e,t){t=t||this.model,e.openXml(n.StdDocAttributes),e.openNode("comments",s.COMMENTS_ATTRIBUTES),e.openNode("authors"),e.leafNode("author",null,"Author"),e.closeNode(),e.openNode("commentList"),t.comments.forEach(t=>{this.map.comment.render(e,t)}),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":27,"../../../utils/xml-stream":28,"../base-xform":32,"./comment-xform":39}],41:[function(e,t,r){"use strict";const n=e("../../base-xform");t.exports=class extends n{constructor(e){super(),this._model=e}get tag(){return this._model&&this._model.tag}render(e,t,r){(t===r[2]||"x:SizeWithCells"===this.tag&&t===r[1])&&e.leafNode(this.tag)}parseOpen(e){switch(e.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../base-xform":32}],42:[function(e,t,r){"use strict";const n=e("../../base-xform");t.exports=class extends n{constructor(e){super(),this._model=e}get tag(){return this._model&&this._model.tag}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(e){switch(e.name){case this.tag:return this.text="",!0;default:return!1}}parseText(e){this.text=e}parseClose(){return!1}}},{"../../base-xform":32}],43:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"x:Anchor"}getAnchorRect(e){const t=Math.floor(e.left),r=Math.floor(68*(e.left-t)),n=Math.floor(e.top),i=Math.floor(18*(e.top-n)),o=Math.floor(e.right),a=Math.floor(68*(e.right-o)),s=Math.floor(e.bottom);return[t,r,n,i,o,a,s,Math.floor(18*(e.bottom-s))]}getDefaultRect(e){const t=e.col,r=Math.max(e.row-2,0);return[t,6,r,14,t+2,2,r+4,16]}render(e,t){const r=t.anchor?this.getAnchorRect(t.anchor):this.getDefaultRect(t.refAddress);e.leafNode("x:Anchor",null,r.join(", "))}parseOpen(e){switch(e.name){case this.tag:return this.text="",!0;default:return!1}}parseText(e){this.text=e}parseClose(){return!1}}},{"../base-xform":32}],44:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./vml-anchor-xform"),o=e("./style/vml-protection-xform"),a=e("./style/vml-position-xform"),s=["twoCells","oneCells","absolute"];t.exports=class extends n{constructor(){super(),this.map={"x:Anchor":new i,"x:Locked":new o({tag:"x:Locked"}),"x:LockText":new o({tag:"x:LockText"}),"x:SizeWithCells":new a({tag:"x:SizeWithCells"}),"x:MoveWithCells":new a({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render(e,t){const{protection:r,editAs:n}=t.note;e.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(e,n,s),this.map["x:SizeWithCells"].render(e,n,s),this.map["x:Anchor"].render(e,t),this.map["x:Locked"].render(e,r.locked),e.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(e,r.lockText),e.leafNode("x:Row",null,t.refAddress.row-1),e.leafNode("x:Column",null,t.refAddress.col-1),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){const e=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),t=Object.keys(e).length;this.model.editAs=s[t],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}},{"../base-xform":32,"./style/vml-position-xform":41,"./style/vml-protection-xform":42,"./vml-anchor-xform":43}],45:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("./vml-shape-xform");class a extends i{constructor(){super(),this.map={"v:shape":new o}}get tag(){return"xml"}render(e,t){e.openXml(n.StdDocAttributes),e.openNode(this.tag,a.DRAWING_ATTRIBUTES),e.openNode("o:shapelayout",{"v:ext":"edit"}),e.leafNode("o:idmap",{"v:ext":"edit",data:1}),e.closeNode(),e.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),e.leafNode("v:stroke",{joinstyle:"miter"}),e.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),e.closeNode(),t.comments.forEach((t,r)=>{this.map["v:shape"].render(e,t,r)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}reconcile(e,t){e.anchors.forEach(e=>{e.br?this.map["xdr:twoCellAnchor"].reconcile(e,t):this.map["xdr:oneCellAnchor"].reconcile(e,t)})}}a.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},t.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32,"./vml-shape-xform":46}],46:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./vml-textbox-xform"),o=e("./vml-client-data-xform");class a extends n{constructor(){super(),this.map={"v:textbox":new i,"x:ClientData":new o}}get tag(){return"v:shape"}render(e,t,r){e.openNode("v:shape",a.V_SHAPE_ATTRIBUTES(t,r)),e.leafNode("v:fill",{color2:"infoBackground [80]"}),e.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),e.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(e,t),this.map["x:ClientData"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={margins:{insetmode:e.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}a.V_SHAPE_ATTRIBUTES=(e,t)=>({id:"_x0000_s"+(1025+t),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":e.note.margins&&e.note.margins.insetmode}),t.exports=a},{"../base-xform":32,"./vml-client-data-xform":44,"./vml-textbox-xform":47}],47:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"v:textbox"}conversionUnit(e,t,r){return`${parseFloat(e)*t.toFixed(2)}${r}`}reverseConversionUnit(e){return(e||"").split(",").map(e=>Number(parseFloat(this.conversionUnit(parseFloat(e),.1,"")).toFixed(2)))}render(e,t){const r={style:"mso-direction-alt:auto"};if(t&&t.note){let{inset:e}=t.note&&t.note.margins;Array.isArray(e)&&(e=e.map(e=>this.conversionUnit(e,10,"mm")).join(",")),e&&(r.inset=e)}e.openNode("v:textbox",r),e.leafNode("div",{style:"text-align:left"}),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:return this.model={inset:this.reverseConversionUnit(e.attributes.inset)},!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],48:[function(e,t,r){"use strict";const n=e("./base-xform");t.exports=class extends n{createNewModel(e){return{}}parseOpen(e){return this.parser=this.parser||this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag&&(this.model=this.createNewModel(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}onParserClose(e,t){this.model[e]=t.model}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.onParserClose(e,this.parser),this.parser=void 0),!0):e!==this.tag}}},{"./base-xform":32}],49:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{render(e,t){e.openNode("HeadingPairs"),e.openNode("vt:vector",{size:2,baseType:"variant"}),e.openNode("vt:variant"),e.leafNode("vt:lpstr",void 0,"Worksheets"),e.closeNode(),e.openNode("vt:variant"),e.leafNode("vt:i4",void 0,t.length),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){return"HeadingPairs"===e.name}parseText(){}parseClose(e){return"HeadingPairs"!==e}}},{"../base-xform":32}],50:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{render(e,t){e.openNode("TitlesOfParts"),e.openNode("vt:vector",{size:t.length,baseType:"lpstr"}),t.forEach(t=>{e.leafNode("vt:lpstr",void 0,t.name)}),e.closeNode(),e.closeNode()}parseOpen(e){return"TitlesOfParts"===e.name}parseText(){}parseClose(e){return"TitlesOfParts"!==e}}},{"../base-xform":32}],51:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("../simple/string-xform"),a=e("./app-heading-pairs-xform"),s=e("./app-titles-of-parts-xform");class l extends i{constructor(){super(),this.map={Company:new o({tag:"Company"}),Manager:new o({tag:"Manager"}),HeadingPairs:new a,TitleOfParts:new s}}render(e,t){e.openXml(n.StdDocAttributes),e.openNode("Properties",l.PROPERTY_ATTRIBUTES),e.leafNode("Application",void 0,"Microsoft Excel"),e.leafNode("DocSecurity",void 0,"0"),e.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(e,t.worksheets),this.map.TitleOfParts.render(e,t.worksheets),this.map.Company.render(e,t.company||""),this.map.Manager.render(e,t.manager),e.leafNode("LinksUpToDate",void 0,"false"),e.leafNode("SharedDoc",void 0,"false"),e.leafNode("HyperlinksChanged",void 0,"false"),e.leafNode("AppVersion",void 0,"16.0300"),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"Properties":return!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}l.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3,6}/,"")},l.DateAttrs={"xsi:type":"dcterms:W3CDTF"},l.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},t.exports=l},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/string-xform":119,"./app-heading-pairs-xform":49,"./app-titles-of-parts-xform":50}],52:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../base-xform");class o extends i{render(e,t){e.openXml(n.StdDocAttributes),e.openNode("Types",o.PROPERTY_ATTRIBUTES);const r={};(t.media||[]).forEach(t=>{if("image"===t.type){const n=t.extension;r[n]||(r[n]=!0,e.leafNode("Default",{Extension:n,ContentType:"image/"+n}))}}),e.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),e.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),e.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),t.worksheets.forEach(t=>{const r=`/xl/worksheets/sheet${t.id}.xml`;e.leafNode("Override",{PartName:r,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),e.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),e.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),t.sharedStrings&&t.sharedStrings.count&&e.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),t.tables&&t.tables.forEach(t=>{e.leafNode("Override",{PartName:"/xl/tables/"+t.target,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),t.drawings&&t.drawings.forEach(t=>{e.leafNode("Override",{PartName:`/xl/drawings/${t.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),t.commentRefs&&(e.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),t.commentRefs.forEach(t=>{let{commentName:r}=t;e.leafNode("Override",{PartName:`/xl/${r}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),e.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),e.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),e.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}o.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},t.exports=o},{"../../../utils/xml-stream":28,"../base-xform":32}],53:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("../simple/date-xform"),a=e("../simple/string-xform"),s=e("../simple/integer-xform");class l extends i{constructor(){super(),this.map={"dc:creator":new a({tag:"dc:creator"}),"dc:title":new a({tag:"dc:title"}),"dc:subject":new a({tag:"dc:subject"}),"dc:description":new a({tag:"dc:description"}),"dc:identifier":new a({tag:"dc:identifier"}),"dc:language":new a({tag:"dc:language"}),"cp:keywords":new a({tag:"cp:keywords"}),"cp:category":new a({tag:"cp:category"}),"cp:lastModifiedBy":new a({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new o({tag:"cp:lastPrinted",format:l.DateFormat}),"cp:revision":new s({tag:"cp:revision"}),"cp:version":new a({tag:"cp:version"}),"cp:contentStatus":new a({tag:"cp:contentStatus"}),"cp:contentType":new a({tag:"cp:contentType"}),"dcterms:created":new o({tag:"dcterms:created",attrs:l.DateAttrs,format:l.DateFormat}),"dcterms:modified":new o({tag:"dcterms:modified",attrs:l.DateAttrs,format:l.DateFormat})}}render(e,t){e.openXml(n.StdDocAttributes),e.openNode("cp:coreProperties",l.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(e,t.creator),this.map["dc:title"].render(e,t.title),this.map["dc:subject"].render(e,t.subject),this.map["dc:description"].render(e,t.description),this.map["dc:identifier"].render(e,t.identifier),this.map["dc:language"].render(e,t.language),this.map["cp:keywords"].render(e,t.keywords),this.map["cp:category"].render(e,t.category),this.map["cp:lastModifiedBy"].render(e,t.lastModifiedBy),this.map["cp:lastPrinted"].render(e,t.lastPrinted),this.map["cp:revision"].render(e,t.revision),this.map["cp:version"].render(e,t.version),this.map["cp:contentStatus"].render(e,t.contentStatus),this.map["cp:contentType"].render(e,t.contentType),this.map["dcterms:created"].render(e,t.created),this.map["dcterms:modified"].render(e,t.modified),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}l.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3}/,"")},l.DateAttrs={"xsi:type":"dcterms:W3CDTF"},l.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},t.exports=l},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/date-xform":117,"../simple/integer-xform":118,"../simple/string-xform":119}],54:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{render(e,t){e.leafNode("Relationship",t)}parseOpen(e){switch(e.name){case"Relationship":return this.model=e.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],55:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("./relationship-xform");class a extends i{constructor(){super(),this.map={Relationship:new o}}render(e,t){t=t||this._values,e.openXml(n.StdDocAttributes),e.openNode("Relationships",a.RELATIONSHIPS_ATTRIBUTES),t.forEach(t=>{this.map.Relationship.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(e){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}a.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},t.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32,"./relationship-xform":54}],56:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={range:{editAs:e.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}reconcilePicture(e,t){if(e&&e.rId){const r=t.rels[e.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(r){const e=r[1],n=t.mediaIndex[e];return t.media[n]}}}}},{"../base-xform":32}],57:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./blip-xform");t.exports=class extends n{constructor(){super(),this.map={"a:blip":new i}}get tag(){return"xdr:blipFill"}render(e,t){e.openNode(this.tag),this.map["a:blip"].render(e,t),e.openNode("a:stretch"),e.leafNode("a:fillRect"),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}},{"../base-xform":32,"./blip-xform":58}],58:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"a:blip"}render(e,t){e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":t.rId,cstate:"print"})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],59:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"xdr:cNvPicPr"}render(e){e.openNode(this.tag),e.leafNode("a:picLocks",{noChangeAspect:"1"}),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],60:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./hlink-click-xform"),o=e("./ext-lst-xform");t.exports=class extends n{constructor(){super(),this.map={"a:hlinkClick":new i,"a:extLst":new o}}get tag(){return"xdr:cNvPr"}render(e,t){e.openNode(this.tag,{id:t.index,name:"Picture "+t.index}),this.map["a:hlinkClick"].render(e,t),this.map["a:extLst"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}},{"../base-xform":32,"./ext-lst-xform":63,"./hlink-click-xform":65}],61:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("../simple/integer-xform");t.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.map={"xdr:col":new i({tag:"xdr:col",zero:!0}),"xdr:colOff":new i({tag:"xdr:colOff",zero:!0}),"xdr:row":new i({tag:"xdr:row",zero:!0}),"xdr:rowOff":new i({tag:"xdr:rowOff",zero:!0})}}render(e,t){e.openNode(this.tag),this.map["xdr:col"].render(e,t.nativeCol),this.map["xdr:colOff"].render(e,t.nativeColOff),this.map["xdr:row"].render(e,t.nativeRow),this.map["xdr:rowOff"].render(e,t.nativeRowOff),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}},{"../base-xform":32,"../simple/integer-xform":118}],62:[function(e,t,r){"use strict";const n=e("../../../utils/col-cache"),i=e("../../../utils/xml-stream"),o=e("../base-xform"),a=e("./two-cell-anchor-xform"),s=e("./one-cell-anchor-xform");class l extends o{constructor(){super(),this.map={"xdr:twoCellAnchor":new a,"xdr:oneCellAnchor":new s}}prepare(e){e.anchors.forEach((e,t)=>{e.anchorType=function(e){return("string"==typeof e.range?n.decode(e.range):e.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(e),this.map[e.anchorType].prepare(e,{index:t})})}get tag(){return"xdr:wsDr"}render(e,t){e.openXml(i.StdDocAttributes),e.openNode(this.tag,l.DRAWING_ATTRIBUTES),t.anchors.forEach(t=>{this.map[t.anchorType].render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}reconcile(e,t){e.anchors.forEach(e=>{e.br?this.map["xdr:twoCellAnchor"].reconcile(e,t):this.map["xdr:oneCellAnchor"].reconcile(e,t)})}}l.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},t.exports=l},{"../../../utils/col-cache":19,"../../../utils/xml-stream":28,"../base-xform":32,"./one-cell-anchor-xform":67,"./two-cell-anchor-xform":70}],63:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"a:extLst"}render(e){e.openNode(this.tag),e.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),e.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),e.closeNode(),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:default:return!0}}parseText(){}parseClose(e){switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],64:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.map={}}render(e,t){e.openNode(this.tag);const r=Math.floor(9525*t.width),n=Math.floor(9525*t.height);e.addAttribute("cx",r),e.addAttribute("cy",n),e.closeNode()}parseOpen(e){return e.name===this.tag&&(this.model={width:parseInt(e.attributes.cx||"0",10)/9525,height:parseInt(e.attributes.cy||"0",10)/9525},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],65:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"a:hlinkClick"}render(e,t){t.hyperlinks&&t.hyperlinks.rId&&e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":t.hyperlinks.rId,tooltip:t.hyperlinks.tooltip})}parseOpen(e){switch(e.name){case this.tag:return this.model={hyperlinks:{rId:e.attributes["r:id"],tooltip:e.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],66:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./c-nv-pr-xform"),o=e("./c-nv-pic-pr-xform");t.exports=class extends n{constructor(){super(),this.map={"xdr:cNvPr":new i,"xdr:cNvPicPr":new o}}get tag(){return"xdr:nvPicPr"}render(e,t){e.openNode(this.tag),this.map["xdr:cNvPr"].render(e,t),this.map["xdr:cNvPicPr"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}},{"../base-xform":32,"./c-nv-pic-pr-xform":59,"./c-nv-pr-xform":60}],67:[function(e,t,r){"use strict";const n=e("./base-cell-anchor-xform"),i=e("../static-xform"),o=e("./cell-position-xform"),a=e("./ext-xform"),s=e("./pic-xform");t.exports=class extends n{constructor(){super(),this.map={"xdr:from":new o({tag:"xdr:from"}),"xdr:ext":new a({tag:"xdr:ext"}),"xdr:pic":new s,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare(e,t){this.map["xdr:pic"].prepare(e.picture,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:ext"].render(e,t.range.ext),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(e,t){e.medium=this.reconcilePicture(e.picture,t)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./ext-xform":64,"./pic-xform":68}],68:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("../static-xform"),o=e("./blip-fill-xform"),a=e("./nv-pic-pr-xform"),s=e("./sp-pr");t.exports=class extends n{constructor(){super(),this.map={"xdr:nvPicPr":new a,"xdr:blipFill":new o,"xdr:spPr":new i(s)}}get tag(){return"xdr:pic"}prepare(e,t){e.index=t.index+1}render(e,t){e.openNode(this.tag),this.map["xdr:nvPicPr"].render(e,t),this.map["xdr:blipFill"].render(e,t),this.map["xdr:spPr"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"../static-xform":120,"./blip-fill-xform":57,"./nv-pic-pr-xform":66,"./sp-pr":69}],69:[function(e,t,r){"use strict";t.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],70:[function(e,t,r){"use strict";const n=e("./base-cell-anchor-xform"),i=e("../static-xform"),o=e("./cell-position-xform"),a=e("./pic-xform");t.exports=class extends n{constructor(){super(),this.map={"xdr:from":new o({tag:"xdr:from"}),"xdr:to":new o({tag:"xdr:to"}),"xdr:pic":new a,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare(e,t){this.map["xdr:pic"].prepare(e.picture,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:to"].render(e,t.range.br),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(e,t){e.medium=this.reconcilePicture(e.picture,t)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./pic-xform":68}],71:[function(e,t,r){"use strict";const n=e("./base-xform");t.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.always=!!e.always,this.count=e.count,this.empty=e.empty,this.$count=e.$count||"count",this.$=e.$,this.childXform=e.childXform,this.maxItems=e.maxItems}prepare(e,t){const{childXform:r}=this;e&&e.forEach((e,n)=>{t.index=n,r.prepare(e,t)})}render(e,t){if(this.always||t&&t.length){e.openNode(this.tag,this.$),this.count&&e.addAttribute(this.$count,t&&t.length||0);const{childXform:r}=this;(t||[]).forEach((t,n)=>{r.render(e,t,n)}),e.closeNode()}else this.empty&&e.leafNode(this.tag)}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(e)&&(this.parser=this.childXform,!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(e,t){if(e){const{childXform:r}=this;e.forEach(e=>{r.reconcile(e,t)})}}}},{"./base-xform":32}],72:[function(e,t,r){"use strict";const n=e("../../../utils/col-cache"),i=e("../base-xform");t.exports=class extends i{get tag(){return"autoFilter"}render(e,t){if(t)if("string"==typeof t)e.leafNode("autoFilter",{ref:t});else{const r=function(e){return"string"==typeof e?e:n.getAddress(e.row,e.column).address},i=r(t.from),o=r(t.to);i&&o&&e.leafNode("autoFilter",{ref:`${i}:${o}`})}}parseOpen(e){"autoFilter"===e.name&&(this.model=e.attributes.ref)}}},{"../../../utils/col-cache":19,"../base-xform":32}],73:[function(e,t,r){"use strict";const n=e("../../../utils/utils"),i=e("../base-xform"),o=e("../../../doc/range"),a=e("../../../doc/enums"),s=e("../strings/rich-text-xform");function l(e){if(null==e)return a.ValueType.Null;if(e instanceof String||"string"==typeof e)return a.ValueType.String;if("number"==typeof e)return a.ValueType.Number;if("boolean"==typeof e)return a.ValueType.Boolean;if(e instanceof Date)return a.ValueType.Date;if(e.text&&e.hyperlink)return a.ValueType.Hyperlink;if(e.formula)return a.ValueType.Formula;if(e.error)return a.ValueType.Error;throw new Error("I could not understand type of value")}t.exports=class extends i{constructor(){super(),this.richTextXForm=new s}get tag(){return"c"}prepare(e,t){const r=t.styles.addStyleModel(e.style||{},function(e){switch(e.type){case a.ValueType.Formula:return l(e.result);default:return e.type}}(e));switch(r&&(e.styleId=r),e.comment&&t.comments.push({...e.comment,ref:e.address}),e.type){case a.ValueType.String:case a.ValueType.RichText:t.sharedStrings&&(e.ssId=t.sharedStrings.add(e.value));break;case a.ValueType.Date:t.date1904&&(e.date1904=!0);break;case a.ValueType.Hyperlink:t.sharedStrings&&void 0!==e.text&&null!==e.text&&(e.ssId=t.sharedStrings.add(e.text)),t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip});break;case a.ValueType.Merge:t.merges.add(e);break;case a.ValueType.Formula:if(t.date1904&&(e.date1904=!0),"shared"===e.shareType&&(e.si=t.siFormulae++),e.formula)t.formulae[e.address]=e;else if(e.sharedFormula){const r=t.formulae[e.sharedFormula];if(!r)throw new Error("Shared Formula master must exist above and or left of clone for cell "+e.address);void 0===r.si?(r.shareType="shared",r.si=t.siFormulae++,r.range=new o(r.address,e.address)):r.range&&r.range.expandToAddress(e.address),e.si=r.si}}}renderFormula(e,t){let r=null;switch(t.shareType){case"shared":r={t:"shared",ref:t.ref||t.range.range,si:t.si};break;case"array":r={t:"array",ref:t.ref};break;default:void 0!==t.si&&(r={t:"shared",si:t.si})}switch(l(t.result)){case a.ValueType.Null:e.leafNode("f",r,t.formula);break;case a.ValueType.String:e.addAttribute("t","str"),e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result);break;case a.ValueType.Number:e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result);break;case a.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result?1:0);break;case a.ValueType.Error:e.addAttribute("t","e"),e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result.error);break;case a.ValueType.Date:e.leafNode("f",r,t.formula),e.leafNode("v",null,n.dateToExcel(t.result,t.date1904));break;default:throw new Error("I could not understand type of value")}}render(e,t){if(t.type!==a.ValueType.Null||t.styleId){switch(e.openNode("c"),e.addAttribute("r",t.address),t.styleId&&e.addAttribute("s",t.styleId),t.type){case a.ValueType.Null:break;case a.ValueType.Number:e.leafNode("v",null,t.value);break;case a.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("v",null,t.value?"1":"0");break;case a.ValueType.Error:e.addAttribute("t","e"),e.leafNode("v",null,t.value.error);break;case a.ValueType.String:case a.ValueType.RichText:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):t.value&&t.value.richText?(e.addAttribute("t","inlineStr"),e.openNode("is"),t.value.richText.forEach(t=>{this.richTextXForm.render(e,t)}),e.closeNode("is")):(e.addAttribute("t","str"),e.leafNode("v",null,t.value));break;case a.ValueType.Date:e.leafNode("v",null,n.dateToExcel(t.value,t.date1904));break;case a.ValueType.Hyperlink:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):(e.addAttribute("t","str"),e.leafNode("v",null,t.text));break;case a.ValueType.Formula:this.renderFormula(e,t);break;case a.ValueType.Merge:}e.closeNode()}}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"c":return this.model={address:e.attributes.r},this.t=e.attributes.t,e.attributes.s&&(this.model.styleId=parseInt(e.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=e.attributes.si,this.model.shareType=e.attributes.t,this.model.ref=e.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){if(this.parser)this.parser.parseText(e);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+e:e;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+e:e:this.model.value=this.model.value?this.model.value+e:e}}parseClose(e){switch(e){case"c":{const{model:e}=this;if(e.formula||e.shareType)e.type=a.ValueType.Formula,e.value&&("str"===this.t?e.result=n.xmlDecode(e.value):"b"===this.t?e.result=0!==parseInt(e.value,10):"e"===this.t?e.result={error:e.value}:e.result=parseFloat(e.value),e.value=void 0);else if(void 0!==e.value)switch(this.t){case"s":e.type=a.ValueType.String,e.value=parseInt(e.value,10);break;case"str":e.type=a.ValueType.String,e.value=n.xmlDecode(e.value);break;case"inlineStr":e.type=a.ValueType.String;break;case"b":e.type=a.ValueType.Boolean,e.value=0!==parseInt(e.value,10);break;case"e":e.type=a.ValueType.Error,e.value={error:e.value};break;default:e.type=a.ValueType.Number,e.value=parseFloat(e.value)}else e.styleId?e.type=a.ValueType.Null:e.type=a.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(e),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(e),!0)}}reconcile(e,t){const r=e.styleId&&t.styles&&t.styles.getStyleModel(e.styleId);switch(r&&(e.style=r),void 0!==e.styleId&&(e.styleId=void 0),e.type){case a.ValueType.String:"number"==typeof e.value&&t.sharedStrings&&(e.value=t.sharedStrings.getString(e.value)),e.value.richText&&(e.type=a.ValueType.RichText);break;case a.ValueType.Number:r&&n.isDateFmt(r.numFmt)&&(e.type=a.ValueType.Date,e.value=n.excelToDate(e.value,t.date1904));break;case a.ValueType.Formula:void 0!==e.result&&r&&n.isDateFmt(r.numFmt)&&(e.result=n.excelToDate(e.result,t.date1904)),"shared"===e.shareType&&(e.ref?t.formulae[e.si]=e.address:(e.sharedFormula=t.formulae[e.si],delete e.shareType),delete e.si)}const i=t.hyperlinkMap[e.address];i&&(e.type===a.ValueType.Formula?(e.text=e.result,e.result=void 0):(e.text=e.value,e.value=void 0),e.type=a.ValueType.Hyperlink,e.hyperlink=i);const o=t.commentsMap&&t.commentsMap[e.address];o&&(e.comment=o)}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],74:[function(e,t,r){"use strict";const n=e("../../base-xform");t.exports=class extends n{get tag(){return"x14:cfIcon"}render(e,t){e.leafNode(this.tag,{iconSet:t.iconSet,iconId:t.iconId})}parseOpen(e){let{attributes:t}=e;this.model={iconSet:t.iconSet,iconId:n.toIntValue(t.iconId)}}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],75:[function(e,t,r){"use strict";const{v4:n}=e("uuid"),i=e("../../base-xform"),o=e("../../composite-xform"),a=e("./databar-ext-xform"),s=e("./icon-set-ext-xform"),l={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class u extends o{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new a,"x14:iconSet":this.iconSetXform=new s}}get tag(){return"x14:cfRule"}static isExt(e){return"dataBar"===e.type?a.isExt(e):!("iconSet"!==e.type||!e.custom&&!l[e.iconSet])}prepare(e){u.isExt(e)&&(e.x14Id=`{${n()}}`.toUpperCase())}render(e,t){if(u.isExt(t))switch(t.type){case"dataBar":this.renderDataBar(e,t);break;case"iconSet":this.renderIconSet(e,t)}}renderDataBar(e,t){e.openNode(this.tag,{type:"dataBar",id:t.x14Id}),this.databarXform.render(e,t),e.closeNode()}renderIconSet(e,t){e.openNode(this.tag,{type:"iconSet",priority:t.priority,id:t.x14Id||`{${n()}}`}),this.iconSetXform.render(e,t),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{type:t.type,x14Id:t.id,priority:i.toIntValue(t.priority)}}onParserClose(e,t){Object.assign(this.model,t.model)}}t.exports=u},{"../../base-xform":32,"../../composite-xform":48,"./databar-ext-xform":79,"./icon-set-ext-xform":81,uuid:528}],76:[function(e,t,r){"use strict";const n=e("../../composite-xform"),i=e("./f-ext-xform");t.exports=class extends n{constructor(){super(),this.map={"xm:f":this.fExtXform=new i}}get tag(){return"x14:cfvo"}render(e,t){e.openNode(this.tag,{type:t.type}),void 0!==t.value&&this.fExtXform.render(e,t.value),e.closeNode()}createNewModel(e){return{type:e.attributes.type}}onParserClose(e,t){switch(e){case"xm:f":this.model.value=t.model?parseFloat(t.model):0}}}},{"../../composite-xform":48,"./f-ext-xform":80}],77:[function(e,t,r){"use strict";const n=e("../../composite-xform"),i=e("./sqref-ext-xform"),o=e("./cf-rule-ext-xform");t.exports=class extends n{constructor(){super(),this.map={"xm:sqref":this.sqRef=new i,"x14:cfRule":this.cfRule=new o}}get tag(){return"x14:conditionalFormatting"}prepare(e,t){e.rules.forEach(e=>{this.cfRule.prepare(e,t)})}render(e,t){t.rules.some(o.isExt)&&(e.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),t.rules.filter(o.isExt).forEach(t=>this.cfRule.render(e,t)),this.sqRef.render(e,t.ref),e.closeNode())}createNewModel(){return{rules:[]}}onParserClose(e,t){switch(e){case"xm:sqref":this.model.ref=t.model;break;case"x14:cfRule":this.model.rules.push(t.model)}}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./sqref-ext-xform":82}],78:[function(e,t,r){"use strict";const n=e("../../composite-xform"),i=e("./cf-rule-ext-xform"),o=e("./conditional-formatting-ext-xform");t.exports=class extends n{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new o}}get tag(){return"x14:conditionalFormattings"}hasContent(e){return void 0===e.hasExtContent&&(e.hasExtContent=e.some(e=>e.rules.some(i.isExt))),e.hasExtContent}prepare(e,t){e.forEach(e=>{this.cfXform.prepare(e,t)})}render(e,t){this.hasContent(t)&&(e.openNode(this.tag),t.forEach(t=>this.cfXform.render(e,t)),e.closeNode())}createNewModel(){return[]}onParserClose(e,t){this.model.push(t.model)}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./conditional-formatting-ext-xform":77}],79:[function(e,t,r){"use strict";const n=e("../../base-xform"),i=e("../../composite-xform"),o=e("../../style/color-xform"),a=e("./cfvo-ext-xform");t.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new a,"x14:borderColor":this.borderColorXform=new o("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new o("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new o("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new o("x14:axisColor")}}static isExt(e){return!e.gradient}get tag(){return"x14:dataBar"}render(e,t){e.openNode(this.tag,{minLength:n.toIntAttribute(t.minLength,0,!0),maxLength:n.toIntAttribute(t.maxLength,100,!0),border:n.toBoolAttribute(t.border,!1),gradient:n.toBoolAttribute(t.gradient,!0),negativeBarColorSameAsPositive:n.toBoolAttribute(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:n.toBoolAttribute(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:n.toAttribute(t.axisPosition,"auto"),direction:n.toAttribute(t.direction,"leftToRight")}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.borderColorXform.render(e,t.borderColor),this.negativeBorderColorXform.render(e,t.negativeBorderColor),this.negativeFillColorXform.render(e,t.negativeFillColor),this.axisColorXform.render(e,t.axisColor),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{cfvo:[],minLength:n.toIntValue(t.minLength,0),maxLength:n.toIntValue(t.maxLength,100),border:n.toBoolValue(t.border,!1),gradient:n.toBoolValue(t.gradient,!0),negativeBarColorSameAsPositive:n.toBoolValue(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:n.toBoolValue(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:n.toStringValue(t.axisPosition,"auto"),direction:n.toStringValue(t.direction,"leftToRight")}}onParserClose(e,t){const[,r]=e.split(":");switch(r){case"cfvo":this.model.cfvo.push(t.model);break;default:this.model[r]=t.model}}}},{"../../base-xform":32,"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-ext-xform":76}],80:[function(e,t,r){"use strict";const n=e("../../base-xform");t.exports=class extends n{get tag(){return"xm:f"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],81:[function(e,t,r){"use strict";const n=e("../../base-xform"),i=e("../../composite-xform"),o=e("./cfvo-ext-xform"),a=e("./cf-icon-ext-xform");t.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new o,"x14:cfIcon":this.cfIconXform=new a}}get tag(){return"x14:iconSet"}render(e,t){e.openNode(this.tag,{iconSet:n.toStringAttribute(t.iconSet),reverse:n.toBoolAttribute(t.reverse,!1),showValue:n.toBoolAttribute(t.showValue,!0),custom:n.toBoolAttribute(t.icons,!1)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.icons&&t.icons.forEach((t,r)=>{t.iconId=r,this.cfIconXform.render(e,t)}),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{cfvo:[],iconSet:n.toStringValue(t.iconSet,"3TrafficLights"),reverse:n.toBoolValue(t.reverse,!1),showValue:n.toBoolValue(t.showValue,!0)}}onParserClose(e,t){const[,r]=e.split(":");switch(r){case"cfvo":this.model.cfvo.push(t.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(t.model);break;default:this.model[r]=t.model}}}},{"../../base-xform":32,"../../composite-xform":48,"./cf-icon-ext-xform":74,"./cfvo-ext-xform":76}],82:[function(e,t,r){"use strict";const n=e("../../base-xform");t.exports=class extends n{get tag(){return"xm:sqref"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],83:[function(e,t,r){"use strict";const n=e("../../base-xform"),i=e("../../composite-xform"),o=e("../../../../doc/range"),a=e("./databar-xform"),s=e("./ext-lst-ref-xform"),l=e("./formula-xform"),u=e("./color-scale-xform"),c=e("./icon-set-xform"),d={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},h=e=>{const{type:t,operator:r}=e;switch(t){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:t};default:return{type:t,operator:r}}};class f extends i{constructor(){super(),this.map={dataBar:this.databarXform=new a,extLst:this.extLstRefXform=new s,formula:this.formulaXform=new l,colorScale:this.colorScaleXform=new u,iconSet:this.iconSetXform=new c}}get tag(){return"cfRule"}static isPrimitive(e){return"iconSet"!==e.type||!e.custom&&!d[e.iconSet]}render(e,t){switch(t.type){case"expression":this.renderExpression(e,t);break;case"cellIs":this.renderCellIs(e,t);break;case"top10":this.renderTop10(e,t);break;case"aboveAverage":this.renderAboveAverage(e,t);break;case"dataBar":this.renderDataBar(e,t);break;case"colorScale":this.renderColorScale(e,t);break;case"iconSet":this.renderIconSet(e,t);break;case"containsText":this.renderText(e,t);break;case"timePeriod":this.renderTimePeriod(e,t)}}renderExpression(e,t){e.openNode(this.tag,{type:"expression",dxfId:t.dxfId,priority:t.priority}),this.formulaXform.render(e,t.formulae[0]),e.closeNode()}renderCellIs(e,t){e.openNode(this.tag,{type:"cellIs",dxfId:t.dxfId,priority:t.priority,operator:t.operator}),t.formulae.forEach(t=>{this.formulaXform.render(e,t)}),e.closeNode()}renderTop10(e,t){e.leafNode(this.tag,{type:"top10",dxfId:t.dxfId,priority:t.priority,percent:n.toBoolAttribute(t.percent,!1),bottom:n.toBoolAttribute(t.bottom,!1),rank:n.toIntValue(t.rank,10,!0)})}renderAboveAverage(e,t){e.leafNode(this.tag,{type:"aboveAverage",dxfId:t.dxfId,priority:t.priority,aboveAverage:n.toBoolAttribute(t.aboveAverage,!0)})}renderDataBar(e,t){e.openNode(this.tag,{type:"dataBar",priority:t.priority}),this.databarXform.render(e,t),this.extLstRefXform.render(e,t),e.closeNode()}renderColorScale(e,t){e.openNode(this.tag,{type:"colorScale",priority:t.priority}),this.colorScaleXform.render(e,t),e.closeNode()}renderIconSet(e,t){f.isPrimitive(t)&&(e.openNode(this.tag,{type:"iconSet",priority:t.priority}),this.iconSetXform.render(e,t),e.closeNode())}renderText(e,t){e.openNode(this.tag,{type:t.operator,dxfId:t.dxfId,priority:t.priority,operator:n.toStringAttribute(t.operator,"containsText")});const r=(e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];const t=new o(e.ref),{tl:r}=t;switch(e.operator){case"containsText":return`NOT(ISERROR(SEARCH("${e.text}",${r})))`;case"containsBlanks":return`LEN(TRIM(${r}))=0`;case"notContainsBlanks":return`LEN(TRIM(${r}))>0`;case"containsErrors":return`ISERROR(${r})`;case"notContainsErrors":return`NOT(ISERROR(${r}))`;default:return}})(t);r&&this.formulaXform.render(e,r),e.closeNode()}renderTimePeriod(e,t){e.openNode(this.tag,{type:"timePeriod",dxfId:t.dxfId,priority:t.priority,timePeriod:t.timePeriod});const r=(e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];const t=new o(e.ref),{tl:r}=t;switch(e.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${r},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${r},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${r},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${r},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${r},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${r},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${r},1)=TODAY()-1`;case"today":return`FLOOR(${r},1)=TODAY()`;case"tomorrow":return`FLOOR(${r},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${r},1)<=6,FLOOR(${r},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${r})=MONTH(EDATE(TODAY(),0-1)),YEAR(${r})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${r})=MONTH(TODAY()),YEAR(${r})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${r})=MONTH(EDATE(TODAY(),0+1)),YEAR(${r})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(t);r&&this.formulaXform.render(e,r),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{...h(t),dxfId:n.toIntValue(t.dxfId),priority:n.toIntValue(t.priority),timePeriod:t.timePeriod,percent:n.toBoolValue(t.percent),bottom:n.toBoolValue(t.bottom),rank:n.toIntValue(t.rank),aboveAverage:n.toBoolValue(t.aboveAverage)}}onParserClose(e,t){switch(e){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,t.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(t.model)}}}t.exports=f},{"../../../../doc/range":10,"../../base-xform":32,"../../composite-xform":48,"./color-scale-xform":85,"./databar-xform":88,"./ext-lst-ref-xform":89,"./formula-xform":90,"./icon-set-xform":91}],84:[function(e,t,r){"use strict";const n=e("../../base-xform");t.exports=class extends n{get tag(){return"cfvo"}render(e,t){e.leafNode(this.tag,{type:t.type,val:t.value})}parseOpen(e){this.model={type:e.attributes.type,value:n.toFloatValue(e.attributes.val)}}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],85:[function(e,t,r){"use strict";const n=e("../../composite-xform"),i=e("../../style/color-xform"),o=e("./cfvo-xform");t.exports=class extends n{constructor(){super(),this.map={cfvo:this.cfvoXform=new o,color:this.colorXform=new i}}get tag(){return"colorScale"}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),t.color.forEach(t=>{this.colorXform.render(e,t)}),e.closeNode()}createNewModel(e){return{cfvo:[],color:[]}}onParserClose(e,t){this.model[e].push(t.model)}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],86:[function(e,t,r){"use strict";const n=e("../../composite-xform"),i=e("./cf-rule-xform");t.exports=class extends n{constructor(){super(),this.map={cfRule:new i}}get tag(){return"conditionalFormatting"}render(e,t){t.rules.some(i.isPrimitive)&&(e.openNode(this.tag,{sqref:t.ref}),t.rules.forEach(r=>{i.isPrimitive(r)&&(r.ref=t.ref,this.map.cfRule.render(e,r))}),e.closeNode())}createNewModel(e){let{attributes:t}=e;return{ref:t.sqref,rules:[]}}onParserClose(e,t){this.model.rules.push(t.model)}}},{"../../composite-xform":48,"./cf-rule-xform":83}],87:[function(e,t,r){"use strict";const n=e("../../base-xform"),i=e("./conditional-formatting-xform");t.exports=class extends n{constructor(){super(),this.cfXform=new i}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare(e,t){let r=e.reduce((e,t)=>Math.max(e,...t.rules.map(e=>e.priority||0)),1);e.forEach(e=>{e.rules.forEach(e=>{e.priority||(e.priority=r++),e.style&&(e.dxfId=t.styles.addDxfStyle(e.style))})})}render(e,t){t.forEach(t=>{this.cfXform.render(e,t)})}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(!!this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(e,t){e.forEach(e=>{e.rules.forEach(e=>{void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId),delete e.dxfId)})})}}},{"../../base-xform":32,"./conditional-formatting-xform":86}],88:[function(e,t,r){"use strict";const n=e("../../composite-xform"),i=e("../../style/color-xform"),o=e("./cfvo-xform");t.exports=class extends n{constructor(){super(),this.map={cfvo:this.cfvoXform=new o,color:this.colorXform=new i}}get tag(){return"dataBar"}render(e,t){e.openNode(this.tag),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),this.colorXform.render(e,t.color),e.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(e,t){switch(e){case"cfvo":this.model.cfvo.push(t.model);break;case"color":this.model.color=t.model}}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],89:[function(e,t,r){"use strict";const n=e("../../base-xform"),i=e("../../composite-xform");class o extends n{get tag(){return"x14:id"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}class a extends i{constructor(){super(),this.map={"x14:id":this.idXform=new o}}get tag(){return"ext"}render(e,t){e.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(e,t.x14Id),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model.x14Id=t.model}}t.exports=class extends i{constructor(){super(),this.map={ext:new a}}get tag(){return"extLst"}render(e,t){e.openNode(this.tag),this.map.ext.render(e,t),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}},{"../../base-xform":32,"../../composite-xform":48}],90:[function(e,t,r){"use strict";const n=e("../../base-xform");t.exports=class extends n{get tag(){return"formula"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},{"../../base-xform":32}],91:[function(e,t,r){"use strict";const n=e("../../base-xform"),i=e("../../composite-xform"),o=e("./cfvo-xform");t.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new o}}get tag(){return"iconSet"}render(e,t){e.openNode(this.tag,{iconSet:n.toStringAttribute(t.iconSet,"3TrafficLights"),reverse:n.toBoolAttribute(t.reverse,!1),showValue:n.toBoolAttribute(t.showValue,!0)}),t.cfvo.forEach(t=>{this.cfvoXform.render(e,t)}),e.closeNode()}createNewModel(e){let{attributes:t}=e;return{iconSet:n.toStringValue(t.iconSet,"3TrafficLights"),reverse:n.toBoolValue(t.reverse),showValue:n.toBoolValue(t.showValue),cfvo:[]}}onParserClose(e,t){this.model[e].push(t.model)}}},{"../../base-xform":32,"../../composite-xform":48,"./cfvo-xform":84}],92:[function(e,t,r){"use strict";const n=e("../../../utils/utils"),i=e("../base-xform");t.exports=class extends i{get tag(){return"col"}prepare(e,t){const r=t.styles.addStyleModel(e.style||{});r&&(e.styleId=r)}render(e,t){e.openNode("col"),e.addAttribute("min",t.min),e.addAttribute("max",t.max),t.width&&e.addAttribute("width",t.width),t.styleId&&e.addAttribute("style",t.styleId),t.hidden&&e.addAttribute("hidden","1"),t.bestFit&&e.addAttribute("bestFit","1"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1"),e.addAttribute("customWidth","1"),e.closeNode()}parseOpen(e){if("col"===e.name){const t=this.model={min:parseInt(e.attributes.min||"0",10),max:parseInt(e.attributes.max||"0",10),width:void 0===e.attributes.width?void 0:parseFloat(e.attributes.width||"0")};return e.attributes.style&&(t.styleId=parseInt(e.attributes.style,10)),n.parseBoolean(e.attributes.hidden)&&(t.hidden=!0),n.parseBoolean(e.attributes.bestFit)&&(t.bestFit=!0),e.attributes.outlineLevel&&(t.outlineLevel=parseInt(e.attributes.outlineLevel,10)),n.parseBoolean(e.attributes.collapsed)&&(t.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(e,t){e.styleId&&(e.style=t.styles.getStyleModel(e.styleId))}}},{"../../../utils/utils":27,"../base-xform":32}],93:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../../../utils/utils"),o=e("../../../utils/col-cache"),a=e("../base-xform"),s=e("../../../doc/range");function l(e,t,r,n){const i=t[r];void 0!==i?e[r]=i:void 0!==n&&(e[r]=n)}function u(e,t,r,n){const o=t[r];void 0!==o?e[r]=i.parseBoolean(o):void 0!==n&&(e[r]=n)}t.exports=class extends a{get tag(){return"dataValidations"}render(e,t){const r=function(e){const t=n.map(e,(e,t)=>({address:t,dataValidation:e,marked:!1})).sort((e,t)=>n.strcmp(e.address,t.address)),r=n.keyBy(t,"address"),i=(t,r,i)=>{for(let a=0;a<r;a++){const r=o.encodeAddress(t.row+a,i);if(!e[r]||!n.isEqual(e[t.address],e[r]))return!1}return!0};return t.map(t=>{if(!t.marked){const a=o.decodeEx(t.address);if(a.dimensions)return r[a.dimensions].marked=!0,{...t.dataValidation,sqref:t.address};let s=1,l=o.encodeAddress(a.row+s,a.col);for(;e[l]&&n.isEqual(t.dataValidation,e[l]);)s++,l=o.encodeAddress(a.row+s,a.col);let u=1;for(;i(a,s,a.col+u);)u++;for(let e=0;e<s;e++)for(let t=0;t<u;t++)l=o.encodeAddress(a.row+e,a.col+t),r[l].marked=!0;if(s>1||u>1){const e=a.row+(s-1),r=a.col+(u-1);return{...t.dataValidation,sqref:`${t.address}:${o.encodeAddress(e,r)}`}}return{...t.dataValidation,sqref:t.address}}return null}).filter(Boolean)}(t);r.length&&(e.openNode("dataValidations",{count:r.length}),r.forEach(t=>{e.openNode("dataValidation"),"any"!==t.type&&(e.addAttribute("type",t.type),t.operator&&"list"!==t.type&&"between"!==t.operator&&e.addAttribute("operator",t.operator),t.allowBlank&&e.addAttribute("allowBlank","1")),t.showInputMessage&&e.addAttribute("showInputMessage","1"),t.promptTitle&&e.addAttribute("promptTitle",t.promptTitle),t.prompt&&e.addAttribute("prompt",t.prompt),t.showErrorMessage&&e.addAttribute("showErrorMessage","1"),t.errorStyle&&e.addAttribute("errorStyle",t.errorStyle),t.errorTitle&&e.addAttribute("errorTitle",t.errorTitle),t.error&&e.addAttribute("error",t.error),e.addAttribute("sqref",t.sqref),(t.formulae||[]).forEach((r,n)=>{e.openNode("formula"+(n+1)),"date"===t.type?e.writeText(i.dateToExcel(new Date(r))):e.writeText(r),e.closeNode()}),e.closeNode()}),e.closeNode())}parseOpen(e){switch(e.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=e.attributes.sqref;const t={type:e.attributes.type||"any",formulae:[]};switch(e.attributes.type&&u(t,e.attributes,"allowBlank"),u(t,e.attributes,"showInputMessage"),u(t,e.attributes,"showErrorMessage"),t.type){case"any":case"list":case"custom":break;default:l(t,e.attributes,"operator","between")}return l(t,e.attributes,"promptTitle"),l(t,e.attributes,"prompt"),l(t,e.attributes,"errorStyle"),l(t,e.attributes,"errorTitle"),l(t,e.attributes,"error"),this._dataValidation=t,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText(e){this._formula&&this._formula.push(e)}parseClose(e){switch(e){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(e=>{e.includes(":")?new s(e).forEachAddress(e=>{this.model[e]=this._dataValidation}):this.model[e]=this._dataValidation}),!0;case"formula1":case"formula2":{let e=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":e=parseInt(e,10);break;case"decimal":e=parseFloat(e);break;case"date":e=i.excelToDate(parseFloat(e))}return this._dataValidation.formulae.push(e),this._formula=void 0,!0}default:return!0}}}},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/utils":27,"../base-xform":32}],94:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"dimension"}render(e,t){t&&e.leafNode("dimension",{ref:t})}parseOpen(e){return"dimension"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],95:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"drawing"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],96:[function(e,t,r){"use strict";const n=e("../composite-xform"),i=e("./cf-ext/conditional-formattings-ext-xform");class o extends n{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new i}}get tag(){return"ext"}hasContent(e){return this.conditionalFormattings.hasContent(e.conditionalFormattings)}prepare(e,t){this.conditionalFormattings.prepare(e.conditionalFormattings,t)}render(e,t){e.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(e,t.conditionalFormattings),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model[e]=t.model}}t.exports=class extends n{constructor(){super(),this.map={ext:this.ext=new o}}get tag(){return"extLst"}prepare(e,t){this.ext.prepare(e,t)}hasContent(e){return this.ext.hasContent(e)}render(e,t){this.hasContent(t)&&(e.openNode("extLst"),this.ext.render(e,t),e.closeNode())}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}},{"../composite-xform":48,"./cf-ext/conditional-formattings-ext-xform":78}],97:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"headerFooter"}render(e,t){if(t){e.addRollback();let r=!1;e.openNode("headerFooter"),t.differentFirst&&(e.addAttribute("differentFirst","1"),r=!0),t.differentOddEven&&(e.addAttribute("differentOddEven","1"),r=!0),t.oddHeader&&"string"==typeof t.oddHeader&&(e.leafNode("oddHeader",null,t.oddHeader),r=!0),t.oddFooter&&"string"==typeof t.oddFooter&&(e.leafNode("oddFooter",null,t.oddFooter),r=!0),t.evenHeader&&"string"==typeof t.evenHeader&&(e.leafNode("evenHeader",null,t.evenHeader),r=!0),t.evenFooter&&"string"==typeof t.evenFooter&&(e.leafNode("evenFooter",null,t.evenFooter),r=!0),t.firstHeader&&"string"==typeof t.firstHeader&&(e.leafNode("firstHeader",null,t.firstHeader),r=!0),t.firstFooter&&"string"==typeof t.firstFooter&&(e.leafNode("firstFooter",null,t.firstFooter),r=!0),r?(e.closeNode(),e.commit()):e.rollback()}}parseOpen(e){switch(e.name){case"headerFooter":return this.model={},e.attributes.differentFirst&&(this.model.differentFirst=1===parseInt(e.attributes.differentFirst,0)),e.attributes.differentOddEven&&(this.model.differentOddEven=1===parseInt(e.attributes.differentOddEven,0)),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText(e){switch(this.currentNode){case"oddHeader":this.model.oddHeader=e;break;case"oddFooter":this.model.oddFooter=e;break;case"evenHeader":this.model.evenHeader=e;break;case"evenFooter":this.model.evenFooter=e;break;case"firstHeader":this.model.firstHeader=e;break;case"firstFooter":this.model.firstFooter=e}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}},{"../base-xform":32}],98:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"hyperlink"}render(e,t){this.isInternalLink(t)?e.leafNode("hyperlink",{ref:t.address,"r:id":t.rId,tooltip:t.tooltip,location:t.target}):e.leafNode("hyperlink",{ref:t.address,"r:id":t.rId,tooltip:t.tooltip})}parseOpen(e){return"hyperlink"===e.name&&(this.model={address:e.attributes.ref,rId:e.attributes["r:id"],tooltip:e.attributes.tooltip},e.attributes.location&&(this.model.target=e.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(e){return e.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(e.target)}}},{"../base-xform":32}],99:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"mergeCell"}render(e,t){e.leafNode("mergeCell",{ref:t})}parseOpen(e){return"mergeCell"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],100:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../../../doc/range"),o=e("../../../utils/col-cache"),a=e("../../../doc/enums");t.exports=class{constructor(){this.merges={}}add(e){if(this.merges[e.master])this.merges[e.master].expandToAddress(e.address);else{const t=`${e.master}:${e.address}`;this.merges[e.master]=new i(t)}}get mergeCells(){return n.map(this.merges,e=>e.range)}reconcile(e,t){n.each(e,e=>{const r=o.decode(e);for(let n=r.top;n<=r.bottom;n++){const e=t[n-1];for(let t=r.left;t<=r.right;t++){const i=e.cells[t-1];i?i.type===a.ValueType.Merge&&(i.master=r.tl):e.cells[t]={type:a.ValueType.Null,address:o.encodeAddress(n,t)}}}})}getMasterAddress(e){const t=this.hash[e];return t&&t.tl}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26}],101:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e=>void 0!==e;t.exports=class extends n{get tag(){return"outlinePr"}render(e,t){return!(!t||!i(t.summaryBelow)&&!i(t.summaryRight))&&(e.leafNode(this.tag,{summaryBelow:i(t.summaryBelow)?Number(t.summaryBelow):void 0,summaryRight:i(t.summaryRight)?Number(t.summaryRight):void 0}),!0)}parseOpen(e){return e.name===this.tag&&(this.model={summaryBelow:i(e.attributes.summaryBelow)?Boolean(Number(e.attributes.summaryBelow)):void 0,summaryRight:i(e.attributes.summaryRight)?Boolean(Number(e.attributes.summaryRight)):void 0},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],102:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"brk"}render(e,t){e.leafNode("brk",t)}parseOpen(e){return"brk"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],103:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../base-xform");t.exports=class extends i{get tag(){return"pageMargins"}render(e,t){if(t){const r={left:t.left,right:t.right,top:t.top,bottom:t.bottom,header:t.header,footer:t.footer};n.some(r,e=>void 0!==e)&&e.leafNode(this.tag,r)}}parseOpen(e){switch(e.name){case this.tag:return this.model={left:parseFloat(e.attributes.left||.7),right:parseFloat(e.attributes.right||.7),top:parseFloat(e.attributes.top||.75),bottom:parseFloat(e.attributes.bottom||.75),header:parseFloat(e.attributes.header||.3),footer:parseFloat(e.attributes.footer||.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],104:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"pageSetUpPr"}render(e,t){return!(!t||!t.fitToPage)&&(e.leafNode(this.tag,{fitToPage:t.fitToPage?"1":void 0}),!0)}parseOpen(e){return e.name===this.tag&&(this.model={fitToPage:"1"===e.attributes.fitToPage},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],105:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../base-xform");function o(e){return e?"1":void 0}function a(e){switch(e){case"overThenDown":return e;default:return}}function s(e){switch(e){case"atEnd":case"asDisplyed":return e;default:return}}function l(e){switch(e){case"dash":case"blank":case"NA":return e;default:return}}t.exports=class extends i{get tag(){return"pageSetup"}render(e,t){if(t){const r={paperSize:t.paperSize,orientation:t.orientation,horizontalDpi:t.horizontalDpi,verticalDpi:t.verticalDpi,pageOrder:a(t.pageOrder),blackAndWhite:o(t.blackAndWhite),draft:o(t.draft),cellComments:s(t.cellComments),errors:l(t.errors),scale:t.scale,fitToWidth:t.fitToWidth,fitToHeight:t.fitToHeight,firstPageNumber:t.firstPageNumber,useFirstPageNumber:o(t.firstPageNumber),usePrinterDefaults:o(t.usePrinterDefaults),copies:t.copies};n.some(r,e=>void 0!==e)&&e.leafNode(this.tag,r)}}parseOpen(e){switch(e.name){case this.tag:return this.model={paperSize:(t=e.attributes.paperSize,void 0!==t?parseInt(t,10):void 0),orientation:e.attributes.orientation||"portrait",horizontalDpi:parseInt(e.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(e.attributes.verticalDpi||"4294967295",10),pageOrder:e.attributes.pageOrder||"downThenOver",blackAndWhite:"1"===e.attributes.blackAndWhite,draft:"1"===e.attributes.draft,cellComments:e.attributes.cellComments||"None",errors:e.attributes.errors||"displayed",scale:parseInt(e.attributes.scale||"100",10),fitToWidth:parseInt(e.attributes.fitToWidth||"1",10),fitToHeight:parseInt(e.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(e.attributes.firstPageNumber||"1",10),useFirstPageNumber:"1"===e.attributes.useFirstPageNumber,usePrinterDefaults:"1"===e.attributes.usePrinterDefaults,copies:parseInt(e.attributes.copies||"1",10)},!0;default:return!1}var t}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],106:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"picture"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],107:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../base-xform");function o(e){return e?"1":void 0}t.exports=class extends i{get tag(){return"printOptions"}render(e,t){if(t){const r={headings:o(t.showRowColHeaders),gridLines:o(t.showGridLines),horizontalCentered:o(t.horizontalCentered),verticalCentered:o(t.verticalCentered)};n.some(r,e=>void 0!==e)&&e.leafNode(this.tag,r)}}parseOpen(e){switch(e.name){case this.tag:return this.model={showRowColHeaders:"1"===e.attributes.headings,showGridLines:"1"===e.attributes.gridLines,horizontalCentered:"1"===e.attributes.horizontalCentered,verticalCentered:"1"===e.attributes.verticalCentered},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],108:[function(e,t,r){"use strict";const n=e("./page-breaks-xform"),i=e("../list-xform");t.exports=class extends i{constructor(){super({tag:"rowBreaks",count:!0,childXform:new n})}render(e,t){if(t&&t.length){e.openNode(this.tag,this.$),this.count&&(e.addAttribute(this.$count,t.length),e.addAttribute("manualBreakCount",t.length));const{childXform:r}=this;t.forEach(t=>{r.render(e,t)}),e.closeNode()}else this.empty&&e.leafNode(this.tag)}}},{"../list-xform":71,"./page-breaks-xform":102}],109:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("../../../utils/utils"),o=e("./cell-xform");t.exports=class extends n{constructor(e){super(),this.maxItems=e&&e.maxItems,this.map={c:new o}}get tag(){return"row"}prepare(e,t){const r=t.styles.addStyleModel(e.style);r&&(e.styleId=r);const n=this.map.c;e.cells.forEach(e=>{n.prepare(e,t)})}render(e,t,r){e.openNode("row"),e.addAttribute("r",t.number),t.height&&(e.addAttribute("ht",t.height),e.addAttribute("customHeight","1")),t.hidden&&e.addAttribute("hidden","1"),t.min>0&&t.max>0&&t.min<=t.max&&e.addAttribute("spans",`${t.min}:${t.max}`),t.styleId&&(e.addAttribute("s",t.styleId),e.addAttribute("customFormat","1")),e.addAttribute("x14ac:dyDescent","0.25"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1");const n=this.map.c;t.cells.forEach(t=>{n.render(e,t,r)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if("row"===e.name){this.numRowsSeen+=1;const t=e.attributes.spans?e.attributes.spans.split(":").map(e=>parseInt(e,10)):[void 0,void 0],r=this.model={number:parseInt(e.attributes.r,10),min:t[0],max:t[1],cells:[]};return e.attributes.s&&(r.styleId=parseInt(e.attributes.s,10)),i.parseBoolean(e.attributes.hidden)&&(r.hidden=!0),i.parseBoolean(e.attributes.bestFit)&&(r.bestFit=!0),e.attributes.ht&&(r.height=parseFloat(e.attributes.ht)),e.attributes.outlineLevel&&(r.outlineLevel=parseInt(e.attributes.outlineLevel,10)),i.parseBoolean(e.attributes.collapsed)&&(r.collapsed=!0),!0}return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(e,t){e.style=e.styleId?t.styles.getStyleModel(e.styleId):{},void 0!==e.styleId&&(e.styleId=void 0);const r=this.map.c;e.cells.forEach(e=>{r.reconcile(e,t)})}}},{"../../../utils/utils":27,"../base-xform":32,"./cell-xform":73}],110:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../base-xform");t.exports=class extends i{get tag(){return"sheetFormatPr"}render(e,t){if(t){const r={defaultRowHeight:t.defaultRowHeight,outlineLevelRow:t.outlineLevelRow,outlineLevelCol:t.outlineLevelCol,"x14ac:dyDescent":t.dyDescent};t.defaultColWidth&&(r.defaultColWidth=t.defaultColWidth),t.defaultRowHeight&&15===t.defaultRowHeight||(r.customHeight="1"),n.some(r,e=>void 0!==e)&&e.leafNode("sheetFormatPr",r)}}parseOpen(e){return"sheetFormatPr"===e.name&&(this.model={defaultRowHeight:parseFloat(e.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(e.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(e.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(e.attributes.outlineLevelCol||"0",10)},e.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(e.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],111:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("../style/color-xform"),o=e("./page-setup-properties-xform"),a=e("./outline-properties-xform");t.exports=class extends n{constructor(){super(),this.map={tabColor:new i("tabColor"),pageSetUpPr:new o,outlinePr:new a}}get tag(){return"sheetPr"}render(e,t){if(t){e.addRollback(),e.openNode("sheetPr");let r=!1;r=this.map.tabColor.render(e,t.tabColor)||r,r=this.map.pageSetUpPr.render(e,t.pageSetup)||r,r=this.map.outlinePr.render(e,t.outlineProperties)||r,r?(e.closeNode(),e.commit()):e.rollback()}}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):!!this.map[e.name]&&(this.parser=this.map[e.name],this.parser.parseOpen(e),!0)}parseText(e){return!!this.parser&&(this.parser.parseText(e),!0)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{"../base-xform":32,"../style/color-xform":128,"./outline-properties-xform":101,"./page-setup-properties-xform":104}],112:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../base-xform");function o(e,t){return e?t:void 0}function a(e,t){return e===t||void 0}t.exports=class extends i{get tag(){return"sheetProtection"}render(e,t){if(t){const r={sheet:o(t.sheet,"1"),selectLockedCells:!1===t.selectLockedCells?"1":void 0,selectUnlockedCells:!1===t.selectUnlockedCells?"1":void 0,formatCells:o(t.formatCells,"0"),formatColumns:o(t.formatColumns,"0"),formatRows:o(t.formatRows,"0"),insertColumns:o(t.insertColumns,"0"),insertRows:o(t.insertRows,"0"),insertHyperlinks:o(t.insertHyperlinks,"0"),deleteColumns:o(t.deleteColumns,"0"),deleteRows:o(t.deleteRows,"0"),sort:o(t.sort,"0"),autoFilter:o(t.autoFilter,"0"),pivotTables:o(t.pivotTables,"0")};t.sheet&&(r.algorithmName=t.algorithmName,r.hashValue=t.hashValue,r.saltValue=t.saltValue,r.spinCount=t.spinCount,r.objects=o(!1===t.objects,"1"),r.scenarios=o(!1===t.scenarios,"1")),n.some(r,e=>void 0!==e)&&e.leafNode(this.tag,r)}}parseOpen(e){switch(e.name){case this.tag:return this.model={sheet:a(e.attributes.sheet,"1"),objects:"1"!==e.attributes.objects&&void 0,scenarios:"1"!==e.attributes.scenarios&&void 0,selectLockedCells:"1"!==e.attributes.selectLockedCells&&void 0,selectUnlockedCells:"1"!==e.attributes.selectUnlockedCells&&void 0,formatCells:a(e.attributes.formatCells,"0"),formatColumns:a(e.attributes.formatColumns,"0"),formatRows:a(e.attributes.formatRows,"0"),insertColumns:a(e.attributes.insertColumns,"0"),insertRows:a(e.attributes.insertRows,"0"),insertHyperlinks:a(e.attributes.insertHyperlinks,"0"),deleteColumns:a(e.attributes.deleteColumns,"0"),deleteRows:a(e.attributes.deleteRows,"0"),sort:a(e.attributes.sort,"0"),autoFilter:a(e.attributes.autoFilter,"0"),pivotTables:a(e.attributes.pivotTables,"0")},e.attributes.algorithmName&&(this.model.algorithmName=e.attributes.algorithmName,this.model.hashValue=e.attributes.hashValue,this.model.saltValue=e.attributes.saltValue,this.model.spinCount=parseInt(e.attributes.spinCount,10)),!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],113:[function(e,t,r){"use strict";const n=e("../../../utils/col-cache"),i=e("../base-xform"),o={frozen:"frozen",frozenSplit:"frozen",split:"split"};t.exports=class extends i{get tag(){return"sheetView"}prepare(e){switch(e.state){case"frozen":case"split":break;default:e.state="normal"}}render(e,t){e.openNode("sheetView",{workbookViewId:t.workbookViewId||0});const r=function(t,r,n){n&&e.addAttribute(t,r)};let i,o,a,s;switch(r("rightToLeft","1",!0===t.rightToLeft),r("tabSelected","1",t.tabSelected),r("showRuler","0",!1===t.showRuler),r("showRowColHeaders","0",!1===t.showRowColHeaders),r("showGridLines","0",!1===t.showGridLines),r("zoomScale",t.zoomScale,t.zoomScale),r("zoomScaleNormal",t.zoomScaleNormal,t.zoomScaleNormal),r("view",t.style,t.style),t.state){case"frozen":o=t.xSplit||0,a=t.ySplit||0,i=t.topLeftCell||n.getAddress(a+1,o+1).address,s=(t.xSplit&&t.ySplit?"bottomRight":t.xSplit&&"topRight")||"bottomLeft",e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:i,activePane:s,state:"frozen"}),e.leafNode("selection",{pane:s,activeCell:t.activeCell,sqref:t.activeCell});break;case"split":"topLeft"===t.activePane&&(t.activePane=void 0),e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:t.topLeftCell,activePane:t.activePane}),e.leafNode("selection",{pane:t.activePane,activeCell:t.activeCell,sqref:t.activeCell});break;case"normal":t.activeCell&&e.leafNode("selection",{activeCell:t.activeCell,sqref:t.activeCell})}e.closeNode()}parseOpen(e){switch(e.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(e.attributes.workbookViewId,10),rightToLeft:"1"===e.attributes.rightToLeft,tabSelected:"1"===e.attributes.tabSelected,showRuler:!("0"===e.attributes.showRuler),showRowColHeaders:!("0"===e.attributes.showRowColHeaders),showGridLines:!("0"===e.attributes.showGridLines),zoomScale:parseInt(e.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(e.attributes.zoomScaleNormal||"100",10),style:e.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(e.attributes.xSplit||"0",10),ySplit:parseInt(e.attributes.ySplit||"0",10),topLeftCell:e.attributes.topLeftCell,activePane:e.attributes.activePane||"topLeft",state:e.attributes.state},!0;case"selection":{const t=e.attributes.pane||"topLeft";return this.selections[t]={pane:t,activeCell:e.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(e){let t,r;switch(e){case"sheetView":return this.sheetView&&this.pane?(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:o[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},"split"===this.model.state&&(t.activePane=this.pane.activePane),r=this.selections[this.pane.activePane],r&&r.activeCell&&(t.activeCell=r.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)):(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},r=this.selections.topLeft,r&&r.activeCell&&(t.activeCell=r.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)),!1;default:return!0}}reconcile(){}}},{"../../../utils/col-cache":19,"../base-xform":32}],114:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"tablePart"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){switch(e.name){case this.tag:return this.model={rId:e.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],115:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../../../utils/col-cache"),o=e("../../../utils/xml-stream"),a=e("../../rel-type"),s=e("./merges"),l=e("../base-xform"),u=e("../list-xform"),c=e("./row-xform"),d=e("./col-xform"),h=e("./dimension-xform"),f=e("./hyperlink-xform"),p=e("./merge-cell-xform"),m=e("./data-validations-xform"),g=e("./sheet-properties-xform"),v=e("./sheet-format-properties-xform"),y=e("./sheet-view-xform"),b=e("./sheet-protection-xform"),_=e("./page-margins-xform"),w=e("./page-setup-xform"),x=e("./print-options-xform"),k=e("./auto-filter-xform"),S=e("./picture-xform"),M=e("./drawing-xform"),C=e("./table-part-xform"),T=e("./row-breaks-xform"),O=e("./header-footer-xform"),L=e("./cf/conditional-formattings-xform"),A=e("./ext-lst-xform"),D=(e,t)=>{if(!t||!t.length)return e;if(!e||!e.length)return t;const r={},n={};return e.forEach(e=>{r[e.ref]=e,e.rules.forEach(e=>{const{x14Id:t}=e;t&&(n[t]=e)})}),t.forEach(t=>{t.rules.forEach(i=>{const o=n[i.x14Id];o?((e,t)=>{Object.keys(t).forEach(r=>{const n=e[r],i=t[r];void 0===n&&void 0!==i&&(e[r]=i)})})(o,i):r[t.ref]?r[t.ref].rules.push(i):e.push({ref:t.ref,rules:[i]})})}),e};class E extends l{constructor(e){super();const{maxRows:t,maxCols:r,ignoreNodes:n}=e||{};this.ignoreNodes=n||[],this.map={sheetPr:new g,dimension:new h,sheetViews:new u({tag:"sheetViews",count:!1,childXform:new y}),sheetFormatPr:new v,cols:new u({tag:"cols",count:!1,childXform:new d}),sheetData:new u({tag:"sheetData",count:!1,empty:!0,childXform:new c({maxItems:r}),maxItems:t}),autoFilter:new k,mergeCells:new u({tag:"mergeCells",count:!0,childXform:new p}),rowBreaks:new T,hyperlinks:new u({tag:"hyperlinks",count:!1,childXform:new f}),pageMargins:new _,dataValidations:new m,pageSetup:new w,headerFooter:new O,printOptions:new x,picture:new S,drawing:new M,sheetProtection:new b,tableParts:new u({tag:"tableParts",count:!0,childXform:new C}),conditionalFormatting:new L,extLst:new A}}prepare(e,t){t.merges=new s,e.hyperlinks=t.hyperlinks=[],e.comments=t.comments=[],t.formulae={},t.siFormulae=0,this.map.cols.prepare(e.cols,t),this.map.sheetData.prepare(e.rows,t),this.map.conditionalFormatting.prepare(e.conditionalFormattings,t),e.mergeCells=t.merges.mergeCells;const r=e.rels=[];function n(e){return"rId"+(e.length+1)}if(e.hyperlinks.forEach(e=>{const t=n(r);e.rId=t,r.push({Id:t,Type:a.Hyperlink,Target:e.target,TargetMode:"External"})}),e.comments.length>0){const o={Id:n(r),Type:a.Comments,Target:`../comments${e.id}.xml`};r.push(o);const s={Id:n(r),Type:a.VmlDrawing,Target:`../drawings/vmlDrawing${e.id}.vml`};r.push(s),e.comments.forEach(e=>{e.refAddress=i.decodeAddress(e.ref)}),t.commentRefs.push({commentName:"comments"+e.id,vmlDrawing:"vmlDrawing"+e.id})}const o=[];let l;e.media.forEach(i=>{if("background"===i.type){const o=n(r);l=t.media[i.imageId],r.push({Id:o,Type:a.Image,Target:`../media/${l.name}.${l.extension}`}),e.background={rId:o},e.image=t.media[i.imageId]}else if("image"===i.type){let{drawing:s}=e;l=t.media[i.imageId],s||(s=e.drawing={rId:n(r),name:"drawing"+ ++t.drawingsCount,anchors:[],rels:[]},t.drawings.push(s),r.push({Id:s.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${s.name}.xml`}));let u=this.preImageId===i.imageId?o[i.imageId]:o[s.rels.length];u||(u=n(s.rels),o[s.rels.length]=u,s.rels.push({Id:u,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${l.name}.${l.extension}`}));const c={picture:{rId:u},range:i.range};if(i.hyperlinks&&i.hyperlinks.hyperlink){const e=n(s.rels);o[s.rels.length]=e,c.picture.hyperlinks={tooltip:i.hyperlinks.tooltip,rId:e},s.rels.push({Id:e,Type:a.Hyperlink,Target:i.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=i.imageId,s.anchors.push(c)}}),e.tables.forEach(e=>{const i=n(r);e.rId=i,r.push({Id:i,Type:a.Table,Target:"../tables/"+e.target}),e.columns.forEach(e=>{const{style:r}=e;r&&(e.dxfId=t.styles.addDxfStyle(r))})}),this.map.extLst.prepare(e,t)}render(e,t){e.openXml(o.StdDocAttributes),e.openNode("worksheet",E.WORKSHEET_ATTRIBUTES);const r=t.properties?{defaultRowHeight:t.properties.defaultRowHeight,dyDescent:t.properties.dyDescent,outlineLevelCol:t.properties.outlineLevelCol,outlineLevelRow:t.properties.outlineLevelRow}:void 0;t.properties&&t.properties.defaultColWidth&&(r.defaultColWidth=t.properties.defaultColWidth);const n={outlineProperties:t.properties&&t.properties.outlineProperties,tabColor:t.properties&&t.properties.tabColor,pageSetup:t.pageSetup&&t.pageSetup.fitToPage?{fitToPage:t.pageSetup.fitToPage}:void 0},i=t.pageSetup&&t.pageSetup.margins,s={showRowColHeaders:t.pageSetup&&t.pageSetup.showRowColHeaders,showGridLines:t.pageSetup&&t.pageSetup.showGridLines,horizontalCentered:t.pageSetup&&t.pageSetup.horizontalCentered,verticalCentered:t.pageSetup&&t.pageSetup.verticalCentered},l=t.sheetProtection;this.map.sheetPr.render(e,n),this.map.dimension.render(e,t.dimensions),this.map.sheetViews.render(e,t.views),this.map.sheetFormatPr.render(e,r),this.map.cols.render(e,t.cols),this.map.sheetData.render(e,t.rows),this.map.sheetProtection.render(e,l),this.map.autoFilter.render(e,t.autoFilter),this.map.mergeCells.render(e,t.mergeCells),this.map.conditionalFormatting.render(e,t.conditionalFormattings),this.map.dataValidations.render(e,t.dataValidations),this.map.hyperlinks.render(e,t.hyperlinks),this.map.printOptions.render(e,s),this.map.pageMargins.render(e,i),this.map.pageSetup.render(e,t.pageSetup),this.map.headerFooter.render(e,t.headerFooter),this.map.rowBreaks.render(e,t.rowBreaks),this.map.drawing.render(e,t.drawing),this.map.picture.render(e,t.background),this.map.tableParts.render(e,t.tables),this.map.extLst.render(e,t),t.rels&&t.rels.forEach(t=>{t.Type===a.VmlDrawing&&e.leafNode("legacyDrawing",{"r:id":t.Id})}),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"worksheet"===e.name?(n.each(this.map,e=>{e.reset()}),!0):(this.map[e.name]&&!this.ignoreNodes.includes(e.name)&&(this.parser=this.map[e.name],this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"worksheet":{const e=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(e.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(e.outlineProperties=this.map.sheetPr.model.outlineProperties);const t={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},r=Object.assign(t,this.map.pageSetup.model,this.map.printOptions.model),n=D(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:e,views:this.map.sheetViews.model,pageSetup:r,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:n},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}default:return!0}}reconcile(e,t){const r=(e.relationships||[]).reduce((r,n)=>{if(r[n.Id]=n,n.Type===a.Comments&&(e.comments=t.comments[n.Target].comments),n.Type===a.VmlDrawing&&e.comments&&e.comments.length){const r=t.vmlDrawings[n.Target].comments;e.comments.forEach((e,t)=>{e.note=Object.assign({},e.note,r[t])})}return r},{});if(t.commentsMap=(e.comments||[]).reduce((e,t)=>(t.ref&&(e[t.ref]=t),e),{}),t.hyperlinkMap=(e.hyperlinks||[]).reduce((e,t)=>(t.rId&&(e[t.address]=r[t.rId].Target),e),{}),t.formulae={},e.rows=e.rows&&e.rows.filter(Boolean)||[],e.rows.forEach(e=>{e.cells=e.cells&&e.cells.filter(Boolean)||[]}),this.map.cols.reconcile(e.cols,t),this.map.sheetData.reconcile(e.rows,t),this.map.conditionalFormatting.reconcile(e.conditionalFormattings,t),e.media=[],e.drawing){const n=r[e.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(n){const r=n[1];t.drawings[r].anchors.forEach(t=>{if(t.medium){const r={type:"image",imageId:t.medium.index,range:t.range,hyperlinks:t.picture.hyperlinks};e.media.push(r)}})}}const n=e.background&&r[e.background.rId];if(n){const r=n.Target.split("/media/")[1],i=t.mediaIndex&&t.mediaIndex[r];void 0!==i&&e.media.push({type:"background",imageId:i})}e.tables=(e.tables||[]).map(e=>{const n=r[e.rId];return t.tables[n.Target]}),delete e.relationships,delete e.hyperlinks,delete e.comments}}E.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},t.exports=E},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../../rel-type":31,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":72,"./cf/conditional-formattings-xform":87,"./col-xform":92,"./data-validations-xform":93,"./dimension-xform":94,"./drawing-xform":95,"./ext-lst-xform":96,"./header-footer-xform":97,"./hyperlink-xform":98,"./merge-cell-xform":99,"./merges":100,"./page-margins-xform":103,"./page-setup-xform":105,"./picture-xform":106,"./print-options-xform":107,"./row-breaks-xform":108,"./row-xform":109,"./sheet-format-properties-xform":110,"./sheet-properties-xform":111,"./sheet-protection-xform":112,"./sheet-view-xform":113,"./table-part-xform":114}],116:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr}render(e,t){t&&(e.openNode(this.tag),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.model=!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],117:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this._format=e.format||function(e){try{return Number.isNaN(e.getTime())?"":e.toISOString()}catch(e){return""}},this._parse=e.parse||function(e){return new Date(e)}}render(e,t){t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,this._format(t)):e.writeText(this._format(t)),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=this._parse(e.attributes[this.attr]):this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}},{"../base-xform":32}],118:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this.zero=e.zero}render(e,t){(t||this.zero)&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}parseOpen(e){return e.name===this.tag&&(this.attr?this.model=parseInt(e.attributes[this.attr],10):this.text=[],!0)}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}},{"../base-xform":32}],119:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs}render(e,t){void 0!==t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=e.attributes[this.attr]:this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this.text.join("")),!1}}},{"../base-xform":32}],120:[function(e,t,r){"use strict";const n=e("./base-xform"),i=e("../../utils/xml-stream");t.exports=class extends n{constructor(e){super(),this._model=e}render(e){if(!this._xml){const e=new i;!function e(t,r){t.openNode(r.tag,r.$),r.c&&r.c.forEach(r=>{e(t,r)}),r.t&&t.writeText(r.t),t.closeNode()}(e,this._model),this._xml=e.xml}e.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(e){switch(e){case this._model.tag:return!1;default:return!0}}}},{"../../utils/xml-stream":28,"./base-xform":32}],121:[function(e,t,r){"use strict";const n=e("./text-xform"),i=e("./rich-text-xform"),o=e("../base-xform");t.exports=class extends o{constructor(){super(),this.map={r:new i,t:new n}}get tag(){return"rPh"}render(e,t){if(e.openNode(this.tag,{sb:t.sb||0,eb:t.eb||0}),t&&t.hasOwnProperty("richText")&&t.richText){const{r:r}=this.map;t.richText.forEach(t=>{r.render(e,t)})}else t&&this.map.t.render(e,t.text);e.closeNode()}parseOpen(e){const{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={sb:parseInt(e.attributes.sb,10),eb:parseInt(e.attributes.eb,10)},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./rich-text-xform":122,"./text-xform":125}],122:[function(e,t,r){"use strict";const n=e("./text-xform"),i=e("../style/font-xform"),o=e("../base-xform");class a extends o{constructor(e){super(),this.model=e}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new n)}get fontXform(){return this._fontXform||(this._fontXform=new i(a.FONT_OPTIONS))}render(e,t){t=t||this.model,e.openNode("r"),t.font&&this.fontXform.render(e,t.font),this.textXform.render(e,t.text),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(e),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}}a.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},t.exports=a},{"../base-xform":32,"../style/font-xform":131,"./text-xform":125}],123:[function(e,t,r){"use strict";const n=e("./text-xform"),i=e("./rich-text-xform"),o=e("./phonetic-text-xform"),a=e("../base-xform");t.exports=class extends a{constructor(e){super(),this.model=e,this.map={r:new i,t:new n,rPh:new o}}get tag(){return"si"}render(e,t){e.openNode(this.tag),t&&t.hasOwnProperty("richText")&&t.richText?t.richText.length?t.richText.forEach(t=>{this.map.r.render(e,t)}):this.map.t.render(e,""):null!=t&&this.map.t.render(e,t),e.closeNode()}parseOpen(e){const{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./phonetic-text-xform":121,"./rich-text-xform":122,"./text-xform":125}],124:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("./shared-string-xform");t.exports=class extends i{constructor(e){super(),this.model=e||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new o)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(e){return this.model.values[e]}add(e){return e.richText?this.addRichText(e):this.addText(e)}addText(e){let t=this.hash[e];return void 0===t&&(t=this.hash[e]=this.model.values.length,this.model.values.push(e)),this.model.count++,t}addRichText(e){const t=this.sharedStringXform.toXml(e);let r=this.rich[t];return void 0===r&&(r=this.rich[t]=this.model.values.length,this.model.values.push(e)),this.model.count++,r}render(e,t){t=t||this._values,e.openXml(n.StdDocAttributes),e.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:t.count,uniqueCount:t.values.length});const r=this.sharedStringXform;t.values.forEach(t=>{r.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(e),!0;default:throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(e){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}},{"../../../utils/xml-stream":28,"../base-xform":32,"./shared-string-xform":123}],125:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"t"}render(e,t){e.openNode("t"),/^\s|\n|\s$/.test(t)&&e.addAttribute("xml:space","preserve"),e.writeText(t),e.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,(e,t)=>String.fromCharCode(parseInt(t,16)))}parseOpen(e){switch(e.name){case"t":return this._text=[],!0;default:return!1}}parseText(e){this._text.push(e)}parseClose(){return!1}}},{"../base-xform":32}],126:[function(e,t,r){"use strict";const n=e("../../../doc/enums"),i=e("../../../utils/utils"),o=e("../base-xform"),a={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce((e,t)=>(e[t]=!0,e),{}),horizontal(e){return this.horizontalValues[e]?e:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce((e,t)=>(e[t]=!0,e),{}),vertical(e){return"middle"===e?"center":this.verticalValues[e]?e:void 0},wrapText:e=>!!e||void 0,shrinkToFit:e=>!!e||void 0,textRotation(e){switch(e){case"vertical":return e;default:return(e=i.validInt(e))>=-90&&e<=90?e:void 0}},indent:e=>(e=i.validInt(e),Math.max(0,e)),readingOrder(e){switch(e){case"ltr":return n.ReadingOrder.LeftToRight;case"rtl":return n.ReadingOrder.RightToLeft;default:return}}},s={toXml(e){if(e=a.textRotation(e)){if("vertical"===e)return 255;const t=Math.round(e);if(t>=0&&t<=90)return t;if(t<0&&t>=-90)return 90-t}},toModel(e){const t=i.validInt(e);if(void 0!==t){if(255===t)return"vertical";if(t>=0&&t<=90)return t;if(t>90&&t<=180)return 90-t}}};t.exports=class extends o{get tag(){return"alignment"}render(e,t){e.addRollback(),e.openNode("alignment");let r=!1;function n(t,n){n&&(e.addAttribute(t,n),r=!0)}n("horizontal",a.horizontal(t.horizontal)),n("vertical",a.vertical(t.vertical)),n("wrapText",!!a.wrapText(t.wrapText)&&"1"),n("shrinkToFit",!!a.shrinkToFit(t.shrinkToFit)&&"1"),n("indent",a.indent(t.indent)),n("textRotation",s.toXml(t.textRotation)),n("readingOrder",a.readingOrder(t.readingOrder)),e.closeNode(),r?e.commit():e.rollback()}parseOpen(e){const t={};let r=!1;function n(e,n,i){e&&(t[n]=i,r=!0)}n(e.attributes.horizontal,"horizontal",e.attributes.horizontal),n(e.attributes.vertical,"vertical","center"===e.attributes.vertical?"middle":e.attributes.vertical),n(e.attributes.wrapText,"wrapText",i.parseBoolean(e.attributes.wrapText)),n(e.attributes.shrinkToFit,"shrinkToFit",i.parseBoolean(e.attributes.shrinkToFit)),n(e.attributes.indent,"indent",parseInt(e.attributes.indent,10)),n(e.attributes.textRotation,"textRotation",s.toModel(e.attributes.textRotation)),n(e.attributes.readingOrder,"readingOrder","2"===e.attributes.readingOrder?"rtl":"ltr"),this.model=r?t:null}parseText(){}parseClose(){return!1}}},{"../../../doc/enums":7,"../../../utils/utils":27,"../base-xform":32}],127:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("../../../utils/utils"),o=e("./color-xform");class a extends n{constructor(e){super(),this.name=e,this.map={color:new o}}get tag(){return this.name}render(e,t,r){const n=t&&t.color||r||this.defaultColor;e.openNode(this.name),t&&t.style&&(e.addAttribute("style",t.style),n&&this.map.color.render(e,n)),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.name:{const{style:t}=e.attributes;return this.model=t?{style:t}:void 0,!0}case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(e===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(e){return a.validStyleValues[e]}}a.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce((e,t)=>(e[t]=!0,e),{}),t.exports=class extends n{constructor(){super(),this.map={top:new a("top"),left:new a("left"),bottom:new a("bottom"),right:new a("right"),diagonal:new a("diagonal")}}render(e,t){const{color:r}=t;function n(n,i){n&&!n.color&&t.color&&(n={...n,color:t.color}),i.render(e,n,r)}e.openNode("border"),t.diagonal&&t.diagonal.style&&(t.diagonal.up&&e.addAttribute("diagonalUp","1"),t.diagonal.down&&e.addAttribute("diagonalDown","1")),n(t.left,this.map.left),n(t.right,this.map.right),n(t.top,this.map.top),n(t.bottom,this.map.bottom),n(t.diagonal,this.map.diagonal),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"border":return this.reset(),this.diagonalUp=i.parseBoolean(e.attributes.diagonalUp),this.diagonalDown=i.parseBoolean(e.attributes.diagonalDown),!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if("border"===e){const e=this.model={},t=function(t,r,n){r&&(n&&Object.assign(r,n),e[t]=r)};t("left",this.map.left.model),t("right",this.map.right.model),t("top",this.map.top.model),t("bottom",this.map.bottom.model),t("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{"../../../utils/utils":27,"../base-xform":32,"./color-xform":128}],128:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{constructor(e){super(),this.name=e||"color"}get tag(){return this.name}render(e,t){return!!t&&(e.openNode(this.name),t.argb?e.addAttribute("rgb",t.argb):void 0!==t.theme?(e.addAttribute("theme",t.theme),void 0!==t.tint&&e.addAttribute("tint",t.tint)):void 0!==t.indexed?e.addAttribute("indexed",t.indexed):e.addAttribute("auto","1"),e.closeNode(),!0)}parseOpen(e){return e.name===this.name&&(e.attributes.rgb?this.model={argb:e.attributes.rgb}:e.attributes.theme?(this.model={theme:parseInt(e.attributes.theme,10)},e.attributes.tint&&(this.model.tint=parseFloat(e.attributes.tint))):e.attributes.indexed?this.model={indexed:parseInt(e.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],129:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./alignment-xform"),o=e("./border-xform"),a=e("./fill-xform"),s=e("./font-xform"),l=e("./numfmt-xform"),u=e("./protection-xform");t.exports=class extends n{constructor(){super(),this.map={alignment:new i,border:new o,fill:new a,font:new s,numFmt:new l,protection:new u}}get tag(){return"dxf"}render(e,t){if(e.openNode(this.tag),t.font&&this.map.font.render(e,t.font),t.numFmt&&t.numFmtId){const r={id:t.numFmtId,formatCode:t.numFmt};this.map.numFmt.render(e,r)}t.fill&&this.map.fill.render(e,t.fill),t.alignment&&this.map.alignment.render(e,t.alignment),t.border&&this.map.border.render(e,t.border),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{"../base-xform":32,"./alignment-xform":126,"./border-xform":127,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./protection-xform":133}],130:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./color-xform");class o extends n{constructor(){super(),this.map={color:new i}}get tag(){return"stop"}render(e,t){e.openNode("stop"),e.addAttribute("position",t.position),this.map.color.render(e,t.color),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"stop":return this.model={position:parseFloat(e.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}parseText(){}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class a extends n{constructor(){super(),this.map={fgColor:new i("fgColor"),bgColor:new i("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render(e,t){e.openNode("patternFill"),e.addAttribute("patternType",t.pattern),t.fgColor&&this.map.fgColor.render(e,t.fgColor),t.bgColor&&this.map.bgColor.render(e,t.bgColor),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"patternFill":return this.model={type:"pattern",pattern:e.attributes.patternType},!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.parser.model&&(this.model[e]=this.parser.model),this.parser=void 0),!0)}}class s extends n{constructor(){super(),this.map={stop:new o}}get name(){return"gradient"}get tag(){return"gradientFill"}render(e,t){switch(e.openNode("gradientFill"),t.gradient){case"angle":e.addAttribute("degree",t.degree);break;case"path":e.addAttribute("type","path"),t.center.left&&(e.addAttribute("left",t.center.left),void 0===t.center.right&&e.addAttribute("right",t.center.left)),t.center.right&&e.addAttribute("right",t.center.right),t.center.top&&(e.addAttribute("top",t.center.top),void 0===t.center.bottom&&e.addAttribute("bottom",t.center.top)),t.center.bottom&&e.addAttribute("bottom",t.center.bottom)}const r=this.map.stop;t.stops.forEach(t=>{r.render(e,t)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"gradientFill":{const t=this.model={stops:[]};return e.attributes.degree?(t.gradient="angle",t.degree=parseInt(e.attributes.degree,10)):"path"===e.attributes.type&&(t.gradient="path",t.center={left:e.attributes.left?parseFloat(e.attributes.left):0,top:e.attributes.top?parseFloat(e.attributes.top):0},e.attributes.right!==e.attributes.left&&(t.center.right=e.attributes.right?parseFloat(e.attributes.right):0),e.attributes.bottom!==e.attributes.top&&(t.center.bottom=e.attributes.bottom?parseFloat(e.attributes.bottom):0)),!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class l extends n{constructor(){super(),this.map={patternFill:new a,gradientFill:new s}}get tag(){return"fill"}render(e,t){switch(e.addRollback(),e.openNode("fill"),t.type){case"pattern":this.map.patternFill.render(e,t);break;case"gradient":this.map.gradientFill.render(e,t);break;default:return void e.rollback()}e.closeNode(),e.commit()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"fill":return this.model={},!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(e){return l.validPatternValues[e]}}l.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce((e,t)=>(e[t]=!0,e),{}),l.StopXform=o,l.PatternFillXform=a,l.GradientFillXform=s,t.exports=l},{"../base-xform":32,"./color-xform":128}],131:[function(e,t,r){"use strict";const n=e("./color-xform"),i=e("../simple/boolean-xform"),o=e("../simple/integer-xform"),a=e("../simple/string-xform"),s=e("./underline-xform"),l=e("../../../utils/under-dash"),u=e("../base-xform");class c extends u{constructor(e){super(),this.options=e||c.OPTIONS,this.map={b:{prop:"bold",xform:new i({tag:"b",attr:"val"})},i:{prop:"italic",xform:new i({tag:"i",attr:"val"})},u:{prop:"underline",xform:new s},charset:{prop:"charset",xform:new o({tag:"charset",attr:"val"})},color:{prop:"color",xform:new n},condense:{prop:"condense",xform:new i({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new i({tag:"extend",attr:"val"})},family:{prop:"family",xform:new o({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new i({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new a({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new a({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new i({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new i({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new o({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new a({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render(e,t){const{map:r}=this;e.openNode(this.options.tagName),l.each(this.map,(n,i)=>{r[i].xform.render(e,t[n.prop])}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(this.map[e.name])return this.parser=this.map[e.name].xform,this.parser.parseOpen(e);switch(e.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser&&!this.parser.parseClose(e)){const t=this.map[e];return this.parser.model&&(this.model[t.prop]=this.parser.model),this.parser=void 0,!0}switch(e){case this.options.tagName:return!1;default:return!0}}}c.OPTIONS={tagName:"font",fontNameTag:"name"},t.exports=c},{"../../../utils/under-dash":26,"../base-xform":32,"../simple/boolean-xform":116,"../simple/integer-xform":118,"../simple/string-xform":119,"./color-xform":128,"./underline-xform":136}],132:[function(e,t,r){"use strict";const n=e("../../../utils/under-dash"),i=e("../../defaultnumformats"),o=e("../base-xform"),a=function(){const e={};return n.each(i,(t,r)=>{t.f&&(e[t.f]=parseInt(r,10))}),e}();class s extends o{constructor(e,t){super(),this.id=e,this.formatCode=t}get tag(){return"numFmt"}render(e,t){e.leafNode("numFmt",{numFmtId:t.id,formatCode:t.formatCode})}parseOpen(e){switch(e.name){case"numFmt":return this.model={id:parseInt(e.attributes.numFmtId,10),formatCode:e.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}s.getDefaultFmtId=function(e){return a[e]},s.getDefaultFmtCode=function(e){return i[e]&&i[e].f},t.exports=s},{"../../../utils/under-dash":26,"../../defaultnumformats":30,"../base-xform":32}],133:[function(e,t,r){"use strict";const n=e("../base-xform"),i={boolean:(e,t)=>void 0===e?t:e};t.exports=class extends n{get tag(){return"protection"}render(e,t){e.addRollback(),e.openNode("protection");let r=!1;function n(t,n){void 0!==n&&(e.addAttribute(t,n),r=!0)}n("locked",i.boolean(t.locked,!0)?void 0:"0"),n("hidden",i.boolean(t.hidden,!1)?"1":void 0),e.closeNode(),r?e.commit():e.rollback()}parseOpen(e){const t={locked:!("0"===e.attributes.locked),hidden:"1"===e.attributes.hidden},r=!t.locked||t.hidden;this.model=r?t:null}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],134:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./alignment-xform"),o=e("./protection-xform");t.exports=class extends n{constructor(e){super(),this.xfId=!(!e||!e.xfId),this.map={alignment:new i,protection:new o}}get tag(){return"xf"}render(e,t){e.openNode("xf",{numFmtId:t.numFmtId||0,fontId:t.fontId||0,fillId:t.fillId||0,borderId:t.borderId||0}),this.xfId&&e.addAttribute("xfId",t.xfId||0),t.numFmtId&&e.addAttribute("applyNumberFormat","1"),t.fontId&&e.addAttribute("applyFont","1"),t.fillId&&e.addAttribute("applyFill","1"),t.borderId&&e.addAttribute("applyBorder","1"),t.alignment&&e.addAttribute("applyAlignment","1"),t.protection&&e.addAttribute("applyProtection","1"),t.alignment&&this.map.alignment.render(e,t.alignment),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"xf":return this.model={numFmtId:parseInt(e.attributes.numFmtId,10),fontId:parseInt(e.attributes.fontId,10),fillId:parseInt(e.attributes.fillId,10),borderId:parseInt(e.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(e.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(e),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):"xf"!==e}}},{"../base-xform":32,"./alignment-xform":126,"./protection-xform":133}],135:[function(e,t,r){"use strict";const n=e("../../../doc/enums"),i=e("../../../utils/xml-stream"),o=e("../base-xform"),a=e("../static-xform"),s=e("../list-xform"),l=e("./font-xform"),u=e("./fill-xform"),c=e("./border-xform"),d=e("./numfmt-xform"),h=e("./style-xform"),f=e("./dxf-xform");class p extends o{constructor(e){super(),this.map={numFmts:new s({tag:"numFmts",count:!0,childXform:new d}),fonts:new s({tag:"fonts",count:!0,childXform:new l,$:{"x14ac:knownFonts":1}}),fills:new s({tag:"fills",count:!0,childXform:new u}),borders:new s({tag:"borders",count:!0,childXform:new c}),cellStyleXfs:new s({tag:"cellStyleXfs",count:!0,childXform:new h}),cellXfs:new s({tag:"cellXfs",count:!0,childXform:new h({xfId:!0})}),dxfs:new s({tag:"dxfs",always:!0,count:!0,childXform:new f}),numFmt:new d,font:new l,fill:new u,border:new c,style:new h({xfId:!0}),cellStyles:p.STATIC_XFORMS.cellStyles,tableStyles:p.STATIC_XFORMS.tableStyles,extLst:p.STATIC_XFORMS.extLst},e&&this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render(e,t){t=t||this.model,e.openXml(i.StdDocAttributes),e.openNode("styleSheet",p.STYLESHEET_ATTRIBUTES),this.index?(t.numFmts&&t.numFmts.length&&(e.openNode("numFmts",{count:t.numFmts.length}),t.numFmts.forEach(t=>{e.writeXml(t)}),e.closeNode()),t.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),e.openNode("fonts",{count:t.fonts.length,"x14ac:knownFonts":1}),t.fonts.forEach(t=>{e.writeXml(t)}),e.closeNode(),e.openNode("fills",{count:t.fills.length}),t.fills.forEach(t=>{e.writeXml(t)}),e.closeNode(),e.openNode("borders",{count:t.borders.length}),t.borders.forEach(t=>{e.writeXml(t)}),e.closeNode(),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),e.openNode("cellXfs",{count:t.styles.length}),t.styles.forEach(t=>{e.writeXml(t)}),e.closeNode()):(this.map.numFmts.render(e,t.numFmts),this.map.fonts.render(e,t.fonts),this.map.fills.render(e,t.fills),this.map.borders.render(e,t.borders),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(e,t.styles)),p.STATIC_XFORMS.cellStyles.render(e),this.map.dxfs.render(e,t.dxfs),p.STATIC_XFORMS.tableStyles.render(e),p.STATIC_XFORMS.extLst.render(e),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"styleSheet":{this.model={};const e=(e,t)=>{t.model&&t.model.length&&(this.model[e]=t.model)};if(e("numFmts",this.map.numFmts),e("fonts",this.map.fonts),e("fills",this.map.fills),e("borders",this.map.borders),e("styles",this.map.cellXfs),e("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){const e=this.index.numFmt;this.model.numFmts.forEach(t=>{e[t.id]=t.formatCode})}return!1}default:return!0}}addStyleModel(e,t){if(!e)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(e))return this.weakMap.get(e);const r={};if(t=t||n.ValueType.Number,e.numFmt)r.numFmtId=this._addNumFmtStr(e.numFmt);else switch(t){case n.ValueType.Number:r.numFmtId=this._addNumFmtStr("General");break;case n.ValueType.Date:r.numFmtId=this._addNumFmtStr("mm-dd-yy")}e.font&&(r.fontId=this._addFont(e.font)),e.border&&(r.borderId=this._addBorder(e.border)),e.fill&&(r.fillId=this._addFill(e.fill)),e.alignment&&(r.alignment=e.alignment),e.protection&&(r.protection=e.protection);const i=this._addStyle(r);return this.weakMap&&this.weakMap.set(e,i),i}getStyleModel(e){const t=this.model.styles[e];if(!t)return null;let r=this.index.model[e];if(r)return r;if(r=this.index.model[e]={},t.numFmtId){const e=this.index.numFmt[t.numFmtId]||d.getDefaultFmtCode(t.numFmtId);e&&(r.numFmt=e)}function n(e,t,n){if(n||0===n){const i=t[n];i&&(r[e]=i)}}return n("font",this.model.fonts,t.fontId),n("border",this.model.borders,t.borderId),n("fill",this.model.fills,t.fillId),t.alignment&&(r.alignment=t.alignment),t.protection&&(r.protection=t.protection),r}addDxfStyle(e){return e.numFmt&&(e.numFmtId=this._addNumFmtStr(e.numFmt)),this.model.dxfs.push(e),this.model.dxfs.length-1}getDxfStyle(e){return this.model.dxfs[e]}_addStyle(e){const t=this.map.style.toXml(e);let r=this.index.style[t];return void 0===r&&(r=this.index.style[t]=this.model.styles.length,this.model.styles.push(t)),r}_addNumFmtStr(e){let t=d.getDefaultFmtId(e);if(void 0!==t)return t;if(t=this.index.numFmt[e],void 0!==t)return t;t=this.index.numFmt[e]=164+this.model.numFmts.length;const r=this.map.numFmt.toXml({id:t,formatCode:e});return this.model.numFmts.push(r),t}_addFont(e){const t=this.map.font.toXml(e);let r=this.index.font[t];return void 0===r&&(r=this.index.font[t]=this.model.fonts.length,this.model.fonts.push(t)),r}_addBorder(e){const t=this.map.border.toXml(e);let r=this.index.border[t];return void 0===r&&(r=this.index.border[t]=this.model.borders.length,this.model.borders.push(t)),r}_addFill(e){const t=this.map.fill.toXml(e);let r=this.index.fill[t];return void 0===r&&(r=this.index.fill[t]=this.model.fills.length,this.model.fills.push(t)),r}}p.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},p.STATIC_XFORMS={cellStyles:new a({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new a({tag:"dxfs",$:{count:0}}),tableStyles:new a({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new a({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})},p.Mock=class extends p{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream(e){return e.autodrain(),Promise.resolve()}addStyleModel(e,t){switch(t){case n.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){const e={numFmtId:d.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(e)}return this._dateStyleId}getStyleModel(){return{}}},t.exports=p},{"../../../doc/enums":7,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./border-xform":127,"./dxf-xform":129,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./style-xform":134}],136:[function(e,t,r){"use strict";const n=e("../base-xform");class i extends n{constructor(e){super(),this.model=e}get tag(){return"u"}render(e,t){if(!0===(t=t||this.model))e.leafNode("u");else{const r=i.Attributes[t];r&&e.leafNode("u",r)}}parseOpen(e){"u"===e.name&&(this.model=e.attributes.val||!0)}parseText(){}parseClose(){return!1}}i.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},t.exports=i},{"../base-xform":32}],137:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("./filter-column-xform");t.exports=class extends n{constructor(){super(),this.map={filterColumn:new i}}get tag(){return"autoFilter"}prepare(e){e.columns.forEach((e,t)=>{this.map.filterColumn.prepare(e,{index:t})})}render(e,t){return e.openNode(this.tag,{ref:t.autoFilterRef}),t.columns.forEach(t=>{this.map.filterColumn.render(e,t)}),e.closeNode(),!0}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:return this.model={autoFilterRef:e.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}},{"../base-xform":32,"./filter-column-xform":139}],138:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"customFilter"}render(e,t){e.leafNode(this.tag,{val:t.val,operator:t.operator})}parseOpen(e){return e.name===this.tag&&(this.model={val:e.attributes.val,operator:e.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],139:[function(e,t,r){"use strict";const n=e("../base-xform"),i=e("../list-xform"),o=e("./custom-filter-xform"),a=e("./filter-xform");t.exports=class extends n{constructor(){super(),this.map={customFilters:new i({tag:"customFilters",count:!1,empty:!0,childXform:new o}),filters:new i({tag:"filters",count:!1,empty:!0,childXform:new a})}}get tag(){return"filterColumn"}prepare(e,t){e.colId=t.index.toString()}render(e,t){return t.customFilters?(e.openNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?"0":"1"}),this.map.customFilters.render(e,t.customFilters),e.closeNode(),!0):(e.leafNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?"0":"1"}),!0)}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;const{attributes:t}=e;switch(e.name){case this.tag:return this.model={filterButton:"0"===t.hiddenButton},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}},{"../base-xform":32,"../list-xform":71,"./custom-filter-xform":138,"./filter-xform":140}],140:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"filter"}render(e,t){e.leafNode(this.tag,{val:t.val})}parseOpen(e){return e.name===this.tag&&(this.model={val:e.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],141:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"tableColumn"}prepare(e,t){e.id=t.index+1}render(e,t){return e.leafNode(this.tag,{id:t.id.toString(),name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId}),!0}parseOpen(e){if(e.name===this.tag){const{attributes:t}=e;return this.model={name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],142:[function(e,t,r){"use strict";const n=e("../base-xform");t.exports=class extends n{get tag(){return"tableStyleInfo"}render(e,t){return e.leafNode(this.tag,{name:t.theme?t.theme:void 0,showFirstColumn:t.showFirstColumn?"1":"0",showLastColumn:t.showLastColumn?"1":"0",showRowStripes:t.showRowStripes?"1":"0",showColumnStripes:t.showColumnStripes?"1":"0"}),!0}parseOpen(e){if(e.name===this.tag){const{attributes:t}=e;return this.model={theme:t.name?t.name:null,showFirstColumn:"1"===t.showFirstColumn,showLastColumn:"1"===t.showLastColumn,showRowStripes:"1"===t.showRowStripes,showColumnStripes:"1"===t.showColumnStripes},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],143:[function(e,t,r){"use strict";const n=e("../../../utils/xml-stream"),i=e("../base-xform"),o=e("../list-xform"),a=e("./auto-filter-xform"),s=e("./table-column-xform"),l=e("./table-style-info-xform");class u extends i{constructor(){super(),this.map={autoFilter:new a,tableColumns:new o({tag:"tableColumns",count:!0,empty:!0,childXform:new s}),tableStyleInfo:new l}}prepare(e,t){this.map.autoFilter.prepare(e),this.map.tableColumns.prepare(e.columns,t)}get tag(){return"table"}render(e,t){e.openXml(n.StdDocAttributes),e.openNode(this.tag,{...u.TABLE_ATTRIBUTES,id:t.id,name:t.name,displayName:t.displayName||t.name,ref:t.tableRef,totalsRowCount:t.totalsRow?"1":void 0,totalsRowShown:t.totalsRow?void 0:"1",headerRowCount:t.headerRow?"1":"0"}),this.map.autoFilter.render(e,t),this.map.tableColumns.render(e,t.columns),this.map.tableStyleInfo.render(e,t.style),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;const{name:t,attributes:r}=e;switch(t){case this.tag:this.reset(),this.model={name:r.name,displayName:r.displayName||r.name,tableRef:r.ref,totalsRow:"1"===r.totalsRowCount,headerRow:"1"===r.headerRowCount};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((e,t)=>{this.model.columns[t].filterButton=e.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile(e,t){e.columns.forEach(e=>{void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId))})}}u.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},t.exports=u},{"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":137,"./table-column-xform":141,"./table-style-info-xform":142}],144:[function(e,t,r){(function(r,n){(function(){"use strict";const i=e("fs"),o=e("jszip"),{PassThrough:a}=e("readable-stream"),s=e("../utils/zip-stream"),l=e("../utils/stream-buf"),u=e("../utils/utils"),c=e("../utils/xml-stream"),{bufferToString:d}=e("../utils/browser-buffer-decode"),h=e("./xform/style/styles-xform"),f=e("./xform/core/core-xform"),p=e("./xform/strings/shared-strings-xform"),m=e("./xform/core/relationships-xform"),g=e("./xform/core/content-types-xform"),v=e("./xform/core/app-xform"),y=e("./xform/book/workbook-xform"),b=e("./xform/sheet/worksheet-xform"),_=e("./xform/drawing/drawing-xform"),w=e("./xform/table/table-xform"),x=e("./xform/comment/comments-xform"),k=e("./xform/comment/vml-notes-xform"),S=e("./xml/theme1");class M{constructor(e){this.workbook=e}async readFile(e,t){if(!await u.fs.exists(e))throw new Error("File not found: "+e);const r=i.createReadStream(e);try{const e=await this.read(r,t);return r.close(),e}catch(e){throw r.close(),e}}parseRels(e){return(new m).parseStream(e)}parseWorkbook(e){return(new y).parseStream(e)}parseSharedStrings(e){return(new p).parseStream(e)}reconcile(e,t){const r=new y,n=new b(t),i=new _,o=new w;r.reconcile(e);const a={media:e.media,mediaIndex:e.mediaIndex};Object.keys(e.drawings).forEach(t=>{const r=e.drawings[t],n=e.drawingRels[t];n&&(a.rels=n.reduce((e,t)=>(e[t.Id]=t,e),{}),(r.anchors||[]).forEach(e=>{const t=e.picture&&e.picture.hyperlinks;t&&a.rels[t.rId]&&(t.hyperlink=a.rels[t.rId].Target,delete t.rId)}),i.reconcile(r,a))});const s={styles:e.styles};Object.values(e.tables).forEach(e=>{o.reconcile(e,s)});const l={styles:e.styles,sharedStrings:e.sharedStrings,media:e.media,mediaIndex:e.mediaIndex,date1904:e.properties&&e.properties.date1904,drawings:e.drawings,comments:e.comments,tables:e.tables,vmlDrawings:e.vmlDrawings};e.worksheets.forEach(t=>{t.relationships=e.worksheetRels[t.sheetNo],n.reconcile(t,l)}),delete e.worksheetHash,delete e.worksheetRels,delete e.globalRels,delete e.sharedStrings,delete e.workbookRels,delete e.sheetDefs,delete e.styles,delete e.mediaIndex,delete e.drawings,delete e.drawingRels,delete e.vmlDrawings}async _processWorksheetEntry(e,t,r,n,i){const o=new b(n),a=await o.parseStream(e);a.sheetNo=r,t.worksheetHash[i]=a,t.worksheets.push(a)}async _processCommentEntry(e,t,r){const n=new x,i=await n.parseStream(e);t.comments[`../${r}.xml`]=i}async _processTableEntry(e,t,r){const n=new w,i=await n.parseStream(e);t.tables[`../tables/${r}.xml`]=i}async _processWorksheetRelsEntry(e,t,r){const n=new m,i=await n.parseStream(e);t.worksheetRels[r]=i}async _processMediaEntry(e,t,r){const n=r.lastIndexOf(".");if(n>=1){const i=r.substr(n+1),o=r.substr(0,n);await new Promise((n,a)=>{const s=new l;s.on("finish",()=>{t.mediaIndex[r]=t.media.length,t.mediaIndex[o]=t.media.length;const e={type:"image",name:o,extension:i,buffer:s.toBuffer()};t.media.push(e),n()}),e.on("error",e=>{a(e)}),e.pipe(s)})}}async _processDrawingEntry(e,t,r){const n=new _,i=await n.parseStream(e);t.drawings[r]=i}async _processDrawingRelsEntry(e,t,r){const n=new m,i=await n.parseStream(e);t.drawingRels[r]=i}async _processVmlDrawingEntry(e,t,r){const n=new k,i=await n.parseStream(e);t.vmlDrawings[`../drawings/${r}.vml`]=i}async _processThemeEntry(e,t,r){await new Promise((n,i)=>{const o=new l;e.on("error",i),o.on("error",i),o.on("finish",()=>{t.themes[r]=o.read().toString(),n()}),e.pipe(o)})}createInputStream(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read(e,t){!e[Symbol.asyncIterator]&&e.pipe&&(e=e.pipe(new a));const r=[];for await(const n of e)r.push(n);return this.load(n.concat(r),t)}async load(e,t){let i;i=t&&t.base64?n.from(e.toString(),"base64"):e;const s={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},l=await o.loadAsync(i);for(const n of Object.values(l.files))if(!n.dir){let e,i=n.name;if("/"===i[0]&&(i=i.substr(1)),i.match(/xl\/media\//)||i.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))e=new a,e.write(await n.async("nodebuffer"));else{let t;e=new a({writableObjectMode:!0,readableObjectMode:!0}),t=r.browser?d(await n.async("nodebuffer")):await n.async("string");const i=16384;for(let r=0;r<t.length;r+=i)e.write(t.substring(r,r+i))}switch(e.end(),i){case"_rels/.rels":s.globalRels=await this.parseRels(e);break;case"xl/workbook.xml":{const t=await this.parseWorkbook(e);s.sheets=t.sheets,s.definedNames=t.definedNames,s.views=t.views,s.properties=t.properties,s.calcProperties=t.calcProperties;break}case"xl/_rels/workbook.xml.rels":s.workbookRels=await this.parseRels(e);break;case"xl/sharedStrings.xml":s.sharedStrings=new p,await s.sharedStrings.parseStream(e);break;case"xl/styles.xml":s.styles=new h,await s.styles.parseStream(e);break;case"docProps/app.xml":{const t=new v,r=await t.parseStream(e);s.company=r.company,s.manager=r.manager;break}case"docProps/core.xml":{const t=new f,r=await t.parseStream(e);Object.assign(s,r);break}default:{let r=i.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(r){await this._processWorksheetEntry(e,s,r[1],t,i);break}if(r=i.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),r){await this._processWorksheetRelsEntry(e,s,r[1]);break}if(r=i.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),r){await this._processThemeEntry(e,s,r[1]);break}if(r=i.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),r){await this._processMediaEntry(e,s,r[1]);break}if(r=i.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),r){await this._processDrawingEntry(e,s,r[1]);break}if(r=i.match(/xl\/(comments\d+)[.]xml/),r){await this._processCommentEntry(e,s,r[1]);break}if(r=i.match(/xl\/tables\/(table\d+)[.]xml/),r){await this._processTableEntry(e,s,r[1]);break}if(r=i.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),r){await this._processDrawingRelsEntry(e,s,r[1]);break}if(r=i.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),r){await this._processVmlDrawingEntry(e,s,r[1]);break}}}}return this.reconcile(s,t),this.workbook.model=s,this.workbook}async addMedia(e,t){await Promise.all(t.media.map(async t=>{if("image"===t.type){const r=`xl/media/${t.name}.${t.extension}`;if(t.filename){const n=await function(e,t){return new Promise((r,n)=>{i.readFile(e,t,(e,t)=>{e?n(e):r(t)})})}(t.filename);return e.append(n,{name:r})}if(t.buffer)return e.append(t.buffer,{name:r});if(t.base64){const n=t.base64,i=n.substring(n.indexOf(",")+1);return e.append(i,{name:r,base64:!0})}}throw new Error("Unsupported media")}))}addDrawings(e,t){const r=new _,n=new m;t.worksheets.forEach(t=>{const{drawing:i}=t;if(i){r.prepare(i,{});let t=r.toXml(i);e.append(t,{name:`xl/drawings/${i.name}.xml`}),t=n.toXml(i.rels),e.append(t,{name:`xl/drawings/_rels/${i.name}.xml.rels`})}})}addTables(e,t){const r=new w;t.worksheets.forEach(t=>{const{tables:n}=t;n.forEach(t=>{r.prepare(t,{});const n=r.toXml(t);e.append(n,{name:"xl/tables/"+t.target})})})}async addContentTypes(e,t){const r=(new g).toXml(t);e.append(r,{name:"[Content_Types].xml"})}async addApp(e,t){const r=(new v).toXml(t);e.append(r,{name:"docProps/app.xml"})}async addCore(e,t){const r=new f;e.append(r.toXml(t),{name:"docProps/core.xml"})}async addThemes(e,t){const r=t.themes||{theme1:S};Object.keys(r).forEach(t=>{const n=r[t],i=`xl/theme/${t}.xml`;e.append(n,{name:i})})}async addOfficeRels(e){const t=(new m).toXml([{Id:"rId1",Type:M.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:M.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:M.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);e.append(t,{name:"_rels/.rels"})}async addWorkbookRels(e,t){let r=1;const n=[{Id:"rId"+r++,Type:M.RelType.Styles,Target:"styles.xml"},{Id:"rId"+r++,Type:M.RelType.Theme,Target:"theme/theme1.xml"}];t.sharedStrings.count&&n.push({Id:"rId"+r++,Type:M.RelType.SharedStrings,Target:"sharedStrings.xml"}),t.worksheets.forEach(e=>{e.rId="rId"+r++,n.push({Id:e.rId,Type:M.RelType.Worksheet,Target:`worksheets/sheet${e.id}.xml`})});const i=(new m).toXml(n);e.append(i,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings(e,t){t.sharedStrings&&t.sharedStrings.count&&e.append(t.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles(e,t){const{xml:r}=t.styles;r&&e.append(r,{name:"xl/styles.xml"})}async addWorkbook(e,t){const r=new y;e.append(r.toXml(t),{name:"xl/workbook.xml"})}async addWorksheets(e,t){const r=new b,n=new m,i=new x,o=new k;t.worksheets.forEach(t=>{let a=new c;r.render(a,t),e.append(a.xml,{name:`xl/worksheets/sheet${t.id}.xml`}),t.rels&&t.rels.length&&(a=new c,n.render(a,t.rels),e.append(a.xml,{name:`xl/worksheets/_rels/sheet${t.id}.xml.rels`})),t.comments.length>0&&(a=new c,i.render(a,t),e.append(a.xml,{name:`xl/comments${t.id}.xml`}),a=new c,o.render(a,t),e.append(a.xml,{name:`xl/drawings/vmlDrawing${t.id}.vml`}))})}_finalize(e){return new Promise((t,r)=>{e.on("finish",()=>{t(this)}),e.on("error",r),e.finalize()})}prepareModel(e,t){e.creator=e.creator||"ExcelJS",e.lastModifiedBy=e.lastModifiedBy||"ExcelJS",e.created=e.created||new Date,e.modified=e.modified||new Date,e.useSharedStrings=void 0===t.useSharedStrings||t.useSharedStrings,e.useStyles=void 0===t.useStyles||t.useStyles,e.sharedStrings=new p,e.styles=e.useStyles?new h(!0):new h.Mock;const r=new y,n=new b;r.prepare(e);const i={sharedStrings:e.sharedStrings,styles:e.styles,date1904:e.properties.date1904,drawingsCount:0,media:e.media};i.drawings=e.drawings=[],i.commentRefs=e.commentRefs=[];let o=0;e.tables=[],e.worksheets.forEach(t=>{t.tables.forEach(t=>{o++,t.target=`table${o}.xml`,t.id=o,e.tables.push(t)}),n.prepare(t,i)})}async write(e,t){t=t||{};const{model:r}=this.workbook,n=new s.ZipWriter(t.zip);return n.pipe(e),this.prepareModel(r,t),await this.addContentTypes(n,r),await this.addOfficeRels(n,r),await this.addWorkbookRels(n,r),await this.addWorksheets(n,r),await this.addSharedStrings(n,r),await this.addDrawings(n,r),await this.addTables(n,r),await Promise.all([this.addThemes(n,r),this.addStyles(n,r)]),await this.addMedia(n,r),await Promise.all([this.addApp(n,r),this.addCore(n,r)]),await this.addWorkbook(n,r),this._finalize(n)}writeFile(e,t){const r=i.createWriteStream(e);return new Promise((e,n)=>{r.on("finish",()=>{e()}),r.on("error",e=>{n(e)}),this.write(r,t).then(()=>{r.end()}).catch(e=>{n(e)})})}async writeBuffer(e){const t=new l;return await this.write(t,e),t.read()}}M.RelType=e("./rel-type"),t.exports=M}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":24,"../utils/utils":27,"../utils/xml-stream":28,"../utils/zip-stream":29,"./rel-type":31,"./xform/book/workbook-xform":38,"./xform/comment/comments-xform":40,"./xform/comment/vml-notes-xform":45,"./xform/core/app-xform":51,"./xform/core/content-types-xform":52,"./xform/core/core-xform":53,"./xform/core/relationships-xform":55,"./xform/drawing/drawing-xform":62,"./xform/sheet/worksheet-xform":115,"./xform/strings/shared-strings-xform":124,"./xform/style/styles-xform":135,"./xform/table/table-xform":143,"./xml/theme1":145,_process:467,buffer:220,fs:216,jszip:441,"readable-stream":491}],145:[function(e,t,r){"use strict";t.exports='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>'},{}],146:[function(e,t,r){(function(t){(function(){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CsvFormatterStream=void 0;const n=e("stream"),i=e("./formatter");class o extends n.Transform{constructor(e){super({writableObjectMode:e.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=e,this.rowFormatter=new i.RowFormatter(e),this.hasWrittenBOM=!e.writeBOM}transform(e){return this.rowFormatter.rowTransform=e,this}_transform(e,r,n){let i=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(e,(e,r)=>e?(i=!0,n(e)):(r&&r.forEach(e=>{this.push(t.from(e,"utf8"))}),i=!0,n()))}catch(e){if(i)throw e;n(e)}}_flush(e){this.rowFormatter.finish((r,n)=>r?e(r):(n&&n.forEach(e=>{this.push(t.from(e,"utf8"))}),e()))}}r.CsvFormatterStream=o}).call(this)}).call(this,e("buffer").Buffer)},{"./formatter":150,buffer:220,stream:505}],147:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FormatterOptions=void 0,r.FormatterOptions=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;this.objectMode=!0,this.delimiter=",",this.rowDelimiter="\n",this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\ufeff",this.alwaysWriteHeaders=!1,Object.assign(this,e||{}),void 0===(null==e?void 0:e.quoteHeaders)&&(this.quoteHeaders=this.quoteColumns),!0===(null==e?void 0:e.quote)?this.quote='"':!1===(null==e?void 0:e.quote)&&(this.quote=""),"string"!=typeof(null==e?void 0:e.escape)&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&(null===(t=e.writeHeaders)||void 0===t||t),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.FieldFormatter=void 0;const i=n(e("lodash.isboolean")),o=n(e("lodash.isnil")),a=n(e("lodash.escaperegexp"));r.FieldFormatter=class{constructor(e){this._headers=null,this.formatterOptions=e,null!==e.headers&&(this.headers=e.headers),this.REPLACE_REGEXP=new RegExp(e.quote,"g");const t=`[${e.delimiter}${a.default(e.rowDelimiter)}|\r|\n]`;this.ESCAPE_REGEXP=new RegExp(t)}set headers(e){this._headers=e}shouldQuote(e,t){const r=t?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return i.default(r)?r:Array.isArray(r)?r[e]:null!==this._headers&&r[this._headers[e]]}format(e,t,r){const n=(""+(o.default(e)?"":e)).replace(/\0/g,""),{formatterOptions:i}=this;return""!==i.quote&&-1!==n.indexOf(i.quote)?this.quoteField(n.replace(this.REPLACE_REGEXP,i.escapedQuote)):-1!==n.search(this.ESCAPE_REGEXP)||this.shouldQuote(t,r)?this.quoteField(n):n}quoteField(e){const{quote:t}=this.formatterOptions;return`${t}${e}${t}`}}},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.RowFormatter=void 0;const i=n(e("lodash.isfunction")),o=n(e("lodash.isequal")),a=e("./FieldFormatter"),s=e("../types");class l{constructor(e){this.rowCount=0,this.formatterOptions=e,this.fieldFormatter=new a.FieldFormatter(e),this.headers=e.headers,this.shouldWriteHeaders=e.shouldWriteHeaders,this.hasWrittenHeaders=!1,null!==this.headers&&(this.fieldFormatter.headers=this.headers),e.transform&&(this.rowTransform=e.transform)}static isRowHashArray(e){return!!Array.isArray(e)&&Array.isArray(e[0])&&2===e[0].length}static isRowArray(e){return Array.isArray(e)&&!this.isRowHashArray(e)}static gatherHeaders(e){return l.isRowHashArray(e)?e.map(e=>e[0]):Array.isArray(e)?e:Object.keys(e)}static createTransform(e){return s.isSyncTransform(e)?(t,r)=>{let n=null;try{n=e(t)}catch(e){return r(e)}return r(null,n)}:(t,r)=>{e(t,r)}}set rowTransform(e){if(!i.default(e))throw new TypeError("The transform should be a function");this._rowTransform=l.createTransform(e)}format(e,t){this.callTransformer(e,(r,n)=>{if(r)return t(r);if(!e)return t(null);const i=[];if(n){const{shouldFormatColumns:e,headers:t}=this.checkHeaders(n);if(this.shouldWriteHeaders&&t&&!this.hasWrittenHeaders&&(i.push(this.formatColumns(t,!0)),this.hasWrittenHeaders=!0),e){const e=this.gatherColumns(n);i.push(this.formatColumns(e,!1))}}return t(null,i)})}finish(e){const t=[];if(this.formatterOptions.alwaysWriteHeaders&&0===this.rowCount){if(!this.headers)return e(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));t.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&t.push(this.formatterOptions.rowDelimiter),e(null,t)}checkHeaders(e){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};const t=l.gatherHeaders(e);return this.headers=t,this.fieldFormatter.headers=t,this.shouldWriteHeaders?{shouldFormatColumns:!o.default(t,e),headers:t}:{shouldFormatColumns:!0,headers:null}}gatherColumns(e){if(null===this.headers)throw new Error("Headers is currently null");return Array.isArray(e)?l.isRowHashArray(e)?this.headers.map((t,r)=>{const n=e[r];return n?n[1]:""}):l.isRowArray(e)&&!this.shouldWriteHeaders?e:this.headers.map((t,r)=>e[r]):this.headers.map(t=>e[t])}callTransformer(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}formatColumns(e,t){const r=e.map((e,r)=>this.fieldFormatter.format(e,r,t)).join(this.formatterOptions.delimiter),{rowCount:n}=this;return this.rowCount+=1,n?[this.formatterOptions.rowDelimiter,r].join(""):r}}r.RowFormatter=l},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FieldFormatter=r.RowFormatter=void 0;var n=e("./RowFormatter");Object.defineProperty(r,"RowFormatter",{enumerable:!0,get:function(){return n.RowFormatter}});var i=e("./FieldFormatter");Object.defineProperty(r,"FieldFormatter",{enumerable:!0,get:function(){return i.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(e,t,r){(function(t){(function(){"use strict";var n=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.writeToPath=r.writeToString=r.writeToBuffer=r.writeToStream=r.write=r.format=r.FormatterOptions=r.CsvFormatterStream=void 0;const s=e("util"),l=e("stream"),u=o(e("fs")),c=e("./FormatterOptions"),d=e("./CsvFormatterStream");a(e("./types"),r);var h=e("./CsvFormatterStream");Object.defineProperty(r,"CsvFormatterStream",{enumerable:!0,get:function(){return h.CsvFormatterStream}});var f=e("./FormatterOptions");Object.defineProperty(r,"FormatterOptions",{enumerable:!0,get:function(){return f.FormatterOptions}}),r.format=e=>new d.CsvFormatterStream(new c.FormatterOptions(e)),r.write=(e,t)=>{const n=r.format(t),i=s.promisify((e,t)=>{n.write(e,void 0,t)});return e.reduce((e,t)=>e.then(()=>i(t)),Promise.resolve()).then(()=>n.end()).catch(e=>{n.emit("error",e)}),n},r.writeToStream=(e,t,n)=>r.write(t,n).pipe(e),r.writeToBuffer=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=[],o=new l.Writable({write(e,t,r){i.push(e),r()}});return new Promise((a,s)=>{o.on("error",s).on("finish",()=>a(t.concat(i))),r.write(e,n).pipe(o)})},r.writeToString=(e,t)=>r.writeToBuffer(e,t).then(e=>e.toString()),r.writeToPath=(e,t,n)=>{const i=u.createWriteStream(e,{encoding:"utf8"});return r.write(t,n).pipe(i)}}).call(this)}).call(this,e("buffer").Buffer)},{"./CsvFormatterStream":146,"./FormatterOptions":147,"./types":152,buffer:220,fs:216,stream:505,util:527}],152:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isSyncTransform=void 0,r.isSyncTransform=e=>1===e.length},{}],153:[function(e,t,r){(function(t){(function(){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CsvParserStream=void 0;const n=e("string_decoder"),i=e("stream"),o=e("./transforms"),a=e("./parser");class s extends i.Transform{constructor(e){super({objectMode:e.objectMode}),this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=e,this.parser=new a.Parser(e),this.headerTransformer=new o.HeaderTransformer(e),this.decoder=new n.StringDecoder(e.encoding),this.rowTransformerValidator=new o.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform(e){return this.rowTransformerValidator.rowTransform=e,this}validate(e){return this.rowTransformerValidator.rowValidator=e,this}emit(e){if("end"===e)return this.endEmitted||(this.endEmitted=!0,super.emit("end",this.rowCount)),!1;for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return super.emit(e,...r)}_transform(e,t,r){if(this.hasHitRowLimit)return r();const n=s.wrapDoneCallback(r);try{const{lines:t}=this,r=t+this.decoder.write(e),i=this.parse(r,!0);return this.processRows(i,n)}catch(e){return n(e)}}_flush(e){const t=s.wrapDoneCallback(e);if(this.hasHitRowLimit)return t();try{const e=this.lines+this.decoder.end(),r=this.parse(e,!1);return this.processRows(r,t)}catch(e){return t(e)}}parse(e,t){if(!e)return[];const{line:r,rows:n}=this.parser.parse(e,t);return this.lines=r,n}processRows(e,r){const n=e.length,i=o=>{const a=e=>e?r(e):o%100!=0?i(o+1):void t(()=>i(o+1));if(this.checkAndEmitHeaders(),o>=n||this.hasHitRowLimit)return r();if(this.parsedLineCount+=1,this.shouldSkipLine)return a();const s=e[o];this.rowCount+=1,this.parsedRowCount+=1;const l=this.rowCount;return this.transformRow(s,(e,t)=>{if(e)return this.rowCount-=1,a(e);if(!t)return a(new Error("expected transform result"));if(t.isValid){if(t.row)return this.pushRow(t.row,a)}else this.emit("data-invalid",t.row,l,t.reason);return a()})};i(0)}transformRow(e,t){try{this.headerTransformer.transform(e,(r,n)=>r?t(r):n?n.isValid?n.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(n.row,t):this.skipRow(t):(this.rowCount-=1,this.parsedRowCount-=1,t(null,{row:null,isValid:!0})):this.shouldEmitRows?t(null,{isValid:!1,row:e}):this.skipRow(t):t(new Error("Expected result from header transform")))}catch(e){t(e)}}checkAndEmitHeaders(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}skipRow(e){return this.rowCount-=1,e(null,{row:null,isValid:!0})}pushRow(e,t){try{this.parserOptions.objectMode?this.push(e):this.push(JSON.stringify(e)),t()}catch(e){t(e)}}static wrapDoneCallback(e){let t=!1;return function(r){if(r){if(t)throw r;return t=!0,void e(r)}for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];e(...i)}}}r.CsvParserStream=s}).call(this)}).call(this,e("timers").setImmediate)},{"./parser":165,"./transforms":168,stream:505,string_decoder:218,timers:523}],154:[function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.ParserOptions=void 0;const i=n(e("lodash.escaperegexp")),o=n(e("lodash.isnil"));r.ParserOptions=class{constructor(e){var t;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,e||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=i.default(this.delimiter),this.escapeChar=null!==(t=this.escape)&&void 0!==t?t:this.quote,this.supportsComments=!o.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0&&(this.limitRows=!0)}}},{"lodash.escaperegexp":442,"lodash.isnil":447}],155:[function(e,t,r){"use strict";var n=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.parseString=r.parseFile=r.parseStream=r.parse=r.ParserOptions=r.CsvParserStream=void 0;const s=o(e("fs")),l=e("stream"),u=e("./ParserOptions"),c=e("./CsvParserStream");a(e("./types"),r);var d=e("./CsvParserStream");Object.defineProperty(r,"CsvParserStream",{enumerable:!0,get:function(){return d.CsvParserStream}});var h=e("./ParserOptions");Object.defineProperty(r,"ParserOptions",{enumerable:!0,get:function(){return h.ParserOptions}}),r.parse=e=>new c.CsvParserStream(new u.ParserOptions(e)),r.parseStream=(e,t)=>e.pipe(new c.CsvParserStream(new u.ParserOptions(t))),r.parseFile=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.createReadStream(e).pipe(new c.CsvParserStream(new u.ParserOptions(t)))},r.parseString=(e,t)=>{const r=new l.Readable;return r.push(e),r.push(null),r.pipe(new c.CsvParserStream(new u.ParserOptions(t)))}},{"./CsvParserStream":153,"./ParserOptions":154,"./types":169,fs:216,stream:505}],156:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Parser=void 0;const n=e("./Scanner"),i=e("./RowParser"),o=e("./Token");class a{constructor(e){this.parserOptions=e,this.rowParser=new i.RowParser(this.parserOptions)}static removeBOM(e){return e&&65279===e.charCodeAt(0)?e.slice(1):e}parse(e,t){const r=new n.Scanner({line:a.removeBOM(e),parserOptions:this.parserOptions,hasMoreData:t});return this.parserOptions.supportsComments?this.parseWithComments(r):this.parseWithoutComments(r)}parseWithoutComments(e){const t=[];let r=!0;for(;r;)r=this.parseRow(e,t);return{line:e.line,rows:t}}parseWithComments(e){const{parserOptions:t}=this,r=[];for(let n=e.nextCharacterToken;null!==n;n=e.nextCharacterToken)if(o.Token.isTokenComment(n,t)){if(null===e.advancePastLine())return{line:e.lineFromCursor,rows:r};if(!e.hasMoreCharacters)return{line:e.lineFromCursor,rows:r};e.truncateToCursor()}else if(!this.parseRow(e,r))break;return{line:e.line,rows:r}}parseRow(e,t){if(!e.nextNonSpaceToken)return!1;const r=this.rowParser.parse(e);return null!==r&&(this.parserOptions.ignoreEmpty&&i.RowParser.isEmptyRow(r)||t.push(r),!0)}}r.Parser=a},{"./RowParser":157,"./Scanner":158,"./Token":159}],157:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.RowParser=void 0;const n=e("./column"),i=e("./Token");r.RowParser=class{constructor(e){this.parserOptions=e,this.columnParser=new n.ColumnParser(e)}static isEmptyRow(e){return""===e.join("").replace(/\s+/g,"")}parse(e){const{parserOptions:t}=this,{hasMoreData:r}=e,n=e,o=[];let a=this.getStartToken(n,o);for(;a;){if(i.Token.isTokenRowDelimiter(a))return n.advancePastToken(a),!n.hasMoreCharacters&&i.Token.isTokenCarriageReturn(a,t)&&r?null:(n.truncateToCursor(),o);if(!this.shouldSkipColumnParse(n,a,o)){const e=this.columnParser.parse(n);if(null===e)return null;o.push(e)}a=n.nextNonSpaceToken}return r?null:(n.truncateToCursor(),o)}getStartToken(e,t){const r=e.nextNonSpaceToken;return null!==r&&i.Token.isTokenDelimiter(r,this.parserOptions)?(t.push(""),e.nextNonSpaceToken):r}shouldSkipColumnParse(e,t,r){const{parserOptions:n}=this;if(i.Token.isTokenDelimiter(t,n)){e.advancePastToken(t);const o=e.nextCharacterToken;if(!e.hasMoreCharacters||null!==o&&i.Token.isTokenRowDelimiter(o))return r.push(""),!0;if(null!==o&&i.Token.isTokenDelimiter(o,n))return r.push(""),!0}return!1}}},{"./Token":159,"./column":164}],158:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Scanner=void 0;const n=e("./Token"),i=/((?:\r\n)|\n|\r)/;r.Scanner=class{constructor(e){this.cursor=0,this.line=e.line,this.lineLength=this.line.length,this.parserOptions=e.parserOptions,this.hasMoreData=e.hasMoreData,this.cursor=e.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){const{lineFromCursor:e}=this,t=this.parserOptions.NEXT_TOKEN_REGEXP;if(-1===e.search(t))return null;const r=t.exec(e);if(null==r)return null;const i=r[1],o=this.cursor+(r.index||0);return new n.Token({token:i,startCursor:o,endCursor:o+i.length-1})}get nextCharacterToken(){const{cursor:e,lineLength:t}=this;return t<=e?null:new n.Token({token:this.line[e],startCursor:e,endCursor:e})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){const e=i.exec(this.lineFromCursor);return e?(this.cursor+=(e.index||0)+e[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}advanceTo(e){return this.cursor=e,this}advanceToToken(e){return this.cursor=e.startCursor,this}advancePastToken(e){return this.cursor=e.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}},{"./Token":159}],159:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Token=void 0,r.Token=class{constructor(e){this.token=e.token,this.startCursor=e.startCursor,this.endCursor=e.endCursor}static isTokenRowDelimiter(e){const t=e.token;return"\r"===t||"\n"===t||"\r\n"===t}static isTokenCarriageReturn(e,t){return e.token===t.carriageReturn}static isTokenComment(e,t){return t.supportsComments&&!!e&&e.token===t.comment}static isTokenEscapeCharacter(e,t){return e.token===t.escapeChar}static isTokenQuote(e,t){return e.token===t.quote}static isTokenDelimiter(e,t){return e.token===t.delimiter}}},{}],160:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ColumnFormatter=void 0,r.ColumnFormatter=class{constructor(e){e.trim?this.format=e=>e.trim():e.ltrim?this.format=e=>e.trimLeft():e.rtrim?this.format=e=>e.trimRight():this.format=e=>e}}},{}],161:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ColumnParser=void 0;const n=e("./NonQuotedColumnParser"),i=e("./QuotedColumnParser"),o=e("../Token");r.ColumnParser=class{constructor(e){this.parserOptions=e,this.quotedColumnParser=new i.QuotedColumnParser(e),this.nonQuotedColumnParser=new n.NonQuotedColumnParser(e)}parse(e){const{nextNonSpaceToken:t}=e;return null!==t&&o.Token.isTokenQuote(t,this.parserOptions)?(e.advanceToToken(t),this.quotedColumnParser.parse(e)):this.nonQuotedColumnParser.parse(e)}}},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NonQuotedColumnParser=void 0;const n=e("./ColumnFormatter"),i=e("../Token");r.NonQuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new n.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;const{parserOptions:t}=this,r=[];let n=e.nextCharacterToken;for(;n&&!i.Token.isTokenDelimiter(n,t)&&!i.Token.isTokenRowDelimiter(n);n=e.nextCharacterToken)r.push(n.token),e.advancePastToken(n);return this.columnFormatter.format(r.join(""))}}},{"../Token":159,"./ColumnFormatter":160}],163:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.QuotedColumnParser=void 0;const n=e("./ColumnFormatter"),i=e("../Token");r.QuotedColumnParser=class{constructor(e){this.parserOptions=e,this.columnFormatter=new n.ColumnFormatter(e)}parse(e){if(!e.hasMoreCharacters)return null;const t=e.cursor,{foundClosingQuote:r,col:n}=this.gatherDataBetweenQuotes(e);if(!r){if(e.advanceTo(t),!e.hasMoreData)throw new Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${e.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn(e),n}gatherDataBetweenQuotes(e){const{parserOptions:t}=this;let r=!1,n=!1;const o=[];let a=e.nextCharacterToken;for(;!n&&null!==a;a=e.nextCharacterToken){const s=i.Token.isTokenQuote(a,t);if(!r&&s)r=!0;else if(r)if(i.Token.isTokenEscapeCharacter(a,t)){e.advancePastToken(a);const r=e.nextCharacterToken;null!==r&&(i.Token.isTokenQuote(r,t)||i.Token.isTokenEscapeCharacter(r,t))?(o.push(r.token),a=r):s?n=!0:o.push(a.token)}else s?n=!0:o.push(a.token);e.advancePastToken(a)}return{col:this.columnFormatter.format(o.join("")),foundClosingQuote:n}}checkForMalformedColumn(e){const{parserOptions:t}=this,{nextNonSpaceToken:r}=e;if(r){const n=i.Token.isTokenDelimiter(r,t),o=i.Token.isTokenRowDelimiter(r);if(!n&&!o){const n=e.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error(`Parse Error: expected: '${t.escapedDelimiter}' OR new line got: '${r.token}'. at '${n}`)}e.advanceToToken(r)}else e.hasMoreData||e.advancePastLine()}}},{"../Token":159,"./ColumnFormatter":160}],164:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ColumnFormatter=r.QuotedColumnParser=r.NonQuotedColumnParser=r.ColumnParser=void 0;var n=e("./ColumnParser");Object.defineProperty(r,"ColumnParser",{enumerable:!0,get:function(){return n.ColumnParser}});var i=e("./NonQuotedColumnParser");Object.defineProperty(r,"NonQuotedColumnParser",{enumerable:!0,get:function(){return i.NonQuotedColumnParser}});var o=e("./QuotedColumnParser");Object.defineProperty(r,"QuotedColumnParser",{enumerable:!0,get:function(){return o.QuotedColumnParser}});var a=e("./ColumnFormatter");Object.defineProperty(r,"ColumnFormatter",{enumerable:!0,get:function(){return a.ColumnFormatter}})},{"./ColumnFormatter":160,"./ColumnParser":161,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],165:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.QuotedColumnParser=r.NonQuotedColumnParser=r.ColumnParser=r.Token=r.Scanner=r.RowParser=r.Parser=void 0;var n=e("./Parser");Object.defineProperty(r,"Parser",{enumerable:!0,get:function(){return n.Parser}});var i=e("./RowParser");Object.defineProperty(r,"RowParser",{enumerable:!0,get:function(){return i.RowParser}});var o=e("./Scanner");Object.defineProperty(r,"Scanner",{enumerable:!0,get:function(){return o.Scanner}});var a=e("./Token");Object.defineProperty(r,"Token",{enumerable:!0,get:function(){return a.Token}});var s=e("./column");Object.defineProperty(r,"ColumnParser",{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(r,"NonQuotedColumnParser",{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(r,"QuotedColumnParser",{enumerable:!0,get:function(){return s.QuotedColumnParser}})},{"./Parser":156,"./RowParser":157,"./Scanner":158,"./Token":159,"./column":164}],166:[function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.HeaderTransformer=void 0;const i=n(e("lodash.isundefined")),o=n(e("lodash.isfunction")),a=n(e("lodash.uniq")),s=n(e("lodash.groupby"));r.HeaderTransformer=class{constructor(e){this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=e,!0===e.headers?this.shouldUseFirstRow=!0:Array.isArray(e.headers)?this.setHeaders(e.headers):o.default(e.headers)&&(this.headersTransform=e.headers)}transform(e,t){return this.shouldMapRow(e)?t(null,this.processRow(e)):t(null,{row:null,isValid:!0})}shouldMapRow(e){const{parserOptions:t}=this;if(!this.headersTransform&&t.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(e)){if(this.headersTransform)this.setHeaders(this.headersTransform(e));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(e)}return!1}return!0}processRow(e){if(!this.headers)return{row:e,isValid:!0};const{parserOptions:t}=this;if(!t.discardUnmappedColumns&&e.length>this.headersLength){if(!t.strictColumnHandling)throw new Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${e.length}`);return{row:e,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${e.length}`}}return t.strictColumnHandling&&e.length<this.headersLength?{row:e,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${e.length}`}:{row:this.mapHeaders(e),isValid:!0}}mapHeaders(e){const t={},{headers:r,headersLength:n}=this;for(let o=0;o<n;o+=1){const n=r[o];if(!i.default(n)){const r=e[o];i.default(r)?t[n]="":t[n]=r}}return t}setHeaders(e){var t;const r=e.filter(e=>!!e);if(a.default(r).length!==r.length){const e=s.default(r),t=Object.keys(e).filter(t=>e[t].length>1);throw new Error("Duplicate headers found "+JSON.stringify(t))}this.headers=e,this.receivedHeaders=!0,this.headersLength=(null===(t=this.headers)||void 0===t?void 0:t.length)||0}}},{"lodash.groupby":443,"lodash.isfunction":446,"lodash.isundefined":448,"lodash.uniq":449}],167:[function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.RowTransformerValidator=void 0;const i=n(e("lodash.isfunction")),o=e("../types");class a{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform(e){return o.isSyncTransform(e)?(t,r)=>{let n=null;try{n=e(t)}catch(e){return r(e)}return r(null,n)}:e}static createValidator(e){return o.isSyncValidate(e)?(t,r)=>{r(null,{row:t,isValid:e(t)})}:(t,r)=>{e(t,(e,n,i)=>e?r(e):r(null,n?{row:t,isValid:n,reason:i}:{row:t,isValid:!1,reason:i}))}}set rowTransform(e){if(!i.default(e))throw new TypeError("The transform should be a function");this._rowTransform=a.createTransform(e)}set rowValidator(e){if(!i.default(e))throw new TypeError("The validate should be a function");this._rowValidator=a.createValidator(e)}transformAndValidate(e,t){return this.callTransformer(e,(e,r)=>e?t(e):r?this.callValidator(r,(e,n)=>e?t(e):n&&!n.isValid?t(null,{row:r,isValid:!1,reason:n.reason}):t(null,{row:r,isValid:!0})):t(null,{row:null,isValid:!0}))}callTransformer(e,t){return this._rowTransform?this._rowTransform(e,t):t(null,e)}callValidator(e,t){return this._rowValidator?this._rowValidator(e,t):t(null,{row:e,isValid:!0})}}r.RowTransformerValidator=a},{"../types":169,"lodash.isfunction":446}],168:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.HeaderTransformer=r.RowTransformerValidator=void 0;var n=e("./RowTransformerValidator");Object.defineProperty(r,"RowTransformerValidator",{enumerable:!0,get:function(){return n.RowTransformerValidator}});var i=e("./HeaderTransformer");Object.defineProperty(r,"HeaderTransformer",{enumerable:!0,get:function(){return i.HeaderTransformer}})},{"./HeaderTransformer":166,"./RowTransformerValidator":167}],169:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isSyncValidate=r.isSyncTransform=void 0,r.isSyncTransform=e=>1===e.length,r.isSyncValidate=e=>1===e.length},{}],170:[function(e,t,r){"use strict";const n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":171,"./asn1/base":173,"./asn1/constants":177,"./asn1/decoders":179,"./asn1/encoders":182,"bn.js":184}],171:[function(e,t,r){"use strict";const n=e("./encoders"),i=e("./decoders"),o=e("inherits");function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}r.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){const t=this.name;function r(e){this._initNamed(e,t)}return o(r,e),r.prototype._initNamed=function(t,r){e.call(this,t,r)},new r(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i[e])),this.decoders[e]},a.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n[e])),this.encoders[e]},a.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"./decoders":179,"./encoders":182,inherits:440}],172:[function(e,t,r){"use strict";const n=e("inherits"),i=e("../base/reporter").Reporter,o=e("safer-buffer").Buffer;function a(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return s.isEncoderBuffer(e)||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(a,i),r.DecoderBuffer=a,a.isDecoderBuffer=function(e){return e instanceof a||"object"==typeof e&&o.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){const t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=s,s.isEncoderBuffer=function(e){return e instanceof s||"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},s.prototype.join=function(e,t){return e||(e=o.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(e,t),t+=r.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},{"../base/reporter":175,inherits:440,"safer-buffer":495}],173:[function(e,t,r){"use strict";const n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":172,"./node":174,"./reporter":175}],174:[function(e,t,r){"use strict";const n=e("../base/reporter").Reporter,i=e("../base/buffer").EncoderBuffer,o=e("../base/buffer").DecoderBuffer,a=e("minimalistic-assert"),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(e,t,r){const n={};this._baseState=n,n.name=r,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=u;const c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){const e=this._baseState,t={};c.forEach((function(r){t[r]=e[r]}));const r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){const e=this._baseState;l.forEach((function(t){this[t]=function(){const r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},u.prototype._init=function(e){const t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){const t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);const n=e[r];t[n]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){u.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){u.prototype[e]=function(){const t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}})),u.prototype.use=function(e){a(e);const t=this._baseState;return a(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){const t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){const t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){const t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){const t=this._baseState;return a(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){const t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},u.prototype.contains=function(e){const t=this._baseState;return a(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){const r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));let n,i=r.default,a=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){let n=null;if(null!==r.explicit?n=r.explicit:null!==r.implicit?n=r.implicit:null!==r.tag&&(n=r.tag),null!==n||r.any){if(a=this._peekTag(e,n,r.any),e.isError(a))return a}else{const n=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(n)}}if(r.obj&&a&&(n=e.enterObject()),a){if(null!==r.explicit){const t=this._decodeTag(e,r.explicit);if(e.isError(t))return t;e=t}const n=e.offset;if(null===r.use&&null===r.choice){let t;r.any&&(t=e.save());const n=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(n))return n;r.any?i=e.raw(t):e=n}if(t&&t.track&&null!==r.tag&&t.track(e.path(),n,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){const n=new o(i);i=this._getUse(r.contains,e._reporterState.obj)._decode(n,t)}}return r.obj&&a&&(i=e.leaveObject(n)),null===r.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,r.key,i),i},u.prototype._decodeGeneric=function(e,t,r){const n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){const r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){const r=this._baseState;let n=null,i=!1;return Object.keys(r.choice).some((function(o){const a=e.save(),s=r.choice[o];try{const r=s._decode(e,t);if(e.isError(r))return!1;n={type:o,value:r},i=!0}catch(t){return e.restore(a),!1}return!0}),this),i?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.prototype._encode=function(e,t,r){const n=this._baseState;if(null!==n.default&&n.default===e)return;const i=this._encodeValue(e,t,r);return void 0===i||this._skipDefault(i,t,r)?void 0:i},u.prototype._encodeValue=function(e,t,r){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new n);let o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}let a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,r)._encode(e,t),s=!0;else if(i.children)a=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");const n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const r=this.clone();r._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(r){const n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),r))}else null!==i.use?o=this._getUse(i.use,r)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){const e=null!==i.implicit?i.implicit:i.tag,r=null===i.implicit?"universal":"context";null===e?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(e,s,r,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){const r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){const r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},{"../base/buffer":172,"../base/reporter":175,"minimalistic-assert":453}],175:[function(e,t,r){"use strict";const n=e("inherits");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}r.Reporter=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,r){const n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){const t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){let t;const r=this._reporterState,n=e instanceof o;if(t=n?e:new o(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},i.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:440}],176:[function(e,t,r){"use strict";function n(e){const t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);const n=e[r];t[n]=r})),t}r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n(r.tag)},{}],177:[function(e,t,r){"use strict";const n=r;n._reverse=function(e){const t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);const n=e[r];t[n]=r})),t},n.der=e("./der")},{"./der":176}],178:[function(e,t,r){"use strict";const n=e("inherits"),i=e("bn.js"),o=e("../base/buffer").DecoderBuffer,a=e("../base/node"),s=e("../constants/der");function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.call(this,"der",e)}function c(e,t){let r=e.readUInt8(t);if(e.isError(r))return r;const n=s.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){let n=r;for(r=0;128==(128&n);){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function d(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;const i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(let o=0;o<i;o++){n<<=8;const t=e.readUInt8(r);if(e.isError(t))return t;n|=t}return n}t.exports=l,l.prototype.decode=function(e,t){return o.isDecoderBuffer(e)||(e=new o(e,t)),this.tree._decode(e,t)},n(u,a),u.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;const n=e.save(),i=c(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},u.prototype._decodeTag=function(e,t,r){const n=c(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;let i=d(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');const o=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){const r=c(e,t);if(e.isError(r))return r;const n=d(e,r.primitive,t);if(e.isError(n))return n;let i;if(i=r.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,r,n){const i=[];for(;!e.isEmpty();){const t=this._peekTag(e,"end");if(e.isError(t))return t;const o=r.decode(e,"der",n);if(e.isError(o)&&t)break;i.push(o)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){const t=e.readUInt8();return e.isError(t)?t:{unused:t,data:e.raw()}}if("bmpstr"===t){const t=e.raw();if(t.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");let r="";for(let e=0;e<t.length/2;e++)r+=String.fromCharCode(t.readUInt16BE(2*e));return r}if("numstr"===t){const t=e.raw().toString("ascii");return this._isNumstr(t)?t:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){const t=e.raw().toString("ascii");return this._isPrintstr(t)?t:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,r){let n;const i=[];let o=0,a=0;for(;!e.isEmpty();)a=e.readUInt8(),o<<=7,o|=127&a,0==(128&a)&&(i.push(o),o=0);128&a&&i.push(o);const s=i[0]/40|0,l=i[0]%40;if(n=r?i:[s,l].concat(i.slice(1)),t){let e=t[n.join(" ")];void 0===e&&(e=t[n.join(".")]),void 0!==e&&(n=e)}return n},u.prototype._decodeTime=function(e,t){const r=e.raw().toString();let n,i,o,a,s,l;if("gentime"===t)n=0|r.slice(0,4),i=0|r.slice(4,6),o=0|r.slice(6,8),a=0|r.slice(8,10),s=0|r.slice(10,12),l=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),i=0|r.slice(2,4),o=0|r.slice(4,6),a=0|r.slice(6,8),s=0|r.slice(8,10),l=0|r.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,o,a,s,l,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(e){const t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){const r=e.raw();let n=new i(r);return t&&(n=t[n.toString(10)]||n),n},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../base/buffer":172,"../base/node":174,"../constants/der":176,"bn.js":184,inherits:440}],179:[function(e,t,r){"use strict";const n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":178,"./pem":180}],180:[function(e,t,r){"use strict";const n=e("inherits"),i=e("safer-buffer").Buffer,o=e("./der");function a(e){o.call(this,e),this.enc="pem"}n(a,o),t.exports=a,a.prototype.decode=function(e,t){const r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/;let s=-1,l=-1;for(let i=0;i<r.length;i++){const e=r[i].match(a);if(null!==e&&e[2]===n){if(-1!==s){if("END"!==e[1])break;l=i;break}if("BEGIN"!==e[1])break;s=i}}if(-1===s||-1===l)throw new Error("PEM section not found for: "+n);const u=r.slice(s+1,l).join("");u.replace(/[^a-z0-9+/=]+/gi,"");const c=i.from(u,"base64");return o.prototype.decode.call(this,c,t)}},{"./der":178,inherits:440,"safer-buffer":495}],181:[function(e,t,r){"use strict";const n=e("inherits"),i=e("safer-buffer").Buffer,o=e("../base/node"),a=e("../constants/der");function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.call(this,"der",e)}function u(e){return e<10?"0"+e:e}t.exports=s,s.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(l,o),l.prototype._encodeComposite=function(e,t,r,n){const o=function(e,t,r,n){let i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),a.tagByName.hasOwnProperty(e))i=a.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=a.tagClassByName[r||"universal"]<<6,i)}(e,t,r,this.reporter);if(n.length<128){const e=i.alloc(2);return e[0]=o,e[1]=n.length,this._createEncoderBuffer([e,n])}let s=1;for(let i=n.length;i>=256;i>>=8)s++;const l=i.alloc(2+s);l[0]=o,l[1]=128|s;for(let i=1+s,a=n.length;a>0;i--,a>>=8)l[i]=255&a;return this._createEncoderBuffer([l,n])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let r=0;r<e.length;r++)t.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(t)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},l.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(let t=0;t<e.length;t++)e[t]|=0}else if(Array.isArray(e)){e=e.slice();for(let t=0;t<e.length;t++)e[t]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let n=0;for(let i=0;i<e.length;i++){let t=e[i];for(n++;t>=128;t>>=7)n++}const o=i.alloc(n);let a=o.length-1;for(let i=e.length-1;i>=0;i--){let t=e[i];for(o[a--]=127&t;(t>>=7)>0;)o[a--]=128|127&t}return this._createEncoderBuffer(o)},l.prototype._encodeTime=function(e,t){let r;const n=new Date(e);return"gentime"===t?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const r=i.alloc(t);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let r=1;for(let i=e;i>=256;i>>=8)r++;const n=new Array(r);for(let i=n.length-1;i>=0;i--)n[i]=255&e,e>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(i.from(n))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,r){const n=this._baseState;let i;if(null===n.default)return!1;const o=e.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,t,r).join()),o.length!==n.defaultBuffer.length)return!1;for(i=0;i<o.length;i++)if(o[i]!==n.defaultBuffer[i])return!1;return!0}},{"../base/node":174,"../constants/der":176,inherits:440,"safer-buffer":495}],182:[function(e,t,r){"use strict";const n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":181,"./pem":183}],183:[function(e,t,r){"use strict";const n=e("inherits"),i=e("./der");function o(e){i.call(this,e),this.enc="pem"}n(o,i),t.exports=o,o.prototype.encode=function(e,t){const r=i.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"];for(let i=0;i<r.length;i+=64)n.push(r.slice(i,i+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},{"./der":181,inherits:440}],184:[function(e,t,r){"use strict";!function(t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof t?t.exports=o:(void 0).BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?c[6-l.length]+l+r:l+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);r=(p=p.idivn(f)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],_=8191&b,w=b>>>13,x=0|a[4],k=8191&x,S=x>>>13,M=0|a[5],C=8191&M,T=M>>>13,O=0|a[6],L=8191&O,A=O>>>13,D=0|a[7],E=8191&D,I=D>>>13,j=0|a[8],P=8191&j,R=j>>>13,N=0|a[9],B=8191&N,Y=N>>>13,F=0|s[0],z=8191&F,H=F>>>13,V=0|s[1],U=8191&V,W=V>>>13,$=0|s[2],G=8191&$,q=$>>>13,X=0|s[3],K=8191&X,Z=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,H))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,H))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,H))+Math.imul(m,z)|0,o=Math.imul(m,H);var ve=(u+(n=n+Math.imul(d,U)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(h,U)|0))<<13)|0;u=((o=o+Math.imul(h,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,z),i=(i=Math.imul(v,H))+Math.imul(y,z)|0,o=Math.imul(y,H),n=n+Math.imul(p,U)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,U)|0,o=o+Math.imul(m,W)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,q)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,q)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,H))+Math.imul(w,z)|0,o=Math.imul(w,H),n=n+Math.imul(v,U)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(y,U)|0,o=o+Math.imul(y,W)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,q)|0;var be=(u+(n=n+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,H))+Math.imul(S,z)|0,o=Math.imul(S,H),n=n+Math.imul(_,U)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,U)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(v,G)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,q)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var _e=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,H))+Math.imul(T,z)|0,o=Math.imul(T,H),n=n+Math.imul(k,U)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,U)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,q)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(L,z),i=(i=Math.imul(L,H))+Math.imul(A,z)|0,o=Math.imul(A,H),n=n+Math.imul(C,U)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(T,U)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,q)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var xe=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(E,z),i=(i=Math.imul(E,H))+Math.imul(I,z)|0,o=Math.imul(I,H),n=n+Math.imul(L,U)|0,i=(i=i+Math.imul(L,W)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,q)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,q)|0,n=n+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var ke=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(P,z),i=(i=Math.imul(P,H))+Math.imul(R,z)|0,o=Math.imul(R,H),n=n+Math.imul(E,U)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(I,U)|0,o=o+Math.imul(I,W)|0,n=n+Math.imul(L,G)|0,i=(i=i+Math.imul(L,q)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,q)|0,n=n+Math.imul(C,K)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,Z)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(w,re)|0,o=o+Math.imul(w,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Se=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,H))+Math.imul(Y,z)|0,o=Math.imul(Y,H),n=n+Math.imul(P,U)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(R,U)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(E,G)|0,i=(i=i+Math.imul(E,q)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,q)|0,n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(S,re)|0,o=o+Math.imul(S,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,n=n+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var Me=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(B,U),i=(i=Math.imul(B,W))+Math.imul(Y,U)|0,o=Math.imul(Y,W),n=n+Math.imul(P,G)|0,i=(i=i+Math.imul(P,q)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,q)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(w,le)|0,o=o+Math.imul(w,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Ce=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,q))+Math.imul(Y,G)|0,o=Math.imul(Y,q),n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,n=n+Math.imul(L,re)|0,i=(i=i+Math.imul(L,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(S,le)|0,o=o+Math.imul(S,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0;var Te=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,K),i=(i=Math.imul(B,Z))+Math.imul(Y,K)|0,o=Math.imul(Y,Z),n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(E,re)|0,i=(i=i+Math.imul(E,ne)|0)+Math.imul(I,re)|0,o=o+Math.imul(I,ne)|0,n=n+Math.imul(L,oe)|0,i=(i=i+Math.imul(L,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,he)|0;var Oe=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;u=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(Y,Q)|0,o=Math.imul(Y,ee),n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,n=n+Math.imul(L,le)|0,i=(i=i+Math.imul(L,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Le=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(S,pe)|0))<<13)|0;u=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(Y,re)|0,o=Math.imul(Y,ne),n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(E,le)|0,i=(i=i+Math.imul(E,ue)|0)+Math.imul(I,le)|0,o=o+Math.imul(I,ue)|0,n=n+Math.imul(L,de)|0,i=(i=i+Math.imul(L,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Ae=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(Y,oe)|0,o=Math.imul(Y,ae),n=n+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(E,de)|0,i=(i=i+Math.imul(E,he)|0)+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0;var De=(u+(n=n+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(Y,le)|0,o=Math.imul(Y,ue),n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ee=(u+(n=n+Math.imul(E,pe)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(I,pe)|0))<<13)|0;u=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(Y,de)|0,o=Math.imul(Y,he);var Ie=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var je=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(Y,pe)|0))<<13)|0;return u=((o=Math.imul(Y,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,l[0]=ge,l[1]=ve,l[2]=ye,l[3]=be,l[4]=_e,l[5]=we,l[6]=xe,l[7]=ke,l[8]=Se,l[9]=Me,l[10]=Ce,l[11]=Te,l[12]=Oe,l[13]=Le,l[14]=Ae,l[15]=De,l[16]=Ee,l[17]=Ie,l[18]=je,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):r<63?f(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):m(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],v=n[c+f+a],y=d*g-h*v;v=d*v+h*g,g=y,r[c+f]=p+g,n[c+f]=m+v,r[c+f+a]=p-g,n[c+f+a]=m-v,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0==(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0==(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0==(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(b,y),b.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var o=0|e.words[n];e.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(_,y),i(w,y),i(x,y),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new _;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return v[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var v=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(v),d=v.redSqr(),f=f.redMul(d),p=g}return h},k.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},k.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new S(e)},i(S,k),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)},{buffer:188}],185:[function(e,t,r){"use strict";r.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},r.toByteArray=function(e){var t,r,n=u(e),a=n[0],s=n[1],l=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),c=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},r.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(c(e,a,a+16383>s?s:a+16383));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],186:[function(e,t,r){"use strict";!function(t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof t?t.exports=o:(void 0).BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),l=t;l<s;l++){var u=e.charCodeAt(l)-48;o*=i,a=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&a<i,"Invalid character"),o+=a}return o}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this._strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){c(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r._strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?h[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],c=p[e];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modrn(c).toString(e);r=(d=d.idivn(c)).isZero()?m+r:h[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r++]=255&a,r<e.length&&(e[r++]=a>>8&255),r<e.length&&(e[r++]=a>>16&255),6===o?(r<e.length&&(e[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r--]=255&a,r>=0&&(e[r--]=a>>8&255),r>=0&&(e[r--]=a>>16&255),6===o?(r>=0&&(e[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],_=8191&b,w=b>>>13,x=0|a[4],k=8191&x,S=x>>>13,M=0|a[5],C=8191&M,T=M>>>13,O=0|a[6],L=8191&O,A=O>>>13,D=0|a[7],E=8191&D,I=D>>>13,j=0|a[8],P=8191&j,R=j>>>13,N=0|a[9],B=8191&N,Y=N>>>13,F=0|s[0],z=8191&F,H=F>>>13,V=0|s[1],U=8191&V,W=V>>>13,$=0|s[2],G=8191&$,q=$>>>13,X=0|s[3],K=8191&X,Z=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,H))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,H))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,H))+Math.imul(m,z)|0,o=Math.imul(m,H);var ve=(u+(n=n+Math.imul(d,U)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(h,U)|0))<<13)|0;u=((o=o+Math.imul(h,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,z),i=(i=Math.imul(v,H))+Math.imul(y,z)|0,o=Math.imul(y,H),n=n+Math.imul(p,U)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,U)|0,o=o+Math.imul(m,W)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,q)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,q)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,H))+Math.imul(w,z)|0,o=Math.imul(w,H),n=n+Math.imul(v,U)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(y,U)|0,o=o+Math.imul(y,W)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,q)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,q)|0;var be=(u+(n=n+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,H))+Math.imul(S,z)|0,o=Math.imul(S,H),n=n+Math.imul(_,U)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,U)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(v,G)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,q)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var _e=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,H))+Math.imul(T,z)|0,o=Math.imul(T,H),n=n+Math.imul(k,U)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,U)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,q)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,q)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(L,z),i=(i=Math.imul(L,H))+Math.imul(A,z)|0,o=Math.imul(A,H),n=n+Math.imul(C,U)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(T,U)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,q)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,q)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var xe=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(E,z),i=(i=Math.imul(E,H))+Math.imul(I,z)|0,o=Math.imul(I,H),n=n+Math.imul(L,U)|0,i=(i=i+Math.imul(L,W)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,q)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,q)|0,n=n+Math.imul(k,K)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var ke=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(P,z),i=(i=Math.imul(P,H))+Math.imul(R,z)|0,o=Math.imul(R,H),n=n+Math.imul(E,U)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(I,U)|0,o=o+Math.imul(I,W)|0,n=n+Math.imul(L,G)|0,i=(i=i+Math.imul(L,q)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,q)|0,n=n+Math.imul(C,K)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,Z)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(w,re)|0,o=o+Math.imul(w,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Se=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,H))+Math.imul(Y,z)|0,o=Math.imul(Y,H),n=n+Math.imul(P,U)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(R,U)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(E,G)|0,i=(i=i+Math.imul(E,q)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,q)|0,n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(S,re)|0,o=o+Math.imul(S,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,n=n+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var Me=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(B,U),i=(i=Math.imul(B,W))+Math.imul(Y,U)|0,o=Math.imul(Y,W),n=n+Math.imul(P,G)|0,i=(i=i+Math.imul(P,q)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,q)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(w,le)|0,o=o+Math.imul(w,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Ce=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,q))+Math.imul(Y,G)|0,o=Math.imul(Y,q),n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,n=n+Math.imul(L,re)|0,i=(i=i+Math.imul(L,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(S,le)|0,o=o+Math.imul(S,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0;var Te=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,K),i=(i=Math.imul(B,Z))+Math.imul(Y,K)|0,o=Math.imul(Y,Z),n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(E,re)|0,i=(i=i+Math.imul(E,ne)|0)+Math.imul(I,re)|0,o=o+Math.imul(I,ne)|0,n=n+Math.imul(L,oe)|0,i=(i=i+Math.imul(L,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(S,de)|0,o=o+Math.imul(S,he)|0;var Oe=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;u=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(Y,Q)|0,o=Math.imul(Y,ee),n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,n=n+Math.imul(L,le)|0,i=(i=i+Math.imul(L,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Le=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(S,pe)|0))<<13)|0;u=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(Y,re)|0,o=Math.imul(Y,ne),n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(E,le)|0,i=(i=i+Math.imul(E,ue)|0)+Math.imul(I,le)|0,o=o+Math.imul(I,ue)|0,n=n+Math.imul(L,de)|0,i=(i=i+Math.imul(L,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Ae=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(Y,oe)|0,o=Math.imul(Y,ae),n=n+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(E,de)|0,i=(i=i+Math.imul(E,he)|0)+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0;var De=(u+(n=n+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(Y,le)|0,o=Math.imul(Y,ue),n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ee=(u+(n=n+Math.imul(E,pe)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(I,pe)|0))<<13)|0;u=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(Y,de)|0,o=Math.imul(Y,he);var Ie=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var je=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(Y,pe)|0))<<13)|0;return u=((o=Math.imul(Y,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,l[0]=ge,l[1]=ve,l[2]=ye,l[3]=be,l[4]=_e,l[5]=we,l[6]=xe,l[7]=ke,l[8]=Se,l[9]=Me,l[10]=Ce,l[11]=Te,l[12]=Oe,l[13]=Le,l[14]=Ae,l[15]=De,l[16]=Ee,l[17]=Ie,l[18]=je,0!==u&&(l[19]=u,r.length++),r};function v(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function y(e,t,r){return v(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=m),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?m(this,e,t):r<1024?v(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},b.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],v=n[c+f+a],y=d*g-h*v;v=d*v+h*g,g=y,r[c+f]=p+g,n[c+f]=m+v,r[c+f+a]=p-g,n[c+f+a]=m-v,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(0==(-8192&o))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),y(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=e.words[n]>>>i&1}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0==(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0==(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function x(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(x,w),x.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var o=0|e.words[n];e.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},x.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(k,w),i(S,w),i(M,w),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new x;else if("p224"===e)t=new k;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return _[e]=t,t},C.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},C.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var v=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(v),d=v.redSqr(),f=f.redMul(d),p=g}return h},C.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new T(e)},i(T,C),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t)},{buffer:188}],187:[function(e,t,r){"use strict";var n;function i(e){this.rand=e}if(t.exports=function(e){return n||(n=new i(null)),n.generate(e)},t.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=e("crypto");if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},{crypto:188}],188:[function(e,t,r){},{}],189:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer;function i(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function o(e){for(;0<e.length;e++)e[0]=0}function a(e,t,r,n,i){for(var o,a,s,l,u=r[0],c=r[1],d=r[2],h=r[3],f=e[0]^t[0],p=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],v=4,y=1;y<i;y++)o=u[f>>>24]^c[p>>>16&255]^d[m>>>8&255]^h[255&g]^t[v++],a=u[p>>>24]^c[m>>>16&255]^d[g>>>8&255]^h[255&f]^t[v++],s=u[m>>>24]^c[g>>>16&255]^d[f>>>8&255]^h[255&p]^t[v++],l=u[g>>>24]^c[f>>>16&255]^d[p>>>8&255]^h[255&m]^t[v++],f=o,p=a,m=s,g=l;return o=(n[f>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^t[v++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&f])^t[v++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[f>>>8&255]<<8|n[255&p])^t[v++],l=(n[g>>>24]<<24|n[f>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^t[v++],[o>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var c=e[a],d=e[c],h=e[d],f=257*e[u]^16843008*u;i[0][a]=f<<24|f>>>8,i[1][a]=f<<16|f>>>16,i[2][a]=f<<8|f>>>24,i[3][a]=f,f=16843009*h^65537*d^257*c^16843008*a,o[0][u]=f<<24|f>>>8,o[1][u]=f<<16|f>>>16,o[2][u]=f<<8|f>>>24,o[3][u]=f,0===a?a=s=1:(a=c^e[e[e[h^c]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var a=i[o-1];o%t==0?(a=a<<8|a>>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t==4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),i[o]=i[o-t]^a}for(var u=[],c=0;c<n;c++){var d=n-c,h=i[d-(c%4?0:4)];u[c]=c<4||d<=4?h:l.INV_SUB_MIX[0][l.SBOX[h>>>24]]^l.INV_SUB_MIX[1][l.SBOX[h>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[h>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var r=a(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=u},{"safe-buffer":494}],190:[function(e,t,r){"use strict";var n=e("./aes"),i=e("safe-buffer").Buffer,o=e("cipher-base"),a=e("inherits"),s=e("./ghash"),l=e("buffer-xor"),u=e("./incr32");function c(e,t,r,a){o.call(this);var l=i.alloc(4,0);this._cipher=new n.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new s(c),r=function(e,t,r){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var n=new s(r),o=t.length,a=o%16;n.update(t),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var l=8*o,c=i.alloc(8);c.writeUIntBE(l,0,8),n.update(c),e._finID=n.state;var d=i.from(e._finID);return u(d),d}(this,r,c),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(c,o),c.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},c.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},c.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},c.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=c},{"./aes":189,"./ghash":194,"./incr32":195,"buffer-xor":219,"cipher-base":221,inherits:440,"safe-buffer":494}],191:[function(e,t,r){"use strict";var n=e("./encrypter"),i=e("./decrypter"),o=e("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=i.createDecipher,r.createDecipheriv=r.Decipheriv=i.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(o)}},{"./decrypter":192,"./encrypter":193,"./modes/list.json":203}],192:[function(e,t,r){"use strict";var n=e("./authCipher"),i=e("safe-buffer").Buffer,o=e("./modes"),a=e("./streamCipher"),s=e("cipher-base"),l=e("./aes"),u=e("evp_bytestokey");function c(e,t,r){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new l.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}function d(){this.cache=i.allocUnsafe(0)}function h(e,t,r){var s=o[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,r,!0):"auth"===s.type?new n(s.module,t,r,!0):new c(s.module,t,r)}e("inherits")(c,s),c.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return i.concat(n)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=i.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return h(e,n.key,n.iv)},r.createDecipheriv=h},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],193:[function(e,t,r){"use strict";var n=e("./modes"),i=e("./authCipher"),o=e("safe-buffer").Buffer,a=e("./streamCipher"),s=e("cipher-base"),l=e("./aes"),u=e("evp_bytestokey");function c(e,t,r){s.call(this),this._cache=new h,this._cipher=new l.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}e("inherits")(c,s),c.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return o.concat(n)};var d=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function f(e,t,r){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,t,r):"auth"===s.type?new i(s.module,t,r):new c(s.module,t,r)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=o.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return o.concat([this.cache,t])},r.createCipheriv=f,r.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(t,!1,r.key,r.iv);return f(e,i.key,i.iv)}},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],194:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=n.alloc(16,0);function o(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!=(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},t.exports=a},{"safe-buffer":494}],195:[function(e,t,r){"use strict";t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},{}],196:[function(e,t,r){"use strict";var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},{"buffer-xor":219}],197:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("buffer-xor");function o(e,t,r){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=n.concat([e._prev,r?t:a]),a}r.encrypt=function(e,t,r){for(var i,a=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){a=n.concat([a,o(e,t,r)]);break}i=e._cache.length,a=n.concat([a,o(e,t.slice(0,i),r)]),t=t.slice(i)}return a}},{"buffer-xor":219,"safe-buffer":494}],198:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer;function i(e,t,r){for(var n,i,a=-1,s=0;++a<8;)n=t&1<<7-a?128:0,s+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^n))>>a%8,e._prev=o(e._prev,r?n:i);return s}function o(e,t){var r=e.length,i=-1,o=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++i<r;)o[i]=e[i]<<1|e[i+1]>>7;return o}r.encrypt=function(e,t,r){for(var o=t.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],r);return a}},{"safe-buffer":494}],199:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer;function i(e,t,r){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:i])]),i}r.encrypt=function(e,t,r){for(var o=t.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],r);return a}},{"safe-buffer":494}],200:[function(e,t,r){"use strict";var n=e("buffer-xor"),i=e("safe-buffer").Buffer,o=e("../incr32");function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}r.encrypt=function(e,t){var r=Math.ceil(t.length/16),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var l=a(e),u=o+16*s;e._cache.writeUInt32BE(l[0],u+0),e._cache.writeUInt32BE(l[1],u+4),e._cache.writeUInt32BE(l[2],u+8),e._cache.writeUInt32BE(l[3],u+12)}var c=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,c)}},{"../incr32":195,"buffer-xor":219,"safe-buffer":494}],201:[function(e,t,r){"use strict";r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],202:[function(e,t,r){"use strict";var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var o in i)i[o].module=n[i[o].mode];t.exports=i},{"./cbc":196,"./cfb":197,"./cfb1":198,"./cfb8":199,"./ctr":200,"./ecb":201,"./list.json":203,"./ofb":204}],203:[function(e,t,r){t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],204:[function(e,t,r){(function(t){(function(){"use strict";var n=e("buffer-xor");function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,i(e)]);var o=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,o)}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220,"buffer-xor":219}],205:[function(e,t,r){"use strict";var n=e("./aes"),i=e("safe-buffer").Buffer,o=e("cipher-base");function a(e,t,r,a){o.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=e}e("inherits")(a,o),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},{"./aes":189,"cipher-base":221,inherits:440,"safe-buffer":494}],206:[function(e,t,r){"use strict";var n=e("browserify-des"),i=e("browserify-aes/browser"),o=e("browserify-aes/modes"),a=e("browserify-des/modes"),s=e("evp_bytestokey");function l(e,t,r){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}r.createCipher=r.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return l(e,i.key,i.iv)},r.createCipheriv=r.Cipheriv=l,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return u(e,i.key,i.iv)},r.createDecipheriv=r.Decipheriv=u,r.listCiphers=r.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},{"browserify-aes/browser":191,"browserify-aes/modes":202,"browserify-des":207,"browserify-des/modes":208,evp_bytestokey:423}],207:[function(e,t,r){"use strict";var n=e("cipher-base"),i=e("des.js"),o=e("inherits"),a=e("safe-buffer").Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function l(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var l=e.iv;a.isBuffer(l)||(l=a.from(l)),this._des=i.create({key:o,iv:l,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=l,o(l,n),l.prototype._update=function(e){return a.from(this._des.update(e))},l.prototype._final=function(){return a.from(this._des.final())}},{"cipher-base":221,"des.js":394,inherits:440,"safe-buffer":494}],208:[function(e,t,r){"use strict";r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],209:[function(e,t,r){(function(r){(function(){"use strict";var n=e("bn.js"),i=e("randombytes");function o(e){var t,r=e.modulus.byteLength();do{t=new n(i(r))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,t){var i=function(e){var t=o(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),a=t.modulus.byteLength(),s=new n(e).mul(i.blinder).umod(t.modulus),l=s.toRed(n.mont(t.prime1)),u=s.toRed(n.mont(t.prime2)),c=t.coefficient,d=t.prime1,h=t.prime2,f=l.redPow(t.exponent1).fromRed(),p=u.redPow(t.exponent2).fromRed(),m=f.isub(p).imul(c).umod(d).imul(h);return p.iadd(m).imul(i.unblinder).umod(t.modulus).toArrayLike(r,"be",a)}a.getr=o,t.exports=a}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":186,buffer:220,randombytes:475}],210:[function(e,t,r){"use strict";t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":211}],211:[function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],212:[function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],213:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("create-hash"),o=e("readable-stream"),a=e("inherits"),s=e("./sign"),l=e("./verify"),u=e("./algorithms.json");function c(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new c(e)}function f(e){return new d(e)}Object.keys(u).forEach((function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),a(c,o.Writable),c.prototype._write=function(e,t,r){this._hash.update(e),r()},c.prototype.update=function(e,t){return"string"==typeof e&&(e=n.from(e,t)),this._hash.update(e),this},c.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(d,o.Writable),d.prototype._write=function(e,t,r){this._hash.update(e),r()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=n.from(e,t)),this._hash.update(e),this},d.prototype.verify=function(e,t,r){"string"==typeof t&&(t=n.from(t,r)),this.end();var i=this._hash.digest();return l(t,i,e,this._signType,this._tag)},t.exports={Sign:h,Verify:f,createSign:h,createVerify:f}},{"./algorithms.json":211,"./sign":214,"./verify":215,"create-hash":386,inherits:440,"readable-stream":491,"safe-buffer":494}],214:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("create-hmac"),o=e("browserify-rsa"),a=e("elliptic").ec,s=e("bn.js"),l=e("parse-asn1"),u=e("./curves.json");function c(e,t,r,o){if((e=n.from(e.toArray())).length<t.byteLength()){var a=n.alloc(t.byteLength()-e.length);e=n.concat([a,e])}var s=r.length,l=function(e,t){e=(e=d(e,t)).mod(t);var r=n.from(e.toArray());if(r.length<t.byteLength()){var i=n.alloc(t.byteLength()-r.length);r=n.concat([i,r])}return r}(r,t),u=n.alloc(s);u.fill(1);var c=n.alloc(s);return c=i(o,c).update(u).update(n.from([0])).update(e).update(l).digest(),u=i(o,c).update(u).digest(),{k:c=i(o,c).update(u).update(n.from([1])).update(e).update(l).digest(),v:u=i(o,c).update(u).digest()}}function d(e,t){var r=new s(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function h(e,t,r){var o,a;do{for(o=n.alloc(0);8*o.length<e.bitLength();)t.v=i(r,t.k).update(t.v).digest(),o=n.concat([o,t.v]);a=d(o,e),t.k=i(r,t.k).update(t.v).update(n.from([0])).digest(),t.v=i(r,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function f(e,t,r,n){return e.toRed(s.mont(r)).redPow(t).fromRed().mod(n)}t.exports=function(e,t,r,i,p){var m=l(t);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var i=new a(r).keyFromPrivate(t.privateKey).sign(e);return n.from(i.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,r){for(var i,o=t.params.priv_key,a=t.params.p,l=t.params.q,u=t.params.g,p=new s(0),m=d(e,l).mod(l),g=!1,v=c(o,l,e,r);!1===g;)i=h(l,v,r),p=f(u,i,a,l),0===(g=i.invm(l).imul(m.add(o.mul(p))).mod(l)).cmpn(0)&&(g=!1,p=new s(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=[48,e.length+t.length+4,2,e.length];return r=r.concat(e,[2,t.length],t),n.from(r)}(p,g)}(e,m,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");e=n.concat([p,e]);for(var g=m.modulus.byteLength(),v=[0,1];e.length+v.length+1<g;)v.push(255);v.push(0);for(var y=-1;++y<e.length;)v.push(e[y]);return o(v,m)},t.exports.getKey=c,t.exports.makeKey=h},{"./curves.json":212,"bn.js":186,"browserify-rsa":209,"create-hmac":388,elliptic:405,"parse-asn1":459,"safe-buffer":494}],215:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("bn.js"),o=e("elliptic").ec,a=e("parse-asn1"),s=e("./curves.json");function l(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}t.exports=function(e,t,r,u,c){var d=a(r);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,t,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,o=r.data.q,s=r.data.g,u=r.data.pub_key,c=a.signature.decode(e,"der"),d=c.s,h=c.r;l(d,o),l(h,o);var f=i.mont(n),p=d.invm(o);return 0===s.toRed(f).redPow(new i(t).mul(p).mod(o)).fromRed().mul(u.toRed(f).redPow(h.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(h)}(e,t,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=n.concat([c,t]);for(var h=d.modulus.byteLength(),f=[1],p=0;t.length+f.length+2<h;)f.push(255),p++;f.push(0);for(var m=-1;++m<t.length;)f.push(t[m]);f=n.from(f);var g=i.mont(d.modulus);e=(e=new i(e).toRed(g)).redPow(new i(d.publicExponent)),e=n.from(e.fromRed().toArray());var v=p<8?1:0;for(h=Math.min(e.length,f.length),e.length!==f.length&&(v=1),m=-1;++m<h;)v|=e[m]^f[m];return 0===v}},{"./curves.json":212,"bn.js":186,elliptic:405,"parse-asn1":459,"safe-buffer":494}],216:[function(e,t,r){},{}],217:[function(e,t,r){"use strict";var n=e("buffer"),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,r),r.Buffer=a),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},{buffer:220}],218:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"<22>";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"<22>";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"<22>"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}r.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"<22>":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":217}],219:[function(e,t,r){(function(e){(function(){"use strict";t.exports=function(t,r){for(var n=Math.min(t.length,r.length),i=new e(n),o=0;o<n;++o)i[o]=t[o]^r[o];return i}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220}],220:[function(e,t,r){(function(t){(function(){
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/
|
||
"use strict";var t=e("base64-js"),n=e("ieee754");function i(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return a(e,t,r)}function a(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=i(r),a=n.write(e,t);return a!==r&&(n=n.slice(0,a)),n}(e,t);if(ArrayBuffer.isView(e))return u(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer))return function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),n.__proto__=o.prototype,n}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return o.from(n,t,r);var a=function(e){if(o.isBuffer(e)){var t=0|c(e.length),r=i(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||Y(e.length)?i(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return s(e),i(e<0?0:0|c(e))}function u(e){for(var t=e.length<0?0:0|c(e.length),r=i(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function c(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function d(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(e).length;default:if(i)return n?-1:P(e).length;t=(""+t).toLowerCase(),i=!0}}function h(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return S(this,t,r);case"latin1":case"binary":return M(this,t,r);case"base64":return x(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function f(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function p(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Y(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return-1}function g(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(Y(s))return a;e[r+a]=s}return a}function v(e,t,r,n){return N(P(t,e.length-r),e,r,n)}function y(e,t,r,n){return N(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function b(e,t,r,n){return y(e,t,r,n)}function _(e,t,r,n){return N(R(t),e,r,n)}function w(e,t,r,n){return N(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function x(e,r,n){return 0===r&&n===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(r,n))}function k(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function S(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function M(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function C(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=j(e[o]);return i}function T(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function O(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,r,n,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function A(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(e,t,r,i,o){return t=+t,r>>>=0,o||A(e,0,r,4),n.write(e,t,r,i,23,4),r+4}function E(e,t,r,i,o){return t=+t,r>>>=0,o||A(e,0,r,8),n.write(e,t,r,i,52,8),r+8}r.Buffer=o,r.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=2147483647,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),o.poolSize=8192,o.from=function(e,t,r){return a(e,t,r)},o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,o.alloc=function(e,t,r){return function(e,t,r){return s(e),e<=0?i(e):void 0!==t?"string"==typeof r?i(e).fill(t,r):i(e).fill(t):i(e)}(e,t,r)},o.allocUnsafe=function(e){return l(e)},o.allocUnsafeSlow=function(e){return l(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(B(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),B(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=o.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(B(a,Uint8Array)&&(a=o.from(a)),!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)f(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):h.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},o.prototype.compare=function(e,t,r,n,i){if(B(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),l=Math.min(a,s),u=this.slice(n,i),c=e.slice(t,r),d=0;d<l;++d)if(u[d]!==c[d]){a=u[d],s=c[d];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return p(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return p(this,e,t,r,!1)},o.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":return y(this,e,t,r);case"latin1":case"binary":return b(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=o.prototype,n},o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||O(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),n.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),n.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),n.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),n.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||L(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},o.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||L(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,r){return D(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return D(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(!o.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},o.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!o.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var s=o.isBuffer(e)?e:o.from(e,n),l=s.length;if(0===l)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=s[a%l]}return this};var I=/[^+/0-9A-Za-z-_]/g;function j(e){return e<16?"0"+e.toString(16):e.toString(16)}function P(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function R(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function B(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":185,buffer:220,ieee754:439}],221:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("stream").Transform,o=e("string_decoder").StringDecoder;function a(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("inherits")(a,i),a.prototype.update=function(e,t,r){"string"==typeof e&&(e=n.from(e,t));var i=this._update(e);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=a},{inherits:440,"safe-buffer":494,stream:505,string_decoder:218}],222:[function(e,t,r){"use strict";var n=e("../internals/is-callable"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},{"../internals/is-callable":285,"../internals/try-to-string":349}],223:[function(e,t,r){"use strict";var n=e("../internals/is-constructor"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},{"../internals/is-constructor":286,"../internals/try-to-string":349}],224:[function(e,t,r){"use strict";var n=e("../internals/is-callable"),i=String,o=TypeError;t.exports=function(e){if("object"==typeof e||n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},{"../internals/is-callable":285}],225:[function(e,t,r){"use strict";var n=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property").f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":306,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],226:[function(e,t,r){"use strict";var n=e("../internals/object-is-prototype-of"),i=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},{"../internals/object-is-prototype-of":314}],227:[function(e,t,r){"use strict";var n=e("../internals/is-object"),i=String,o=TypeError;t.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},{"../internals/is-object":289}],228:[function(e,t,r){"use strict";var n=e("../internals/to-indexed-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=function(e){return function(t,r,a){var s,l=n(t),u=o(l),c=i(a,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/length-of-array-like":299,"../internals/to-absolute-index":340,"../internals/to-indexed-object":341}],229:[function(e,t,r){"use strict";var n=e("../internals/function-bind-context"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),a=e("../internals/to-object"),s=e("../internals/length-of-array-like"),l=e("../internals/array-species-create"),u=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,d=6===e,h=7===e,f=5===e||d;return function(p,m,g,v){for(var y,b,_=a(p),w=o(_),x=n(m,g),k=s(w),S=0,M=v||l,C=t?M(p,k):r||h?M(p,0):void 0;k>S;S++)if((f||S in w)&&(b=x(y=w[S],S,_),e))if(t)C[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:u(C,y)}else switch(e){case 4:return!1;case 7:u(C,y)}return d?-1:i||c?c:C}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},{"../internals/array-species-create":233,"../internals/function-bind-context":262,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/length-of-array-like":299,"../internals/to-object":344}],230:[function(e,t,r){"use strict";var n=e("../internals/to-absolute-index"),i=e("../internals/length-of-array-like"),o=e("../internals/create-property"),a=Array,s=Math.max;t.exports=function(e,t,r){for(var l=i(e),u=n(t,l),c=n(void 0===r?l:r,l),d=a(s(c-u,0)),h=0;u<c;u++,h++)o(d,h,e[u]);return d.length=h,d}},{"../internals/create-property":243,"../internals/length-of-array-like":299,"../internals/to-absolute-index":340}],231:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this");t.exports=n([].slice)},{"../internals/function-uncurry-this":268}],232:[function(e,t,r){"use strict";var n=e("../internals/is-array"),i=e("../internals/is-constructor"),o=e("../internals/is-object"),a=e("../internals/well-known-symbol")("species"),s=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===s||n(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},{"../internals/is-array":284,"../internals/is-constructor":286,"../internals/is-object":289,"../internals/well-known-symbol":357}],233:[function(e,t,r){"use strict";var n=e("../internals/array-species-constructor");t.exports=function(e,t){return new(n(e))(0===t?0:t)}},{"../internals/array-species-constructor":232}],234:[function(e,t,r){"use strict";var n=e("../internals/well-known-symbol")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}t.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},{"../internals/well-known-symbol":357}],235:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=n({}.toString),o=n("".slice);t.exports=function(e){return o(i(e),8,-1)}},{"../internals/function-uncurry-this":268}],236:[function(e,t,r){"use strict";var n=e("../internals/to-string-tag-support"),i=e("../internals/is-callable"),o=e("../internals/classof-raw"),a=e("../internals/well-known-symbol")("toStringTag"),s=Object,l="Arguments"===o(function(){return arguments}());t.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?r:l?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},{"../internals/classof-raw":235,"../internals/is-callable":285,"../internals/to-string-tag-support":347,"../internals/well-known-symbol":357}],237:[function(e,t,r){"use strict";var n=e("../internals/has-own-property"),i=e("../internals/own-keys"),o=e("../internals/object-get-own-property-descriptor"),a=e("../internals/object-define-property");t.exports=function(e,t,r){for(var s=i(t),l=a.f,u=o.f,c=0;c<s.length;c++){var d=s[c];n(e,d)||r&&n(r,d)||l(e,d,u(t,d))}}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/own-keys":321}],238:[function(e,t,r){"use strict";var n=e("../internals/well-known-symbol")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},{"../internals/well-known-symbol":357}],239:[function(e,t,r){"use strict";var n=e("../internals/fails");t.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":260}],240:[function(e,t,r){"use strict";t.exports=function(e,t){return{value:e,done:t}}},{}],241:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/object-define-property":308}],242:[function(e,t,r){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],243:[function(e,t,r){"use strict";var n=e("../internals/to-property-key"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},{"../internals/create-property-descriptor":242,"../internals/object-define-property":308,"../internals/to-property-key":346}],244:[function(e,t,r){"use strict";var n=e("../internals/make-built-in"),i=e("../internals/object-define-property");t.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},{"../internals/make-built-in":300,"../internals/object-define-property":308}],245:[function(e,t,r){"use strict";var n=e("../internals/is-callable"),i=e("../internals/object-define-property"),o=e("../internals/make-built-in"),a=e("../internals/define-global-property");t.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&o(r,u,s),s.global)l?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},{"../internals/define-global-property":246,"../internals/is-callable":285,"../internals/make-built-in":300,"../internals/object-define-property":308}],246:[function(e,t,r){"use strict";var n=e("../internals/global"),i=Object.defineProperty;t.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},{"../internals/global":274}],247:[function(e,t,r){"use strict";var n=e("../internals/fails");t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":260}],248:[function(e,t,r){"use strict";var n="object"==typeof document&&document.all,i=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:i}},{}],249:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/is-object"),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(e){return a?o.createElement(e):{}}},{"../internals/global":274,"../internals/is-object":289}],250:[function(e,t,r){"use strict";var n=e("../internals/engine-is-deno"),i=e("../internals/engine-is-node");t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},{"../internals/engine-is-deno":251,"../internals/engine-is-node":254}],251:[function(e,t,r){"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},{}],252:[function(e,t,r){"use strict";var n=e("../internals/engine-user-agent");t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},{"../internals/engine-user-agent":256}],253:[function(e,t,r){"use strict";var n=e("../internals/engine-user-agent");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},{"../internals/engine-user-agent":256}],254:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/classof-raw");t.exports="process"===i(n.process)},{"../internals/classof-raw":235,"../internals/global":274}],255:[function(e,t,r){"use strict";var n=e("../internals/engine-user-agent");t.exports=/web0s(?!.*chrome)/i.test(n)},{"../internals/engine-user-agent":256}],256:[function(e,t,r){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},{}],257:[function(e,t,r){"use strict";var n,i,o=e("../internals/global"),a=e("../internals/engine-user-agent"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},{"../internals/engine-user-agent":256,"../internals/global":274}],258:[function(e,t,r){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],259:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/create-non-enumerable-property"),a=e("../internals/define-built-in"),s=e("../internals/define-global-property"),l=e("../internals/copy-constructor-properties"),u=e("../internals/is-forced");t.exports=function(e,t){var r,c,d,h,f,p=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[p]||s(p,{}):(n[p]||{}).prototype)for(c in t){if(h=t[c],d=e.dontCallGetSet?(f=i(r,c))&&f.value:r[c],!u(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&o(h,"sham",!0),a(r,c,h,e)}}},{"../internals/copy-constructor-properties":237,"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/define-global-property":246,"../internals/global":274,"../internals/is-forced":287,"../internals/object-get-own-property-descriptor":309}],260:[function(e,t,r){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],261:[function(e,t,r){"use strict";var n=e("../internals/function-bind-native"),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},{"../internals/function-bind-native":263}],262:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this-clause"),i=e("../internals/a-callable"),o=e("../internals/function-bind-native"),a=n(n.bind);t.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},{"../internals/a-callable":222,"../internals/function-bind-native":263,"../internals/function-uncurry-this-clause":267}],263:[function(e,t,r){"use strict";var n=e("../internals/fails");t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},{"../internals/fails":260}],264:[function(e,t,r){"use strict";var n=e("../internals/function-bind-native"),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},{"../internals/function-bind-native":263}],265:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/has-own-property"),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},{"../internals/descriptors":247,"../internals/has-own-property":275}],266:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/a-callable");t.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},{"../internals/a-callable":222,"../internals/function-uncurry-this":268}],267:[function(e,t,r){"use strict";var n=e("../internals/classof-raw"),i=e("../internals/function-uncurry-this");t.exports=function(e){if("Function"===n(e))return i(e)}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268}],268:[function(e,t,r){"use strict";var n=e("../internals/function-bind-native"),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},{"../internals/function-bind-native":263}],269:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/is-callable"),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},{"../internals/global":274,"../internals/is-callable":285}],270:[function(e,t,r){"use strict";var n=e("../internals/classof"),i=e("../internals/get-method"),o=e("../internals/is-null-or-undefined"),a=e("../internals/iterators"),s=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[n(e)]}},{"../internals/classof":236,"../internals/get-method":273,"../internals/is-null-or-undefined":288,"../internals/iterators":298,"../internals/well-known-symbol":357}],271:[function(e,t,r){"use strict";var n=e("../internals/function-call"),i=e("../internals/a-callable"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/get-iterator-method"),l=TypeError;t.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return o(n(r,e));throw new l(a(e)+" is not iterable")}},{"../internals/a-callable":222,"../internals/an-object":227,"../internals/function-call":264,"../internals/get-iterator-method":270,"../internals/try-to-string":349}],272:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/is-array"),o=e("../internals/is-callable"),a=e("../internals/classof-raw"),s=e("../internals/to-string"),l=n([].push);t.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,r=[],n=0;n<t;n++){var u=e[n];"string"==typeof u?l(r,u):"number"!=typeof u&&"Number"!==a(u)&&"String"!==a(u)||l(r,s(u))}var c=r.length,d=!0;return function(e,t){if(d)return d=!1,t;if(i(this))return t;for(var n=0;n<c;n++)if(r[n]===e)return t}}}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268,"../internals/is-array":284,"../internals/is-callable":285,"../internals/to-string":348}],273:[function(e,t,r){"use strict";var n=e("../internals/a-callable"),i=e("../internals/is-null-or-undefined");t.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},{"../internals/a-callable":222,"../internals/is-null-or-undefined":288}],274:[function(e,r,n){(function(e){(function(){"use strict";var t=function(e){return e&&e.Math===Math&&e};r.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||function(){return this}()||this||Function("return this")()}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],275:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},{"../internals/function-uncurry-this":268,"../internals/to-object":344}],276:[function(e,t,r){"use strict";t.exports={}},{}],277:[function(e,t,r){"use strict";t.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},{}],278:[function(e,t,r){"use strict";var n=e("../internals/get-built-in");t.exports=n("document","documentElement")},{"../internals/get-built-in":269}],279:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/document-create-element");t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":247,"../internals/document-create-element":249,"../internals/fails":260}],280:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/classof-raw"),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):a(e)}:a},{"../internals/classof-raw":235,"../internals/fails":260,"../internals/function-uncurry-this":268}],281:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/is-callable"),o=e("../internals/shared-store"),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),t.exports=o.inspectSource},{"../internals/function-uncurry-this":268,"../internals/is-callable":285,"../internals/shared-store":333}],282:[function(e,t,r){"use strict";var n,i,o,a=e("../internals/weak-map-basic-detection"),s=e("../internals/global"),l=e("../internals/is-object"),u=e("../internals/create-non-enumerable-property"),c=e("../internals/has-own-property"),d=e("../internals/shared-store"),h=e("../internals/shared-key"),f=e("../internals/hidden-keys"),p=s.TypeError,m=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new m);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw new p("Object already initialized");return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},o=function(e){return g.has(e)}}else{var v=h("state");f[v]=!0,n=function(e,t){if(c(e,v))throw new p("Object already initialized");return t.facade=e,u(e,v,t),t},i=function(e){return c(e,v)?e[v]:{}},o=function(e){return c(e,v)}}t.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}},{"../internals/create-non-enumerable-property":241,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/is-object":289,"../internals/shared-key":332,"../internals/shared-store":333,"../internals/weak-map-basic-detection":354}],283:[function(e,t,r){"use strict";var n=e("../internals/well-known-symbol"),i=e("../internals/iterators"),o=n("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},{"../internals/iterators":298,"../internals/well-known-symbol":357}],284:[function(e,t,r){"use strict";var n=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"===n(e)}},{"../internals/classof-raw":235}],285:[function(e,t,r){"use strict";var n=e("../internals/document-all"),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},{"../internals/document-all":248}],286:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/is-callable"),a=e("../internals/classof"),s=e("../internals/get-built-in"),l=e("../internals/inspect-source"),u=function(){},c=[],d=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=n(h.exec),p=!h.test(u),m=function(e){if(!o(e))return!1;try{return d(u,c,e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(e))}catch(e){return!0}};g.sham=!0,t.exports=!d||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},{"../internals/classof":236,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/inspect-source":281,"../internals/is-callable":285}],287:[function(e,t,r){"use strict";var n=e("../internals/fails"),i=e("../internals/is-callable"),o=/#|\.prototype\./,a=function(e,t){var r=l[s(e)];return r===c||r!==u&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},{"../internals/fails":260,"../internals/is-callable":285}],288:[function(e,t,r){"use strict";t.exports=function(e){return null==e}},{}],289:[function(e,t,r){"use strict";var n=e("../internals/is-callable"),i=e("../internals/document-all"),o=i.all;t.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===o}:function(e){return"object"==typeof e?null!==e:n(e)}},{"../internals/document-all":248,"../internals/is-callable":285}],290:[function(e,t,r){"use strict";t.exports=!1},{}],291:[function(e,t,r){"use strict";var n=e("../internals/is-object"),i=e("../internals/classof-raw"),o=e("../internals/well-known-symbol")("match");t.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},{"../internals/classof-raw":235,"../internals/is-object":289,"../internals/well-known-symbol":357}],292:[function(e,t,r){"use strict";var n=e("../internals/get-built-in"),i=e("../internals/is-callable"),o=e("../internals/object-is-prototype-of"),a=e("../internals/use-symbol-as-uid"),s=Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,s(e))}},{"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/object-is-prototype-of":314,"../internals/use-symbol-as-uid":351}],293:[function(e,t,r){"use strict";var n=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/is-array-iterator-method"),l=e("../internals/length-of-array-like"),u=e("../internals/object-is-prototype-of"),c=e("../internals/get-iterator"),d=e("../internals/get-iterator-method"),h=e("../internals/iterator-close"),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;t.exports=function(e,t,r){var g,v,y,b,_,w,x,k=r&&r.that,S=!(!r||!r.AS_ENTRIES),M=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),O=n(t,k),L=function(e){return g&&h(g,"normal",e),new p(!0,e)},A=function(e){return S?(o(e),T?O(e[0],e[1],L):O(e[0],e[1])):T?O(e,L):O(e)};if(M)g=e.iterator;else if(C)g=e;else{if(!(v=d(e)))throw new f(a(e)+" is not iterable");if(s(v)){for(y=0,b=l(e);b>y;y++)if((_=A(e[y]))&&u(m,_))return _;return new p(!1)}g=c(e,v)}for(w=M?e.next:g.next;!(x=i(w,g)).done;){try{_=A(x.value)}catch(e){h(g,"throw",e)}if("object"==typeof _&&_&&u(m,_))return _}return new p(!1)}},{"../internals/an-object":227,"../internals/function-bind-context":262,"../internals/function-call":264,"../internals/get-iterator":271,"../internals/get-iterator-method":270,"../internals/is-array-iterator-method":283,"../internals/iterator-close":294,"../internals/length-of-array-like":299,"../internals/object-is-prototype-of":314,"../internals/try-to-string":349}],294:[function(e,t,r){"use strict";var n=e("../internals/function-call"),i=e("../internals/an-object"),o=e("../internals/get-method");t.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},{"../internals/an-object":227,"../internals/function-call":264,"../internals/get-method":273}],295:[function(e,t,r){"use strict";var n=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),o=e("../internals/create-property-descriptor"),a=e("../internals/set-to-string-tag"),s=e("../internals/iterators"),l=function(){return this};t.exports=function(e,t,r,u){var c=t+" Iterator";return e.prototype=i(n,{next:o(+!u,r)}),a(e,c,!1,!0),s[c]=l,e}},{"../internals/create-property-descriptor":242,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-create":306,"../internals/set-to-string-tag":331}],296:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/is-pure"),a=e("../internals/function-name"),s=e("../internals/is-callable"),l=e("../internals/iterator-create-constructor"),u=e("../internals/object-get-prototype-of"),c=e("../internals/object-set-prototype-of"),d=e("../internals/set-to-string-tag"),h=e("../internals/create-non-enumerable-property"),f=e("../internals/define-built-in"),p=e("../internals/well-known-symbol"),m=e("../internals/iterators"),g=e("../internals/iterators-core"),v=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,w=p("iterator"),x=function(){return this};t.exports=function(e,t,r,a,p,g,k){l(r,t,a);var S,M,C,T=function(e){if(e===p&&E)return E;if(!_&&e&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},O=t+" Iterator",L=!1,A=e.prototype,D=A[w]||A["@@iterator"]||p&&A[p],E=!_&&D||T(p),I="Array"===t&&A.entries||D;if(I&&(S=u(I.call(new e)))!==Object.prototype&&S.next&&(o||u(S)===b||(c?c(S,b):s(S[w])||f(S,w,x)),d(S,O,!0,!0),o&&(m[O]=x)),v&&"values"===p&&D&&"values"!==D.name&&(!o&&y?h(A,"name","values"):(L=!0,E=function(){return i(D,this)})),p)if(M={values:T("values"),keys:g?E:T("keys"),entries:T("entries")},k)for(C in M)(_||L||!(C in A))&&f(A,C,M[C]);else n({target:t,proto:!0,forced:_||L},M);return o&&!k||A[w]===E||f(A,w,E,{name:p}),m[t]=E,M}},{"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/export":259,"../internals/function-call":264,"../internals/function-name":265,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/iterator-create-constructor":295,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-get-prototype-of":313,"../internals/object-set-prototype-of":318,"../internals/set-to-string-tag":331,"../internals/well-known-symbol":357}],297:[function(e,t,r){"use strict";var n,i,o,a=e("../internals/fails"),s=e("../internals/is-callable"),l=e("../internals/is-object"),u=e("../internals/object-create"),c=e("../internals/object-get-prototype-of"),d=e("../internals/define-built-in"),h=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),p=h("iterator"),m=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):m=!0),!l(n)||a((function(){var e={};return n[p].call(e)!==e}))?n={}:f&&(n=u(n)),s(n[p])||d(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},{"../internals/define-built-in":245,"../internals/fails":260,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-get-prototype-of":313,"../internals/well-known-symbol":357}],298:[function(e,t,r){arguments[4][276][0].apply(r,arguments)},{dup:276}],299:[function(e,t,r){"use strict";var n=e("../internals/to-length");t.exports=function(e){return n(e.length)}},{"../internals/to-length":343}],300:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/is-callable"),a=e("../internals/has-own-property"),s=e("../internals/descriptors"),l=e("../internals/function-name").CONFIGURABLE,u=e("../internals/inspect-source"),c=e("../internals/internal-state"),d=c.enforce,h=c.get,f=String,p=Object.defineProperty,m=n("".slice),g=n("".replace),v=n([].join),y=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=t.exports=function(e,t,r){"Symbol("===m(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&a(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return a(n,"source")||(n.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return o(this)&&h(this).source||u(this)}),"toString")},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-name":265,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/inspect-source":281,"../internals/internal-state":282,"../internals/is-callable":285}],301:[function(e,t,r){"use strict";var n=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?i:n)(t)}},{}],302:[function(e,t,r){"use strict";var n,i,o,a,s,l=e("../internals/global"),u=e("../internals/function-bind-context"),c=e("../internals/object-get-own-property-descriptor").f,d=e("../internals/task").set,h=e("../internals/queue"),f=e("../internals/engine-is-ios"),p=e("../internals/engine-is-ios-pebble"),m=e("../internals/engine-is-webos-webkit"),g=e("../internals/engine-is-node"),v=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,_=l.Promise,w=c(l,"queueMicrotask"),x=w&&w.value;if(!x){var k=new h,S=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=k.get();)try{t()}catch(e){throw k.head&&n(),e}e&&e.enter()};f||g||m||!v||!y?!p&&_&&_.resolve?((a=_.resolve(void 0)).constructor=_,s=u(a.then,a),n=function(){s(S)}):g?n=function(){b.nextTick(S)}:(d=u(d,l),n=function(){d(S)}):(i=!0,o=y.createTextNode(""),new v(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),x=function(e){k.head||n(),k.add(e)}}t.exports=x},{"../internals/engine-is-ios":253,"../internals/engine-is-ios-pebble":252,"../internals/engine-is-node":254,"../internals/engine-is-webos-webkit":255,"../internals/function-bind-context":262,"../internals/global":274,"../internals/object-get-own-property-descriptor":309,"../internals/queue":328,"../internals/task":339}],303:[function(e,t,r){"use strict";var n=e("../internals/a-callable"),i=TypeError,o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};t.exports.f=function(e){return new o(e)}},{"../internals/a-callable":222}],304:[function(e,t,r){"use strict";var n=e("../internals/is-regexp"),i=TypeError;t.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e}},{"../internals/is-regexp":291}],305:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/function-uncurry-this"),o=e("../internals/function-call"),a=e("../internals/fails"),s=e("../internals/object-keys"),l=e("../internals/object-get-own-property-symbols"),u=e("../internals/object-property-is-enumerable"),c=e("../internals/to-object"),d=e("../internals/indexed-object"),h=Object.assign,f=Object.defineProperty,p=i([].concat);t.exports=!h||a((function(){if(n&&1!==h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection");return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==h({},e)[r]||"abcdefghijklmnopqrst"!==s(h({},t)).join("")}))?function(e,t){for(var r=c(e),i=arguments.length,a=1,h=l.f,f=u.f;i>a;)for(var m,g=d(arguments[a++]),v=h?p(s(g),h(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],n&&!o(f,g,m)||(r[m]=g[m]);return r}:h},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/object-get-own-property-symbols":312,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-object":344}],306:[function(e,t,r){"use strict";var n,i=e("../internals/an-object"),o=e("../internals/object-define-properties"),a=e("../internals/enum-bug-keys"),s=e("../internals/hidden-keys"),l=e("../internals/html"),u=e("../internals/document-create-element"),c=e("../internals/shared-key"),d=c("IE_PROTO"),h=function(){},f=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&n?p(n):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):p(n);for(var r=a.length;r--;)delete m.prototype[a[r]];return m()};s[d]=!0,t.exports=Object.create||function(e,t){var r;return null!==e?(h.prototype=i(e),r=new h,h.prototype=null,r[d]=e):r=m(),void 0===t?r:o.f(r,t)}},{"../internals/an-object":227,"../internals/document-create-element":249,"../internals/enum-bug-keys":258,"../internals/hidden-keys":276,"../internals/html":278,"../internals/object-define-properties":307,"../internals/shared-key":332}],307:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/v8-prototype-define-bug"),o=e("../internals/object-define-property"),a=e("../internals/an-object"),s=e("../internals/to-indexed-object"),l=e("../internals/object-keys");r.f=n&&!i?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),i=l(t),u=i.length,c=0;u>c;)o.f(e,r=i[c++],n[r]);return e}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/object-define-property":308,"../internals/object-keys":316,"../internals/to-indexed-object":341,"../internals/v8-prototype-define-bug":352}],308:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),o=e("../internals/v8-prototype-define-bug"),a=e("../internals/an-object"),s=e("../internals/to-property-key"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor;r.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=c(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(a(e),t=s(t),a(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/ie8-dom-define":279,"../internals/to-property-key":346,"../internals/v8-prototype-define-bug":352}],309:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/function-call"),o=e("../internals/object-property-is-enumerable"),a=e("../internals/create-property-descriptor"),s=e("../internals/to-indexed-object"),l=e("../internals/to-property-key"),u=e("../internals/has-own-property"),c=e("../internals/ie8-dom-define"),d=Object.getOwnPropertyDescriptor;r.f=n?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(e){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/function-call":264,"../internals/has-own-property":275,"../internals/ie8-dom-define":279,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341,"../internals/to-property-key":346}],310:[function(e,t,r){"use strict";var n=e("../internals/classof-raw"),i=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-names").f,a=e("../internals/array-slice-simple"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return s&&"Window"===n(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},{"../internals/array-slice-simple":230,"../internals/classof-raw":235,"../internals/object-get-own-property-names":311,"../internals/to-indexed-object":341}],311:[function(e,t,r){"use strict";var n=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],312:[function(e,t,r){"use strict";r.f=Object.getOwnPropertySymbols},{}],313:[function(e,t,r){"use strict";var n=e("../internals/has-own-property"),i=e("../internals/is-callable"),o=e("../internals/to-object"),a=e("../internals/shared-key"),s=e("../internals/correct-prototype-getter"),l=a("IE_PROTO"),u=Object,c=u.prototype;t.exports=s?u.getPrototypeOf:function(e){var t=o(e);if(n(t,l))return t[l];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?c:null}},{"../internals/correct-prototype-getter":239,"../internals/has-own-property":275,"../internals/is-callable":285,"../internals/shared-key":332,"../internals/to-object":344}],314:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this");t.exports=n({}.isPrototypeOf)},{"../internals/function-uncurry-this":268}],315:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=e("../internals/has-own-property"),o=e("../internals/to-indexed-object"),a=e("../internals/array-includes").indexOf,s=e("../internals/hidden-keys"),l=n([].push);t.exports=function(e,t){var r,n=o(e),u=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&l(c,r);for(;t.length>u;)i(n,r=t[u++])&&(~a(c,r)||l(c,r));return c}},{"../internals/array-includes":228,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/to-indexed-object":341}],316:[function(e,t,r){"use strict";var n=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return n(e,i)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],317:[function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);r.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},{}],318:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this-accessor"),i=e("../internals/an-object"),o=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},{"../internals/a-possible-prototype":224,"../internals/an-object":227,"../internals/function-uncurry-this-accessor":266}],319:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/object-get-prototype-of"),s=e("../internals/object-keys"),l=e("../internals/to-indexed-object"),u=o(e("../internals/object-property-is-enumerable").f),c=o([].push),d=n&&i((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),h=function(e){return function(t){for(var r,i=l(t),o=s(i),h=d&&null===a(i),f=o.length,p=0,m=[];f>p;)r=o[p++],n&&!(h?r in i:u(i,r))||c(m,e?[r,i[r]]:i[r]);return m}};t.exports={entries:h(!0),values:h(!1)}},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/object-get-prototype-of":313,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341}],320:[function(e,t,r){"use strict";var n=e("../internals/function-call"),i=e("../internals/is-callable"),o=e("../internals/is-object"),a=TypeError;t.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!o(s=n(r,e)))return s;if(i(r=e.valueOf)&&!o(s=n(r,e)))return s;if("string"!==t&&i(r=e.toString)&&!o(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},{"../internals/function-call":264,"../internals/is-callable":285,"../internals/is-object":289}],321:[function(e,t,r){"use strict";var n=e("../internals/get-built-in"),i=e("../internals/function-uncurry-this"),o=e("../internals/object-get-own-property-names"),a=e("../internals/object-get-own-property-symbols"),s=e("../internals/an-object"),l=i([].concat);t.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?l(t,r(e)):t}},{"../internals/an-object":227,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-symbols":312}],322:[function(e,t,r){"use strict";var n=e("../internals/global");t.exports=n},{"../internals/global":274}],323:[function(e,t,r){"use strict";t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],324:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/promise-native-constructor"),o=e("../internals/is-callable"),a=e("../internals/is-forced"),s=e("../internals/inspect-source"),l=e("../internals/well-known-symbol"),u=e("../internals/engine-is-browser"),c=e("../internals/engine-is-deno"),d=e("../internals/is-pure"),h=e("../internals/engine-v8-version"),f=i&&i.prototype,p=l("species"),m=!1,g=o(n.PromiseRejectionEvent),v=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===h)return!0;if(d&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(m=r.then((function(){}))instanceof n))return!0}return!t&&(u||c)&&!g}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:m}},{"../internals/engine-is-browser":250,"../internals/engine-is-deno":251,"../internals/engine-v8-version":257,"../internals/global":274,"../internals/inspect-source":281,"../internals/is-callable":285,"../internals/is-forced":287,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/well-known-symbol":357}],325:[function(e,t,r){"use strict";var n=e("../internals/global");t.exports=n.Promise},{"../internals/global":274}],326:[function(e,t,r){"use strict";var n=e("../internals/an-object"),i=e("../internals/is-object"),o=e("../internals/new-promise-capability");t.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},{"../internals/an-object":227,"../internals/is-object":289,"../internals/new-promise-capability":303}],327:[function(e,t,r){"use strict";var n=e("../internals/promise-native-constructor"),i=e("../internals/check-correctness-of-iteration"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR;t.exports=o||!i((function(e){n.all(e).then(void 0,(function(){}))}))},{"../internals/check-correctness-of-iteration":234,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],328:[function(e,t,r){"use strict";var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},t.exports=n},{}],329:[function(e,t,r){"use strict";var n=e("../internals/is-null-or-undefined"),i=TypeError;t.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},{"../internals/is-null-or-undefined":288}],330:[function(e,t,r){"use strict";var n=e("../internals/get-built-in"),i=e("../internals/define-built-in-accessor"),o=e("../internals/well-known-symbol"),a=e("../internals/descriptors"),s=o("species");t.exports=function(e){var t=n(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],331:[function(e,t,r){"use strict";var n=e("../internals/object-define-property").f,i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],332:[function(e,t,r){"use strict";var n=e("../internals/shared"),i=e("../internals/uid"),o=n("keys");t.exports=function(e){return o[e]||(o[e]=i(e))}},{"../internals/shared":334,"../internals/uid":350}],333:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/define-global-property"),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},{"../internals/define-global-property":246,"../internals/global":274}],334:[function(e,t,r){"use strict";var n=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":290,"../internals/shared-store":333}],335:[function(e,t,r){"use strict";var n=e("../internals/an-object"),i=e("../internals/a-constructor"),o=e("../internals/is-null-or-undefined"),a=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||o(r=n(s)[a])?t:i(r)}},{"../internals/a-constructor":223,"../internals/an-object":227,"../internals/is-null-or-undefined":288,"../internals/well-known-symbol":357}],336:[function(e,t,r){"use strict";var n=e("../internals/engine-v8-version"),i=e("../internals/fails"),o=e("../internals/global").String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},{"../internals/engine-v8-version":257,"../internals/fails":260,"../internals/global":274}],337:[function(e,t,r){"use strict";var n=e("../internals/function-call"),i=e("../internals/get-built-in"),o=e("../internals/well-known-symbol"),a=e("../internals/define-built-in");t.exports=function(){var e=i("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return n(r,this)}),{arity:1})}},{"../internals/define-built-in":245,"../internals/function-call":264,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],338:[function(e,t,r){"use strict";var n=e("../internals/symbol-constructor-detection");t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/symbol-constructor-detection":336}],339:[function(e,t,r){"use strict";var n,i,o,a,s=e("../internals/global"),l=e("../internals/function-apply"),u=e("../internals/function-bind-context"),c=e("../internals/is-callable"),d=e("../internals/has-own-property"),h=e("../internals/fails"),f=e("../internals/html"),p=e("../internals/array-slice"),m=e("../internals/document-create-element"),g=e("../internals/validate-arguments-length"),v=e("../internals/engine-is-ios"),y=e("../internals/engine-is-node"),b=s.setImmediate,_=s.clearImmediate,w=s.process,x=s.Dispatch,k=s.Function,S=s.MessageChannel,M=s.String,C=0,T={};h((function(){n=s.location}));var O=function(e){if(d(T,e)){var t=T[e];delete T[e],t()}},L=function(e){return function(){O(e)}},A=function(e){O(e.data)},D=function(e){s.postMessage(M(e),n.protocol+"//"+n.host)};b&&_||(b=function(e){g(arguments.length,1);var t=c(e)?e:k(e),r=p(arguments,1);return T[++C]=function(){l(t,void 0,r)},i(C),C},_=function(e){delete T[e]},y?i=function(e){w.nextTick(L(e))}:x&&x.now?i=function(e){x.now(L(e))}:S&&!v?(a=(o=new S).port2,o.port1.onmessage=A,i=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(D)?(i=D,s.addEventListener("message",A,!1)):i="onreadystatechange"in m("script")?function(e){f.appendChild(m("script")).onreadystatechange=function(){f.removeChild(this),O(e)}}:function(e){setTimeout(L(e),0)}),t.exports={set:b,clear:_}},{"../internals/array-slice":231,"../internals/document-create-element":249,"../internals/engine-is-ios":253,"../internals/engine-is-node":254,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-bind-context":262,"../internals/global":274,"../internals/has-own-property":275,"../internals/html":278,"../internals/is-callable":285,"../internals/validate-arguments-length":353}],340:[function(e,t,r){"use strict";var n=e("../internals/to-integer-or-infinity"),i=Math.max,o=Math.min;t.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},{"../internals/to-integer-or-infinity":342}],341:[function(e,t,r){"use strict";var n=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return n(i(e))}},{"../internals/indexed-object":280,"../internals/require-object-coercible":329}],342:[function(e,t,r){"use strict";var n=e("../internals/math-trunc");t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},{"../internals/math-trunc":301}],343:[function(e,t,r){"use strict";var n=e("../internals/to-integer-or-infinity"),i=Math.min;t.exports=function(e){return e>0?i(n(e),9007199254740991):0}},{"../internals/to-integer-or-infinity":342}],344:[function(e,t,r){"use strict";var n=e("../internals/require-object-coercible"),i=Object;t.exports=function(e){return i(n(e))}},{"../internals/require-object-coercible":329}],345:[function(e,t,r){"use strict";var n=e("../internals/function-call"),i=e("../internals/is-object"),o=e("../internals/is-symbol"),a=e("../internals/get-method"),s=e("../internals/ordinary-to-primitive"),l=e("../internals/well-known-symbol"),u=TypeError,c=l("toPrimitive");t.exports=function(e,t){if(!i(e)||o(e))return e;var r,l=a(e,c);if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!i(r)||o(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},{"../internals/function-call":264,"../internals/get-method":273,"../internals/is-object":289,"../internals/is-symbol":292,"../internals/ordinary-to-primitive":320,"../internals/well-known-symbol":357}],346:[function(e,t,r){"use strict";var n=e("../internals/to-primitive"),i=e("../internals/is-symbol");t.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},{"../internals/is-symbol":292,"../internals/to-primitive":345}],347:[function(e,t,r){"use strict";var n={};n[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(n)},{"../internals/well-known-symbol":357}],348:[function(e,t,r){"use strict";var n=e("../internals/classof"),i=String;t.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},{"../internals/classof":236}],349:[function(e,t,r){"use strict";var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}},{}],350:[function(e,t,r){"use strict";var n=e("../internals/function-uncurry-this"),i=0,o=Math.random(),a=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},{"../internals/function-uncurry-this":268}],351:[function(e,t,r){"use strict";var n=e("../internals/symbol-constructor-detection");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/symbol-constructor-detection":336}],352:[function(e,t,r){"use strict";var n=e("../internals/descriptors"),i=e("../internals/fails");t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":247,"../internals/fails":260}],353:[function(e,t,r){"use strict";var n=TypeError;t.exports=function(e,t){if(e<t)throw new n("Not enough arguments");return e}},{}],354:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/is-callable"),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},{"../internals/global":274,"../internals/is-callable":285}],355:[function(e,t,r){"use strict";var n=e("../internals/path"),i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol-wrapped"),a=e("../internals/object-define-property").f;t.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/path":322,"../internals/well-known-symbol-wrapped":356}],356:[function(e,t,r){"use strict";var n=e("../internals/well-known-symbol");r.f=n},{"../internals/well-known-symbol":357}],357:[function(e,t,r){"use strict";var n=e("../internals/global"),i=e("../internals/shared"),o=e("../internals/has-own-property"),a=e("../internals/uid"),s=e("../internals/symbol-constructor-detection"),l=e("../internals/use-symbol-as-uid"),u=n.Symbol,c=i("wks"),d=l?u.for||u:u&&u.withoutSetter||a;t.exports=function(e){return o(c,e)||(c[e]=s&&o(u,e)?u[e]:d("Symbol."+e)),c[e]}},{"../internals/global":274,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-constructor-detection":336,"../internals/uid":350,"../internals/use-symbol-as-uid":351}],358:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/array-iteration").findIndex,o=e("../internals/add-to-unscopables"),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],359:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/array-iteration").find,o=e("../internals/add-to-unscopables"),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("find")},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],360:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/array-includes").includes,o=e("../internals/fails"),a=e("../internals/add-to-unscopables");n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},{"../internals/add-to-unscopables":225,"../internals/array-includes":228,"../internals/export":259,"../internals/fails":260}],361:[function(e,t,r){"use strict";var n=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),o=e("../internals/iterators"),a=e("../internals/internal-state"),s=e("../internals/object-define-property").f,l=e("../internals/iterator-define"),u=e("../internals/create-iter-result-object"),c=e("../internals/is-pure"),d=e("../internals/descriptors"),h=a.set,f=a.getterFor("Array Iterator");t.exports=l(Array,"Array",(function(e,t){h(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,r=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(r){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(e){}},{"../internals/add-to-unscopables":225,"../internals/create-iter-result-object":240,"../internals/descriptors":247,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/iterator-define":296,"../internals/iterators":298,"../internals/object-define-property":308,"../internals/to-indexed-object":341}],362:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/function-apply"),a=e("../internals/function-call"),s=e("../internals/function-uncurry-this"),l=e("../internals/fails"),u=e("../internals/is-callable"),c=e("../internals/is-symbol"),d=e("../internals/array-slice"),h=e("../internals/get-json-replacer-function"),f=e("../internals/symbol-constructor-detection"),p=String,m=i("JSON","stringify"),g=s(/./.exec),v=s("".charAt),y=s("".charCodeAt),b=s("".replace),_=s(1..toString),w=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,S=!f||l((function(){var e=i("Symbol")("stringify detection");return"[null]"!==m([e])||"{}"!==m({a:e})||"{}"!==m(Object(e))})),M=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),C=function(e,t){var r=d(arguments),n=h(t);if(u(n)||void 0!==e&&!c(e))return r[1]=function(e,t){if(u(n)&&(t=a(n,this,p(e),t)),!c(t))return t},o(m,null,r)},T=function(e,t,r){var n=v(r,t-1),i=v(r,t+1);return g(x,e)&&!g(k,i)||g(k,e)&&!g(x,n)?"\\u"+_(y(e,0),16):e};m&&n({target:"JSON",stat:!0,arity:3,forced:S||M},{stringify:function(e,t,r){var n=d(arguments),i=o(S?C:m,null,n);return M&&"string"==typeof i?b(i,w,T):i}})},{"../internals/array-slice":231,"../internals/export":259,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/get-json-replacer-function":272,"../internals/is-callable":285,"../internals/is-symbol":292,"../internals/symbol-constructor-detection":336}],363:[function(e,t,r){"use strict";e("../internals/export")({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},{"../internals/export":259}],364:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/object-assign");n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},{"../internals/export":259,"../internals/object-assign":305}],365:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/symbol-constructor-detection"),o=e("../internals/fails"),a=e("../internals/object-get-own-property-symbols"),s=e("../internals/to-object");n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-get-own-property-symbols":312,"../internals/symbol-constructor-detection":336,"../internals/to-object":344}],366:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/to-object"),o=e("../internals/object-keys");n({target:"Object",stat:!0,forced:e("../internals/fails")((function(){o(1)}))},{keys:function(e){return o(i(e))}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-keys":316,"../internals/to-object":344}],367:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/object-to-array").values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},{"../internals/export":259,"../internals/object-to-array":319}],368:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),l=e("../internals/iterate");n({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{all:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,c=s((function(){var r=o(t.resolve),a=[],s=0,c=1;l(e,(function(e){var o=s++,l=!1;c++,i(r,t,e).then((function(e){l||(l=!0,a[o]=e,--c||n(a))}),u)})),--c||n(a)}));return c.error&&u(c.value),r.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],369:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/is-pure"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR,a=e("../internals/promise-native-constructor"),s=e("../internals/get-built-in"),l=e("../internals/is-callable"),u=e("../internals/define-built-in"),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(a)){var d=s("Promise").prototype.catch;c.catch!==d&&u(c,"catch",d,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],370:[function(e,t,r){"use strict";var n,i,o,a=e("../internals/export"),s=e("../internals/is-pure"),l=e("../internals/engine-is-node"),u=e("../internals/global"),c=e("../internals/function-call"),d=e("../internals/define-built-in"),h=e("../internals/object-set-prototype-of"),f=e("../internals/set-to-string-tag"),p=e("../internals/set-species"),m=e("../internals/a-callable"),g=e("../internals/is-callable"),v=e("../internals/is-object"),y=e("../internals/an-instance"),b=e("../internals/species-constructor"),_=e("../internals/task").set,w=e("../internals/microtask"),x=e("../internals/host-report-errors"),k=e("../internals/perform"),S=e("../internals/queue"),M=e("../internals/internal-state"),C=e("../internals/promise-native-constructor"),T=e("../internals/promise-constructor-detection"),O=e("../internals/new-promise-capability"),L=T.CONSTRUCTOR,A=T.REJECTION_EVENT,D=T.SUBCLASSING,E=M.getterFor("Promise"),I=M.set,j=C&&C.prototype,P=C,R=j,N=u.TypeError,B=u.document,Y=u.process,F=O.f,z=F,H=!!(B&&B.createEvent&&u.dispatchEvent),V=function(e){var t;return!(!v(e)||!g(t=e.then))&&t},U=function(e,t){var r,n,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,u=e.reject,d=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?r=o:(d&&d.enter(),r=s(o),d&&(d.exit(),i=!0)),r===e.promise?u(new N("Promise-chain cycle")):(n=V(r))?c(n,r,l,u):l(r)):u(o)}catch(e){d&&!i&&d.exit(),u(e)}},W=function(e,t){e.notified||(e.notified=!0,w((function(){for(var r,n=e.reactions;r=n.get();)U(r,e);e.notified=!1,t&&!e.rejection&&G(e)})))},$=function(e,t,r){var n,i;H?((n=B.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!A&&(i=u["on"+e])?i(n):"unhandledrejection"===e&&x("Unhandled promise rejection",r)},G=function(e){c(_,u,(function(){var t,r=e.facade,n=e.value;if(q(e)&&(t=k((function(){l?Y.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),e.rejection=l||q(e)?2:1,t.error))throw t.value}))},q=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(_,u,(function(){var t=e.facade;l?Y.emit("rejectionHandled",t):$("rejectionhandled",t,e.value)}))},K=function(e,t,r){return function(n){e(t,n,r)}},Z=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,W(e,!0))},J=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new N("Promise can't be resolved itself");var n=V(t);n?w((function(){var r={done:!1};try{c(n,t,K(J,r,e),K(Z,r,e))}catch(t){Z(r,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){Z({done:!1},t,e)}}};if(L&&(R=(P=function(e){y(this,R),m(e),c(n,this);var t=E(this);try{e(K(J,t),K(Z,t))}catch(e){Z(t,e)}}).prototype,(n=function(e){I(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=d(R,"then",(function(e,t){var r=E(this),n=F(b(this,P));return r.parent=!0,n.ok=!g(e)||e,n.fail=g(t)&&t,n.domain=l?Y.domain:void 0,0===r.state?r.reactions.add(n):w((function(){U(n,r)})),n.promise})),i=function(){var e=new n,t=E(e);this.promise=e,this.resolve=K(J,t),this.reject=K(Z,t)},O.f=F=function(e){return e===P||void 0===e?new i(e):z(e)},!s&&g(C)&&j!==Object.prototype)){o=j.then,D||d(j,"then",(function(e,t){var r=this;return new P((function(e,t){c(o,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete j.constructor}catch(e){}h&&h(j,R)}a({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:P}),f(P,"Promise",!1,!0),p("Promise")},{"../internals/a-callable":222,"../internals/an-instance":226,"../internals/define-built-in":245,"../internals/engine-is-node":254,"../internals/export":259,"../internals/function-call":264,"../internals/global":274,"../internals/host-report-errors":277,"../internals/internal-state":282,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/microtask":302,"../internals/new-promise-capability":303,"../internals/object-set-prototype-of":318,"../internals/perform":323,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/queue":328,"../internals/set-species":330,"../internals/set-to-string-tag":331,"../internals/species-constructor":335,"../internals/task":339}],371:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/is-pure"),o=e("../internals/promise-native-constructor"),a=e("../internals/fails"),s=e("../internals/get-built-in"),l=e("../internals/is-callable"),u=e("../internals/species-constructor"),c=e("../internals/promise-resolve"),d=e("../internals/define-built-in"),h=o&&o.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),r=l(e);return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),!i&&l(o)){var f=s("Promise").prototype.finally;h.finally!==f&&d(h,"finally",f,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/fails":260,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326,"../internals/species-constructor":335}],372:[function(e,t,r){"use strict";e("../modules/es.promise.constructor"),e("../modules/es.promise.all"),e("../modules/es.promise.catch"),e("../modules/es.promise.race"),e("../modules/es.promise.reject"),e("../modules/es.promise.resolve")},{"../modules/es.promise.all":368,"../modules/es.promise.catch":369,"../modules/es.promise.constructor":370,"../modules/es.promise.race":373,"../modules/es.promise.reject":374,"../modules/es.promise.resolve":375}],373:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),l=e("../internals/iterate");n({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{race:function(e){var t=this,r=a.f(t),n=r.reject,u=s((function(){var a=o(t.resolve);l(e,(function(e){i(a,t,e).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],374:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/new-promise-capability");n({target:"Promise",stat:!0,forced:e("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},{"../internals/export":259,"../internals/function-call":264,"../internals/new-promise-capability":303,"../internals/promise-constructor-detection":324}],375:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/is-pure"),a=e("../internals/promise-native-constructor"),s=e("../internals/promise-constructor-detection").CONSTRUCTOR,l=e("../internals/promise-resolve"),u=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return l(c&&this===u?a:this,e)}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326}],376:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/to-absolute-index"),a=RangeError,s=String.fromCharCode,l=String.fromCodePoint,u=i([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw new a(t+" is not a valid code point");r[i]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return u(r,"")}})},{"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/to-absolute-index":340}],377:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/not-a-regexp"),a=e("../internals/require-object-coercible"),s=e("../internals/to-string"),l=e("../internals/correct-is-regexp-logic"),u=i("".indexOf);n({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~u(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":238,"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/not-a-regexp":304,"../internals/require-object-coercible":329,"../internals/to-string":348}],378:[function(e,t,r){"use strict";e("../internals/well-known-symbol-define")("asyncIterator")},{"../internals/well-known-symbol-define":355}],379:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),s=e("../internals/is-pure"),l=e("../internals/descriptors"),u=e("../internals/symbol-constructor-detection"),c=e("../internals/fails"),d=e("../internals/has-own-property"),h=e("../internals/object-is-prototype-of"),f=e("../internals/an-object"),p=e("../internals/to-indexed-object"),m=e("../internals/to-property-key"),g=e("../internals/to-string"),v=e("../internals/create-property-descriptor"),y=e("../internals/object-create"),b=e("../internals/object-keys"),_=e("../internals/object-get-own-property-names"),w=e("../internals/object-get-own-property-names-external"),x=e("../internals/object-get-own-property-symbols"),k=e("../internals/object-get-own-property-descriptor"),S=e("../internals/object-define-property"),M=e("../internals/object-define-properties"),C=e("../internals/object-property-is-enumerable"),T=e("../internals/define-built-in"),O=e("../internals/define-built-in-accessor"),L=e("../internals/shared"),A=e("../internals/shared-key"),D=e("../internals/hidden-keys"),E=e("../internals/uid"),I=e("../internals/well-known-symbol"),j=e("../internals/well-known-symbol-wrapped"),P=e("../internals/well-known-symbol-define"),R=e("../internals/symbol-define-to-primitive"),N=e("../internals/set-to-string-tag"),B=e("../internals/internal-state"),Y=e("../internals/array-iteration").forEach,F=A("hidden"),z=B.set,H=B.getterFor("Symbol"),V=Object.prototype,U=i.Symbol,W=U&&U.prototype,$=i.RangeError,G=i.TypeError,q=i.QObject,X=k.f,K=S.f,Z=w.f,J=C.f,Q=a([].push),ee=L("symbols"),te=L("op-symbols"),re=L("wks"),ne=!q||!q.prototype||!q.prototype.findChild,ie=function(e,t,r){var n=X(V,t);n&&delete V[t],K(e,t,r),n&&e!==V&&K(V,t,n)},oe=l&&c((function(){return 7!==y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?ie:K,ae=function(e,t){var r=ee[e]=y(W);return z(r,{type:"Symbol",tag:e,description:t}),l||(r.description=t),r},se=function(e,t,r){e===V&&se(te,t,r),f(e);var n=m(t);return f(r),d(ee,n)?(r.enumerable?(d(e,F)&&e[F][n]&&(e[F][n]=!1),r=y(r,{enumerable:v(0,!1)})):(d(e,F)||K(e,F,v(1,{})),e[F][n]=!0),oe(e,n,r)):K(e,n,r)},le=function(e,t){f(e);var r=p(t),n=b(r).concat(he(r));return Y(n,(function(t){l&&!o(ue,r,t)||se(e,t,r[t])})),e},ue=function(e){var t=m(e),r=o(J,this,t);return!(this===V&&d(ee,t)&&!d(te,t))&&(!(r||!d(this,t)||!d(ee,t)||d(this,F)&&this[F][t])||r)},ce=function(e,t){var r=p(e),n=m(t);if(r!==V||!d(ee,n)||d(te,n)){var i=X(r,n);return!i||!d(ee,n)||d(r,F)&&r[F][n]||(i.enumerable=!0),i}},de=function(e){var t=Z(p(e)),r=[];return Y(t,(function(e){d(ee,e)||d(D,e)||Q(r,e)})),r},he=function(e){var t=e===V,r=Z(t?te:p(e)),n=[];return Y(r,(function(e){!d(ee,e)||t&&!d(V,e)||Q(n,ee[e])})),n};u||(T(W=(U=function(){if(h(W,this))throw new G("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=E(e),r=function(e){this===V&&o(r,te,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1);var n=v(1,e);try{oe(this,t,n)}catch(e){if(!(e instanceof $))throw e;ie(this,t,n)}};return l&&ne&&oe(V,t,{configurable:!0,set:r}),ae(t,e)}).prototype,"toString",(function(){return H(this).tag})),T(U,"withoutSetter",(function(e){return ae(E(e),e)})),C.f=ue,S.f=se,M.f=le,k.f=ce,_.f=w.f=de,x.f=he,j.f=function(e){return ae(I(e),e)},l&&(O(W,"description",{configurable:!0,get:function(){return H(this).description}}),s||T(V,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),Y(b(re),(function(e){P(e)})),n({target:"Symbol",stat:!0,forced:!u},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!l},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:ce}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de}),R(),N(U,"Symbol"),D[F]=!0},{"../internals/an-object":227,"../internals/array-iteration":229,"../internals/create-property-descriptor":242,"../internals/define-built-in":245,"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/export":259,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-define-properties":307,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-names-external":310,"../internals/object-get-own-property-symbols":312,"../internals/object-is-prototype-of":314,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/set-to-string-tag":331,"../internals/shared":334,"../internals/shared-key":332,"../internals/symbol-constructor-detection":336,"../internals/symbol-define-to-primitive":337,"../internals/to-indexed-object":341,"../internals/to-property-key":346,"../internals/to-string":348,"../internals/uid":350,"../internals/well-known-symbol":357,"../internals/well-known-symbol-define":355,"../internals/well-known-symbol-wrapped":356}],380:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/has-own-property"),a=e("../internals/to-string"),s=e("../internals/shared"),l=e("../internals/symbol-registry-detection"),u=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(o(u,t))return u[t];var r=i("Symbol")(t);return u[t]=r,c[r]=t,r}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/to-string":348}],381:[function(e,t,r){"use strict";e("../modules/es.symbol.constructor"),e("../modules/es.symbol.for"),e("../modules/es.symbol.key-for"),e("../modules/es.json.stringify"),e("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":362,"../modules/es.object.get-own-property-symbols":365,"../modules/es.symbol.constructor":379,"../modules/es.symbol.for":380,"../modules/es.symbol.key-for":382}],382:[function(e,t,r){"use strict";var n=e("../internals/export"),i=e("../internals/has-own-property"),o=e("../internals/is-symbol"),a=e("../internals/try-to-string"),s=e("../internals/shared"),l=e("../internals/symbol-registry-detection"),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!o(e))throw new TypeError(a(e)+" is not a symbol");if(i(u,e))return u[e]}})},{"../internals/export":259,"../internals/has-own-property":275,"../internals/is-symbol":292,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/try-to-string":349}],383:[function(e,t,r){"use strict";function n(e){return Object.prototype.toString.call(e)}r.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(e){return"[object RegExp]"===n(e)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(e){return"[object Date]"===n(e)},r.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("buffer").Buffer.isBuffer},{buffer:220}],384:[function(e,t,r){(function(r){(function(){"use strict";var n=e("elliptic"),i=e("bn.js");t.exports=function(e){return new a(e)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(e,t,n){Array.isArray(e)||(e=e.toArray());var i=new r(e);if(n&&i.length<n){var o=new r(n-i.length);o.fill(0),i=r.concat([o,i])}return t?i.toString(t):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,t,n){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,e)},a.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,t){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var n=new i(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":385,buffer:220,elliptic:405}],385:[function(e,t,r){arguments[4][184][0].apply(r,arguments)},{buffer:188,dup:184}],386:[function(e,t,r){"use strict";var n=e("inherits"),i=e("md5.js"),o=e("ripemd160"),a=e("sha.js"),s=e("cipher-base");function l(e){s.call(this,"digest"),this._hash=e}n(l,s),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new l(a(e))}},{"cipher-base":221,inherits:440,"md5.js":450,ripemd160:493,"sha.js":498}],387:[function(e,t,r){"use strict";var n=e("md5.js");t.exports=function(e){return(new n).update(e).digest()}},{"md5.js":450}],388:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./legacy"),o=e("cipher-base"),a=e("safe-buffer").Buffer,s=e("create-hash/md5"),l=e("ripemd160"),u=e("sha.js"),c=a.alloc(128);function d(e,t){o.call(this,"digest"),"string"==typeof t&&(t=a.from(t));var r="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>r?t=("rmd160"===e?new l:u(e)).update(t).digest():t.length<r&&(t=a.concat([t,c],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^t[s],i[s]=92^t[s];this._hash="rmd160"===e?new l:u(e),this._hash.update(n)}n(d,o),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:u(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new i(s,t):new d(e,t)}},{"./legacy":389,"cipher-base":221,"create-hash/md5":387,inherits:440,ripemd160:493,"safe-buffer":494,"sha.js":498}],389:[function(e,t,r){"use strict";var n=e("inherits"),i=e("safe-buffer").Buffer,o=e("cipher-base"),a=i.alloc(128);function s(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=i.concat([t,a],64));for(var r=this._ipad=i.allocUnsafe(64),n=this._opad=i.allocUnsafe(64),s=0;s<64;s++)r[s]=54^t[s],n[s]=92^t[s];this._hash=[r]}n(s,o),s.prototype._update=function(e){this._hash.push(e)},s.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},t.exports=s},{"cipher-base":221,inherits:440,"safe-buffer":494}],390:[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return o};var a=e("pbkdf2");r.pbkdf2=a.pbkdf2,r.pbkdf2Sync=a.pbkdf2Sync;var s=e("browserify-cipher");r.Cipher=s.Cipher,r.createCipher=s.createCipher,r.Cipheriv=s.Cipheriv,r.createCipheriv=s.createCipheriv,r.Decipher=s.Decipher,r.createDecipher=s.createDecipher,r.Decipheriv=s.Decipheriv,r.createDecipheriv=s.createDecipheriv,r.getCiphers=s.getCiphers,r.listCiphers=s.listCiphers;var l=e("diffie-hellman");r.DiffieHellmanGroup=l.DiffieHellmanGroup,r.createDiffieHellmanGroup=l.createDiffieHellmanGroup,r.getDiffieHellman=l.getDiffieHellman,r.createDiffieHellman=l.createDiffieHellman,r.DiffieHellman=l.DiffieHellman;var u=e("browserify-sign");r.createSign=u.createSign,r.Sign=u.Sign,r.createVerify=u.createVerify,r.Verify=u.Verify,r.createECDH=e("create-ecdh");var c=e("public-encrypt");r.publicEncrypt=c.publicEncrypt,r.privateEncrypt=c.privateEncrypt,r.publicDecrypt=c.publicDecrypt,r.privateDecrypt=c.privateDecrypt;var d=e("randomfill");r.randomFill=d.randomFill,r.randomFillSync=d.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(e,t,r){"use strict";!function(e,n){"object"==typeof r&&void 0!==t?t.exports=n():(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs=n()}(void 0,(function(){var e=6e4,t=36e5,r="millisecond",n="second",i="minute",o="hour",a="day",s="week",l="month",u="quarter",c="year",d="date",h="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,l),o=r-i<0,a=t.clone().add(n+(o?-1:1),l);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:c,w:s,d:a,D:d,h:o,m:i,s:n,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",b={};b[y]=m;var _="$isDayjsObject",w=function(e){return e instanceof M||!(!e||!e[_])},x=function e(t,r,n){var i;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),r&&(b[o]=r,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,i=s}return!n&&i&&(y=i),i||!n&&y},k=function(e,t){if(w(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new M(r)},S=v;S.l=x,S.i=w,S.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var M=function(){function m(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(f);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var r=k(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return k(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<k(e)},g.$g=function(e,t,r){return S.u(e)?this[t]:this.set(r,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var r=this,u=!!S.u(t)||t,h=S.p(e),f=function(e,t){var n=S.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return u?n:n.endOf(a)},p=function(e,t){return S.w(r.toDate()[e].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case c:return u?f(1,0):f(31,11);case l:return u?f(1,g):f(0,g+1);case s:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(u?v-_:v+(6-_),g);case a:case d:return p(y+"Hours",0);case o:return p(y+"Minutes",1);case i:return p(y+"Seconds",2);case n:return p(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var s,u=S.p(e),h="set"+(this.$u?"UTC":""),f=(s={},s[a]=h+"Date",s[d]=h+"Date",s[l]=h+"Month",s[c]=h+"FullYear",s[o]=h+"Hours",s[i]=h+"Minutes",s[n]=h+"Seconds",s[r]=h+"Milliseconds",s)[u],p=u===a?this.$D+(t-this.$W):t;if(u===l||u===c){var m=this.clone().set(d,1);m.$d[f](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[S.p(e)]()},g.add=function(r,u){var d,h=this;r=Number(r);var f=S.p(u),p=function(e){var t=k(h);return S.w(t.date(t.date()+Math.round(e*r)),h)};if(f===l)return this.set(l,this.$M+r);if(f===c)return this.set(c,this.$y+r);if(f===a)return p(1);if(f===s)return p(7);var m=(d={},d[i]=e,d[o]=t,d[n]=1e3,d)[f]||1,g=this.$d.getTime()+r*m;return S.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),o=this.$H,a=this.$m,s=this.$M,l=r.weekdays,u=r.months,c=r.meridiem,d=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},f=function(e){return S.s(o%12||12,e,"0")},m=c||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(p,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return S.s(t.$y,4,"0");case"M":return s+1;case"MM":return S.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return t.$D;case"DD":return S.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(r.weekdaysMin,t.$W,l,2);case"ddd":return d(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return S.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return S.s(a,2,"0");case"s":return String(t.$s);case"ss":return S.s(t.$s,2,"0");case"SSS":return S.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,d,h){var f,p=this,m=S.p(d),g=k(r),v=(g.utcOffset()-this.utcOffset())*e,y=this-g,b=function(){return S.m(p,g)};switch(m){case c:f=b()/12;break;case l:f=b();break;case u:f=b()/3;break;case s:f=(y-v)/6048e5;break;case a:f=(y-v)/864e5;break;case o:f=y/t;break;case i:f=y/e;break;case n:f=y/1e3;break;default:f=y}return h?f:S.a(f)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=x(e,t,!0);return n&&(r.$L=n),r},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),C=M.prototype;return k.prototype=C,[["$ms",r],["$s",n],["$m",i],["$H",o],["$W",a],["$M",l],["$y",c],["$D",d]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,M,k),e.$i=!0),k},k.locale=x,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=b[y],k.Ls=b,k.p={},k}))},{}],392:[function(e,t,r){"use strict";!function(e,n){"object"==typeof r&&void 0!==t?t.exports=n():(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=n()}(void 0,(function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,n=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,o={},a=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},c=function(e,t){var r,n=o.meridiem;if(n){for(var i=1;i<=24;i+=1)if(e.indexOf(n(i,0,t))>-1){r=i>12;break}}else r=e===(t?"pm":"PM");return r},d={A:[i,function(e){this.afternoon=c(e,!1)}],a:[i,function(e){this.afternoon=c(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[n,s("seconds")],ss:[n,s("seconds")],m:[n,s("minutes")],mm:[n,s("minutes")],H:[n,s("hours")],h:[n,s("hours")],HH:[n,s("hours")],hh:[n,s("hours")],D:[n,s("day")],DD:[r,s("day")],Do:[i,function(e){var t=o.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[n,s("month")],MM:[r,s("month")],MMM:[i,function(e){var t=u("months"),r=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[r,function(e){this.year=a(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function h(r){var n,i;n=r,i=o&&o.formats;for(var a=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,n){var o=n&&n.toUpperCase();return r||i[n]||e[n]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))).match(t),s=a.length,l=0;l<s;l+=1){var u=a[l],c=d[u],h=c&&c[0],f=c&&c[1];a[l]=f?{regex:h,parser:f}:u.replace(/^\[|\]$/g,"")}return function(e){for(var t={},r=0,n=0;r<s;r+=1){var i=a[r];if("string"==typeof i)n+=i.length;else{var o=i.regex,l=i.parser,u=e.slice(n),c=o.exec(u)[0];l.call(t,c),e=e.replace(c,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var r=e.hours;t?r<12&&(e.hours+=12):12===r&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,r){r.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(a=e.parseTwoDigitYear);var n=t.prototype,i=n.parse;n.parse=function(e){var t=e.date,n=e.utc,a=e.args;this.$u=n;var s=a[1];if("string"==typeof s){var l=!0===a[2],u=!0===a[3],c=l||u,d=a[2];u&&(d=a[2]),o=this.$locale(),!l&&d&&(o=r.Ls[d]),this.$d=function(e,t,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var n=h(t)(e),i=n.year,o=n.month,a=n.day,s=n.hours,l=n.minutes,u=n.seconds,c=n.milliseconds,d=n.zone,f=new Date,p=a||(i||o?1:f.getDate()),m=i||f.getFullYear(),g=0;i&&!o||(g=o>0?o-1:f.getMonth());var v=s||0,y=l||0,b=u||0,_=c||0;return d?new Date(Date.UTC(m,g,p,v,y,b,_+60*d.offset*1e3)):r?new Date(Date.UTC(m,g,p,v,y,b,_)):new Date(m,g,p,v,y,b,_)}catch(e){return new Date("")}}(t,s,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),c&&t!=this.format(s)&&(this.$d=new Date("")),o={}}else if(s instanceof Array)for(var f=s.length,p=1;p<=f;p+=1){a[1]=s[p-1];var m=r.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===f&&(this.$d=new Date(""))}else i.call(this,e)}}}))},{}],393:[function(e,t,r){"use strict";!function(e,n){"object"==typeof r&&void 0!==t?t.exports=n():(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_utc=n()}(void 0,(function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,i,o){var a=i.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},a.utc=function(t){var r=o(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(n,i){var o=this.$utils().u;if(o(n))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof n&&null===(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var i=(""+n[0]).match(r)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(n)))return this;var a=Math.abs(n)<=16?60*n:n,s=this;if(i)return s.$offset=a,s.$u=0===n,s;if(0!==n){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var c=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=a.diff;a.diff=function(e,t,r){if(e&&this.$u===e.$u)return h.call(this,e,t,r);var n=this.local(),i=o(e).local();return h.call(n,i,t,r)}}}))},{}],394:[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":395,"./des/cipher":396,"./des/des":397,"./des/ede":398,"./des/utils":399}],395:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits"),o={};function a(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}r.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];for(o._update.call(this,a,0,r,n),s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{for(o._update.call(this,e,t,r,n),s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},{inherits:440,"minimalistic-assert":453}],396:[function(e,t,r){"use strict";var n=e("minimalistic-assert");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==e.padding}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":453}],397:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits"),o=e("./utils"),a=e("./cipher");function s(){this.tmp=new Array(2),this.keys=null}function l(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}i(l,a),t.exports=l,l.create=function(e){return new l(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(r,i,e.tmp,0),r=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=u[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,e.keys,a)}},l.prototype._update=function(e,t,r,n){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},l.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},l.prototype._unpad=function(e){if(!1===this.padding)return e;for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,r,n,i){for(var a=t,s=r,l=0;l<e.keys.length;l+=2){var u=e.keys[l],c=e.keys[l+1];o.expand(s,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),h=s;s=(a^o.permute(d))>>>0,a=h}o.rip(s,a,n,i)},l.prototype._decrypt=function(e,t,r,n,i){for(var a=r,s=t,l=e.keys.length-2;l>=0;l-=2){var u=e.keys[l],c=e.keys[l+1];o.expand(a,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),h=a;a=(s^o.permute(d))>>>0,s=h}o.rip(a,s,n,i)}},{"./cipher":396,"./utils":399,inherits:440,"minimalistic-assert":453}],398:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits"),o=e("./cipher"),a=e("./des");function s(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function l(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(l,o),t.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},{"./cipher":396,"./des":397,inherits:440,"minimalistic-assert":453}],399:[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},r.rip=function(e,t,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.pc1=function(e,t,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,i){for(var o=0,a=0,s=n.length>>>1,l=0;l<s;l++)o<<=1,o|=e>>>n[l]&1;for(l=s;l<n.length;l++)a<<=1,a|=t>>>n[l]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},r.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++)r<<=4,r|=i[64*n+(e>>>18-6*n&63)];for(n=0;n<4;n++)r<<=4,r|=i[256+64*n+(t>>>18-6*n&63)];return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<o.length;r++)t<<=1,t|=e>>>o[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},{}],400:[function(e,t,r){(function(t){(function(){"use strict";var n=e("./lib/generatePrime"),i=e("./lib/primes.json"),o=e("./lib/dh"),a={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var r=new t(i[e].prime,"hex"),n=new t(i[e].gen,"hex");return new o(r,n)},r.createDiffieHellman=r.DiffieHellman=function e(r,i,s,l){return t.isBuffer(i)||void 0===a[i]?e(r,"binary",i,s):(i=i||"binary",l=l||"binary",s=s||new t([2]),t.isBuffer(s)||(s=new t(s,l)),"number"==typeof r?new o(n(r,s),s,!0):(t.isBuffer(r)||(r=new t(r,i)),new o(r,s,!0)))}}).call(this)}).call(this,e("buffer").Buffer)},{"./lib/dh":401,"./lib/generatePrime":402,"./lib/primes.json":403,buffer:220}],401:[function(e,t,r){(function(r){(function(){"use strict";var n=e("bn.js"),i=new(e("miller-rabin")),o=new n(24),a=new n(11),s=new n(10),l=new n(3),u=new n(7),c=e("./generatePrime"),d=e("randombytes");function h(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._pub=new n(e),this}function f(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._priv=new n(e),this}t.exports=m;var p={};function m(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=f):this._primeCode=8}function g(e,t){var n=new r(e.toArray());return t?n.toString(t):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in p)return p[n];var d,h=0;if(e.isEven()||!c.simpleSieve||!c.fermatTest(e)||!i.test(e))return h+=1,h+="02"===r||"05"===r?8:4,p[n]=h,h;switch(i.test(e.shrn(1))||(h+=2),r){case"02":e.mod(o).cmp(a)&&(h+=8);break;case"05":(d=e.mod(s)).cmp(l)&&d.cmp(u)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var t=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new r(t.toArray()),o=this.getPrime();if(i.length<o.length){var a=new r(o.length-i.length);a.fill(0),i=r.concat([a,i])}return i},m.prototype.getPublicKey=function(e){return g(this._pub,e)},m.prototype.getPrivateKey=function(e){return g(this._priv,e)},m.prototype.getPrime=function(e){return g(this.__prime,e)},m.prototype.getGenerator=function(e){return g(this._gen,e)},m.prototype.setGenerator=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.__gen=e,this._gen=new n(e),this}}).call(this)}).call(this,e("buffer").Buffer)},{"./generatePrime":402,"bn.js":404,buffer:220,"miller-rabin":451,randombytes:475}],402:[function(e,t,r){"use strict";var n=e("randombytes");t.exports=y,y.simpleSieve=g,y.fermatTest=v;var i=e("bn.js"),o=new i(24),a=new(e("miller-rabin")),s=new i(1),l=new i(2),u=new i(5),c=(new i(16),new i(8),new i(10)),d=new i(3),h=(new i(7),new i(11)),f=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!=0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return p=e,e}function g(e){for(var t=m(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function v(e){var t=i.mont(e);return 0===l.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var r,p;for(t=new i(t);;){for(r=new i(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(l),t.cmp(l)){if(!t.cmp(u))for(;r.mod(c).cmp(d);)r.iadd(f)}else for(;r.mod(o).cmp(h);)r.iadd(f);if(g(p=r.shrn(1))&&g(r)&&v(p)&&v(r)&&a.test(p)&&a.test(r))return r}}},{"bn.js":404,"miller-rabin":451,randombytes:475}],403:[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],404:[function(e,t,r){arguments[4][184][0].apply(r,arguments)},{buffer:188,dup:184}],405:[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":421,"./elliptic/curve":408,"./elliptic/curves":411,"./elliptic/ec":412,"./elliptic/eddsa":415,"./elliptic/utils":419,brorand:187}],406:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils"),o=i.getNAF,a=i.getJSF,s=i.assert;function l(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=o(t,1,this._bitLength),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;var a,l,u=[];for(a=0;a<n.length;a+=r.step){l=0;for(var c=a+r.step-1;c>=a;c--)l=(l<<1)+n[c];u.push(l)}for(var d=this.jpoint(null,null,null),h=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a<u.length;a++)(l=u[a])===f?h=h.mixedAdd(r.points[a]):l===-f&&(h=h.mixedAdd(r.points[a].neg()));d=d.add(h)}return d.toP()},l.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(t,r,this._bitLength),l=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(var c=0;u>=0&&0===a[u];u--)c++;if(u>=0&&c++,l=l.dblp(c),u<0)break;var d=a[u];s(0!==d),l="affine"===e.type?d>0?l.mixedAdd(i[d-1>>1]):l.mixedAdd(i[-d-1>>1].neg()):d>0?l.add(i[d-1>>1]):l.add(i[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,r,n,i){var s,l,u,c=this._wnafT1,d=this._wnafT2,h=this._wnafT3,f=0;for(s=0;s<n;s++){var p=(u=t[s])._getNAFPoints(e);c[s]=p.wnd,d[s]=p.points}for(s=n-1;s>=1;s-=2){var m=s-1,g=s;if(1===c[m]&&1===c[g]){var v=[t[m],null,null,t[g]];0===t[m].y.cmp(t[g].y)?(v[1]=t[m].add(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg())):0===t[m].y.cmp(t[g].y.redNeg())?(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].add(t[g].neg())):(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],b=a(r[m],r[g]);for(f=Math.max(b[0].length,f),h[m]=new Array(f),h[g]=new Array(f),l=0;l<f;l++){var _=0|b[0][l],w=0|b[1][l];h[m][l]=y[3*(_+1)+(w+1)],h[g][l]=0,d[m]=v}}else h[m]=o(r[m],c[m],this._bitLength),h[g]=o(r[g],c[g],this._bitLength),f=Math.max(h[m].length,f),f=Math.max(h[g].length,f)}var x=this.jpoint(null,null,null),k=this._wnafT4;for(s=f;s>=0;s--){for(var S=0;s>=0;){var M=!0;for(l=0;l<n;l++)k[l]=0|h[l][s],0!==k[l]&&(M=!1);if(!M)break;S++,s--}if(s>=0&&S++,x=x.dblp(S),s<0)break;for(l=0;l<n;l++){var C=k[l];0!==C&&(C>0?u=d[l][C-1>>1]:C<0&&(u=d[l][-C-1>>1].neg()),x="affine"===u.type?x.mixedAdd(u):x.add(u))}}for(s=0;s<n;s++)d[s]=null;return i?x:x.toP()},l.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../utils":419,"bn.js":420}],407:[function(e,t,r){"use strict";var n=e("../utils"),i=e("bn.js"),o=e("inherits"),a=e("./base"),s=n.assert;function l(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,o){a.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(l,a),t.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var l=s.fromRed().isOdd();return(t&&!l||!t&&l)&&(s=s.redNeg()),this.point(e,s)},l.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},o(u,a.BasePoint),l.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},l.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),a=o.redSub(r),s=n.redSub(t),l=i.redMul(a),u=o.redMul(s),c=i.redMul(s),d=a.redMul(o);return this.curve.point(l,u,d,c)},u.prototype._projDbl=function(){var e,t,r,n,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(s)).redAdd(l);this.zOne?(e=a.redSub(s).redSub(l).redMul(u.redSub(this.curve.two)),t=u.redMul(n.redSub(l)),r=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),e=a.redSub(s).redISub(l).redMul(o),t=u.redMul(n.redSub(l)),r=u.redMul(o))}else n=s.redAdd(l),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),e=this.curve._mulC(a.redISub(n)).redMul(o),t=this.curve._mulC(n).redMul(s.redISub(l)),r=n.redMul(o);return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),a=i.redSub(n),s=i.redAdd(n),l=r.redAdd(t),u=o.redMul(a),c=s.redMul(l),d=o.redMul(l),h=a.redMul(s);return this.curve.point(u,c,h,d)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),l=i.redSub(s),u=i.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),d=n.redMul(l).redMul(c);return this.curve.twisted?(t=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=l.redMul(u)):(t=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(l).redMul(u)),this.curve.point(d,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],408:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":406,"./edwards":407,"./mont":409,"./short":410}],409:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("inherits"),o=e("./base"),a=e("../utils");function s(e){o.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},i(l,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new l(this,e,t)},s.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),a=i.redMul(n),s=t.z.redMul(o.redAdd(a).redSqr()),l=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],410:[function(e,t,r){"use strict";var n=e("../utils"),i=e("bn.js"),o=e("inherits"),a=e("./base"),s=n.assert;function l(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(l,a),t.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(r)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,r,n,o,a,s,l,u,c,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),v=new i(1),y=0;0!==h.cmpn(0);){var b=f.div(h);u=f.sub(b.mul(h)),c=g.sub(b.mul(p));var _=v.sub(b.mul(m));if(!n&&u.cmp(d)<0)t=l.neg(),r=p,n=u.neg(),o=c;else if(n&&2==++y)break;l=u,f=h,h=u,g=p,p=c,v=m,m=_}a=u.neg(),s=c;var w=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(w)>=0&&(a=t,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),l=i.mul(r.b),u=o.mul(n.b);return{k1:e.sub(a).sub(s),k2:l.add(u).neg()}},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(t&&!o||!t&&o)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),s=e[o],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),n[2*o]=s,n[2*o+1]=l,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),c=0;c<2*o;c++)n[c]=null,i[c]=null;return u},o(u,a.BasePoint),l.prototype.point=function(e,t,r){return new u(this,e,t,r)},l.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function i(t){return e.point(t[0],t[1],r)}var o=t[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(c,a.BasePoint),l.prototype.jpoint=function(e,t,r){return new c(this,e,t,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),d=n.redMul(u),h=l.redSqr().redIAdd(c).redISub(d).redISub(d),f=l.redMul(d.redISub(h)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,f,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),u=l.redMul(a),c=r.redMul(l),d=s.redSqr().redIAdd(u).redISub(c).redISub(c),h=s.redMul(c.redISub(d)).redISub(i.redMul(u)),f=this.z.redMul(a);return this.curve.jpoint(d,h,f)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t<e;t++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),u=a.redAdd(a);for(t=0;t<e;t++){var c=o.redSqr(),d=u.redSqr(),h=d.redSqr(),f=c.redAdd(c).redIAdd(c).redIAdd(n.redMul(l)),p=o.redMul(d),m=f.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),v=f.redMul(g);v=v.redIAdd(v).redISub(h);var y=u.redMul(s);t+1<e&&(l=l.redMul(h)),o=m,s=y,u=v}return this.curve.jpoint(o,u.redMul(i),s)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),l=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=l,t=s.redMul(a.redISub(l)).redISub(u),r=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),f=this.x.redAdd(d).redSqr().redISub(c).redISub(h);f=f.redIAdd(f);var p=c.redAdd(c).redIAdd(c),m=p.redSqr(),g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(f).redISub(f),t=p.redMul(f.redISub(e)).redISub(g),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},c.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);e=l;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=s.redMul(a.redISub(l)).redISub(u),r=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),f=this.x.redSub(c).redMul(this.x.redAdd(c));f=f.redAdd(f).redIAdd(f);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);e=f.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(d).redISub(c);var g=d.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=f.redMul(p.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,r)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),l=t.redAdd(t),u=(l=l.redIAdd(l)).redMul(a),c=s.redSqr().redISub(u.redAdd(u)),d=u.redISub(c),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=s.redMul(d).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(c,f,p)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),l=n.redIAdd(n);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(l),c=t.redMul(u);c=(c=c.redIAdd(c)).redIAdd(c);var d=this.x.redMul(s).redISub(c);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.y.redMul(u.redMul(l.redISub(u)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(d,h,f)},c.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],411:[function(e,t,r){"use strict";var n,i=r,o=e("hash.js"),a=e("./curve"),s=e("./utils").assert;function l(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=l,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=e("./precomputed/secp256k1")}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"./curve":408,"./precomputed/secp256k1":418,"./utils":419,"hash.js":426}],412:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("hmac-drbg"),o=e("../utils"),a=e("../curves"),s=e("brorand"),l=o.assert,u=e("./key"),c=e("./signature");function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(l(Object.prototype.hasOwnProperty.call(a,e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(t.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},d.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,r,o){"object"==typeof r&&(o=r,r=null),o||(o={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),l=e.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:l,pers:o.pers,persEnc:o.persEnc||"utf8"}),d=this.n.sub(new n(1)),h=0;;h++){var f=o.k?o.k(h):new n(u.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(d)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var m=p.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var v=f.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var y=(p.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return o.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),y^=1),new c({r:g,s:v,recoveryParam:y})}}}}}},d.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,i);var o=(t=new c(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,l=a.invm(this.n),u=l.mul(e).umod(this.n),d=l.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),d)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,r.getPublic(),d)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},d.prototype.recoverPubKey=function(e,t,r,i){l((3&r)===r,"The recovery param is more than two bits"),t=new c(t,i);var o=this.n,a=new n(e),s=t.r,u=t.s,d=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),d):this.curve.pointFromX(s,d);var f=t.r.invm(o),p=o.sub(a).mul(f).umod(o),m=u.mul(f).umod(o);return this.g.mulAdd(p,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new c(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":411,"../utils":419,"./key":413,"./signature":414,"bn.js":420,brorand:187,"hmac-drbg":438}],413:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils").assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=o,o.fromPublic=function(e,t,r){return t instanceof o?t:new o(e,{pub:t,pubEnc:r})},o.fromPrivate=function(e,t,r){return t instanceof o?t:new o(e,{priv:t,privEnc:r})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":419,"bn.js":420}],414:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils"),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function l(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=t.place;o<n;o++,a++)i<<=8,i|=e[a],i>>>=0;return!(i<=127)&&(t.place=a,i)}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function c(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}t.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var o=l(e,r);if(!1===o)return!1;if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=l(e,r);if(!1===a)return!1;var u=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var c=l(e,r);if(!1===c)return!1;if(e.length!==c+r.place)return!1;var d=e.slice(r.place,c+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new n(u),this.s=new n(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];c(n,t.length),(n=n.concat(t)).push(2),c(n,r.length);var o=n.concat(r),a=[48];return c(a,o.length),a=a.concat(o),i.encode(a,e)}},{"../utils":419,"bn.js":420}],415:[function(e,t,r){"use strict";var n=e("hash.js"),i=e("../curves"),o=e("../utils"),a=o.assert,s=o.parseBytes,l=e("./key"),u=e("./signature");function c(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}t.exports=c,c.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),l=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:o})},c.prototype.verify=function(e,t,r){e=s(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(o)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},c.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},c.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},c.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},c.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},c.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(e){return o.intFromLE(e)},c.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../curves":411,"../utils":419,"./key":416,"./signature":417,"hash.js":426}],416:[function(e,t,r){"use strict";var n=e("../utils"),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},t.exports=s},{"../utils":419}],417:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils"),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=l},{"../utils":419,"bn.js":420}],418:[function(e,t,r){"use strict";t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],419:[function(e,t,r){"use strict";var n=r,i=e("bn.js"),o=e("minimalistic-assert"),a=e("minimalistic-crypto-utils");n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var i=1<<t+1,o=e.clone(),a=0;a<n.length;a++){var s,l=o.andln(i-1);o.isOdd()?(s=l>(i>>1)-1?(i>>1)-l:l,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var a,s,l=e.andln(3)+i&3,u=t.andln(3)+o&3;3===l&&(l=-1),3===u&&(u=-1),a=0==(1&l)?0:3!==(n=e.andln(7)+i&7)&&5!==n||2!==u?l:-l,r[0].push(a),s=0==(1&u)?0:3!==(n=t.andln(7)+o&7)&&5!==n||2!==l?u:-u,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":420,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],420:[function(e,t,r){arguments[4][184][0].apply(r,arguments)},{buffer:188,dup:184}],421:[function(e,t,r){t.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}},{}],422:[function(e,t,r){"use strict";var n=Object.create||function(e){var t=function(){};return t.prototype=e,new t},i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return r},o=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function a(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=n(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0;var s,l=10;try{var u={};Object.defineProperty&&Object.defineProperty(u,"x",{value:0}),s=0===u.x}catch(e){s=!1}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function d(e,t,r){if(t)e.call(r);else for(var n=e.length,i=w(e,n),o=0;o<n;++o)i[o].call(r)}function h(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,o=w(e,i),a=0;a<i;++a)o[a].call(r,n)}function f(e,t,r,n,i){if(t)e.call(r,n,i);else for(var o=e.length,a=w(e,o),s=0;s<o;++s)a[s].call(r,n,i)}function p(e,t,r,n,i,o){if(t)e.call(r,n,i,o);else for(var a=e.length,s=w(e,a),l=0;l<a;++l)s[l].call(r,n,i,o)}function m(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,o=w(e,i),a=0;a<i;++a)o[a].apply(r,n)}function g(e,t,r,i){var o,a,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),s=a[t]):(a=e._events=n(null),e._eventsCount=0),s){if("function"==typeof s?s=a[t]=i?[r,s]:[s,r]:i?s.unshift(r):s.push(r),!s.warned&&(o=c(e))&&o>0&&s.length>o){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",l.name,l.message)}}else s=a[t]=r,++e._eventsCount;return e}function v(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function y(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=o.call(v,n);return i.listener=r,n.wrapFn=i,i}function b(e,t,r){var n=e._events;if(!n)return[];var i=n[t];return i?"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):w(i,i.length):[]}function _(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function w(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}s?Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');l=e}}):a.defaultMaxListeners=l,a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){var t,r,n,i,o,a,s="error"===e;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var l=new Error('Unhandled "error" event. ('+t+")");throw l.context=t,l}if(!(r=a[e]))return!1;var u="function"==typeof r;switch(n=arguments.length){case 1:d(r,u,this);break;case 2:h(r,u,this,arguments[1]);break;case 3:f(r,u,this,arguments[1],arguments[2]);break;case 4:p(r,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),o=1;o<n;o++)i[o-1]=arguments[o];m(r,u,this,i)}return!0},a.prototype.addListener=function(e,t){return g(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return g(this,e,t,!0)},a.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,y(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,y(this,e,t)),this},a.prototype.removeListener=function(e,t){var r,i,o,a,s;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(r=i[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=n(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){s=r[a].listener,o=a;break}if(o<0)return this;0===o?r.shift():function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(r,o),1===r.length&&(i[e]=r[0]),i.removeListener&&this.emit("removeListener",e,s||t)}return this},a.prototype.removeAllListeners=function(e){var t,r,o;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=n(null),this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=n(null):delete r[e]),this;if(0===arguments.length){var a,s=i(r);for(o=0;o<s.length;++o)"removeListener"!==(a=s[o])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=n(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t)for(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this},a.prototype.listeners=function(e){return b(this,e,!0)},a.prototype.rawListeners=function(e){return b(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):_.call(e,t)},a.prototype.listenerCount=_,a.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],423:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("md5.js");t.exports=function(e,t,r,o){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),l=n.alloc(o||0),u=n.alloc(0);a>0||o>0;){var c=new i;c.update(u),c.update(e),t&&c.update(t),u=c.digest();var d=0;if(a>0){var h=s.length-a;d=Math.min(a,u.length),u.copy(s,h,0,d),a-=d}if(d<u.length&&o>0){var f=l.length-o,p=Math.min(o,u.length-d);u.copy(l,f,d,d+p),o-=p}}return u.fill(0),{key:s,iv:l}}},{"md5.js":450,"safe-buffer":494}],424:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CsvParserStream=r.ParserOptions=r.parseFile=r.parseStream=r.parseString=r.parse=r.FormatterOptions=r.CsvFormatterStream=r.writeToPath=r.writeToString=r.writeToBuffer=r.writeToStream=r.write=r.format=void 0;var n=e("@fast-csv/format");Object.defineProperty(r,"format",{enumerable:!0,get:function(){return n.format}}),Object.defineProperty(r,"write",{enumerable:!0,get:function(){return n.write}}),Object.defineProperty(r,"writeToStream",{enumerable:!0,get:function(){return n.writeToStream}}),Object.defineProperty(r,"writeToBuffer",{enumerable:!0,get:function(){return n.writeToBuffer}}),Object.defineProperty(r,"writeToString",{enumerable:!0,get:function(){return n.writeToString}}),Object.defineProperty(r,"writeToPath",{enumerable:!0,get:function(){return n.writeToPath}}),Object.defineProperty(r,"CsvFormatterStream",{enumerable:!0,get:function(){return n.CsvFormatterStream}}),Object.defineProperty(r,"FormatterOptions",{enumerable:!0,get:function(){return n.FormatterOptions}});var i=e("@fast-csv/parse");Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(r,"parseString",{enumerable:!0,get:function(){return i.parseString}}),Object.defineProperty(r,"parseStream",{enumerable:!0,get:function(){return i.parseStream}}),Object.defineProperty(r,"parseFile",{enumerable:!0,get:function(){return i.parseFile}}),Object.defineProperty(r,"ParserOptions",{enumerable:!0,get:function(){return i.ParserOptions}}),Object.defineProperty(r,"CsvParserStream",{enumerable:!0,get:function(){return i.CsvParserStream}})},{"@fast-csv/format":151,"@fast-csv/parse":155}],425:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("readable-stream").Transform;function o(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,i),o.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var a=0,s=8*e.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},{inherits:440,"readable-stream":491,"safe-buffer":494}],426:[function(e,t,r){"use strict";var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":427,"./hash/hmac":428,"./hash/ripemd":429,"./hash/sha":430,"./hash/utils":437}],427:[function(e,t,r){"use strict";var n=e("./utils"),i=e("minimalistic-assert");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=o,o.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},{"./utils":437,"minimalistic-assert":453}],428:[function(e,t,r){"use strict";var n=e("./utils"),i=e("minimalistic-assert");function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}t.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":437,"minimalistic-assert":453}],429:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./common"),o=n.rotl32,a=n.sum32,s=n.sum32_3,l=n.sum32_4,u=i.BlockHash;function c(){if(!(this instanceof c))return new c;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(c,u),r.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],c=this.h[4],y=r,b=n,_=i,w=u,x=c,k=0;k<80;k++){var S=a(o(l(r,d(k,n,i,u),e[p[k]+t],h(k)),g[k]),c);r=c,c=u,u=o(i,10),i=n,n=S,S=a(o(l(y,d(79-k,b,_,w),e[m[k]+t],f(k)),v[k]),x),y=x,x=w,w=o(_,10),_=b,b=S}S=s(this.h[1],i,w),this.h[1]=s(this.h[2],u,x),this.h[2]=s(this.h[3],c,y),this.h[3]=s(this.h[4],r,b),this.h[4]=s(this.h[0],n,_),this.h[0]=S},c.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":427,"./utils":437}],430:[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":431,"./sha/224":432,"./sha/256":433,"./sha/384":434,"./sha/512":435}],431:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../common"),o=e("./common"),a=n.rotl32,s=n.sum32,l=n.sum32_5,u=o.ft_1,c=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,c),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],c=this.h[2],h=this.h[3],f=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=l(a(i,5),u(p,o,c,h),f,r[n],d[p]);f=h,h=c,c=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],c),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],f)},h.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436}],432:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./256");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},{"../utils":437,"./256":433}],433:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../common"),o=e("./common"),a=e("minimalistic-assert"),s=n.sum32,l=n.sum32_4,u=n.sum32_5,c=o.ch32,d=o.maj32,h=o.s0_256,f=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}n.inherits(y,g),t.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=l(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],v=this.h[3],y=this.h[4],b=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var x=u(w,f(y),c(y,b,_),this.k[n],r[n]),k=s(h(i),d(i,o,g));w=_,_=b,b=y,y=s(v,x),v=g,g=o,o=i,i=s(x,k)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},y.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436,"minimalistic-assert":453}],434:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./512");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},{"../utils":437,"./512":435}],435:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../common"),o=e("minimalistic-assert"),a=n.rotr64_hi,s=n.rotr64_lo,l=n.shr64_hi,u=n.shr64_lo,c=n.sum64,d=n.sum64_hi,h=n.sum64_lo,f=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,g=n.sum64_5_lo,v=i.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function _(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}function w(e,t,r,n,i,o){var a=t&n^~t&o;return a<0&&(a+=4294967296),a}function x(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}function k(e,t,r,n,i,o){var a=t&n^t&o^n&o;return a<0&&(a+=4294967296),a}function S(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function M(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=4294967296),r}function C(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function T(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=4294967296),r}function O(e,t){var r=a(e,t,1)^a(e,t,8)^l(e,t,7);return r<0&&(r+=4294967296),r}function L(e,t){var r=s(e,t,1)^s(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function A(e,t){var r=a(e,t,19)^a(t,e,29)^l(e,t,6);return r<0&&(r+=4294967296),r}function D(e,t){var r=s(e,t,19)^s(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(b,v),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=A(r[n-4],r[n-3]),o=D(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],l=O(r[n-30],r[n-29]),u=L(r[n-30],r[n-29]),c=r[n-32],d=r[n-31];r[n]=f(i,o,a,s,l,u,c,d),r[n+1]=p(i,o,a,s,l,u,c,d)}},b.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4],u=this.h[5],f=this.h[6],p=this.h[7],v=this.h[8],y=this.h[9],b=this.h[10],O=this.h[11],L=this.h[12],A=this.h[13],D=this.h[14],E=this.h[15];o(this.k.length===r.length);for(var I=0;I<r.length;I+=2){var j=D,P=E,R=C(v,y),N=T(v,y),B=_(v,y,b,O,L),Y=w(v,y,b,O,L,A),F=this.k[I],z=this.k[I+1],H=r[I],V=r[I+1],U=m(j,P,R,N,B,Y,F,z,H,V),W=g(j,P,R,N,B,Y,F,z,H,V);j=S(n,i),P=M(n,i),R=x(n,i,a,s,l),N=k(n,i,a,s,l,u);var $=d(j,P,R,N),G=h(j,P,R,N);D=L,E=A,L=b,A=O,b=v,O=y,v=d(f,p,U,W),y=h(p,p,U,W),f=l,p=u,l=a,u=s,a=n,s=i,n=d(U,W,$,G),i=h(U,W,$,G)}c(this.h,0,n,i),c(this.h,2,a,s),c(this.h,4,l,u),c(this.h,6,f,p),c(this.h,8,v,y),c(this.h,10,b,O),c(this.h,12,L,A),c(this.h,14,D,E)},b.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":427,"../utils":437,"minimalistic-assert":453}],436:[function(e,t,r){"use strict";var n=e("../utils").rotr32;function i(e,t,r){return e&t^~e&r}function o(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}r.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?a(t,r,n):2===e?o(t,r,n):void 0},r.ch32=i,r.maj32=o,r.p32=a,r.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},r.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},r.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},r.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},{"../utils":437}],437:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits");function o(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=i,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=s(e[r].toString(16));return t},r.htonl=a,r.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=a(i)),r+=l(i.toString(16))}return r},r.zero2=s,r.zero8=l,r.join32=function(e,t,r,i){var o=r-t;n(o%4==0);for(var a=new Array(o/4),s=0,l=t;s<a.length;s++,l+=4){var u;u="big"===i?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],a[s]=u>>>0}return a},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,a=(o<n?1:0)+r+i;e[t]=a>>>0,e[t+1]=o},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,o,a,s){var l=0,u=t;return l+=(u=u+n>>>0)<t?1:0,l+=(u=u+o>>>0)<o?1:0,e+r+i+a+(l+=(u=u+s>>>0)<s?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,i,o,a,s){return t+n+o+s>>>0},r.sum64_5_hi=function(e,t,r,n,i,o,a,s,l,u){var c=0,d=t;return c+=(d=d+n>>>0)<t?1:0,c+=(d=d+o>>>0)<o?1:0,c+=(d=d+s>>>0)<s?1:0,e+r+i+a+l+(c+=(d=d+u>>>0)<u?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,i,o,a,s,l,u){return t+n+o+s+u>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:440,"minimalistic-assert":453}],438:[function(e,t,r){"use strict";var n=e("hash.js"),i=e("minimalistic-crypto-utils"),o=e("minimalistic-assert");function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}t.exports=a,a.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=i.toArray(e,t),r=i.toArray(r,n),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},a.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,e);return this._update(r),this._reseed++,i.encode(a,t)}},{"hash.js":426,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],439:[function(e,t,r){"use strict";
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */r.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=u}return(f?-1:1)*a*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*m}},{}],440:[function(e,t,r){"use strict";"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},{}],441:[function(e,r,n){(function(t,i,o,a,s,l,u,c){(function(){"use strict";
|
||
/*!
|
||
|
||
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
||
<http://stuartk.com/jszip>
|
||
|
||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
||
|
||
JSZip uses the library pako released under the MIT license :
|
||
https://github.com/nodeca/pako/blob/main/LICENSE
|
||
*/!function(e){"object"==typeof n&&void 0!==r?r.exports=e():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=e()}((function(){return function t(r,n,i){function o(s,l){if(!n[s]){if(!r[s]){var u="function"==typeof e&&e;if(!l&&u)return u(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[s]={exports:{}};r[s][0].call(d.exports,(function(e){return o(r[s][1][e]||e)}),d,d.exports,t,r,n,i)}return n[s].exports}for(var a="function"==typeof e&&e,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,r){var n=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,a,s,l,u,c=[],d=0,h=e.length,f=h,p="string"!==n.getTypeOf(e);d<e.length;)f=h-d,i=p?(t=e[d++],r=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),r=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),a=t>>2,s=(3&t)<<4|r>>4,l=1<f?(15&r)<<2|i>>6:64,u=2<f?63&i:64,c.push(o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(u));return c.join("")},r.decode=function(e){var t,r,n,a,s,l,u=0,c=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&f--,e.charAt(e.length-2)===o.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=i.uint8array?new Uint8Array(0|f):new Array(0|f);u<e.length;)t=o.indexOf(e.charAt(u++))<<2|(a=o.indexOf(e.charAt(u++)))>>4,r=(15&a)<<4|(s=o.indexOf(e.charAt(u++)))>>2,n=(3&s)<<6|(l=o.indexOf(e.charAt(u++))),h[c++]=t,64!==s&&(h[c++]=r),64!==l&&(h[c++]=n);return h}},{"./support":30,"./utils":32}],2:[function(e,t,r){var n=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var o=i,a=0+r;e^=-1;for(var s=0;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,r,n){var o=i,a=0+r;e^=-1;for(var s=0;s<a;s++)e=e>>>8^o[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){var n;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),a=e("./stream/GenericWorker"),s=n?"uint8array":"array";function l(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function i(e,t,r,i,a,c){var d,h,f=e.file,p=e.compression,m=c!==s.utf8encode,g=o.transformTo("string",c(f.name)),v=o.transformTo("string",s.utf8encode(f.name)),y=f.comment,b=o.transformTo("string",c(y)),_=o.transformTo("string",s.utf8encode(y)),w=v.length!==f.name.length,x=_.length!==y.length,k="",S="",M="",C=f.dir,T=f.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var L=0;t&&(L|=8),m||!w&&!x||(L|=2048);var A=0,D=0;C&&(A|=16),"UNIX"===a?(D=798,A|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(f.unixPermissions,C)):(D=20,A|=function(e){return 63&(e||0)}(f.dosPermissions)),d=T.getUTCHours(),d<<=6,d|=T.getUTCMinutes(),d<<=5,d|=T.getUTCSeconds()/2,h=T.getUTCFullYear()-1980,h<<=4,h|=T.getUTCMonth()+1,h<<=5,h|=T.getUTCDate(),w&&(S=n(1,1)+n(l(g),4)+v,k+="up"+n(S.length,2)+S),x&&(M=n(1,1)+n(l(b),4)+_,k+="uc"+n(M.length,2)+M);var E="";return E+="\n\0",E+=n(L,2),E+=p.magic,E+=n(d,2),E+=n(h,2),E+=n(O.crc32,4),E+=n(O.compressedSize,4),E+=n(O.uncompressedSize,4),E+=n(g.length,2),E+=n(k.length,2),{fileRecord:u.LOCAL_FILE_HEADER+E+g+k,dirRecord:u.CENTRAL_FILE_HEADER+n(D,2)+E+n(b.length,2)+"\0\0\0\0"+n(A,4)+n(i,4)+g+k+b}}var o=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),u=e("../signature");function c(e,t,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(c,a),c.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return u.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,i=function(e,t,r,i,a){var s=o.transformTo("string",a(i));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(e,2)+n(e,2)+n(t,4)+n(r,4)+n(s.length,2)+s}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},c.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},c.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){var n=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var o=new i(t.streamFiles,r,t.platform,t.encodeFileName),a=0;try{e.forEach((function(e,r){a++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},l=r.dir,u=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:l,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){var n=e("./utils"),i=e("./external"),o=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function u(e){return new i.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new a(t);return r.load(e),r})).then((function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var o=0;o<n.length;o++)r.push(u(n[o]));return i.Promise.all(r)})).then((function(e){for(var i=e.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,u=n.resolve(s.fileNameStr);r.file(u,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(u).unsafeOriginalName=l)}return i.zipComment.length&&(r.comment=i.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){var n=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(o,i),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){var n=e("readable-stream").Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),r&&r(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){t.exports={isNode:void 0!==o,newBufferFrom:function(e,t){if(o.from&&o.from!==Uint8Array.from)return o.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new o(e,t)},allocBuffer:function(e){if(o.alloc)return o.alloc(e);var t=new o(e);return t.fill(0),t},isBuffer:function(e){return o.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){function n(e,t,r){var n,i=o.getTypeOf(t),s=o.extend(r||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=m(e)),s.createFolders&&(n=p(e))&&g.call(this,n,!0);var d,v="string"===i&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!v),(t instanceof u&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string"),d=t instanceof u||t instanceof a?t:h.isNode&&h.isStream(t)?new f(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var y=new c(e,d,s);this.files[e]=y}var i=e("./utf8"),o=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),u=e("./compressedObject"),c=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function v(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(v(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(v(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");o.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=d.generateWorker(this,r,n)}catch(e){(t=new a("error")).error(e)}return new s(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){var n=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){var n=e("../utils"),i=e("../support"),o=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new l(n.transformTo("uint8array",e)):new o(n.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){var n=e("./GenericWorker"),i=e("../utils");function o(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,n),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){var n=e("./GenericWorker"),i=e("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,n),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,t,r){var n=e("../utils"),i=e("./ConvertWorker"),a=e("./GenericWorker"),s=e("../base64"),l=e("../support"),u=e("../external"),c=null;if(l.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t,r){var o=t;switch(t){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=t,this._mimeType=r,n.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return function(e,t){return new u.Promise((function(r,i){var a=[],l=e._internalType,u=e._outputType,c=e._mimeType;e.on("data",(function(e,r){a.push(e),t&&t(r)})).on("error",(function(e){a=[],i(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return s.encode(t);default:return n.transformTo(e,t)}}(u,function(e,t){var r,n=0,i=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return o.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,a),c);r(e)}catch(e){i(e)}a=[]})).resume()}))}(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){n.delay(t,arguments,r)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer=void 0!==o,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),r.blob=0===i.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){for(var n=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(){a.call(this,"utf-8 decode"),this.leftOver=null}function c(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,r,n,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),o=a=0;a<l;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,o,a=e.length,l=new Array(2*a);for(t=r=0;t<a;)if((i=e[t++])<128)l[r++]=i;else if(4<(o=s[i]))l[r++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<a;)i=i<<6|63&e[t++],o--;1<o?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),n.applyFromCharCode(l)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(u,a),u.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}(t),l=t;a!==t.length&&(i.uint8array?(l=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(l=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:r.utf8decode(l),meta:e.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(c,a),c.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){var n=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),a=e("./external");function s(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function d(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=u.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return u.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function h(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=d;var f={};f.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,o.allocBuffer(e.length))}},f.array={string:d,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},f.arraybuffer={string:function(e){return d(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o.newBufferFrom(e)}},f.nodebuffer={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:s},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var n=r.getTypeOf(t);return f[n][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&o.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){c((function(){e.apply(r||null,t||[])}))},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,o,s,u){return a.Promise.resolve(t).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var c=r.getTypeOf(t);return c?("arraybuffer"===c?t=r.transformTo("uint8array",t):"string"===c&&(u?t=i.decode(t):o&&!0!==s&&(t=function(e){return l(e,n.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),a=e("./zipEntry"),s=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),l=e("./compressions"),u=e("./support");function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!n&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&n&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new i(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<u.length;d++)n.prototype[u[d]]=c;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(c),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),r=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var l=new e.MessageChannel;l.port1.onmessage=c,r=function(){l.port2.postMessage(0)}}var u=[];function c(){var e,t;n=!0;for(var r=u.length;r;){for(t=u,u=[],e=-1;++e<r;)t[e]();r=u.length}n=!1}t.exports=function(e){1!==u.push(e)||n||r()}}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){var n=e("immediate");function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function c(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function d(e,t,r){n((function(){var n;try{n=t(r)}catch(n){return o.reject(e,n)}n===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,n)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var r=!1;function n(t){r||(r=!0,o.reject(e,t))}function i(t){r||(r=!0,o.resolve(e,t))}var a=p((function(){t(i,n)}));"error"===a.status&&n(a.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=u).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var r=new this.constructor(i);return this.state!==l?d(r,this.state===s?e:t,this.outcome):this.queue.push(new c(r,e,t)),r},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r=p(h,t);if("error"===r.status)return o.reject(e,r.value);var n=r.value;if(n)f(e,n);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var a=new Array(r),s=0,l=-1,u=new this(i);++l<r;)c(e[l],l);return u;function c(e,i){t.resolve(e).then((function(e){a[i]=e,++s!==r||n||(n=!0,o.resolve(u,a))}),(function(e){n||(n=!0,o.reject(u,e))}))}},u.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,r=!1;if(!t)return this.resolve([]);for(var n,a=-1,s=new this(i);++a<t;)n=e[a],this.resolve(n).then((function(e){r||(r=!0,o.resolve(s,e))}),(function(e){r||(r=!0,o.reject(s,e))}));return s}},{immediate:36}],38:[function(e,t,r){var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){var n=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(a[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,c)))throw new Error(a[r]);this._dict_set=!0}}function c(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}u.prototype.push=function(e,t){var r,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(r=n.deflate(s,a))&&0!==r)return this.onEnd(r),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),!(s.avail_out=0))},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=u,r.deflate=c,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){var n=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(e,t){var r,s,l,u,d,h,f=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?f.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(p),f.next_out=0,f.avail_out=p),(r=n.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(h="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,h)),r===a.Z_BUF_ERROR&&!0===g&&(r=a.Z_OK,g=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&r!==a.Z_STREAM_END&&(0!==f.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(f.output,f.next_out),u=f.next_out-l,d=o.buf2string(f.output,l),f.next_out=u,f.avail_out=p-u,u&&i.arraySet(f.output,f.output,l,u,0),this.onData(d)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=d,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){var t,r,n,i,o,a;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),t=i=0,r=e.length;t<r;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,o))},r.setTyped(n)},{}],42:[function(e,t,r){var n=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",a=0;a<t;a++)r+=String.fromCharCode(e[a]);return r}a[254]=a[254]=1,r.string2buf=function(e){var t,r,i,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(l),o=a=0;a<l;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,o,s=t||e.length,u=new Array(2*s);for(r=n=0;r<s;)if((i=e[r++])<128)u[n++]=i;else if(4<(o=a[i]))u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&r<s;)i=i<<6|63&e[r++],o--;1<o?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return l(u,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){t.exports=function(e,t,r,n){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;o=o+(i=i+t[n++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16|0}},{}],44:[function(e,t,r){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var o=n,a=i+r;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,r){var n,i=e("../utils/common"),o=e("./trees"),a=e("./adler32"),s=e("./crc32"),l=e("./messages"),u=-2,c=258,d=262,h=113;function f(e,t){return e.msg=l[t],t}function p(e){return(e<<1)-(4<e?9:0)}function m(e){for(var t=e.length;0<=--t;)e[t]=0}function g(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function v(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,g(e.strm)}function y(e,t){e.pending_buf[e.pending++]=t}function b(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function _(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,u=e.window,h=e.w_mask,f=e.prev,p=e.strstart+c,m=u[o+a-1],g=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+a]===g&&u[r+a-1]===m&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do{}while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<p);if(n=c-(p-o),o=p-c,a<n){if(e.match_start=t,s<=(a=n))break;m=u[o+a-1],g=u[o+a]}}}while((t=f[t&h])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function w(e){var t,r,n,o,l,u,c,h,f,p,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-d)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=r=e.hash_size;n=e.head[--t],e.head[t]=m<=n?n-m:0,--r;);for(t=r=m;n=e.prev[--t],e.prev[t]=m<=n?n-m:0,--r;);o+=m}if(0===e.strm.avail_in)break;if(u=e.strm,c=e.window,h=e.strstart+e.lookahead,p=void 0,(f=o)<(p=u.avail_in)&&(p=f),r=0===p?0:(u.avail_in-=p,i.arraySet(c,u.input,u.next_in,p,h),1===u.state.wrap?u.adler=a(u.adler,c,p,h):2===u.state.wrap&&(u.adler=s(u.adler,c,p,h)),u.next_in+=p,u.total_in+=p,p),e.lookahead+=r,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<d&&0!==e.strm.avail_in)}function x(e,t){for(var r,n;;){if(e.lookahead<d){if(w(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-d&&(e.match_length=_(e,r)),e.match_length>=3)if(n=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}function k(e,t){for(var r,n,i;;){if(e.lookahead<d){if(w(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-d&&(e.match_length=_(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,n=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(v(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=o._tr_tally(e,0,e.window[e.strstart-1]))&&v(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}function S(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function M(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),m(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function C(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:h,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):f(e,u)}function T(e){var t=C(e);return 0===t&&function(e){e.window_size=2*e.w_size,m(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0}(e.state),t}function O(e,t,r,n,o,a){if(!e)return u;var s=1;if(-1===t&&(t=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),o<1||9<o||8!==r||n<8||15<n||t<0||9<t||a<0||4<a)return f(e,u);8===n&&(n=9);var l=new M;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=r,T(e)}n=[new S(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(w(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,v(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-d&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(v(e,!1),e.strm.avail_out),1)})),new S(4,4,8,4,x),new S(4,5,16,8,x),new S(4,6,32,32,x),new S(4,4,16,16,k),new S(8,16,32,32,k),new S(8,16,128,128,k),new S(8,32,128,256,k),new S(32,128,258,1024,k),new S(32,258,258,4096,k)],r.deflateInit=function(e,t){return O(e,t,8,15,8,0)},r.deflateInit2=O,r.deflateReset=T,r.deflateResetKeep=C,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=t,0):u},r.deflate=function(e,t){var r,i,a,l;if(!e||!e.state||5<t||t<0)return e?f(e,u):u;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return f(e,0===e.avail_out?-5:u);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,y(i,31),y(i,139),y(i,8),i.gzhead?(y(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),y(i,255&i.gzhead.time),y(i,i.gzhead.time>>8&255),y(i,i.gzhead.time>>16&255),y(i,i.gzhead.time>>24&255),y(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),y(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(y(i,255&i.gzhead.extra.length),y(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(y(i,0),y(i,0),y(i,0),y(i,0),y(i,0),y(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),y(i,3),i.status=h);else{var d=8+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=h,b(i,d),0!==i.strstart&&(b(i,e.adler>>>16),b(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending!==i.pending_buf_size));)y(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,y(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),g(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,y(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&g(e),i.pending+2<=i.pending_buf_size&&(y(i,255&e.adler),y(i,e.adler>>8&255),e.adler=0,i.status=h)):i.status=h),0!==i.pending){if(g(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&p(t)<=p(r)&&4!==t)return f(e,-5);if(666===i.status&&0!==e.avail_in)return f(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var _=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(w(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,s=e.window;;){if(e.lookahead<=c){if(w(e),e.lookahead<=c&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=e.strstart+c;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);e.match_length=c-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if(3!==_&&4!==_||(i.status=666),1===_||3===_)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===_&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(m(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),g(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(y(i,255&e.adler),y(i,e.adler>>8&255),y(i,e.adler>>16&255),y(i,e.adler>>24&255),y(i,255&e.total_in),y(i,e.total_in>>8&255),y(i,e.total_in>>16&255),y(i,e.total_in>>24&255)):(b(i,e.adler>>>16),b(i,65535&e.adler)),g(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?0:1)},r.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&t!==h&&666!==t?f(e,u):(e.state=null,t===h?f(e,-3):0):u},r.deflateSetDictionary=function(e,t){var r,n,o,s,l,c,d,h,f=t.length;if(!e||!e.state)return u;if(2===(s=(r=e.state).wrap)||1===s&&42!==r.status||r.lookahead)return u;for(1===s&&(e.adler=a(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===s&&(m(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,t,f-r.w_size,r.w_size,0),t=h,f=r.w_size),l=e.avail_in,c=e.next_in,d=e.input,e.avail_in=f,e.next_in=0,e.input=t,w(r);r.lookahead>=3;){for(n=r.strstart,o=r.lookahead-2;r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--o;);r.strstart=n,r.lookahead=2,w(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=c,e.input=d,e.avail_in=l,r.wrap=s,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){t.exports=function(e,t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,g,v,y,b,_,w,x,k,S,M,C;r=e.state,n=e.next_in,M=e.input,i=n+(e.avail_in-5),o=e.next_out,C=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,d=r.wnext,h=r.window,f=r.hold,p=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{p<15&&(f+=M[n++]<<p,p+=8,f+=M[n++]<<p,p+=8),b=m[f&v];t:for(;;){if(f>>>=_=b>>>24,p-=_,0==(_=b>>>16&255))C[o++]=65535&b;else{if(!(16&_)){if(0==(64&_)){b=m[(65535&b)+(f&(1<<_)-1)];continue t}if(32&_){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&b,(_&=15)&&(p<_&&(f+=M[n++]<<p,p+=8),w+=f&(1<<_)-1,f>>>=_,p-=_),p<15&&(f+=M[n++]<<p,p+=8,f+=M[n++]<<p,p+=8),b=g[f&y];r:for(;;){if(f>>>=_=b>>>24,p-=_,!(16&(_=b>>>16&255))){if(0==(64&_)){b=g[(65535&b)+(f&(1<<_)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&b,p<(_&=15)&&(f+=M[n++]<<p,(p+=8)<_&&(f+=M[n++]<<p,p+=8)),l<(x+=f&(1<<_)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=_,p-=_,(_=o-a)<x){if(c<(_=x-_)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=h,(k=0)===d){if(k+=u-_,_<w){for(w-=_;C[o++]=h[k++],--_;);k=o-x,S=C}}else if(d<_){if(k+=u+d-_,(_-=d)<w){for(w-=_;C[o++]=h[k++],--_;);if(k=0,d<w){for(w-=_=d;C[o++]=h[k++],--_;);k=o-x,S=C}}}else if(k+=d-_,_<w){for(w-=_;C[o++]=h[k++],--_;);k=o-x,S=C}for(;2<w;)C[o++]=S[k++],C[o++]=S[k++],C[o++]=S[k++],w-=3;w&&(C[o++]=S[k++],1<w&&(C[o++]=S[k++]))}else{for(k=o-x;C[o++]=C[k++],C[o++]=C[k++],C[o++]=C[k++],2<(w-=3););w&&(C[o++]=C[k++],1<w&&(C[o++]=C[k++]))}break}}break}}while(n<i&&o<s);n-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=o<s?s-o+257:257-(o-s),r.hold=f,r.bits=p}},{}],49:[function(e,t,r){var n=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=-2;function u(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):l}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):l}function f(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?l:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,h(e))):l}function p(e,t){var r,n;return e?(n=new c,(e.state=n).window=null,0!==(r=f(e,t))&&(e.state=null),r):l}var m,g,v=!0;function y(e){if(v){var t;for(m=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,g,0,e.work,{bits:5}),v=!1}e.lencode=m,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),i>=a.wsize?(n.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),n.arraySet(a.window,t,r-i,o,a.wnext),(i-=o)?(n.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}r.inflateReset=h,r.inflateReset2=f,r.inflateResetKeep=d,r.inflateInit=function(e){return p(e,15)},r.inflateInit2=p,r.inflate=function(e,t){var r,c,d,h,f,p,m,g,v,_,w,x,k,S,M,C,T,O,L,A,D,E,I,j,P=0,R=new n.Buf8(4),N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return l;12===(r=e.state).mode&&(r.mode=13),f=e.next_out,d=e.output,m=e.avail_out,h=e.next_in,c=e.input,p=e.avail_in,g=r.hold,v=r.bits,_=p,w=m,E=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(2&r.wrap&&35615===g){R[r.check=0]=255&g,R[1]=g>>>8&255,r.check=o(r.check,R,2,0),v=g=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(v-=4,D=8+(15&(g>>>=4)),0===r.wbits)r.wbits=D;else if(D>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<D,e.adler=r.check=1,r.mode=512&g?10:12,v=g=0;break;case 2:for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(r.flags=g,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=g>>8&1),512&r.flags&&(R[0]=255&g,R[1]=g>>>8&255,r.check=o(r.check,R,2,0)),v=g=0,r.mode=3;case 3:for(;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}r.head&&(r.head.time=g),512&r.flags&&(R[0]=255&g,R[1]=g>>>8&255,R[2]=g>>>16&255,R[3]=g>>>24&255,r.check=o(r.check,R,4,0)),v=g=0,r.mode=4;case 4:for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}r.head&&(r.head.xflags=255&g,r.head.os=g>>8),512&r.flags&&(R[0]=255&g,R[1]=g>>>8&255,r.check=o(r.check,R,2,0)),v=g=0,r.mode=5;case 5:if(1024&r.flags){for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}r.length=g,r.head&&(r.head.extra_len=g),512&r.flags&&(R[0]=255&g,R[1]=g>>>8&255,r.check=o(r.check,R,2,0)),v=g=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(p<(x=r.length)&&(x=p),x&&(r.head&&(D=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,c,h,x,D)),512&r.flags&&(r.check=o(r.check,c,x,h)),p-=x,h+=x,r.length-=x),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===p)break e;for(x=0;D=c[h+x++],r.head&&D&&r.length<65536&&(r.head.name+=String.fromCharCode(D)),D&&x<p;);if(512&r.flags&&(r.check=o(r.check,c,x,h)),p-=x,h+=x,D)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===p)break e;for(x=0;D=c[h+x++],r.head&&D&&r.length<65536&&(r.head.comment+=String.fromCharCode(D)),D&&x<p;);if(512&r.flags&&(r.check=o(r.check,c,x,h)),p-=x,h+=x,D)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;v<16;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(g!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}v=g=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}e.adler=r.check=u(g),v=g=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=f,e.avail_out=m,e.next_in=h,e.avail_in=p,r.hold=g,r.bits=v,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){g>>>=7&v,v-=7&v,r.mode=27;break}for(;v<3;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}switch(r.last=1&g,v-=1,3&(g>>>=1)){case 0:r.mode=14;break;case 1:if(y(r),r.mode=20,6!==t)break;g>>>=2,v-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,v-=2;break;case 14:for(g>>>=7&v,v-=7&v;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,v=g=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(x=r.length){if(p<x&&(x=p),m<x&&(x=m),0===x)break e;n.arraySet(d,c,h,x,f),p-=x,h+=x,m-=x,f+=x,r.length-=x;break}r.mode=12;break;case 17:for(;v<14;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(r.nlen=257+(31&g),g>>>=5,v-=5,r.ndist=1+(31&g),g>>>=5,v-=5,r.ncode=4+(15&g),g>>>=4,v-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;v<3;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}r.lens[N[r.have++]]=7&g,g>>>=3,v-=3}for(;r.have<19;)r.lens[N[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,I={bits:r.lenbits},E=s(0,r.lens,0,19,r.lencode,0,r.work,I),r.lenbits=I.bits,E){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;C=(P=r.lencode[g&(1<<r.lenbits)-1])>>>16&255,T=65535&P,!((M=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(T<16)g>>>=M,v-=M,r.lens[r.have++]=T;else{if(16===T){for(j=M+2;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(g>>>=M,v-=M,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}D=r.lens[r.have-1],x=3+(3&g),g>>>=2,v-=2}else if(17===T){for(j=M+3;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}v-=M,D=0,x=3+(7&(g>>>=M)),g>>>=3,v-=3}else{for(j=M+7;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}v-=M,D=0,x=11+(127&(g>>>=M)),g>>>=7,v-=7}if(r.have+x>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;x--;)r.lens[r.have++]=D}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,I={bits:r.lenbits},E=s(1,r.lens,0,r.nlen,r.lencode,0,r.work,I),r.lenbits=I.bits,E){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,I={bits:r.distbits},E=s(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,I),r.distbits=I.bits,E){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=p&&258<=m){e.next_out=f,e.avail_out=m,e.next_in=h,e.avail_in=p,r.hold=g,r.bits=v,a(e,w),f=e.next_out,d=e.output,m=e.avail_out,h=e.next_in,c=e.input,p=e.avail_in,g=r.hold,v=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;C=(P=r.lencode[g&(1<<r.lenbits)-1])>>>16&255,T=65535&P,!((M=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(C&&0==(240&C)){for(O=M,L=C,A=T;C=(P=r.lencode[A+((g&(1<<O+L)-1)>>O)])>>>16&255,T=65535&P,!(O+(M=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}g>>>=O,v-=O,r.back+=O}if(g>>>=M,v-=M,r.back+=M,r.length=T,0===C){r.mode=26;break}if(32&C){r.back=-1,r.mode=12;break}if(64&C){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&C,r.mode=22;case 22:if(r.extra){for(j=r.extra;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}r.length+=g&(1<<r.extra)-1,g>>>=r.extra,v-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;C=(P=r.distcode[g&(1<<r.distbits)-1])>>>16&255,T=65535&P,!((M=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(0==(240&C)){for(O=M,L=C,A=T;C=(P=r.distcode[A+((g&(1<<O+L)-1)>>O)])>>>16&255,T=65535&P,!(O+(M=P>>>24)<=v);){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}g>>>=O,v-=O,r.back+=O}if(g>>>=M,v-=M,r.back+=M,64&C){e.msg="invalid distance code",r.mode=30;break}r.offset=T,r.extra=15&C,r.mode=24;case 24:if(r.extra){for(j=r.extra;v<j;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}r.offset+=g&(1<<r.extra)-1,g>>>=r.extra,v-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===m)break e;if(x=w-m,r.offset>x){if((x=r.offset-x)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}k=x>r.wnext?(x-=r.wnext,r.wsize-x):r.wnext-x,x>r.length&&(x=r.length),S=r.window}else S=d,k=f-r.offset,x=r.length;for(m<x&&(x=m),m-=x,r.length-=x;d[f++]=S[k++],--x;);0===r.length&&(r.mode=21);break;case 26:if(0===m)break e;d[f++]=r.length,m--,r.mode=21;break;case 27:if(r.wrap){for(;v<32;){if(0===p)break e;p--,g|=c[h++]<<v,v+=8}if(w-=m,e.total_out+=w,r.total+=w,w&&(e.adler=r.check=r.flags?o(r.check,d,w,f-w):i(r.check,d,w,f-w)),w=m,(r.flags?g:u(g))!==r.check){e.msg="incorrect data check",r.mode=30;break}v=g=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;v<32;){if(0===p)break e;p--,g+=c[h++]<<v,v+=8}if(g!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}v=g=0}r.mode=29;case 29:E=1;break e;case 30:E=-3;break e;case 31:return-4;case 32:default:return l}return e.next_out=f,e.avail_out=m,e.next_in=h,e.avail_in=p,r.hold=g,r.bits=v,(r.wsize||w!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&b(e,e.output,e.next_out,w-e.avail_out)?(r.mode=31,-4):(_-=e.avail_in,w-=e.avail_out,e.total_in+=_,e.total_out+=w,r.total+=w,r.wrap&&w&&(e.adler=r.check=r.flags?o(r.check,d,w,e.next_out-w):i(r.check,d,w,e.next_out-w)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==_&&0===w||4===t)&&0===E&&(E=-5),E)},r.inflateEnd=function(e){if(!e||!e.state)return l;var t=e.state;return t.window&&(t.window=null),e.state=null,0},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?l:((r.head=t).done=!1,0):l},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?l:11===r.mode&&i(1,t,n,0)!==r.check?-3:b(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):l},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){var n=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,l,u,c,d,h){var f,p,m,g,v,y,b,_,w,x=h.bits,k=0,S=0,M=0,C=0,T=0,O=0,L=0,A=0,D=0,E=0,I=null,j=0,P=new n.Buf16(16),R=new n.Buf16(16),N=null,B=0;for(k=0;k<=15;k++)P[k]=0;for(S=0;S<l;S++)P[t[r+S]]++;for(T=x,C=15;1<=C&&0===P[C];C--);if(C<T&&(T=C),0===C)return u[c++]=20971520,u[c++]=20971520,h.bits=1,0;for(M=1;M<C&&0===P[M];M++);for(T<M&&(T=M),k=A=1;k<=15;k++)if(A<<=1,(A-=P[k])<0)return-1;if(0<A&&(0===e||1!==C))return-1;for(R[1]=0,k=1;k<15;k++)R[k+1]=R[k]+P[k];for(S=0;S<l;S++)0!==t[r+S]&&(d[R[t[r+S]]++]=S);if(y=0===e?(I=N=d,19):1===e?(I=i,j-=257,N=o,B-=257,256):(I=a,N=s,-1),k=M,v=c,L=S=E=0,m=-1,g=(D=1<<(O=T))-1,1===e&&852<D||2===e&&592<D)return 1;for(;;){for(b=k-L,w=d[S]<y?(_=0,d[S]):d[S]>y?(_=N[B+d[S]],I[j+d[S]]):(_=96,0),f=1<<k-L,M=p=1<<O;u[v+(E>>L)+(p-=f)]=b<<24|_<<16|w|0,0!==p;);for(f=1<<k-1;E&f;)f>>=1;if(0!==f?(E&=f-1,E+=f):E=0,S++,0==--P[k]){if(k===C)break;k=t[r+d[S]]}if(T<k&&(E&g)!==m){for(0===L&&(L=T),v+=M,A=1<<(O=k-L);O+L<C&&!((A-=P[O+L])<=0);)O++,A<<=1;if(D+=1<<O,1===e&&852<D||2===e&&592<D)return 1;u[m=E&g]=T<<24|O<<16|v-c|0}}return 0!==E&&(u[v+E]=k-L<<24|64<<16|0),h.bits=T,0}},{"../utils/common":41}],51:[function(e,t,r){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){var n=e("../utils/common");function i(e){for(var t=e.length;0<=--t;)e[t]=0}var o=256,a=286,s=30,l=15,u=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],h=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],f=new Array(576);i(f);var p=new Array(60);i(p);var m=new Array(512);i(m);var g=new Array(256);i(g);var v=new Array(29);i(v);var y,b,_,w=new Array(s);function x(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function k(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function S(e){return e<256?m[e]:m[256+(e>>>7)]}function M(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function C(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,M(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function T(e,t,r){C(e,r[2*t],r[2*t+1])}function O(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function L(e,t,r){var n,i,o=new Array(16),a=0;for(n=1;n<=l;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=O(o[s]++,s))}}function A(e){var t;for(t=0;t<a;t++)e.dyn_ltree[2*t]=0;for(t=0;t<s;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function D(e){8<e.bi_valid?M(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function E(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function I(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&E(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!E(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function j(e,t,r){var n,i,a,s,l=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===n?T(e,i,t):(T(e,(a=g[i])+o+1,t),0!==(s=u[a])&&C(e,i-=v[a],s),T(e,a=S(--n),r),0!==(s=c[a])&&C(e,n-=w[a],s)),l<e.last_lit;);T(e,256,t)}function P(e,t){var r,n,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<u;r++)0!==o[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,r=e.heap_len>>1;1<=r;r--)I(e,o,r);for(i=u;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],I(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,I(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,u=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,h=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(o=0;o<=l;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)m<(o=u[2*u[2*(n=e.heap[r])+1]+1]+1)&&(o=m,g++),u[2*n+1]=o,c<n||(e.bl_count[o]++,a=0,p<=n&&(a=f[n-p]),s=u[2*n],e.opt_len+=s*(o+a),h&&(e.static_len+=s*(d[2*n+1]+a)));if(0!==g){do{for(o=m-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[m]--,g-=2}while(0<g);for(o=m;0!==o;o--)for(n=e.bl_count[o];0!==n;)c<(i=e.heap[--r])||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}(e,t),L(o,c,e.bl_count)}function R(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++s<l&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=i,u=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4))}function N(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),n=0;n<=r;n++)if(i=a,a=t[2*(n+1)+1],!(++s<l&&i===a)){if(s<u)for(;T(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==o&&(T(e,i,e.bl_tree),s--),T(e,16,e.bl_tree),C(e,s-3,2)):s<=10?(T(e,17,e.bl_tree),C(e,s-3,3)):(T(e,18,e.bl_tree),C(e,s-11,7));o=i,u=(s=0)===a?(l=138,3):i===a?(l=6,3):(l=7,4)}}i(w);var B=!1;function Y(e,t,r,i){C(e,0+(i?1:0),3),function(e,t,r,i){D(e),M(e,r),M(e,~r),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r)}r._tr_init=function(e){B||(function(){var e,t,r,n,i,o=new Array(16);for(n=r=0;n<28;n++)for(v[n]=r,e=0;e<1<<u[n];e++)g[r++]=n;for(g[r-1]=n,n=i=0;n<16;n++)for(w[n]=i,e=0;e<1<<c[n];e++)m[i++]=n;for(i>>=7;n<s;n++)for(w[n]=i<<7,e=0;e<1<<c[n]-7;e++)m[256+i++]=n;for(t=0;t<=l;t++)o[t]=0;for(e=0;e<=143;)f[2*e+1]=8,e++,o[8]++;for(;e<=255;)f[2*e+1]=9,e++,o[9]++;for(;e<=279;)f[2*e+1]=7,e++,o[7]++;for(;e<=287;)f[2*e+1]=8,e++,o[8]++;for(L(f,287,o),e=0;e<s;e++)p[2*e+1]=5,p[2*e]=O(e,5);y=new x(f,u,257,a,l),b=new x(p,c,0,s,l),_=new x(new Array(0),d,0,19,7)}(),B=!0),e.l_desc=new k(e.dyn_ltree,y),e.d_desc=new k(e.dyn_dtree,b),e.bl_desc=new k(e.bl_tree,_),e.bi_buf=0,e.bi_valid=0,A(e)},r._tr_stored_block=Y,r._tr_flush_block=function(e,t,r,n){var i,a,s=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<o;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),P(e,e.l_desc),P(e,e.d_desc),s=function(e){var t;for(R(e,e.dyn_ltree,e.l_desc.max_code),R(e,e.dyn_dtree,e.d_desc.max_code),P(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*h[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?Y(e,t,r,n):4===e.strategy||a===i?(C(e,2+(n?1:0),3),j(e,f,p)):(C(e,4+(n?1:0),3),function(e,t,r,n){var i;for(C(e,t-257,5),C(e,r-1,5),C(e,n-4,4),i=0;i<n;i++)C(e,e.bl_tree[2*h[i]+1],3);N(e,e.dyn_ltree,t-1),N(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),j(e,e.dyn_ltree,e.dyn_dtree)),A(e),n&&D(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(g[r]+o+1)]++,e.dyn_dtree[2*S(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){C(e,2,3),T(e,256,f),function(e){16===e.bi_valid?(M(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,r,n){(function(e){!function(e,r){if(!e.setImmediate){var n,i,o,a,s=1,l={},u=!1,c=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,n="[object process]"==={}.toString.call(e.process)?function(e){t.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){o.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(i=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(f,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return l[s]=i,n(s),s++},d.clearImmediate=h}function h(e){delete l[e]}function f(e){if(u)setTimeout(f,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{h(e),u=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(e,r,n){(function(e){(function(){"use strict";var t=/[\\^$.*+?()[\]{}|]/g,n=RegExp(t.source),i="object"==typeof e&&e&&e.Object===Object&&e,o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")(),s=Object.prototype.toString,l=a.Symbol,u=l?l.prototype:void 0,c=u?u.toString:void 0;function d(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}r.exports=function(e){var r;return(e=null==(r=e)?"":d(r))&&n.test(e)?e.replace(t,"\\$&"):e}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],443:[function(e,r,n){(function(e){(function(){"use strict";var t="[object Arguments]",i="[object Map]",o="[object Object]",a="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,u=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,h=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,p={};p["[object Float32Array]"]=p["[object Float64Array]"]=p["[object Int8Array]"]=p["[object Int16Array]"]=p["[object Int32Array]"]=p["[object Uint8Array]"]=p["[object Uint8ClampedArray]"]=p["[object Uint16Array]"]=p["[object Uint32Array]"]=!0,p[t]=p["[object Array]"]=p["[object ArrayBuffer]"]=p["[object Boolean]"]=p["[object DataView]"]=p["[object Date]"]=p["[object Error]"]=p["[object Function]"]=p[i]=p["[object Number]"]=p[o]=p["[object RegExp]"]=p[a]=p["[object String]"]=p["[object WeakMap]"]=!1;var m="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y="object"==typeof n&&n&&!n.nodeType&&n,b=y&&"object"==typeof r&&r&&!r.nodeType&&r,_=b&&b.exports===y&&m.process,w=function(){try{return _&&_.binding("util")}catch(e){}}(),x=w&&w.isTypedArray;function k(e,t,r,n){for(var i=-1,o=e?e.length:0;++i<o;){var a=e[i];t(n,a,r(a),e)}return n}function S(e,t){for(var r=-1,n=e?e.length:0;++r<n;)if(t(e[r],r,e))return!0;return!1}function M(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function C(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function T(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var O,L,A,D=Array.prototype,E=Function.prototype,I=Object.prototype,j=v["__core-js_shared__"],P=(O=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",R=E.toString,N=I.hasOwnProperty,B=I.toString,Y=RegExp("^"+R.call(N).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=v.Symbol,z=v.Uint8Array,H=I.propertyIsEnumerable,V=D.splice,U=(L=Object.keys,A=Object,function(e){return L(A(e))}),W=Ce(v,"DataView"),$=Ce(v,"Map"),G=Ce(v,"Promise"),q=Ce(v,"Set"),X=Ce(v,"WeakMap"),K=Ce(Object,"create"),Z=je(W),J=je($),Q=je(G),ee=je(q),te=je(X),re=F?F.prototype:void 0,ne=re?re.valueOf:void 0,ie=re?re.toString:void 0;function oe(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ae(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function se(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function le(e){var t=-1,r=e?e.length:0;for(this.__data__=new se;++t<r;)this.add(e[t])}function ue(e){this.__data__=new ae(e)}function ce(e,t){var r=ze(e)||Fe(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],n=r.length,i=!!n;for(var o in e)!t&&!N.call(e,o)||i&&("length"==o||Oe(o,n))||r.push(o);return r}function de(e,t){for(var r=e.length;r--;)if(Ye(e[r][0],t))return r;return-1}function he(e,t,r,n){return me(e,(function(e,i,o){t(n,e,r(e),o)})),n}oe.prototype.clear=function(){this.__data__=K?K(null):{}},oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},oe.prototype.get=function(e){var t=this.__data__;if(K){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return N.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:N.call(t,e)},oe.prototype.set=function(e,t){return this.__data__[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this},ae.prototype.clear=function(){this.__data__=[]},ae.prototype.delete=function(e){var t=this.__data__,r=de(t,e);return!(r<0)&&(r==t.length-1?t.pop():V.call(t,r,1),!0)},ae.prototype.get=function(e){var t=this.__data__,r=de(t,e);return r<0?void 0:t[r][1]},ae.prototype.has=function(e){return de(this.__data__,e)>-1},ae.prototype.set=function(e,t){var r=this.__data__,n=de(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},se.prototype.clear=function(){this.__data__={hash:new oe,map:new($||ae),string:new oe}},se.prototype.delete=function(e){return Me(this,e).delete(e)},se.prototype.get=function(e){return Me(this,e).get(e)},se.prototype.has=function(e){return Me(this,e).has(e)},se.prototype.set=function(e,t){return Me(this,e).set(e,t),this},le.prototype.add=le.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},le.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.clear=function(){this.__data__=new ae},ue.prototype.delete=function(e){return this.__data__.delete(e)},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ae){var n=r.__data__;if(!$||n.length<199)return n.push([e,t]),this;r=this.__data__=new se(n)}return r.set(e,t),this};var fe,pe,me=(fe=function(e,t){return e&&ge(e,t,Xe)},function(e,t){if(null==e)return e;if(!He(e))return fe(e,t);for(var r=e.length,n=pe?r:-1,i=Object(e);(pe?n--:++n<r)&&!1!==t(i[n],n,i););return e}),ge=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}();function ve(e,t){for(var r=0,n=(t=Le(t,e)?[t]:ke(t)).length;null!=e&&r<n;)e=e[Ie(t[r++])];return r&&r==n?e:void 0}function ye(e,t){return null!=e&&t in Object(e)}function be(e,r,n,s,l){return e===r||(null==e||null==r||!We(e)&&!$e(r)?e!=e&&r!=r:function(e,r,n,s,l,u){var c=ze(e),d=ze(r),h="[object Array]",f="[object Array]";c||(h=(h=Te(e))==t?o:h),d||(f=(f=Te(r))==t?o:f);var p=h==o&&!M(e),m=f==o&&!M(r),g=h==f;if(g&&!p)return u||(u=new ue),c||qe(e)?Se(e,r,n,s,l,u):function(e,t,r,n,o,s,l){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!n(new z(e),new z(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ye(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var u=C;case a:var c=2&s;if(u||(u=T),e.size!=t.size&&!c)return!1;var d=l.get(e);if(d)return d==t;s|=1,l.set(e,t);var h=Se(u(e),u(t),n,o,s,l);return l.delete(e),h;case"[object Symbol]":if(ne)return ne.call(e)==ne.call(t)}return!1}(e,r,h,n,s,l,u);if(!(2&l)){var v=p&&N.call(e,"__wrapped__"),y=m&&N.call(r,"__wrapped__");if(v||y){var b=v?e.value():e,_=y?r.value():r;return u||(u=new ue),n(b,_,s,l,u)}}return!!g&&(u||(u=new ue),function(e,t,r,n,i,o){var a=2&i,s=Xe(e),l=s.length,u=Xe(t).length;if(l!=u&&!a)return!1;for(var c=l;c--;){var d=s[c];if(!(a?d in t:N.call(t,d)))return!1}var h=o.get(e);if(h&&o.get(t))return h==t;var f=!0;o.set(e,t),o.set(t,e);for(var p=a;++c<l;){d=s[c];var m=e[d],g=t[d];if(n)var v=a?n(g,m,d,t,e,o):n(m,g,d,e,t,o);if(!(void 0===v?m===g||r(m,g,n,i,o):v)){f=!1;break}p||(p="constructor"==d)}if(f&&!p){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f}(e,r,n,s,l,u))}(e,r,be,n,s,l))}function _e(e){return!(!We(e)||function(e){return!!P&&P in e}(e))&&(Ve(e)||M(e)?Y:h).test(je(e))}function we(e){return"function"==typeof e?e:null==e?Ke:"object"==typeof e?ze(e)?function(e,t){return Le(e)&&Ae(t)?De(Ie(e),t):function(r){var n=function(e,t,r){var n=null==e?void 0:ve(e,t);return void 0===n?r:n}(r,e);return void 0===n&&n===t?function(e,t){return null!=e&&function(e,t,r){t=Le(t,e)?[t]:ke(t);for(var n,i=-1,o=t.length;++i<o;){var a=Ie(t[i]);if(!(n=null!=e&&r(e,a)))break;e=e[a]}return n||!!(o=e?e.length:0)&&Ue(o)&&Oe(a,o)&&(ze(e)||Fe(e))}(e,t,ye)}(r,e):be(t,n,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=Xe(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Ae(i)]}return t}(e);return 1==t.length&&t[0][2]?De(t[0][0],t[0][1]):function(r){return r===e||function(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;for(e=Object(e);i--;){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=r[i])[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var d=new ue;if(n)var h=n(u,c,l,e,t,d);if(!(void 0===h?be(c,u,n,3,d):h))return!1}}return!0}(r,e,t)}}(e):Le(t=e)?(r=Ie(t),function(e){return null==e?void 0:e[r]}):function(e){return function(t){return ve(t,e)}}(t);var t,r}function xe(e){if(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||I,t!==n)return U(e);var t,r,n,i=[];for(var o in Object(e))N.call(e,o)&&"constructor"!=o&&i.push(o);return i}function ke(e){return ze(e)?e:Ee(e)}function Se(e,t,r,n,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=1&i?new le:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(n)var m=a?n(p,f,c,t,e,o):n(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!S(t,(function(e,t){if(!h.has(t)&&(f===e||r(f,e,n,i,o)))return h.add(t)}))){d=!1;break}}else if(f!==p&&!r(f,p,n,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Me(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function Ce(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return _e(r)?r:void 0}var Te=function(e){return B.call(e)};function Oe(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||f.test(e))&&e>-1&&e%1==0&&e<t}function Le(e,t){if(ze(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Ge(e))||l.test(e)||!s.test(e)||null!=t&&e in Object(t)}function Ae(e){return e==e&&!We(e)}function De(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}(W&&"[object DataView]"!=Te(new W(new ArrayBuffer(1)))||$&&Te(new $)!=i||G&&"[object Promise]"!=Te(G.resolve())||q&&Te(new q)!=a||X&&"[object WeakMap]"!=Te(new X))&&(Te=function(e){var t=B.call(e),r=t==o?e.constructor:void 0,n=r?je(r):void 0;if(n)switch(n){case Z:return"[object DataView]";case J:return i;case Q:return"[object Promise]";case ee:return a;case te:return"[object WeakMap]"}return t});var Ee=Be((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Ge(e))return ie?ie.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var r=[];return u.test(e)&&r.push(""),e.replace(c,(function(e,t,n,i){r.push(n?i.replace(d,"$1"):t||e)})),r}));function Ie(e){if("string"==typeof e||Ge(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function je(e){if(null!=e){try{return R.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Pe,Re,Ne=(Pe=function(e,t,r){N.call(e,r)?e[r].push(t):e[r]=[t]},function(e,t){var r=ze(e)?k:he,n=Re?Re():{};return r(e,Pe,we(t),n)});function Be(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a),a};return r.cache=new(Be.Cache||se),r}function Ye(e,t){return e===t||e!=e&&t!=t}function Fe(e){return function(e){return $e(e)&&He(e)}(e)&&N.call(e,"callee")&&(!H.call(e,"callee")||B.call(e)==t)}Be.Cache=se;var ze=Array.isArray;function He(e){return null!=e&&Ue(e.length)&&!Ve(e)}function Ve(e){var t=We(e)?B.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Ue(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function We(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $e(e){return!!e&&"object"==typeof e}function Ge(e){return"symbol"==typeof e||$e(e)&&"[object Symbol]"==B.call(e)}var qe=x?function(e){return function(t){return e(t)}}(x):function(e){return $e(e)&&Ue(e.length)&&!!p[B.call(e)]};function Xe(e){return He(e)?ce(e):xe(e)}function Ke(e){return e}r.exports=Ne}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],444:[function(e,t,r){"use strict";var n=Object.prototype.toString;t.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==n.call(e)}},{}],445:[function(e,r,n){(function(e){(function(){"use strict";var t="[object Arguments]",i="[object Map]",o="[object Object]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[t]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u[i]=u["[object Number]"]=u[o]=u["[object RegExp]"]=u[a]=u["[object String]"]=u["[object WeakMap]"]=!1;var c="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,h=c||d||Function("return this")(),f="object"==typeof n&&n&&!n.nodeType&&n,p=f&&"object"==typeof r&&r&&!r.nodeType&&r,m=p&&p.exports===f,g=m&&c.process,v=function(){try{return g&&g.binding&&g.binding("util")}catch(e){}}(),y=v&&v.isTypedArray;function b(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function _(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function w(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var x,k,S,M=Array.prototype,C=Function.prototype,T=Object.prototype,O=h["__core-js_shared__"],L=C.toString,A=T.hasOwnProperty,D=(x=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",E=T.toString,I=RegExp("^"+L.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=m?h.Buffer:void 0,P=h.Symbol,R=h.Uint8Array,N=T.propertyIsEnumerable,B=M.splice,Y=P?P.toStringTag:void 0,F=Object.getOwnPropertySymbols,z=j?j.isBuffer:void 0,H=(k=Object.keys,S=Object,function(e){return k(S(e))}),V=ve(h,"DataView"),U=ve(h,"Map"),W=ve(h,"Promise"),$=ve(h,"Set"),G=ve(h,"WeakMap"),q=ve(Object,"create"),X=we(V),K=we(U),Z=we(W),J=we($),Q=we(G),ee=P?P.prototype:void 0,te=ee?ee.valueOf:void 0;function re(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ne(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ie(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function oe(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ie;++t<r;)this.add(e[t])}function ae(e){var t=this.__data__=new ne(e);this.size=t.size}function se(e,t){var r=Se(e),n=!r&&ke(e),i=!r&&!n&&Me(e),o=!r&&!n&&!i&&Ae(e),a=r||n||i||o,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var u in e)!t&&!A.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||_e(u,l))||s.push(u);return s}function le(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1}function ue(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?function(e){var t=A.call(e,Y),r=e[Y];try{e[Y]=void 0;var n=!0}catch(e){}var i=E.call(e);return n&&(t?e[Y]=r:delete e[Y]),i}(e):function(e){return E.call(e)}(e)}function ce(e){return Le(e)&&ue(e)==t}function de(e,r,n,s,l){return e===r||(null==e||null==r||!Le(e)&&!Le(r)?e!=e&&r!=r:function(e,r,n,s,l,u){var c=Se(e),d=Se(r),h=c?"[object Array]":be(e),f=d?"[object Array]":be(r),p=(h=h==t?o:h)==o,m=(f=f==t?o:f)==o,g=h==f;if(g&&Me(e)){if(!Me(r))return!1;c=!0,p=!1}if(g&&!p)return u||(u=new ae),c||Ae(e)?pe(e,r,n,s,l,u):function(e,t,r,n,o,s,l){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new R(e),new R(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xe(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var u=_;case a:var c=1&n;if(u||(u=w),e.size!=t.size&&!c)return!1;var d=l.get(e);if(d)return d==t;n|=2,l.set(e,t);var h=pe(u(e),u(t),n,o,s,l);return l.delete(e),h;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,r,h,n,s,l,u);if(!(1&n)){var v=p&&A.call(e,"__wrapped__"),y=m&&A.call(r,"__wrapped__");if(v||y){var b=v?e.value():e,x=y?r.value():r;return u||(u=new ae),l(b,x,n,s,u)}}return!!g&&(u||(u=new ae),function(e,t,r,n,i,o){var a=1&r,s=me(e),l=s.length,u=me(t).length;if(l!=u&&!a)return!1;for(var c=l;c--;){var d=s[c];if(!(a?d in t:A.call(t,d)))return!1}var h=o.get(e);if(h&&o.get(t))return h==t;var f=!0;o.set(e,t),o.set(t,e);for(var p=a;++c<l;){d=s[c];var m=e[d],g=t[d];if(n)var v=a?n(g,m,d,t,e,o):n(m,g,d,e,t,o);if(!(void 0===v?m===g||i(m,g,r,n,o):v)){f=!1;break}p||(p="constructor"==d)}if(f&&!p){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f}(e,r,n,s,l,u))}(e,r,n,s,de,l))}function he(e){return!(!Oe(e)||function(e){return!!D&&D in e}(e))&&(Ce(e)?I:s).test(we(e))}function fe(e){if(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||T,t!==n)return H(e);var t,r,n,i=[];for(var o in Object(e))A.call(e,o)&&"constructor"!=o&&i.push(o);return i}function pe(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=2&r?new oe:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(n)var m=a?n(p,f,c,t,e,o):n(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!b(t,(function(e,t){if(a=t,!h.has(a)&&(f===e||i(f,e,r,n,o)))return h.push(t);var a}))){d=!1;break}}else if(f!==p&&!i(f,p,r,n,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function me(e){return function(e,t,r){var n=t(e);return Se(e)?n:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(n,r(e))}(e,De,ye)}function ge(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function ve(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return he(r)?r:void 0}re.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},re.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},re.prototype.get=function(e){var t=this.__data__;if(q){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return A.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:A.call(t,e)},re.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=q&&void 0===t?"__lodash_hash_undefined__":t,this},ne.prototype.clear=function(){this.__data__=[],this.size=0},ne.prototype.delete=function(e){var t=this.__data__,r=le(t,e);return!(r<0)&&(r==t.length-1?t.pop():B.call(t,r,1),--this.size,!0)},ne.prototype.get=function(e){var t=this.__data__,r=le(t,e);return r<0?void 0:t[r][1]},ne.prototype.has=function(e){return le(this.__data__,e)>-1},ne.prototype.set=function(e,t){var r=this.__data__,n=le(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},ie.prototype.clear=function(){this.size=0,this.__data__={hash:new re,map:new(U||ne),string:new re}},ie.prototype.delete=function(e){var t=ge(this,e).delete(e);return this.size-=t?1:0,t},ie.prototype.get=function(e){return ge(this,e).get(e)},ie.prototype.has=function(e){return ge(this,e).has(e)},ie.prototype.set=function(e,t){var r=ge(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},oe.prototype.add=oe.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},oe.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new ne,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ne){var n=r.__data__;if(!U||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ie(n)}return r.set(e,t),this.size=r.size,this};var ye=F?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}(F(e),(function(t){return N.call(e,t)})))}:function(){return[]},be=ue;function _e(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function we(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function xe(e,t){return e===t||e!=e&&t!=t}(V&&"[object DataView]"!=be(new V(new ArrayBuffer(1)))||U&&be(new U)!=i||W&&"[object Promise]"!=be(W.resolve())||$&&be(new $)!=a||G&&"[object WeakMap]"!=be(new G))&&(be=function(e){var t=ue(e),r=t==o?e.constructor:void 0,n=r?we(r):"";if(n)switch(n){case X:return"[object DataView]";case K:return i;case Z:return"[object Promise]";case J:return a;case Q:return"[object WeakMap]"}return t});var ke=ce(function(){return arguments}())?ce:function(e){return Le(e)&&A.call(e,"callee")&&!N.call(e,"callee")},Se=Array.isArray,Me=z||function(){return!1};function Ce(e){if(!Oe(e))return!1;var t=ue(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Te(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Le(e){return null!=e&&"object"==typeof e}var Ae=y?function(e){return function(t){return e(t)}}(y):function(e){return Le(e)&&Te(e.length)&&!!u[ue(e)]};function De(e){return null!=(t=e)&&Te(t.length)&&!Ce(t)?se(e):fe(e);var t}r.exports=function(e,t){return de(e,t)}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],446:[function(e,r,n){(function(e){(function(){"use strict";var t="object"==typeof e&&e&&e.Object===Object&&e,n="object"==typeof self&&self&&self.Object===Object&&self,i=t||n||Function("return this")(),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,l=i.Symbol,u=l?l.toStringTag:void 0;function c(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?function(e){var t=a.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[u]=r:delete e[u]),i}(e):function(e){return s.call(e)}(e)}r.exports=function(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=c(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],447:[function(e,t,r){"use strict";t.exports=function(e){return null==e}},{}],448:[function(e,t,r){"use strict";t.exports=function(e){return void 0===e}},{}],449:[function(e,r,n){(function(e){(function(){"use strict";var t=/^\[object .+?Constructor\]$/,n="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();function a(e,t){return!(!e||!e.length)&&function(e,t,r){if(t!=t)return function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,l,r);for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}(e,t,0)>-1}function s(e,t,r){for(var n=-1,i=e?e.length:0;++n<i;)if(r(t,e[n]))return!0;return!1}function l(e){return e!=e}function u(e,t){return e.has(t)}function c(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var d,h=Array.prototype,f=Function.prototype,p=Object.prototype,m=o["__core-js_shared__"],g=(d=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",v=f.toString,y=p.hasOwnProperty,b=p.toString,_=RegExp("^"+v.call(y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=h.splice,x=I(o,"Map"),k=I(o,"Set"),S=I(Object,"create");function M(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function C(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function T(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function O(e){var t=-1,r=e?e.length:0;for(this.__data__=new T;++t<r;)this.add(e[t])}function L(e,t){for(var r,n,i=e.length;i--;)if((r=e[i][0])===(n=t)||r!=r&&n!=n)return i;return-1}function A(e){return!(!j(e)||(r=e,g&&g in r))&&(function(e){var t=j(e)?b.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?_:t).test(function(e){if(null!=e){try{return v.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var r}M.prototype.clear=function(){this.__data__=S?S(null):{}},M.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},M.prototype.get=function(e){var t=this.__data__;if(S){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return y.call(t,e)?t[e]:void 0},M.prototype.has=function(e){var t=this.__data__;return S?void 0!==t[e]:y.call(t,e)},M.prototype.set=function(e,t){return this.__data__[e]=S&&void 0===t?"__lodash_hash_undefined__":t,this},C.prototype.clear=function(){this.__data__=[]},C.prototype.delete=function(e){var t=this.__data__,r=L(t,e);return!(r<0)&&(r==t.length-1?t.pop():w.call(t,r,1),!0)},C.prototype.get=function(e){var t=this.__data__,r=L(t,e);return r<0?void 0:t[r][1]},C.prototype.has=function(e){return L(this.__data__,e)>-1},C.prototype.set=function(e,t){var r=this.__data__,n=L(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},T.prototype.clear=function(){this.__data__={hash:new M,map:new(x||C),string:new M}},T.prototype.delete=function(e){return E(this,e).delete(e)},T.prototype.get=function(e){return E(this,e).get(e)},T.prototype.has=function(e){return E(this,e).has(e)},T.prototype.set=function(e,t){return E(this,e).set(e,t),this},O.prototype.add=O.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},O.prototype.has=function(e){return this.__data__.has(e)};var D=k&&1/c(new k([,-0]))[1]==1/0?function(e){return new k(e)}:function(){};function E(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function I(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return A(r)?r:void 0}function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}r.exports=function(e){return e&&e.length?function(e,t,r){var n=-1,i=a,o=e.length,l=!0,d=[],h=d;if(r)l=!1,i=s;else if(o>=200){var f=t?null:D(e);if(f)return c(f);l=!1,i=u,h=new O}else h=t?[]:d;e:for(;++n<o;){var p=e[n],m=t?t(p):p;if(p=r||0!==p?p:0,l&&m==m){for(var g=h.length;g--;)if(h[g]===m)continue e;t&&h.push(m),d.push(p)}else i(h,m,r)||(h!==d&&h.push(m),d.push(p))}return d}(e):[]}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],450:[function(e,t,r){"use strict";var n=e("inherits"),i=e("hash-base"),o=e("safe-buffer").Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,i,o,a){return l(e+(t&r|~t&n)+i+o|0,a)+t|0}function c(e,t,r,n,i,o,a){return l(e+(t&n|r&~n)+i+o|0,a)+t|0}function d(e,t,r,n,i,o,a){return l(e+(t^r^n)+i+o|0,a)+t|0}function h(e,t,r,n,i,o,a){return l(e+(r^(t|~n))+i+o|0,a)+t|0}n(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,e[0],3614090360,7),o=u(o,r,n,i,e[1],3905402710,12),i=u(i,o,r,n,e[2],606105819,17),n=u(n,i,o,r,e[3],3250441966,22),r=u(r,n,i,o,e[4],4118548399,7),o=u(o,r,n,i,e[5],1200080426,12),i=u(i,o,r,n,e[6],2821735955,17),n=u(n,i,o,r,e[7],4249261313,22),r=u(r,n,i,o,e[8],1770035416,7),o=u(o,r,n,i,e[9],2336552879,12),i=u(i,o,r,n,e[10],4294925233,17),n=u(n,i,o,r,e[11],2304563134,22),r=u(r,n,i,o,e[12],1804603682,7),o=u(o,r,n,i,e[13],4254626195,12),i=u(i,o,r,n,e[14],2792965006,17),r=c(r,n=u(n,i,o,r,e[15],1236535329,22),i,o,e[1],4129170786,5),o=c(o,r,n,i,e[6],3225465664,9),i=c(i,o,r,n,e[11],643717713,14),n=c(n,i,o,r,e[0],3921069994,20),r=c(r,n,i,o,e[5],3593408605,5),o=c(o,r,n,i,e[10],38016083,9),i=c(i,o,r,n,e[15],3634488961,14),n=c(n,i,o,r,e[4],3889429448,20),r=c(r,n,i,o,e[9],568446438,5),o=c(o,r,n,i,e[14],3275163606,9),i=c(i,o,r,n,e[3],4107603335,14),n=c(n,i,o,r,e[8],1163531501,20),r=c(r,n,i,o,e[13],2850285829,5),o=c(o,r,n,i,e[2],4243563512,9),i=c(i,o,r,n,e[7],1735328473,14),r=d(r,n=c(n,i,o,r,e[12],2368359562,20),i,o,e[5],4294588738,4),o=d(o,r,n,i,e[8],2272392833,11),i=d(i,o,r,n,e[11],1839030562,16),n=d(n,i,o,r,e[14],4259657740,23),r=d(r,n,i,o,e[1],2763975236,4),o=d(o,r,n,i,e[4],1272893353,11),i=d(i,o,r,n,e[7],4139469664,16),n=d(n,i,o,r,e[10],3200236656,23),r=d(r,n,i,o,e[13],681279174,4),o=d(o,r,n,i,e[0],3936430074,11),i=d(i,o,r,n,e[3],3572445317,16),n=d(n,i,o,r,e[6],76029189,23),r=d(r,n,i,o,e[9],3654602809,4),o=d(o,r,n,i,e[12],3873151461,11),i=d(i,o,r,n,e[15],530742520,16),r=h(r,n=d(n,i,o,r,e[2],3299628645,23),i,o,e[0],4096336452,6),o=h(o,r,n,i,e[7],1126891415,10),i=h(i,o,r,n,e[14],2878612391,15),n=h(n,i,o,r,e[5],4237533241,21),r=h(r,n,i,o,e[12],1700485571,6),o=h(o,r,n,i,e[3],2399980690,10),i=h(i,o,r,n,e[10],4293915773,15),n=h(n,i,o,r,e[1],2240044497,21),r=h(r,n,i,o,e[8],1873313359,6),o=h(o,r,n,i,e[15],4264355552,10),i=h(i,o,r,n,e[6],2734768916,15),n=h(n,i,o,r,e[13],1309151649,21),r=h(r,n,i,o,e[4],4149444226,6),o=h(o,r,n,i,e[11],3174756917,10),i=h(i,o,r,n,e[2],718787259,15),n=h(n,i,o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=s},{"hash-base":425,inherits:440,"safe-buffer":494}],451:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("brorand");function o(e){this.rand=e||new i.Rand}t.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},o.prototype.test=function(e,t,r){var i=e.bitLength(),o=n.mont(e),a=new n(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var u=e.shrn(l),c=s.toRed(o);t>0;t--){var d=this._randrange(new n(2),s);r&&r(d);var h=d.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(c)){for(var f=1;f<l;f++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(c))break}if(f===l)return!1}}return!0},o.prototype.getDivisor=function(e,t){var r=e.bitLength(),i=n.mont(e),o=new n(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var l=e.shrn(s),u=a.toRed(i);t>0;t--){var c=this._randrange(new n(2),a),d=e.gcd(c);if(0!==d.cmpn(1))return d;var h=c.toRed(i).redPow(l);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var f=1;f<s;f++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(u))break}if(f===s)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":452,brorand:187}],452:[function(e,t,r){arguments[4][184][0].apply(r,arguments)},{buffer:188,dup:184}],453:[function(e,t,r){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=n,n.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],454:[function(e,t,r){"use strict";var n=r;function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(e,t){return"hex"===t?o(e):e}},{}],455:[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(e,t,r){"use strict";var n=e("asn1.js");r.certificate=e("./certificate");var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));r.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));r.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));r.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));r.PrivateKey=l;var u=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));r.EncryptedPrivateKey=u;var c=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));r.DSAPrivateKey=c,r.DSAparam=n.define("DSAparam",(function(){this.int()}));var d=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));r.ECPrivateKey=d;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));r.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":457,"asn1.js":170}],457:[function(e,t,r){"use strict";var n=e("asn1.js"),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),l=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=n.define("RDNSequence",(function(){this.seqof(l)})),c=n.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),d=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),f=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(c),this.key("validity").use(d),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},{"asn1.js":170}],458:[function(e,t,r){"use strict";var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=e("evp_bytestokey"),s=e("browserify-aes"),l=e("safe-buffer").Buffer;t.exports=function(e,t){var r,u=e.toString(),c=u.match(n);if(c){var d="aes"+c[1],h=l.from(c[2],"hex"),f=l.from(c[3].replace(/[\r\n]/g,""),"base64"),p=a(t,h.slice(0,8),parseInt(c[1],10)).key,m=[],g=s.createDecipheriv(d,p,h);m.push(g.update(f)),m.push(g.final()),r=l.concat(m)}else{var v=u.match(o);r=l.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:r}}},{"browserify-aes":191,evp_bytestokey:423,"safe-buffer":494}],459:[function(e,t,r){"use strict";var n=e("./asn1"),i=e("./aesid.json"),o=e("./fixProc"),a=e("browserify-aes"),s=e("pbkdf2"),l=e("safe-buffer").Buffer;function u(e){var t;"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var r,u,c=o(e,t),d=c.tag,h=c.data;switch(d){case"CERTIFICATE":u=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=n.PublicKey.decode(h,"der")),r=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=n.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,d=parseInt(o.split("-")[1],10)/8,h=s.pbkdf2Sync(t,r,n,d,"sha1"),f=a.createDecipheriv(o,h,u),p=[];return p.push(f.update(c)),p.push(f.final()),l.concat(p)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(r=(u=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:n.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=n.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}t.exports=u,u.signature=n.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":191,pbkdf2:460,"safe-buffer":494}],460:[function(e,t,r){"use strict";r.pbkdf2=e("./lib/async"),r.pbkdf2Sync=e("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(e,r,n){(function(t){(function(){"use strict";var n,i,o=e("safe-buffer").Buffer,a=e("./precondition"),s=e("./default-encoding"),l=e("./sync"),u=e("./to-buffer"),c=t.crypto&&t.crypto.subtle,d={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function f(){return i||(i=t.process&&t.process.nextTick?t.process.nextTick:t.queueMicrotask?t.queueMicrotask:t.setImmediate?t.setImmediate:t.setTimeout)}function p(e,t,r,n,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return o.from(e)}))}r.exports=function(e,r,i,m,g,v){"function"==typeof g&&(v=g,g=void 0);var y=d[(g=g||"sha1").toLowerCase()];if(y&&"function"==typeof t.Promise){if(a(i,m),e=u(e,s,"Password"),r=u(r,s,"Salt"),"function"!=typeof v)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){f()((function(){t(null,e)}))}),(function(e){f()((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var r=p(n=n||o.alloc(8),n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=r,r}(y).then((function(t){return t?p(e,r,i,m,y):l(e,r,i,m,g)})),v)}else f()((function(){var t;try{t=l(e,r,i,m,g)}catch(e){return v(e)}v(null,t)}))}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,"safe-buffer":494}],462:[function(e,r,n){(function(e,t){(function(){"use strict";var n;n=t.process&&t.process.browser?"utf-8":t.process&&t.process.version?parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",r.exports=n}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467}],463:[function(e,t,r){"use strict";var n=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>n||t!=t)throw new TypeError("Bad key length")}},{}],464:[function(e,t,r){"use strict";var n=e("create-hash/md5"),i=e("ripemd160"),o=e("sha.js"),a=e("safe-buffer").Buffer,s=e("./precondition"),l=e("./default-encoding"),u=e("./to-buffer"),c=a.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,r){var s=function(e){function t(t){return o(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?n:t}(e),l="sha512"===e||"sha384"===e?128:64;t.length>l?t=s(t):t.length<l&&(t=a.concat([t,c],l));for(var u=a.allocUnsafe(l+d[e]),h=a.allocUnsafe(l+d[e]),f=0;f<l;f++)u[f]=54^t[f],h[f]=92^t[f];var p=a.allocUnsafe(l+r+4);u.copy(p,0,0,l),this.ipad1=p,this.ipad2=u,this.opad=h,this.alg=e,this.blocksize=l,this.hash=s,this.size=d[e]}h.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,n,i){s(r,n);var o=new h(i=i||"sha1",e=u(e,l,"Password"),(t=u(t,l,"Salt")).length),c=a.allocUnsafe(n),f=a.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var p=0,m=d[i],g=Math.ceil(n/m),v=1;v<=g;v++){f.writeUInt32BE(v,t.length);for(var y=o.run(f,o.ipad1),b=y,_=1;_<r;_++){b=o.run(b,o.ipad2);for(var w=0;w<m;w++)y[w]^=b[w]}y.copy(c,p),p+=m}return c}},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":387,ripemd160:493,"safe-buffer":494,"sha.js":498}],465:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer;t.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"==typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(e,t,r){(function(e){(function(){"use strict";void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this)}).call(this,e("_process"))},{_process:467}],467:[function(e,t,r){"use strict";var n,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],d=!1,h=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=l(f);d=!0;for(var t=c.length;t;){for(u=c,c=[];++h<t;)u&&u[h].run();h=-1,t=c.length}u=null,d=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new m(e,t)),1!==c.length||d||l(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],468:[function(e,t,r){"use strict";r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(e,t,r){"use strict";var n=e("create-hash"),i=e("safe-buffer").Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var r,a=i.alloc(0),s=0;a.length<t;)r=o(s++),a=i.concat([a,n("sha1").update(e).update(r).digest()]);return a.slice(0,t)}},{"create-hash":386,"safe-buffer":494}],470:[function(e,t,r){arguments[4][184][0].apply(r,arguments)},{buffer:188,dup:184}],471:[function(e,t,r){"use strict";var n=e("parse-asn1"),i=e("./mgf"),o=e("./xor"),a=e("bn.js"),s=e("browserify-rsa"),l=e("create-hash"),u=e("./withPublic"),c=e("safe-buffer").Buffer;t.exports=function(e,t,r){var d;d=e.padding?e.padding:r?1:4;var h,f=n(e),p=f.modulus.byteLength();if(t.length>p||new a(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=r?u(new a(t),f):s(t,f);var m=c.alloc(p-h.length);if(h=c.concat([m,h],p),4===d)return function(e,t){var r=e.modulus.byteLength(),n=l("sha1").update(c.alloc(0)).digest(),a=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),u=t.slice(a+1),d=o(s,i(u,a)),h=o(u,i(d,r-a-1));if(function(e,t){e=c.from(e),t=c.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));for(var i=-1;++i<n;)r+=e[i]^t[i];return r}(n,h.slice(0,a)))throw new Error("decryption error");for(var f=a;0===h[f];)f++;if(1!==h[f++])throw new Error("decryption error");return h.slice(f)}(f,h);if(1===d)return function(e,t,r){for(var n=t.slice(0,2),i=2,o=0;0!==t[i++];)if(i>=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}(0,h,r);if(3===d)return h;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,"safe-buffer":494}],472:[function(e,t,r){"use strict";var n=e("parse-asn1"),i=e("randombytes"),o=e("create-hash"),a=e("./mgf"),s=e("./xor"),l=e("bn.js"),u=e("./withPublic"),c=e("browserify-rsa"),d=e("safe-buffer").Buffer;t.exports=function(e,t,r){var h;h=e.padding?e.padding:r?1:4;var f,p=n(e);if(4===h)f=function(e,t){var r=e.modulus.byteLength(),n=t.length,u=o("sha1").update(d.alloc(0)).digest(),c=u.length,h=2*c;if(n>r-h-2)throw new Error("message too long");var f=d.alloc(r-n-h-2),p=r-c-1,m=i(c),g=s(d.concat([u,f,d.alloc(1,1),t],p),a(m,p)),v=s(m,a(g,c));return new l(d.concat([d.alloc(1),v,g],r))}(p,t);else if(1===h)f=function(e,t,r){var n,o=t.length,a=e.modulus.byteLength();if(o>a-11)throw new Error("message too long");return n=r?d.alloc(a-o-3,255):function(e){for(var t,r=d.allocUnsafe(e),n=0,o=i(2*e),a=0;n<e;)a===o.length&&(o=i(2*e),a=0),(t=o[a++])&&(r[n++]=t);return r}(a-o-3),new l(d.concat([d.from([0,r?1:2]),n,d.alloc(1),t],a))}(p,t,r);else{if(3!==h)throw new Error("unknown padding");if((f=new l(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?c(f,p):u(f,p)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("safe-buffer").Buffer;t.exports=function(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},{"bn.js":470,"safe-buffer":494}],474:[function(e,t,r){"use strict";t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},{}],475:[function(e,r,n){(function(t,n){(function(){"use strict";var i=e("safe-buffer").Buffer,o=n.crypto||n.msCrypto;o&&o.getRandomValues?r.exports=function(e,r){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(e);if(e>0)if(e>65536)for(var a=0;a<e;a+=65536)o.getRandomValues(n.slice(a,a+65536));else o.getRandomValues(n);return"function"==typeof r?t.nextTick((function(){r(null,n)})):n}:r.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,"safe-buffer":494}],476:[function(e,r,n){(function(t,r){(function(){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=e("safe-buffer"),a=e("randombytes"),s=o.Buffer,l=o.kMaxLength,u=r.crypto||r.msCrypto,c=Math.pow(2,32)-1;function d(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>l)throw new RangeError("buffer too small")}function f(e,r,n,i){if(t.browser){var o=e.buffer,s=new Uint8Array(o,r,n);return u.getRandomValues(s),i?void t.nextTick((function(){i(null,e)})):e}if(!i)return a(n).copy(e,r),e;a(n,(function(t,n){if(t)return i(t);n.copy(e,r),i(null,e)}))}u&&u.getRandomValues||!t.browser?(n.randomFill=function(e,t,n,i){if(!(s.isBuffer(e)||e instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,n=e.length;else if("function"==typeof n)i=n,n=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return d(t,e.length),h(n,t,e.length),f(e,t,n,i)},n.randomFillSync=function(e,t,n){if(void 0===t&&(t=0),!(s.isBuffer(e)||e instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return d(t,e.length),void 0===n&&(n=e.length-t),h(n,t,e.length),f(e,t,n)}):(n.randomFill=i,n.randomFillSync=i)}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(e,t,r){"use strict";var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(l," ").concat(n," ").concat(o(t,"type"))}return s+". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},{}],478:[function(e,t,r){(function(r){(function(){"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=u;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var l=a[s];u.prototype[l]||(u.prototype[l]=o.prototype[l])}function u(e){if(!(this instanceof u))return new u(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||r.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:440}],479:[function(e,t,r){"use strict";t.exports=i;var n=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}e("inherits")(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":481,inherits:440}],480:[function(e,r,n){(function(t,n){(function(){"use strict";var i;r.exports=M,M.ReadableState=S,e("events").EventEmitter;var o,a=function(e,t){return e.listeners(t).length},s=e("./internal/streams/stream"),l=e("buffer").Buffer,u=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=e("util");o=c&&c.debuglog?c.debuglog("stream"):function(){};var d,h,f,p=e("./internal/streams/buffer_list"),m=e("./internal/streams/destroy"),g=e("./internal/streams/state").getHighWaterMark,v=e("../errors").codes,y=v.ERR_INVALID_ARG_TYPE,b=v.ERR_STREAM_PUSH_AFTER_EOF,_=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(M,s);var x=m.errorOrDestroy,k=["error","close","destroy","pause","resume"];function S(t,r,n){i=i||e("./_stream_duplex"),t=t||{},"boolean"!=typeof n&&(n=r instanceof i),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=e("string_decoder/").StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function M(t){if(i=i||e("./_stream_duplex"),!(this instanceof M))return new M(t);var r=this instanceof i;this._readableState=new S(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function C(e,t,r,n,i){o("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}}(e,s);else if(i||(a=function(e,t){var r,n;return n=t,l.isBuffer(n)||n instanceof u||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t)),r}(s,t)),a)x(e,a);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n)s.endEmitted?x(e,new w):T(e,s,t,!0);else if(s.ended)x(e,new b);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?T(e,s,t,!1):D(e,s)):T(e,s,t,!1)}else n||(s.reading=!1,D(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function T(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&L(e)),D(e,t)}function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function L(e){var r=e._readableState;o("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(o("emitReadable",r.flowing),r.emittedReadable=!0,t.nextTick(A,e))}function A(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,R(e)}function D(e,r){r.readingMore||(r.readingMore=!0,t.nextTick(E,e,r))}function E(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(o("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function j(e){o("readable nexttick read 0"),e.read(0)}function P(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function B(e){var r=e._readableState;o("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,t.nextTick(Y,r,e))}function Y(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),M.prototype.destroy=m.destroy,M.prototype._undestroy=m.undestroy,M.prototype._destroy=function(e,t){t(e)},M.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=l.from(e,t),t=""),r=!0),C(this,e,t,!1,r)},M.prototype.unshift=function(e){return C(this,e,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){d||(d=e("string_decoder/").StringDecoder);var r=new d(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},M.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return o("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):L(this),null;if(0===(e=O(e,t))&&t.ended)return 0===t.length&&B(this),null;var n,i=t.needReadable;return o("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&o("length less than watermark",i=!0),t.ended||t.reading?o("reading or ended",i=!1):i&&(o("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=O(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&B(this)),null!==n&&this.emit("data",n),n},M.prototype._read=function(e){x(this,new _("_read()"))},M.prototype.pipe=function(e,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,r);var s=r&&!1===r.end||e===t.stdout||e===t.stderr?g:u;function l(t,r){o("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,o("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",l),n.removeListener("end",u),n.removeListener("end",g),n.removeListener("data",h),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){o("onend"),e.end()}i.endEmitted?t.nextTick(s):n.once("end",s),e.on("unpipe",l);var c=function(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,R(e))}}(n);e.on("drain",c);var d=!1;function h(t){o("ondata");var r=e.write(t);o("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!d&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function f(t){o("onerror",t),g(),e.removeListener("error",f),0===a(e,"error")&&x(e,t)}function p(){e.removeListener("finish",m),g()}function m(){o("onfinish"),e.removeListener("close",p),g()}function g(){o("unpipe"),n.unpipe(e)}return n.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",p),e.once("finish",m),e.emit("pipe",n),i.flowing||(o("pipe resume"),n.resume()),e},M.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},M.prototype.on=function(e,r){var n=s.prototype.on.call(this,e,r),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?L(this):i.reading||t.nextTick(j,this))),n},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(e,r){var n=s.prototype.removeListener.call(this,e,r);return"readable"===e&&t.nextTick(I,this),n},M.prototype.removeAllListeners=function(e){var r=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||t.nextTick(I,this),r},M.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,function(e,r){r.resumeScheduled||(r.resumeScheduled=!0,t.nextTick(P,e,r))}(this,e)),e.paused=!1,this},M.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},M.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(o("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){o("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<k.length;a++)e.on(k[a],this.emit.bind(this,k[a]));return this._read=function(t){o("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=e("./internal/streams/async_iterator")),h(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),M._fromList=N,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(t,r){return void 0===f&&(f=e("./internal/streams/from")),f(M,t,r)})}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,events:422,inherits:440,"string_decoder/":522,util:188}],481:[function(e,t,r){"use strict";t.exports=c;var n=e("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=e("./_stream_duplex");function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(t,r){h(e,t,r)}))}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},{"../errors":477,"./_stream_duplex":478,inherits:440}],482:[function(e,r,n){(function(t,n){(function(){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var o;r.exports=M,M.WritableState=S;var a,s={deprecate:e("util-deprecate")},l=e("./internal/streams/stream"),u=e("buffer").Buffer,c=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=e("./internal/streams/destroy"),h=e("./internal/streams/state").getHighWaterMark,f=e("../errors").codes,p=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,v=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,b=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,w=f.ERR_UNKNOWN_ENCODING,x=d.errorOrDestroy;function k(){}function S(r,n,a){o=o||e("./_stream_duplex"),r=r||{},"boolean"!=typeof a&&(a=n instanceof o),this.objectMode=!!r.objectMode,a&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=h(this,r,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===r.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,r){var n=e._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),r)!function(e,r,n,i,o){--r.pendingcb,n?(t.nextTick(o,i),t.nextTick(D,e,r),e._writableState.errorEmitted=!0,x(e,i)):(o(i),e._writableState.errorEmitted=!0,x(e,i),D(e,r))}(e,n,i,r,o);else{var a=L(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||O(e,n),i?t.nextTick(T,e,n,a,o):T(e,n,a,o)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function M(t){var r=this instanceof(o=o||e("./_stream_duplex"));if(!r&&!a.call(M,this))return new M(t);this._writableState=new S(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function C(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function T(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),D(e,t)}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,l=!0;r;)o[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;o.allBuffers=l,C(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,d=r.callback;if(C(e,t,!1,t.objectMode?1:u.length,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function L(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(r){t.pendingcb--,r&&x(e,r),t.prefinished=!0,e.emit("prefinish"),D(e,t)}))}function D(e,r){var n=L(r);if(n&&(function(e,r){r.prefinished||r.finalCalled||("function"!=typeof e._final||r.destroyed?(r.prefinished=!0,e.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,t.nextTick(A,e,r)))}(e,r),0===r.pendingcb&&(r.finished=!0,e.emit("finish"),r.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}e("inherits")(M,l),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===M&&e&&e._writableState instanceof S}})):a=function(e){return e instanceof this},M.prototype.pipe=function(){x(this,new v)},M.prototype.write=function(e,r,n){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=e,u.isBuffer(i)||i instanceof c);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=o.defaultEncoding),"function"!=typeof n&&(n=k),o.ending?function(e,r){var n=new _;x(e,n),t.nextTick(r,n)}(this,n):(s||function(e,r,n,i){var o;return null===n?o=new b:"string"==typeof n||r.objectMode||(o=new p("chunk",["string","Buffer"],n)),!o||(x(e,o),t.nextTick(i,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r)),t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,s,n,i,o);return l}(this,o,s,e,r,n)),a},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},M.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(e,t,r){r(new m("_write()"))},M.prototype._writev=null,M.prototype.end=function(e,r,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,r=null):"function"==typeof r&&(n=r,r=null),null!=e&&this.write(e,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,r,n){r.ending=!0,D(e,r),n&&(r.finished?t.nextTick(n):e.once("finish",n)),r.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),M.prototype.destroy=d.destroy,M.prototype._undestroy=d.undestroy,M.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,inherits:440,"util-deprecate":524}],483:[function(e,t,r){(function(r){(function(){"use strict";var n;function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function f(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var r=e[h].read();null!==r&&(e[c]=null,e[a]=null,e[s]=null,t(f(r,!1)))}}function m(e){r.nextTick(p,e)}var g=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(f(void 0,!0));if(this[h].destroyed)return new Promise((function(t,n){r.nextTick((function(){e[l]?n(e[l]):t(f(void 0,!0))}))}));var n,i=this[c];if(i)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[u]?r(f(void 0,!0)):t[d](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(f(o,!1));n=new Promise(this[d])}return this[c]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[h].destroy(null,(function(e){e?r(e):t(f(void 0,!0))}))}))})),n),g);t.exports=function(e){var t,r=Object.create(v,(i(t={},h,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,u,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var n=r[h].read();n?(r[c]=null,r[a]=null,r[s]=null,e(f(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[c]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[c]=null,r[a]=null,r[s]=null,t(e)),void(r[l]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(f(void 0,!0))),r[u]=!0})),e.on("readable",m.bind(null,r)),r}}).call(this)}).call(this,e("_process"))},{"./end-of-stream":486,_process:467}],484:[function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=e("buffer").Buffer,u=e("util").inspect,c=u&&u.custom||"inspect";t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t,r,n,i=l.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=i,n=a,l.prototype.copy.call(t,r,n),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return u(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},{buffer:220,util:188}],485:[function(e,t,r){(function(e){(function(){"use strict";function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))},{_process:467}],486:[function(e,t,r){"use strict";var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){s=!1,u=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,h=function(){a=!1,d=!0,s||o.call(t)},f=function(e){o.call(t,e)},p=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",c),t.on("abort",p),t.req?m():t.on("request",m)):s&&!t._writableState&&(t.on("end",l),t.on("close",l)),t.on("end",h),t.on("finish",c),!1!==r.error&&t.on("error",f),t.on("close",p),function(){t.removeListener("complete",c),t.removeListener("abort",p),t.removeListener("request",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("end",h),t.removeListener("error",f),t.removeListener("close",p)}}},{"../../../errors":477}],487:[function(e,t,r){"use strict";t.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(e,t,r){"use strict";var n,i=e("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(t,r,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=e("./end-of-stream")),n(t,{readable:r,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var l=!1;return function(e){if(!s&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function u(e){e()}function c(e,t){return e.pipe(t)}function d(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}t.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=d(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,r){var o=r<t.length-1;return l(e,o,r>0,(function(e){n||(n=e),e&&a.forEach(u),o||(a.forEach(u),i(n))}))}));return t.reduce(c)}},{"../../../errors":477,"./end-of-stream":486}],489:[function(e,t,r){"use strict";var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},{"../../../errors":477}],490:[function(e,t,r){"use strict";t.exports=e("events").EventEmitter},{events:422}],491:[function(e,t,r){"use strict";(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js"),r.finished=e("./lib/internal/streams/end-of-stream.js"),r.pipeline=e("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(e,t,r){"use strict";var n=function(e){var t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,i){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new M(i||[]);return n(a,"_invoke",{value:w(e,r,s)}),a}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&r.call(v,o)&&(m=v);var y=p.prototype=h.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var i;n(this,"_invoke",{value:function(n,o){function a(){return new t((function(i,a){!function n(i,o,a,s){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}(n,o,i,a)}))}return i=i?i.then(a,a):a()}})}function w(e,t,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return T()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=c(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function x(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var i=c(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return f.prototype=p,n(y,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new _(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),l(y,s,"Generator"),l(y,o,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;S(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}("object"==typeof t?t.exports:{});try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},{}],493:[function(e,t,r){"use strict";var n=e("buffer").Buffer,i=e("inherits"),o=e("hash-base"),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function m(e,t,r,n,i,o,a,s){return p(e+(t^r^n)+o+a|0,s)+i|0}function g(e,t,r,n,i,o,a,s){return p(e+(t&r|~t&n)+o+a|0,s)+i|0}function v(e,t,r,n,i,o,a,s){return p(e+((t|~r)^n)+o+a|0,s)+i|0}function y(e,t,r,n,i,o,a,s){return p(e+(t&n|r&~n)+o+a|0,s)+i|0}function b(e,t,r,n,i,o,a,s){return p(e+(t^(r|~n))+o+a|0,s)+i|0}i(f,o),f.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,f=0|this._e,_=0|this._a,w=0|this._b,x=0|this._c,k=0|this._d,S=0|this._e,M=0;M<80;M+=1){var C,T;M<16?(C=m(r,n,i,o,f,e[s[M]],d[0],u[M]),T=b(_,w,x,k,S,e[l[M]],h[0],c[M])):M<32?(C=g(r,n,i,o,f,e[s[M]],d[1],u[M]),T=y(_,w,x,k,S,e[l[M]],h[1],c[M])):M<48?(C=v(r,n,i,o,f,e[s[M]],d[2],u[M]),T=v(_,w,x,k,S,e[l[M]],h[2],c[M])):M<64?(C=y(r,n,i,o,f,e[s[M]],d[3],u[M]),T=g(_,w,x,k,S,e[l[M]],h[3],c[M])):(C=b(r,n,i,o,f,e[s[M]],d[4],u[M]),T=m(_,w,x,k,S,e[l[M]],h[4],c[M])),r=f,f=o,o=p(i,10),i=n,n=C,_=S,S=k,k=p(x,10),x=w,w=T}var O=this._b+i+k|0;this._b=this._c+o+S|0,this._c=this._d+f+_|0,this._d=this._e+r+w|0,this._e=this._a+n+x|0,this._a=O},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=f},{buffer:220,"hash-base":425,inherits:440}],494:[function(e,t,r){"use strict";
|
||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var n=e("buffer"),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,r),r.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},{buffer:220}],495:[function(e,t,r){(function(r){(function(){"use strict";var n,i=e("buffer"),o=i.Buffer,a={};for(n in i)i.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(a[n]=i[n]);var s=a.Buffer={};for(n in o)o.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(s[n]=o[n]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,r){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,r)}),s.alloc||(s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=o(e);return t&&0!==t.length?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!a.kStringMaxLength)try{a.kStringMaxLength=r.binding("buffer").kStringMaxLength}catch(e){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this)}).call(this,e("_process"))},{_process:467,buffer:220}],496:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n=e("xmlchars/xml/1.0/ed5"),i=e("xmlchars/xml/1.1/ed2"),o=e("xmlchars/xmlns/1.0/ed3");var a=n.isS,s=n.isChar,l=n.isNameStartChar,u=n.isNameChar,c=n.S_LIST,d=n.NAME_RE,h=i.isChar,f=o.isNCNameStartChar,p=o.isNCNameChar,m=o.NC_NAME_RE;const g="http://www.w3.org/XML/1998/namespace",v="http://www.w3.org/2000/xmlns/",y={__proto__:null,xml:g,xmlns:v},b={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},_=e=>34===e||39===e,w=[34,39],x=[...w,91,62],k=[...w,60,93],S=[61,63,...c],M=[...c,62,38,60];function C(e,t,r){switch(t){case"xml":r!==g&&e.fail(`xml prefix must be bound to ${g}.`);break;case"xmlns":r!==v&&e.fail(`xmlns prefix must be bound to ${v}.`)}switch(r){case v:e.fail(""===t?`the default namespace may not be set to ${r}.`:`may not assign a prefix (even "xmlns") to the URI ${v}.`);break;case g:switch(t){case"xml":break;case"":e.fail(`the default namespace may not be set to ${r}.`);break;default:e.fail("may not assign the xml namespace to another prefix.")}}}const T=e=>m.test(e),O=e=>d.test(e);r.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const L={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};r.SaxesParser=class{constructor(e){this.opt=null!=e?e:{},this.fragmentOpt=!!this.opt.fragment;const t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=f,this.nameCheck=p,this.isName=T,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},y);const e=this.opt.additionalNamespaces;null!=e&&(function(e,t){for(const r of Object.keys(t))C(e,r,t[r])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=l,this.nameCheck=u,this.isName=O,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var e;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:r}=this.opt;if(void 0===r){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");r="1.0"}this.setXMLVersion(r),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(b),null===(e=this.readyHandler)||void 0===e||e.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[L[e]]=t}off(e){this[L[e]]=void 0}makeError(e){var t;let r=null!==(t=this.fileName)&&void 0!==t?t:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+=`${this.line}:${this.column}`),r.length>0&&(r+=": "),new Error(r+e)}fail(e){const t=this.makeError(e),r=this.errorHandler;if(void 0===r)throw t;return r(t),this}write(e){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let t=!1;null===e?(t=!0,e=""):"object"==typeof e&&(e=e.toString()),void 0!==this.carriedFromPrevious&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let r=e.length;const n=e.charCodeAt(r-1);!t&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=e[r-1],r--,e=e.slice(0,r));const{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<r;)i[this.state].call(this);return this.chunkPosition+=r,t?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===e.charCodeAt(t+1)&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return-1;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const r=e.charCodeAt(t+1);10!==r&&133!==r||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const e=this.getCode();return-2===e?10:e}unget(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this;const{chunk:r}=this;for(;;){const n=this.getCode(),i=-2===n,o=i?10:n;if(-1===o||e.includes(o))return this.text+=r.slice(t,this.prevI),o;i&&(this.text+=r.slice(t,this.prevI)+"\n",t=this.i)}}captureToChar(e){let{i:t}=this;const{chunk:r}=this;for(;;){let n=this.getCode();switch(n){case-2:this.text+=r.slice(t,this.prevI)+"\n",t=this.i,n=10;break;case-1:return this.text+=r.slice(t),!1}if(n===e)return this.text+=r.slice(t,this.prevI),!0}}captureNameChars(){const{chunk:e,i:t}=this;for(;;){const r=this.getCode();if(-1===r)return this.name+=e.slice(t),-1;if(!u(r))return this.name+=e.slice(t,this.prevI),-2===r?10:r}}skipSpaces(){for(;;){const e=this.getCodeNorm();if(-1===e||!a(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,"1.0"===e?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=h,this.getCode=this.getCode11)}sBegin(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var e;const t=this.captureTo(x);switch(t){case 62:null===(e=this.doctypeHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(t),91===t?this.state=4:_(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){const e=this.captureTo(k);-1!==e&&(this.text+=String.fromCodePoint(e),93===e?this.state=2:60===e?this.state=6:_(e)&&(this.state=5,this.q=e))}sDTDQuoted(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){const e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang="";break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,"-"!==t&&(this.state="--"===t?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=45===e?10:8}sDTDCommentEnded(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),62===e?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),62===e&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:e}=this;const{chunk:t}=this;e:for(;;)switch(this.getCode()){case-2:this.entity+=t.slice(e,this.prevI)+"\n",e=this.i;break;case 59:{const{entityReturnState:r}=this,n=this.entity+t.slice(e,this.prevI);let i;this.state=r,""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),13===r&&void 0===this.textHandler||(this.text+=i);break e}case-1:this.entity+=t.slice(e);break e}}sOpenWaka(){const e=this.getCode();if(l(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var e;const t=this.getCodeNorm();45===t?(this.state=19,null===(e=this.commentHandler)||void 0===e||e.call(this,this.text),this.text=""):(this.text+="-"+String.fromCodePoint(t),this.state=17)}sCommentEnded(){const e=this.getCodeNorm();62!==e?(this.fail("malformed comment."),this.text+="--"+String.fromCodePoint(e),this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){const e=this.getCodeNorm();93===e?this.state=22:(this.text+="]"+String.fromCodePoint(e),this.state=20)}sCDataEnding2(){var e;const t=this.getCodeNorm();switch(t){case 62:null===(e=this.cdataHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]"+String.fromCodePoint(t),this.state=20}}sPIFirstChar(){const e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):63===e||a(e)?(this.fail("processing instruction without a target."),this.state=63===e?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){const{chunk:e,i:t}=this;for(;;){const r=this.getCodeNorm();if(-1===r)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(r)){this.piTarget+=e.slice(t,this.prevI);const n=63===r;n||a(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?33:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r));break}}}sPIBody(){if(0===this.text.length){const e=this.getCodeNorm();63===e?this.state=26:a(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var e;const t=this.getCodeNorm();if(62===t){const{piTarget:t}=this;"xml"===t.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(e=this.piHandler)||void 0===e||e.call(this,{target:t,body:this.text}),this.piTarget=this.text="",this.state=13}else 63===t?this.text+="?":(this.text+="?"+String.fromCodePoint(t),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const e=this.skipSpaces();63!==e?-1!==e&&(this.state=28,this.name=String.fromCodePoint(e)):this.state=33}sXMLDeclName(){const e=this.captureTo(S);if(63===e)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(e)||61===e){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail("expected one of "+this.xmlDeclExpects.join(", "))}this.state=61===e?30:29}}sXMLDeclEq(){const e=this.getCodeNorm();if(63===e)return this.state=33,void this.fail("XML declaration is incomplete.");a(e)||(61!==e&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const e=this.getCodeNorm();if(63===e)return this.state=33,void this.fail("XML declaration is incomplete.");a(e)||(_(e)?this.q=e:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const e=this.captureTo([this.q,63]);if(63===e)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1===e)return;const t=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=t;break;case"standalone":"yes"!==t&&"no"!==t&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name="",this.state=32}sXMLDeclSeparator(){const e=this.getCodeNorm();63!==e?(a(e)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var e;62===this.getCodeNorm()?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(e=this.xmldeclHandler)||void 0===e||e.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var e;const t=this.captureNameChars();if(-1===t)return;const r=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=r.ns=Object.create(null)),null===(e=this.openTagStartHandler)||void 0===e||e.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case 62:this.openTag();break;case 47:this.state=35;break;default:a(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const e=this.skipSpaces();-1!==e&&(l(e)?(this.unget(),this.state=37):62===e?this.openTag():47===e?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const e=this.captureNameChars();61===e?this.state=39:a(e)?this.state=38:62===e?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==e&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const e=this.skipSpaces();switch(e){case-1:return;case 61:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===e?this.openTag():l(e)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const e=this.getCodeNorm();_(e)?(this.q=e,this.state=40):a(e)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:e,chunk:t}=this;let{i:r}=this;for(;;)switch(this.getCode()){case e:return this.pushAttrib(this.name,this.text+t.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=t.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=t.slice(r,this.prevI)+" ",r=this.i;break;case 60:return this.text+=t.slice(r,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=t.slice(r))}}sAttribValueClosed(){const e=this.getCodeNorm();a(e)?this.state=36:62===e?this.openTag():47===e?this.state=35:l(e)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const e=this.captureTo(M);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===e?this.openTag():this.state=36}}sCloseTag(){const e=this.captureNameChars();62===e?this.closeTag():a(e)?this.state=44:-1!==e&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:e,forbiddenState:t}=this;const{chunk:r,textHandler:n}=this;e:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==n){const{text:t}=this,i=r.slice(e,this.prevI);0!==t.length?(n(t+i),this.text=""):0!==i.length&&n(i)}t=0;break e;case 38:this.state=14,this.entityReturnState=13,void 0!==n&&(this.text+=r.slice(e,this.prevI)),t=0;break e;case 93:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===t&&this.fail('the string "]]>" is disallowed in char data.'),t=0;break;case-2:void 0!==n&&(this.text+=r.slice(e,this.prevI)+"\n"),e=this.i,t=0;break;case-1:void 0!==n&&(this.text+=r.slice(e));break e;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this;const{chunk:t,textHandler:r}=this;let n=!1;e:for(;;){const i=this.getCode();switch(i){case 60:if(this.state=15,void 0!==r){const{text:n}=this,i=t.slice(e,this.prevI);0!==n.length?(r(n+i),this.text=""):0!==i.length&&r(i)}break e;case 38:this.state=14,this.entityReturnState=13,void 0!==r&&(this.text+=t.slice(e,this.prevI)),n=!0;break e;case-2:void 0!==r&&(this.text+=t.slice(e,this.prevI)+"\n"),e=this.i;break;case-1:void 0!==r&&(this.text+=t.slice(e));break e;default:a(i)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){var r;const{prefix:n,local:i}=this.qname(e),o={name:e,prefix:n,local:i,value:t};if(this.attribList.push(o),null===(r=this.attributeHandler)||void 0===r||r.call(this,o),"xmlns"===n){const e=t.trim();"1.0"===this.currentXMLVersion&&""===e&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[i]=e,C(this,i,e)}else if("xmlns"===e){const e=t.trim();this.topNS[""]=e,C(this,"",e)}}pushAttribPlain(e,t){var r;const n={name:e,value:t};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}end(){var e,t;this.sawRoot||this.fail("document must contain a root element.");const{tags:r}=this;for(;r.length>0;){const e=r.pop();this.fail("unclosed tag: "+e.name)}0!==this.state&&13!==this.state&&this.fail("unexpected end.");const{text:n}=this;return 0!==n.length&&(null===(e=this.textHandler)||void 0===e||e.call(this,n),this.text=""),this._closed=!0,null===(t=this.endHandler)||void 0===t||t.call(this),this._init(),this}resolve(e){var t,r;let n=this.topNS[e];if(void 0!==n)return n;const{tags:i}=this;for(let o=i.length-1;o>=0;o--)if(n=i[o].ns[e],void 0!==n)return n;return n=this.ns[e],void 0!==n?n:null===(r=(t=this.opt).resolvePrefix)||void 0===r?void 0:r.call(t,e)}qname(e){const t=e.indexOf(":");if(-1===t)return{prefix:"",local:e};const r=e.slice(t+1),n=e.slice(0,t);return(""===n||""===r||r.includes(":"))&&this.fail(`malformed name: ${e}.`),{prefix:n,local:r}}processAttribsNS(){var e;const{attribList:t}=this,r=this.tag;{const{prefix:t,local:n}=this.qname(r.name);r.prefix=t,r.local=n;const i=r.uri=null!==(e=this.resolve(t))&&void 0!==e?e:"";""!==t&&("xmlns"===t&&this.fail('tags may not have "xmlns" as prefix.'),""===i&&(this.fail(`unbound namespace prefix: ${JSON.stringify(t)}.`),r.uri=t))}if(0===t.length)return;const{attributes:n}=r,i=new Set;for(const o of t){const{name:e,prefix:t,local:r}=o;let a,s;""===t?(a="xmlns"===e?v:"",s=e):(a=this.resolve(t),void 0===a&&(this.fail(`unbound namespace prefix: ${JSON.stringify(t)}.`),a=t),s=`{${a}}${r}`),i.has(s)&&this.fail(`duplicate attribute: ${s}.`),i.add(s),o.uri=a,n[e]=o}this.attribList=[]}processAttribsPlain(){const{attribList:e}=this,t=this.tag.attributes;for(const{name:r,value:n}of e)void 0!==t[r]&&this.fail(`duplicate attribute: ${r}.`),t[r]=n;this.attribList=[]}openTag(){var e;this.processAttribs();const{tags:t}=this,r=this.tag;r.isSelfClosing=!1,null===(e=this.openTagHandler)||void 0===e||e.call(this,r),t.push(r),this.state=13,this.name=""}openSelfClosingTag(){var e,t,r;this.processAttribs();const{tags:n}=this,i=this.tag;i.isSelfClosing=!0,null===(e=this.openTagHandler)||void 0===e||e.call(this,i),null===(t=this.closeTagHandler)||void 0===t||t.call(this,i),null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=13,this.name=""}closeTag(){const{tags:e,name:t}=this;if(this.state=13,this.name="",""===t)return this.fail("weird empty close tag."),void(this.text+="</>");const r=this.closeTagHandler;let n=e.length;for(;n-- >0;){const n=this.tag=e.pop();if(this.topNS=n.ns,null==r||r(n),n.name===t)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if("#"!==e[0]){const t=this.ENTITIES[e];return void 0!==t?t:(this.fail(this.isName(e)?"undefined entity.":"disallowed character in entity name."),`&${e};`)}let t=NaN;return"x"===e[1]&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail("malformed character entity."),`&${e};`)}}},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s<o;){for(var l=a%i,u=Math.min(o-s,i-l),c=0;c<u;c++)r[l+c]=e[s+c];s+=u,(a+=u)%i==0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},{"safe-buffer":494}],498:[function(e,t,r){"use strict";var n=t.exports=function(e){e=e.toLowerCase();var t=n[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};n.sha=e("./sha"),n.sha1=e("./sha1"),n.sha224=e("./sha224"),n.sha256=e("./sha256"),n.sha384=e("./sha384"),n.sha512=e("./sha512")},{"./sha":499,"./sha1":500,"./sha224":501,"./sha256":502,"./sha384":503,"./sha512":504}],499:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<30|e>>>2}function c(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,d=0;d<16;++d)r[d]=e.readInt32BE(4*d);for(;d<80;++d)r[d]=r[d-3]^r[d-8]^r[d-14]^r[d-16];for(var h=0;h<80;++h){var f=~~(h/20),p=0|((t=n)<<5|t>>>27)+c(f,i,o,s)+l+r[h]+a[f];l=s,s=o,o=u(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],500:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,h=0;h<16;++h)r[h]=e.readInt32BE(4*h);for(;h<80;++h)r[h]=(t=r[h-3]^r[h-8]^r[h-14]^r[h-16])<<1|t>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=u(n)+d(p,i,o,s)+l+r[f]+a[p]|0;l=s,s=o,o=c(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],501:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./sha256"),o=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(64);function l(){this.init(),this._w=s,o.call(this,64,56)}n(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=l},{"./hash":497,"./sha256":502,inherits:440,"safe-buffer":494}],502:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,l=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)r[v]=e.readInt32BE(4*v);for(;v<64;++v)r[v]=0|(((t=r[v-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[v-7]+f(r[v-15])+r[v-16];for(var y=0;y<64;++y){var b=g+h(l)+u(l,p,m)+a[y]+r[y]|0,_=d(n)+c(n,i,o)|0;g=m,m=p,p=l,l=s+b|0,s=o,o=i,i=n,n=b+_|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],503:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./sha512"),o=e("./hash"),a=e("safe-buffer").Buffer,s=new Array(160);function l(){this.init(),this._w=s,o.call(this,128,112)}n(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=l},{"./hash":497,"./sha512":504,inherits:440,"safe-buffer":494}],504:[function(e,t,r){"use strict";var n=e("inherits"),i=e("./hash"),o=e("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}n(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,l=0|this._fh,y=0|this._gh,b=0|this._hh,_=0|this._al,w=0|this._bl,x=0|this._cl,k=0|this._dl,S=0|this._el,M=0|this._fl,C=0|this._gl,T=0|this._hl,O=0;O<32;O+=2)t[O]=e.readInt32BE(4*O),t[O+1]=e.readInt32BE(4*O+4);for(;O<160;O+=2){var L=t[O-30],A=t[O-30+1],D=f(L,A),E=p(A,L),I=m(L=t[O-4],A=t[O-4+1]),j=g(A,L),P=t[O-14],R=t[O-14+1],N=t[O-32],B=t[O-32+1],Y=E+R|0,F=D+P+v(Y,E)|0;F=(F=F+I+v(Y=Y+j|0,j)|0)+N+v(Y=Y+B|0,B)|0,t[O]=F,t[O+1]=Y}for(var z=0;z<160;z+=2){F=t[z],Y=t[z+1];var H=c(r,n,i),V=c(_,w,x),U=d(r,_),W=d(_,r),$=h(s,S),G=h(S,s),q=a[z],X=a[z+1],K=u(s,l,y),Z=u(S,M,C),J=T+G|0,Q=b+$+v(J,T)|0;Q=(Q=(Q=Q+K+v(J=J+Z|0,Z)|0)+q+v(J=J+X|0,X)|0)+F+v(J=J+Y|0,Y)|0;var ee=W+V|0,te=U+H+v(ee,W)|0;b=y,T=C,y=l,C=M,l=s,M=S,s=o+Q+v(S=k+J|0,k)|0,o=i,k=x,i=n,x=w,n=r,w=_,r=Q+te+v(_=J+ee|0,J)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+k|0,this._el=this._el+S|0,this._fl=this._fl+M|0,this._gl=this._gl+C|0,this._hl=this._hl+T|0,this._ah=this._ah+r+v(this._al,_)|0,this._bh=this._bh+n+v(this._bl,w)|0,this._ch=this._ch+i+v(this._cl,x)|0,this._dh=this._dh+o+v(this._dl,k)|0,this._eh=this._eh+s+v(this._el,S)|0,this._fh=this._fh+l+v(this._fl,M)|0,this._gh=this._gh+y+v(this._gl,C)|0,this._hh=this._hh+b+v(this._hl,T)|0},l.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=l},{"./hash":497,inherits:440,"safe-buffer":494}],505:[function(e,t,r){"use strict";t.exports=i;var n=e("events").EventEmitter;function i(){n.call(this)}e("inherits")(i,n),i.Readable=e("readable-stream/readable.js"),i.Writable=e("readable-stream/writable.js"),i.Duplex=e("readable-stream/duplex.js"),i.Transform=e("readable-stream/transform.js"),i.PassThrough=e("readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},{events:422,inherits:440,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],506:[function(e,t,r){"use strict";var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],507:[function(e,t,r){"use strict";t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(e,t,r){"use strict";var n=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=d;var o=Object.create(e("core-util-is"));o.inherits=e("inherits");var a=e("./_stream_readable"),s=e("./_stream_writable");o.inherits(d,a);for(var l=i(s.prototype),u=0;u<l.length;u++){var c=l[u];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":383,inherits:440,"process-nextick-args":466}],509:[function(e,t,r){"use strict";t.exports=o;var n=e("./_stream_transform"),i=Object.create(e("core-util-is"));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}i.inherits=e("inherits"),i.inherits(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":511,"core-util-is":383,inherits:440}],510:[function(e,r,n){(function(t,n){(function(){"use strict";var i=e("process-nextick-args");r.exports=b;var o,a=e("isarray");b.ReadableState=y,e("events").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=e("./internal/streams/stream"),u=e("safe-buffer").Buffer,c=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=Object.create(e("core-util-is"));d.inherits=e("inherits");var h=e("util"),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=e("./internal/streams/BufferList"),g=e("./internal/streams/destroy");d.inherits(b,l);var v=["error","close","destroy","pause","resume"];function y(t,r){t=t||{};var n=r instanceof(o=o||e("./_stream_duplex"));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function b(t){if(o=o||e("./_stream_duplex"),!(this instanceof b))return new b(t);this._readableState=new y(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function _(e,t,r,n,i){var o,a=e._readableState;return null===t?(a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,k(e)}}(e,a)):(i||(o=function(e,t){var r,n;return n=t,u.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):M(e,a)):w(e,a,t,!1))):n||(a.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function w(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&k(e)),M(e,t)}function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(S,e):S(e))}function S(e){f("emit readable"),e.emit("readable"),L(e)}function M(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){f("readable nexttick read 0"),e.read(0)}function O(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function A(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t),n}(e,t.buffer,t.decoder),r);var r}function D(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(E,t,e))}function E(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),_(this,e,t,!1,r)},b.prototype.unshift=function(e){return _(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(t){return p||(p=e("string_decoder/").StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this},b.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?D(this):k(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&D(this),null;var n,i=t.needReadable;return f("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",i=!0),t.ended||t.reading?f("reading or ended",i=!1):i&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&D(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,r){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,r);var l=r&&!1===r.end||e===t.stdout||e===t.stderr?b:c;function u(t,r){f("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",v),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",g),e.removeListener("unpipe",u),n.removeListener("end",c),n.removeListener("end",b),n.removeListener("data",m),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function c(){f("onend"),e.end()}o.endEmitted?i.nextTick(l):n.once("end",l),e.on("unpipe",u);var d=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,L(e))}}(n);e.on("drain",d);var h=!1,p=!1;function m(t){f("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==I(o.pipes,e))&&!h&&(f("false write response, pause",o.awaitDrain),o.awaitDrain++,p=!0),n.pause())}function g(t){f("onerror",t),b(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",y),b()}function y(){f("onfinish"),e.removeListener("close",v),b()}function b(){f("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",v),e.once("finish",y),e.emit("pipe",n),o.flowing||(f("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=I(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},b.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&k(this):i.nextTick(T,this))}return r},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(O,e,t))}(this,e)),this},b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(f("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){f("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<v.length;o++)e.on(v[o],this.emit.bind(this,v[o]));return this._read=function(t){f("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=A}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,events:422,inherits:440,isarray:506,"process-nextick-args":466,"safe-buffer":520,"string_decoder/":521,util:188}],511:[function(e,t,r){"use strict";t.exports=a;var n=e("./_stream_duplex"),i=Object.create(e("core-util-is"));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){l(e,t,r)})):l(this,null,null)}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=e("inherits"),i.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},{"./_stream_duplex":508,"core-util-is":383,inherits:440}],512:[function(e,r,n){(function(t,n,i){(function(){"use strict";var o=e("process-nextick-args");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}r.exports=y;var s,l=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?i:o.nextTick;y.WritableState=v;var u=Object.create(e("core-util-is"));u.inherits=e("inherits");var c,d={deprecate:e("util-deprecate")},h=e("./internal/streams/stream"),f=e("safe-buffer").Buffer,p=(void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},m=e("./internal/streams/destroy");function g(){}function v(t,r){s=s||e("./_stream_duplex"),t=t||{};var n=r instanceof s;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,u=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===t.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),S(e,t))}(e,r,n,t,i);else{var a=x(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?l(_,e,r,a,i):_(e,r,a,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(t){if(s=s||e("./_stream_duplex"),!(c.call(y,this)||this instanceof s))return new y(t);this._writableState=new v(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),h.call(this)}function b(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function _(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),S(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,l=!0;r;)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,b(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,d=r.callback;if(b(e,t,!1,t.objectMode?1:u.length,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var r=x(t);return r&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(y,h),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:d.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===y&&e&&e._writableState instanceof v}})):c=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=e,f.isBuffer(n)||n instanceof p);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=g),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,e,r))&&(i.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,r)),t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,n,i,o);return l}(this,i,s,e,t,r)),a},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||w(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,S(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,inherits:440,"process-nextick-args":466,"safe-buffer":520,timers:523,"util-deprecate":524}],513:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,o=n.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,r=o,i=s,t.copy(r,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":520,util:188}],514:[function(e,t,r){"use strict";var n=e("process-nextick-args");function i(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":466}],515:[function(e,t,r){arguments[4][490][0].apply(r,arguments)},{dup:490,events:422}],516:[function(e,t,r){"use strict";t.exports=e("./readable").PassThrough},{"./readable":517}],517:[function(e,t,r){"use strict";(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(e,t,r){"use strict";t.exports=e("./readable").Transform},{"./readable":517}],519:[function(e,t,r){"use strict";t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(e,t,r){arguments[4][217][0].apply(r,arguments)},{buffer:220,dup:217}],521:[function(e,t,r){arguments[4][218][0].apply(r,arguments)},{dup:218,"safe-buffer":520}],522:[function(e,t,r){arguments[4][218][0].apply(r,arguments)},{dup:218,"safe-buffer":494}],523:[function(e,t,r){(function(t,n){(function(){"use strict";var i=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},l=0;function u(e,t){this._id=e,this._clearFn=t}r.setTimeout=function(){return new u(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new u(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r.setImmediate="function"==typeof t?t:function(e){var t=l++,n=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,i((function(){s[t]&&(n?e.apply(null,n):e.call(null),r.clearImmediate(t))})),t},r.clearImmediate="function"==typeof n?n:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":467,timers:523}],524:[function(e,r,n){(function(e){(function(){"use strict";function t(t){try{if(!e.localStorage)return!1}catch(e){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}r.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],525:[function(e,t,r){"use strict";"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],526:[function(e,t,r){"use strict";t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],527:[function(e,r,n){(function(t,r){(function(){"use strict";var i=/%[sdj%]/g;n.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),l=n[r];r<o;l=n[++r])m(l)||!_(l)?a+=" "+l:a+=" "+s(l);return a},n.deprecate=function(e,i){if(y(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),o=!0}return e.apply(this,arguments)}};var o,a={};function s(e,t){var r={seen:[],stylize:u};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(t)?r.showHidden=t:t&&n._extend(r,t),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),c(r,e,r.depth)}function l(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function c(e,t,r){if(e.customInspect&&t&&k(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return v(i)||(i=c(e,i,r)),i}var o=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return g(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var a=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),x(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(t);if(0===a.length){if(k(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(b(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(w(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return d(t)}var u,_="",S=!1,M=["{","}"];return f(t)&&(S=!0,M=["[","]"]),k(t)&&(_=" [Function"+(t.name?": "+t.name:"")+"]"),b(t)&&(_=" "+RegExp.prototype.toString.call(t)),w(t)&&(_=" "+Date.prototype.toUTCString.call(t)),x(t)&&(_=" "+d(t)),0!==a.length||S&&0!=t.length?r<0?b(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=S?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)O(t,String(a))?o.push(h(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(e,t,r,n,i,!0))})),o}(e,t,r,s,a):a.map((function(n){return h(e,t,r,s,n,S)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,_,M)):M[0]+_+M[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),O(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=m(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function f(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function g(e){return"number"==typeof e}function v(e){return"string"==typeof e}function y(e){return void 0===e}function b(e){return _(e)&&"[object RegExp]"===S(e)}function _(e){return"object"==typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===S(e)}function x(e){return _(e)&&("[object Error]"===S(e)||e instanceof Error)}function k(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function M(e){return e<10?"0"+e.toString(10):e.toString(10)}n.debuglog=function(e){if(y(o)&&(o=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var r=t.pid;a[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else a[e]=function(){};return a[e]},n.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"},n.isArray=f,n.isBoolean=p,n.isNull=m,n.isNullOrUndefined=function(e){return null==e},n.isNumber=g,n.isString=v,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=y,n.isRegExp=b,n.isObject=_,n.isDate=w,n.isError=x,n.isFunction=k,n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("./support/isBuffer");var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var e=new Date,t=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log("%s - %s",T(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this)}).call(this,e("_process"),"undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return d.default}});var n=h(e("./v1.js")),i=h(e("./v3.js")),o=h(e("./v4.js")),a=h(e("./v5.js")),s=h(e("./nil.js")),l=h(e("./version.js")),u=h(e("./validate.js")),c=h(e("./stringify.js")),d=h(e("./parse.js"));function h(e){return e&&e.__esModule?e:{default:e}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(e,t,r){"use strict";function n(e){return 14+(e+64>>>9<<4)+1}function i(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,o,a){return i((s=i(i(t,e),i(n,a)))<<(l=o)|s>>>32-l,r);var s,l}function a(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function l(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function u(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var c=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length;for(let n=0;n<r;n+=8){const r=e[n>>5]>>>n%32&255,i=parseInt("0123456789abcdef".charAt(r>>>4&15)+"0123456789abcdef".charAt(15&r),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let r=1732584193,o=-271733879,c=-1732584194,d=271733878;for(let n=0;n<e.length;n+=16){const t=r,h=o,f=c,p=d;r=a(r,o,c,d,e[n],7,-680876936),d=a(d,r,o,c,e[n+1],12,-389564586),c=a(c,d,r,o,e[n+2],17,606105819),o=a(o,c,d,r,e[n+3],22,-1044525330),r=a(r,o,c,d,e[n+4],7,-176418897),d=a(d,r,o,c,e[n+5],12,1200080426),c=a(c,d,r,o,e[n+6],17,-1473231341),o=a(o,c,d,r,e[n+7],22,-45705983),r=a(r,o,c,d,e[n+8],7,1770035416),d=a(d,r,o,c,e[n+9],12,-1958414417),c=a(c,d,r,o,e[n+10],17,-42063),o=a(o,c,d,r,e[n+11],22,-1990404162),r=a(r,o,c,d,e[n+12],7,1804603682),d=a(d,r,o,c,e[n+13],12,-40341101),c=a(c,d,r,o,e[n+14],17,-1502002290),o=a(o,c,d,r,e[n+15],22,1236535329),r=s(r,o,c,d,e[n+1],5,-165796510),d=s(d,r,o,c,e[n+6],9,-1069501632),c=s(c,d,r,o,e[n+11],14,643717713),o=s(o,c,d,r,e[n],20,-373897302),r=s(r,o,c,d,e[n+5],5,-701558691),d=s(d,r,o,c,e[n+10],9,38016083),c=s(c,d,r,o,e[n+15],14,-660478335),o=s(o,c,d,r,e[n+4],20,-405537848),r=s(r,o,c,d,e[n+9],5,568446438),d=s(d,r,o,c,e[n+14],9,-1019803690),c=s(c,d,r,o,e[n+3],14,-187363961),o=s(o,c,d,r,e[n+8],20,1163531501),r=s(r,o,c,d,e[n+13],5,-1444681467),d=s(d,r,o,c,e[n+2],9,-51403784),c=s(c,d,r,o,e[n+7],14,1735328473),o=s(o,c,d,r,e[n+12],20,-1926607734),r=l(r,o,c,d,e[n+5],4,-378558),d=l(d,r,o,c,e[n+8],11,-2022574463),c=l(c,d,r,o,e[n+11],16,1839030562),o=l(o,c,d,r,e[n+14],23,-35309556),r=l(r,o,c,d,e[n+1],4,-1530992060),d=l(d,r,o,c,e[n+4],11,1272893353),c=l(c,d,r,o,e[n+7],16,-155497632),o=l(o,c,d,r,e[n+10],23,-1094730640),r=l(r,o,c,d,e[n+13],4,681279174),d=l(d,r,o,c,e[n],11,-358537222),c=l(c,d,r,o,e[n+3],16,-722521979),o=l(o,c,d,r,e[n+6],23,76029189),r=l(r,o,c,d,e[n+9],4,-640364487),d=l(d,r,o,c,e[n+12],11,-421815835),c=l(c,d,r,o,e[n+15],16,530742520),o=l(o,c,d,r,e[n+2],23,-995338651),r=u(r,o,c,d,e[n],6,-198630844),d=u(d,r,o,c,e[n+7],10,1126891415),c=u(c,d,r,o,e[n+14],15,-1416354905),o=u(o,c,d,r,e[n+5],21,-57434055),r=u(r,o,c,d,e[n+12],6,1700485571),d=u(d,r,o,c,e[n+3],10,-1894986606),c=u(c,d,r,o,e[n+10],15,-1051523),o=u(o,c,d,r,e[n+1],21,-2054922799),r=u(r,o,c,d,e[n+8],6,1873313359),d=u(d,r,o,c,e[n+15],10,-30611744),c=u(c,d,r,o,e[n+6],15,-1560198380),o=u(o,c,d,r,e[n+13],21,1309151649),r=u(r,o,c,d,e[n+4],6,-145523070),d=u(d,r,o,c,e[n+11],10,-1120210379),c=u(c,d,r,o,e[n+2],15,718787259),o=u(o,c,d,r,e[n+9],21,-343485551),r=i(r,t),o=i(o,h),c=i(c,f),d=i(d,p)}return[r,o,c,d]}(function(e){if(0===e.length)return[];const t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))};r.default=c},{}],530:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default="00000000-0000-0000-0000-000000000000"},{}],531:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n},o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=o},{"./validate.js":541}],532:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],533:[function(e,t,r){"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)};const i=new Uint8Array(16)},{}],534:[function(e,t,r){"use strict";function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function i(e,t){return e<<t|e>>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a);for(let n=0;n<a;++n){const t=new Uint32Array(16);for(let r=0;r<16;++r)t[r]=e[64*n+4*r]<<24|e[64*n+4*r+1]<<16|e[64*n+4*r+2]<<8|e[64*n+4*r+3];s[n]=t}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(let l=0;l<a;++l){const e=new Uint32Array(80);for(let t=0;t<16;++t)e[t]=s[l][t];for(let t=16;t<80;++t)e[t]=i(e[t-3]^e[t-8]^e[t-14]^e[t-16],1);let o=r[0],a=r[1],u=r[2],c=r[3],d=r[4];for(let r=0;r<80;++r){const s=Math.floor(r/20),l=i(o,5)+n(s,a,u,c)+d+t[s]+e[r]>>>0;d=c,c=u,u=i(a,30)>>>0,a=o,o=l}r[0]=r[0]+o>>>0,r[1]=r[1]+a>>>0,r[2]=r[2]+u>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+d>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=o},{}],535:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n};const o=[];for(let s=0;s<256;++s)o.push((s+256).toString(16).substr(1));var a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=a},{"./validate.js":541}],536:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./rng.js")),i=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}let a,s,l=0,u=0;var c=function(e,t,r){let o=t&&r||0;const c=t||new Array(16);let d=(e=e||{}).node||a,h=void 0!==e.clockseq?e.clockseq:s;if(null==d||null==h){const t=e.random||(e.rng||n.default)();null==d&&(d=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==h&&(h=s=16383&(t[6]<<8|t[7]))}let f=void 0!==e.msecs?e.msecs:Date.now(),p=void 0!==e.nsecs?e.nsecs:u+1;const m=f-l+(p-u)/1e4;if(m<0&&void 0===e.clockseq&&(h=h+1&16383),(m<0||f>l)&&void 0===e.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=f,u=p,s=h,f+=122192928e5;const g=(1e4*(268435455&f)+p)%4294967296;c[o++]=g>>>24&255,c[o++]=g>>>16&255,c[o++]=g>>>8&255,c[o++]=255&g;const v=f/4294967296*1e4&268435455;c[o++]=v>>>8&255,c[o++]=255&v,c[o++]=v>>>24&15|16,c[o++]=v>>>16&255,c[o++]=h>>>8|128,c[o++]=255&h;for(let n=0;n<6;++n)c[o+n]=d[n];return t||(0,i.default)(c)};r.default=c},{"./rng.js":533,"./stringify.js":535}],537:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),i=o(e("./md5.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,i.default);r.default=a},{"./md5.js":529,"./v35.js":538}],538:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){function o(e,o,a,s){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof o&&(o=(0,i.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+e.length);if(l.set(o),l.set(e,o.length),l=r(l),l[6]=15&l[6]|t,l[8]=63&l[8]|128,a){s=s||0;for(let e=0;e<16;++e)a[s+e]=l[e];return a}return(0,n.default)(l)}try{o.name=e}catch(e){}return o.DNS=a,o.URL=s,o},r.URL=r.DNS=void 0;var n=o(e("./stringify.js")),i=o(e("./parse.js"));function o(e){return e&&e.__esModule?e:{default:e}}const a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";r.DNS=a;const s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";r.URL=s},{"./parse.js":531,"./stringify.js":535}],539:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./rng.js")),i=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,r){const o=(e=e||{}).random||(e.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return(0,i.default)(o)};r.default=a},{"./rng.js":533,"./stringify.js":535}],540:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),i=o(e("./sha1.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v5",80,i.default);r.default=a},{"./sha1.js":534,"./v35.js":538}],541:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./regex.js"))&&n.__esModule?n:{default:n},o=function(e){return"string"==typeof e&&i.default.test(e)};r.default=o},{"./regex.js":532}],542:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n},o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};r.default=o},{"./validate.js":541}],543:[function(e,t,r){"use strict";
|
||
/**
|
||
* Character classes and associated utilities for the 5th edition of XML 1.0.
|
||
*
|
||
* @author Louis-Dominique Dubeau
|
||
* @license MIT
|
||
* @copyright Louis-Dominique Dubeau
|
||
*/function n(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.CHAR="\t\n\r --<2D>𐀀-",r.S=" \t\r\n",r.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-<2D>𐀀-",r.NAME_CHAR="-"+r.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",r.CHAR_RE=new RegExp("^["+r.CHAR+"]$","u"),r.S_RE=new RegExp("^["+r.S+"]+$","u"),r.NAME_START_CHAR_RE=new RegExp("^["+r.NAME_START_CHAR+"]$","u"),r.NAME_CHAR_RE=new RegExp("^["+r.NAME_CHAR+"]$","u"),r.NAME_RE=new RegExp("^["+r.NAME_START_CHAR+"]["+r.NAME_CHAR+"]*$","u"),r.NMTOKEN_RE=new RegExp("^["+r.NAME_CHAR+"]+$","u"),r.S_LIST=[32,10,13,9],r.isChar=function(e){return e>=32&&e<=55295||10===e||13===e||9===e||e>=57344&&e<=65533||e>=65536&&e<=1114111},r.isS=function(e){return 32===e||10===e||13===e||9===e},r.isNameStartChar=n,r.isNameChar=function(e){return n(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}],544:[function(e,t,r){"use strict";
|
||
/**
|
||
* Character classes and associated utilities for the 2nd edition of XML 1.1.
|
||
*
|
||
* @author Louis-Dominique Dubeau
|
||
* @license MIT
|
||
* @copyright Louis-Dominique Dubeau
|
||
*/function n(e){return e>=65&&e<=90||e>=97&&e<=122||58===e||95===e||8204===e||8205===e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.CHAR="--<2D>𐀀-",r.RESTRICTED_CHAR="-\b\v\f---",r.S=" \t\r\n",r.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-<2D>𐀀-",r.NAME_CHAR="-"+r.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",r.CHAR_RE=new RegExp("^["+r.CHAR+"]$","u"),r.RESTRICTED_CHAR_RE=new RegExp("^["+r.RESTRICTED_CHAR+"]$","u"),r.S_RE=new RegExp("^["+r.S+"]+$","u"),r.NAME_START_CHAR_RE=new RegExp("^["+r.NAME_START_CHAR+"]$","u"),r.NAME_CHAR_RE=new RegExp("^["+r.NAME_CHAR+"]$","u"),r.NAME_RE=new RegExp("^["+r.NAME_START_CHAR+"]["+r.NAME_CHAR+"]*$","u"),r.NMTOKEN_RE=new RegExp("^["+r.NAME_CHAR+"]+$","u"),r.S_LIST=[32,10,13,9],r.isChar=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},r.isRestrictedChar=function(e){return e>=1&&e<=8||11===e||12===e||e>=14&&e<=31||e>=127&&e<=132||e>=134&&e<=159},r.isCharAndNotRestricted=function(e){return 9===e||10===e||13===e||e>31&&e<127||133===e||e>159&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},r.isS=function(e){return 32===e||10===e||13===e||9===e},r.isNameStartChar=n,r.isNameChar=function(e){return n(e)||e>=48&&e<=57||45===e||46===e||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}],545:[function(e,t,r){"use strict";
|
||
/**
|
||
* Character class utilities for XML NS 1.0 edition 3.
|
||
*
|
||
* @author Louis-Dominique Dubeau
|
||
* @license MIT
|
||
* @copyright Louis-Dominique Dubeau
|
||
*/function n(e){return e>=65&&e<=90||95===e||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>𐀀-",r.NC_NAME_CHAR="-"+r.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",r.NC_NAME_START_CHAR_RE=new RegExp("^["+r.NC_NAME_START_CHAR+"]$","u"),r.NC_NAME_CHAR_RE=new RegExp("^["+r.NC_NAME_CHAR+"]$","u"),r.NC_NAME_RE=new RegExp("^["+r.NC_NAME_START_CHAR+"]["+r.NC_NAME_CHAR+"]*$","u"),r.isNCNameStartChar=n,r.isNCNameChar=function(e){return n(e)||45===e||46===e||e>=48&&e<=57||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},{}]},{},[15])(15)}))}).call(this,r("24aa"))},e956:function(e,t,r){"use strict";var n=r("5ca1"),i=r("c45f"),o=r("4bf8"),a=r("9def"),s=r("d8e8"),l=r("cd1c");n(n.P,"Array",{flatMap:function(e){var t,r,n=o(this);return s(e),t=a(n.length),r=l(n,0),i(r,n,n,t,0,1,e,arguments[1]),r}}),r("9c6c")("flatMap")},e9d2:function(e,t){e.exports=Math.scale||function(e,t,r,n,i){return 0===arguments.length||e!=e||t!=t||r!=r||n!=n||i!=i?NaN:e===1/0||e===-1/0?e:(e-t)*(i-n)/(r-t)+n}},ead6:function(e,t,r){var n=r("f772"),i=r("e4ae"),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r("d864")(Function.call,r("bf0b").f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},eb53:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=n(r("a34a")),o=n(r("c973")),a=n(r("7037")),s=n(r("448a")),l=n(r("970b")),u=n(r("d0b5")),c=n(r("8f47")),d=r("5557"),h=function e(t,r){(0,l["default"])(this,e),r=(0,d.deepClone)(r,!0);var n={visible:!0,drag:!1,hover:!1,index:1,animationDelay:0,animationFrame:30,animationCurve:"linear",animationPause:!1,hoverRect:null,mouseEnter:null,mouseOuter:null,click:null},i={status:"static",animationRoot:[],animationKeys:[],animationFrameState:[],cache:{}};r.shape||(r.shape={}),r.style||(r.style={});var o=Object.assign({},t.shape,r.shape);Object.assign(n,r,i),Object.assign(this,t,n),this.shape=o,this.style=new u["default"](r.style),this.addedProcessor()};function f(e){return new Promise((function(t){setTimeout(t,e)}))}t["default"]=h,h.prototype.addedProcessor=function(){"function"===typeof this.setGraphCenter&&this.setGraphCenter(null,this),"function"===typeof this.added&&this.added(this)},h.prototype.drawProcessor=function(e,t){var r=e.ctx;t.style.initStyle(r),"function"===typeof this.beforeDraw&&this.beforeDraw(this,e),t.draw(e,t),"function"===typeof this.drawed&&this.drawed(this,e),t.style.restoreTransform(r)},h.prototype.hoverCheckProcessor=function(e,t){var r=t.hoverRect,n=t.style,i=t.hoverCheck,o=n.graphCenter,a=n.rotate,l=n.scale,u=n.translate;return o&&(a&&(e=(0,d.getRotatePointPos)(-a,e,o)),l&&(e=(0,d.getScalePointPos)(l.map((function(e){return 1/e})),e,o)),u&&(e=(0,d.getTranslatePointPos)(u.map((function(e){return-1*e})),e))),r?d.checkPointIsInRect.apply(void 0,[e].concat((0,s["default"])(r))):i(e,this)},h.prototype.moveProcessor=function(e){this.move(e,this),"function"===typeof this.beforeMove&&this.beforeMove(e,this),"function"===typeof this.setGraphCenter&&this.setGraphCenter(e,this),"function"===typeof this.moved&&this.moved(e,this)},h.prototype.attr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!e||void 0===t)return!1;var r="object"===(0,a["default"])(this[e]);r&&(t=(0,d.deepClone)(t,!0));var n=this.render;"style"===e?this.style.update(t):r?Object.assign(this[e],t):this[e]=t,"index"===e&&n.sortGraphsByIndex(),n.drawAllGraph()},h.prototype.animation=function(){var e=(0,o["default"])(i["default"].mark((function e(t,r){var n,a,s,l,u,h,p,m,g,v=arguments;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=v.length>2&&void 0!==v[2]&&v[2],"shape"===t||"style"===t){e.next=4;break}return console.error("Only supported shape and style animation!"),e.abrupt("return");case 4:if(r=(0,d.deepClone)(r,!0),"style"===t&&this.style.colorProcessor(r),a=this[t],s=Object.keys(r),l={},s.forEach((function(e){return l[e]=a[e]})),u=this.animationFrame,h=this.animationCurve,p=this.animationDelay,m=(0,c["default"])(h,l,r,u,!0),this.animationRoot.push(a),this.animationKeys.push(s),this.animationFrameState.push(m),!n){e.next=17;break}return e.abrupt("return");case 17:if(!(p>0)){e.next=20;break}return e.next=20,f(p);case 20:return g=this.render,e.abrupt("return",new Promise(function(){var e=(0,o["default"])(i["default"].mark((function e(t){return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,g.launchAnimation();case 2:t();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 22:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),h.prototype.turnNextAnimationFrame=function(e){var t=this.animationDelay,r=this.animationRoot,n=this.animationKeys,i=this.animationFrameState,o=this.animationPause;o||Date.now()-e<t||(r.forEach((function(e,t){n[t].forEach((function(r){e[r]=i[t][0][r]}))})),i.forEach((function(e,t){e.shift();var i=0===e.length;i&&(r[t]=null),i&&(n[t]=null)})),this.animationFrameState=i.filter((function(e){return e.length})),this.animationRoot=r.filter((function(e){return e})),this.animationKeys=n.filter((function(e){return e})))},h.prototype.animationEnd=function(){var e=this.animationFrameState,t=this.animationKeys,r=this.animationRoot,n=this.render;return r.forEach((function(r,n){var i=t[n],o=e[n].pop();i.forEach((function(e){return r[e]=o[e]}))})),this.animationFrameState=[],this.animationKeys=[],this.animationRoot=[],n.drawAllGraph()},h.prototype.pauseAnimation=function(){this.attr("animationPause",!0)},h.prototype.playAnimation=function(){var e=this.render;return this.attr("animationPause",!1),new Promise(function(){var t=(0,o["default"])(i["default"].mark((function t(r){return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.launchAnimation();case 2:r();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},h.prototype.delProcessor=function(e){var t=this,r=e.graphs,n=r.findIndex((function(e){return e===t}));-1!==n&&("function"===typeof this.beforeDelete&&this.beforeDelete(this),r.splice(n,1,null),"function"===typeof this.deleted&&this.deleted(this))}},ebd6:function(e,t,r){var n=r("cb7c"),i=r("d8e8"),o=r("2b4c")("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},ebde:function(e,t,r){var n=r("11e9"),i=r("5ca1"),o=r("cb7c");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return n.f(o(e),t)}})},ebe4:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},ebfd:function(e,t,r){var n=r("62a0")("meta"),i=r("f772"),o=r("07e3"),a=r("d9f6").f,s=0,l=Object.isExtensible||function(){return!0},u=!r("294c")((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[n].i},h=function(e,t){if(!o(e,n)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[n].w},f=function(e){return u&&p.NEED&&l(e)&&!o(e,n)&&c(e),e},p=e.exports={KEY:n,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},ec18:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
function t(e,t,r,n){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[r][2]?i[r][2]:i[r][1]:n?i[r][0]:i[r][1]}var r=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},ec2e:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:0,doy:6}});return t}))},ec30:function(e,t,r){"use strict";if(r("9e1e")){var n=r("2d00"),i=r("7726"),o=r("79e5"),a=r("5ca1"),s=r("0f88"),l=r("ed0b"),u=r("9b43"),c=r("f605"),d=r("4630"),h=r("32e9"),f=r("dcbc"),p=r("4588"),m=r("9def"),g=r("09fa"),v=r("77f1"),y=r("6a99"),b=r("69a8"),_=r("23c6"),w=r("d3f4"),x=r("4bf8"),k=r("33a4"),S=r("2aeb"),M=r("38fd"),C=r("9093").f,T=r("27ee"),O=r("ca5a"),L=r("2b4c"),A=r("0a49"),D=r("c366"),E=r("ebd6"),I=r("cadf"),j=r("84f2"),P=r("5cc5"),R=r("7a56"),N=r("36bd"),B=r("ba92"),Y=r("86cc"),F=r("11e9"),z=Y.f,H=F.f,V=i.RangeError,U=i.TypeError,W=i.Uint8Array,$="ArrayBuffer",G="Shared"+$,q="BYTES_PER_ELEMENT",X="prototype",K=Array[X],Z=l.ArrayBuffer,J=l.DataView,Q=A(0),ee=A(2),te=A(3),re=A(4),ne=A(5),ie=A(6),oe=D(!0),ae=D(!1),se=I.values,le=I.keys,ue=I.entries,ce=K.lastIndexOf,de=K.reduce,he=K.reduceRight,fe=K.join,pe=K.sort,me=K.slice,ge=K.toString,ve=K.toLocaleString,ye=L("iterator"),be=L("toStringTag"),_e=O("typed_constructor"),we=O("def_constructor"),xe=s.CONSTR,ke=s.TYPED,Se=s.VIEW,Me="Wrong length!",Ce=A(1,(function(e,t){return De(E(e,e[we]),t)})),Te=o((function(){return 1===new W(new Uint16Array([1]).buffer)[0]})),Oe=!!W&&!!W[X].set&&o((function(){new W(1).set({})})),Le=function(e,t){var r=p(e);if(r<0||r%t)throw V("Wrong offset!");return r},Ae=function(e){if(w(e)&&ke in e)return e;throw U(e+" is not a typed array!")},De=function(e,t){if(!w(e)||!(_e in e))throw U("It is not a typed array constructor!");return new e(t)},Ee=function(e,t){return Ie(E(e,e[we]),t)},Ie=function(e,t){var r=0,n=t.length,i=De(e,n);while(n>r)i[r]=t[r++];return i},je=function(e,t,r){z(e,t,{get:function(){return this._d[r]}})},Pe=function(e){var t,r,n,i,o,a,s=x(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,h=T(s);if(void 0!=h&&!k(h)){for(a=h.call(s),n=[],t=0;!(o=a.next()).done;t++)n.push(o.value);s=n}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,r=m(s.length),i=De(this,r);r>t;t++)i[t]=d?c(s[t],t):s[t];return i},Re=function(){var e=0,t=arguments.length,r=De(this,t);while(t>e)r[e]=arguments[e++];return r},Ne=!!W&&o((function(){ve.call(new W(1))})),Be=function(){return ve.apply(Ne?me.call(Ae(this)):Ae(this),arguments)},Ye={copyWithin:function(e,t){return B.call(Ae(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return re(Ae(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return N.apply(Ae(this),arguments)},filter:function(e){return Ee(this,ee(Ae(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ne(Ae(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ie(Ae(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Q(Ae(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(Ae(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return oe(Ae(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return fe.apply(Ae(this),arguments)},lastIndexOf:function(e){return ce.apply(Ae(this),arguments)},map:function(e){return Ce(Ae(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(Ae(this),arguments)},reduceRight:function(e){return he.apply(Ae(this),arguments)},reverse:function(){var e,t=this,r=Ae(t).length,n=Math.floor(r/2),i=0;while(i<n)e=t[i],t[i++]=t[--r],t[r]=e;return t},some:function(e){return te(Ae(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return pe.call(Ae(this),e)},subarray:function(e,t){var r=Ae(this),n=r.length,i=v(e,n);return new(E(r,r[we]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,m((void 0===t?n:v(t,n))-i))}},Fe=function(e,t){return Ee(this,me.call(Ae(this),e,t))},ze=function(e){Ae(this);var t=Le(arguments[1],1),r=this.length,n=x(e),i=m(n.length),o=0;if(i+t>r)throw V(Me);while(o<i)this[t+o]=n[o++]},He={entries:function(){return ue.call(Ae(this))},keys:function(){return le.call(Ae(this))},values:function(){return se.call(Ae(this))}},Ve=function(e,t){return w(e)&&e[ke]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ue=function(e,t){return Ve(e,t=y(t,!0))?d(2,e[t]):H(e,t)},We=function(e,t,r){return!(Ve(e,t=y(t,!0))&&w(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?z(e,t,r):(e[t]=r.value,e)};xe||(F.f=Ue,Y.f=We),a(a.S+a.F*!xe,"Object",{getOwnPropertyDescriptor:Ue,defineProperty:We}),o((function(){ge.call({})}))&&(ge=ve=function(){return fe.call(this)});var $e=f({},Ye);f($e,He),h($e,ye,He.values),f($e,{slice:Fe,set:ze,constructor:function(){},toString:ge,toLocaleString:Be}),je($e,"buffer","b"),je($e,"byteOffset","o"),je($e,"byteLength","l"),je($e,"length","e"),z($e,be,{get:function(){return this[ke]}}),e.exports=function(e,t,r,l){l=!!l;var u=e+(l?"Clamped":"")+"Array",d="get"+e,f="set"+e,p=i[u],v=p||{},y=p&&M(p),b=!p||!s.ABV,x={},k=p&&p[X],T=function(e,r){var n=e._d;return n.v[d](r*t+n.o,Te)},O=function(e,r,n){var i=e._d;l&&(n=(n=Math.round(n))<0?0:n>255?255:255&n),i.v[f](r*t+i.o,n,Te)},L=function(e,t){z(e,t,{get:function(){return T(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};b?(p=r((function(e,r,n,i){c(e,p,u,"_d");var o,a,s,l,d=0,f=0;if(w(r)){if(!(r instanceof Z||(l=_(r))==$||l==G))return ke in r?Ie(p,r):Pe.call(p,r);o=r,f=Le(n,t);var v=r.byteLength;if(void 0===i){if(v%t)throw V(Me);if(a=v-f,a<0)throw V(Me)}else if(a=m(i)*t,a+f>v)throw V(Me);s=a/t}else s=g(r),a=s*t,o=new Z(a);h(e,"_d",{b:o,o:f,l:a,e:s,v:new J(o)});while(d<s)L(e,d++)})),k=p[X]=S($e),h(k,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&P((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=r((function(e,r,n,i){var o;return c(e,p,u),w(r)?r instanceof Z||(o=_(r))==$||o==G?void 0!==i?new v(r,Le(n,t),i):void 0!==n?new v(r,Le(n,t)):new v(r):ke in r?Ie(p,r):Pe.call(p,r):new v(g(r))})),Q(y!==Function.prototype?C(v).concat(C(y)):C(v),(function(e){e in p||h(p,e,v[e])})),p[X]=k,n||(k.constructor=p));var A=k[ye],D=!!A&&("values"==A.name||void 0==A.name),E=He.values;h(p,_e,!0),h(k,ke,u),h(k,Se,!0),h(k,we,p),(l?new p(1)[be]==u:be in k)||z(k,be,{get:function(){return u}}),x[u]=p,a(a.G+a.W+a.F*(p!=v),x),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o((function(){v.of.call(p,1)})),u,{from:Pe,of:Re}),q in k||h(k,q,t),a(a.P,u,Ye),R(u),a(a.P+a.F*Oe,u,{set:ze}),a(a.P+a.F*!D,u,He),n||k.toString==ge||(k.toString=ge),a(a.P+a.F*o((function(){new p(1).slice()})),u,{slice:Fe}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){k.toLocaleString.call([1,2])}))),u,{toLocaleString:Be}),j[u]=D?A:E,n||D||h(k,ye,E)}}else e.exports=function(){}},ec39:function(e,t,r){var n=r("37a7"),i=r("cb7c"),o=n.has,a=n.key;n.exp({hasOwnMetadata:function(e,t){return o(e,i(t),arguments.length<3?void 0:a(arguments[2]))}})},ed0b:function(e,t,r){"use strict";var n=r("7726"),i=r("9e1e"),o=r("2d00"),a=r("0f88"),s=r("32e9"),l=r("dcbc"),u=r("79e5"),c=r("f605"),d=r("4588"),h=r("9def"),f=r("09fa"),p=r("9093").f,m=r("86cc").f,g=r("36bd"),v=r("7f20"),y="ArrayBuffer",b="DataView",_="prototype",w="Wrong length!",x="Wrong index!",k=n[y],S=n[b],M=n.Math,C=n.RangeError,T=n.Infinity,O=k,L=M.abs,A=M.pow,D=M.floor,E=M.log,I=M.LN2,j="buffer",P="byteLength",R="byteOffset",N=i?"_b":j,B=i?"_l":P,Y=i?"_o":R;function F(e,t,r){var n,i,o,a=new Array(r),s=8*r-t-1,l=(1<<s)-1,u=l>>1,c=23===t?A(2,-24)-A(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for(e=L(e),e!=e||e===T?(i=e!=e?1:0,n=l):(n=D(E(e)/I),e*(o=A(2,-n))<1&&(n--,o*=2),e+=n+u>=1?c/o:c*A(2,1-u),e*o>=2&&(n++,o/=2),n+u>=l?(i=0,n=l):n+u>=1?(i=(e*o-1)*A(2,t),n+=u):(i=e*A(2,u-1)*A(2,t),n=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(n=n<<t|i,s+=t;s>0;a[d++]=255&n,n/=256,s-=8);return a[--d]|=128*h,a}function z(e,t,r){var n,i=8*r-t-1,o=(1<<i)-1,a=o>>1,s=i-7,l=r-1,u=e[l--],c=127&u;for(u>>=7;s>0;c=256*c+e[l],l--,s-=8);for(n=c&(1<<-s)-1,c>>=-s,s+=t;s>0;n=256*n+e[l],l--,s-=8);if(0===c)c=1-a;else{if(c===o)return n?NaN:u?-T:T;n+=A(2,t),c-=a}return(u?-1:1)*n*A(2,c-t)}function H(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function V(e){return[255&e]}function U(e){return[255&e,e>>8&255]}function W(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function $(e){return F(e,52,8)}function G(e){return F(e,23,4)}function q(e,t,r){m(e[_],t,{get:function(){return this[r]}})}function X(e,t,r,n){var i=+r,o=f(i);if(o+t>e[B])throw C(x);var a=e[N]._b,s=o+e[Y],l=a.slice(s,s+t);return n?l:l.reverse()}function K(e,t,r,n,i,o){var a=+r,s=f(a);if(s+t>e[B])throw C(x);for(var l=e[N]._b,u=s+e[Y],c=n(+i),d=0;d<t;d++)l[u+d]=c[o?d:t-d-1]}if(a.ABV){if(!u((function(){k(1)}))||!u((function(){new k(-1)}))||u((function(){return new k,new k(1.5),new k(NaN),k.name!=y}))){k=function(e){return c(this,k),new O(f(e))};for(var Z,J=k[_]=O[_],Q=p(O),ee=0;Q.length>ee;)(Z=Q[ee++])in k||s(k,Z,O[Z]);o||(J.constructor=k)}var te=new S(new k(2)),re=S[_].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||l(S[_],{setInt8:function(e,t){re.call(this,e,t<<24>>24)},setUint8:function(e,t){re.call(this,e,t<<24>>24)}},!0)}else k=function(e){c(this,k,y);var t=f(e);this._b=g.call(new Array(t),0),this[B]=t},S=function(e,t,r){c(this,S,b),c(e,k,b);var n=e[B],i=d(t);if(i<0||i>n)throw C("Wrong offset!");if(r=void 0===r?n-i:h(r),i+r>n)throw C(w);this[N]=e,this[Y]=i,this[B]=r},i&&(q(k,P,"_l"),q(S,j,"_b"),q(S,P,"_l"),q(S,R,"_o")),l(S[_],{getInt8:function(e){return X(this,1,e)[0]<<24>>24},getUint8:function(e){return X(this,1,e)[0]},getInt16:function(e){var t=X(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=X(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return H(X(this,4,e,arguments[1]))},getUint32:function(e){return H(X(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return z(X(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return z(X(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){K(this,1,e,V,t)},setUint8:function(e,t){K(this,1,e,V,t)},setInt16:function(e,t){K(this,2,e,U,t,arguments[2])},setUint16:function(e,t){K(this,2,e,U,t,arguments[2])},setInt32:function(e,t){K(this,4,e,W,t,arguments[2])},setUint32:function(e,t){K(this,4,e,W,t,arguments[2])},setFloat32:function(e,t){K(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){K(this,8,e,$,t,arguments[2])}});v(k,y),v(S,b),s(S[_],a.VIEW,!0),t[y]=k,t[b]=S},ed33:function(e,t,r){r("014b"),e.exports=r("584a").Object.getOwnPropertySymbols},ed50:function(e,t,r){"use strict";var n=r("5ca1"),i=r("2e08"),o=r("a25f"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},ed7e:function(e,t,r){var n=r("5ca1");n(n.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},eda5:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,r){return e>11?r?"ප.ව.":"පස් වරු":r?"පෙ.ව.":"පෙර වරු"}});return t}))},ee1d:function(e,t,r){var n=r("5ca1");n(n.S,"Number",{isNaN:function(e){return e!=e}})},ee6d:function(e,t,r){var n=r("63b6"),i=r("ba99"),o=r("36c3"),a=r("bf0b"),s=r("20fd");n(n.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,n=o(e),l=a.f,u=i(n),c={},d=0;while(u.length>d)r=l(n,t=u[d++]),void 0!==r&&s(c,t,r);return c}})},f0c1:function(e,t,r){"use strict";var n=r("d8e8"),i=r("d3f4"),o=r("31f4"),a=[].slice,s={},l=function(e,t,r){if(!(t in s)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";s[t]=Function("F,a","return new F("+n.join(",")+")")}return s[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=a.call(arguments,1),s=function(){var n=r.concat(a.call(arguments));return this instanceof s?l(t,n.length,n):o(t,n,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},f111:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.barConfig=void 0;var n={show:!0,name:"",stack:"",shapeType:"normal",echelonOffset:10,barWidth:"auto",barGap:"30%",barCategoryGap:"20%",xAxisIndex:0,yAxisIndex:0,data:[],backgroundBar:{show:!1,width:"auto",style:{fill:"rgba(200, 200, 200, .4)"}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},gradient:{color:[],local:!0},barStyle:{},independentColor:!1,independentColors:[],rLevel:0,animationCurve:"easeOutCubic",animationFrame:50};t.barConfig=n},f1ae:function(e,t,r){"use strict";var n=r("86cc"),i=r("4630");e.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}},f201:function(e,t,r){var n=r("e4ae"),i=r("79aa"),o=r("5168")("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},f260:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},f386:function(e,t,r){"use strict";r("386b")("small",(function(e){return function(){return e(this,"small","","")}}))},f3cb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorConfig=void 0;var n=["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293","#e062ae","#e690d1","#e7bcf3","#9d96f5","#8378ea","#96bfff"];t.colorConfig=n},f3e2:function(e,t,r){"use strict";var n=r("5ca1"),i=r("0a49")(0),o=r("2f21")([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},f3ff:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},r={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},n=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return n}))},f400:function(e,t,r){"use strict";var n=r("c26b"),i=r("b39a"),o="Map";e.exports=r("e0b8")(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=n.getEntry(i(this,o),e);return t&&t.v},set:function(e,t){return n.def(i(this,o),0===e?0:e,t)}},n,!0)},f410:function(e,t,r){r("1af6"),e.exports=r("584a").Array.isArray},f4ea:function(e,t,r){(function(t,n,i){e.exports=n(r("21bf"),r("38ba"))})(0,(function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var a=o.slice(0);r.encryptBlock(a,0),o[n-1]=o[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=a[s]}});return t.Decryptor=r,t}(),e.mode.CTR}))},f4ff:function(e,t,r){var n=r("5ca1"),i=Math.imul;n(n.S+n.F*r("79e5")((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(e,t){var r=65535,n=+e,i=+t,o=r&n,a=r&i;return 0|o*a+((r&n>>>16)*a+o*(r&i>>>16)<<16>>>0)}})},f559:function(e,t,r){"use strict";var n=r("5ca1"),i=r("9def"),o=r("d2c8"),a="startsWith",s=""[a];n(n.P+n.F*r("5147")(a),"String",{startsWith:function(e){var t=o(this,e,a),r=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return s?s.call(t,n,r):t.slice(r,r+n.length)===n}})},f576:function(e,t,r){"use strict";var n=r("5ca1"),i=r("2e08"),o=r("a25f"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},f5df:function(e,t,r){},f605:function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},f6b3:function(e,t,r){var n=r("5ca1");n(n.S,"Reflect",{has:function(e,t){return t in e}})},f6b4:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],r=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],n=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],a=e.defineLocale("gd",{months:t,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return a}))},f6b49:function(e,t,r){"use strict";var n=r("c532");function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},f744:function(e,t,r){"use strict";var n,i=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();(function(e){e["InvalidFile"]="InvalidFile",e["InvalidToken"]="InvalidToken",e["InvalidMetadata"]="InvalidMetadata",e["InvalidChunkSize"]="InvalidChunkSize",e["InvalidCustomVars"]="InvalidCustomVars",e["NotAvailableUploadHost"]="NotAvailableUploadHost",e["ReadCacheFailed"]="ReadCacheFailed",e["InvalidCacheData"]="InvalidCacheData",e["WriteCacheFailed"]="WriteCacheFailed",e["RemoveCacheFailed"]="RemoveCacheFailed",e["GetCanvasContextFailed"]="GetCanvasContextFailed",e["UnsupportedFileType"]="UnsupportedFileType",e["FileReaderReadFailed"]="FileReaderReadFailed",e["NotAvailableXMLHttpRequest"]="NotAvailableXMLHttpRequest",e["InvalidProgressEventTarget"]="InvalidProgressEventTarget",e["RequestError"]="RequestError"})(n||(n={}));var o=function(){function e(e,t){this.name=e,this.message=t,this.stack=(new Error).stack}return e}(),a=function(e){function t(t,r,i,o){var a=e.call(this,n.RequestError,i)||this;return a.code=t,a.reqId=r,a.isRequestError=!0,a.data=o,a}return i(t,e),t}(o),s=function(e){function t(t,r){return void 0===r&&(r=""),e.call(this,0,r,t)||this}return i(t,e),t}(a),l=function(){function e(e,t){this.runTask=e,this.limit=t,this.aborted=!1,this.queue=[],this.processing=[]}return e.prototype.enqueue=function(e){var t=this;return new Promise((function(r,n){t.queue.push({task:e,resolve:r,reject:n}),t.check()}))},e.prototype.run=function(e){var t=this;this.queue=this.queue.filter((function(t){return t!==e})),this.processing.push(e),this.runTask(e.task).then((function(){t.processing=t.processing.filter((function(t){return t!==e})),e.resolve(),t.check()}),(function(t){return e.reject(t)}))},e.prototype.check=function(){var e=this;if(!this.aborted){var t=this.processing.length,r=this.limit-t;this.queue.slice(0,r).forEach((function(t){e.run(t)}))}},e.prototype.abort=function(){this.queue=[],this.aborted=!0},e}(),u=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},c.apply(this,arguments)},d=function(){function e(){this.closed=!1}return e.prototype.unsubscribe=function(){this.closed||(this.closed=!0,this._unsubscribe&&this._unsubscribe())},e.prototype.add=function(e){this._unsubscribe=e},e}(),h=function(e){function t(t,r,n){var i=e.call(this)||this;return i.isStopped=!1,i.destination=t&&"object"===typeof t?t:c(c(c({},t&&{next:t}),r&&{error:r}),n&&{complete:n}),i}return u(t,e),t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype.next=function(e){!this.isStopped&&this.destination.next&&this.destination.next(e)},t.prototype.error=function(e){!this.isStopped&&this.destination.error&&(this.isStopped=!0,this.destination.error(e))},t.prototype.complete=function(e){!this.isStopped&&this.destination.complete&&(this.isStopped=!0,this.destination.complete(e))},t}(d),f=function(){function e(e){this._subscribe=e}return e.prototype.subscribe=function(e,t,r){var n=new h(e,t,r);return n.add(this._subscribe(n)),n},e}();function p(e){if(null===e||"undefined"===typeof e)return"";var t,r,n=e+"",i="",o=0;t=r=0,o=n.length;for(var a=0;a<o;a++){var s=n.charCodeAt(a),l=null;if(s<128)r++;else if(s>127&&s<2048)l=String.fromCharCode(s>>6|192,63&s|128);else if((63488&s^55296)>0)l=String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128);else{if((64512&s^55296)>0)throw new RangeError("Unmatched trail surrogate at "+a);var u=n.charCodeAt(++a);if((64512&u^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(a-1));s=((1023&s)<<10)+(1023&u)+65536,l=String.fromCharCode(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}null!==l&&(r>t&&(i+=n.slice(t,r)),i+=l,t=r=a+1)}return r>t&&(i+=n.slice(t,o)),i}function m(e){var t=[],r=0,n=0,i=0;e+="";while(r<e.length){n=255&e.charCodeAt(r),i=0,n<=191?(n&=127,i=1):n<=223?(n&=31,i=2):n<=239?(n&=15,i=3):(n&=7,i=4);for(var o=1;o<i;++o)n=n<<6|63&e.charCodeAt(o+r);4===i?(n-=65536,t.push(String.fromCharCode(55296|n>>10&1023)),t.push(String.fromCharCode(56320|1023&n))):t.push(String.fromCharCode(n)),r+=i}return t.join("")}function g(e){var t,r,n,i,o,a,s,l,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,d=0,h="",f=[];if(!e)return e;e=p(e+"");do{t=e.charCodeAt(c++),r=e.charCodeAt(c++),n=e.charCodeAt(c++),l=t<<16|r<<8|n,i=l>>18&63,o=l>>12&63,a=l>>6&63,s=63&l,f[d++]=u.charAt(i)+u.charAt(o)+u.charAt(a)+u.charAt(s)}while(c<e.length);switch(h=f.join(""),e.length%3){case 1:h=h.slice(0,-2)+"==";break;case 2:h=h.slice(0,-1)+"=";break}return h}function v(e){var t,r,n,i,o,a,s,l,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,d=0,h="",f=[];if(!e)return e;e+="";do{i=u.indexOf(e.charAt(c++)),o=u.indexOf(e.charAt(c++)),a=u.indexOf(e.charAt(c++)),s=u.indexOf(e.charAt(c++)),l=i<<18|o<<12|a<<6|s,t=l>>16&255,r=l>>8&255,n=255&l,f[d++]=64===a?String.fromCharCode(t):64===s?String.fromCharCode(t,r):String.fromCharCode(t,r,n)}while(c<e.length);return h=f.join(""),m(h)}function y(e){return e=g(e),e.replace(/\//g,"_").replace(/\+/g,"-")}function b(e){return e=e.replace(/_/g,"/").replace(/-/g,"+"),v(e)}var _,w=r("69a0"),x=r.n(w),k=function(){return k=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},k.apply(this,arguments)},S=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},M=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},C=Math.pow(1024,2);function T(e,t){var r=t*C;if(r>e.size)r=e.size;else while(e.size>1e4*r)r*=2;for(var n=[],i=Math.ceil(e.size/r),o=0;o<i;o++){var a=e.slice(r*o,o===i-1?e.size:r*(o+1));n.push(a)}return n}function O(e){return Object.keys(e).every((function(e){return 0===e.indexOf("x-qn-meta-")}))}function L(e){return Object.keys(e).every((function(e){return 0===e.indexOf("x:")}))}function A(e){return e.reduce((function(e,t){return e+t}),0)}function D(e,t,r){try{localStorage.setItem(e,JSON.stringify(t))}catch(i){r.warn(new o(n.WriteCacheFailed,"setLocalFileInfo failed: "+e))}}function E(e,t,r){var n=null==t?"_":"_key_"+t+"_";return"qiniu_js_sdk_upload_file_name_"+e+n+"size_"+r}function I(e,t){try{localStorage.removeItem(e)}catch(r){t.warn(new o(n.RemoveCacheFailed,"removeLocalFileInfo failed. key: "+e))}}function j(e,t){var r=null;try{r=localStorage.getItem(e)}catch(a){t.warn(new o(n.ReadCacheFailed,"getLocalFileInfo failed. key: "+e))}if(null==r)return null;var i=null;try{i=JSON.parse(r)}catch(s){I(e,t),t.warn(new o(n.InvalidCacheData,"getLocalFileInfo failed to parse. key: "+e))}return i}function P(e){var t="UpToken "+e;return{Authorization:t}}function R(e){var t=P(e);return k({"content-type":"application/octet-stream"},t)}function N(e){var t=P(e);return k({"content-type":"application/json"},t)}function B(){if(window.XMLHttpRequest)return new XMLHttpRequest;if(window.ActiveXObject)return new window.ActiveXObject("Microsoft.XMLHTTP");throw new o(n.NotAvailableXMLHttpRequest,"the current environment does not support.")}function Y(e){return S(this,void 0,void 0,(function(){var t,r;return M(this,(function(n){switch(n.label){case 0:return[4,F(e)];case 1:return t=n.sent(),r=new x.a.ArrayBuffer,r.append(t),[2,r.end()]}}))}))}function F(e){return new Promise((function(t,r){var i=new FileReader;i.onload=function(e){if(e.target){var i=e.target.result;t(i)}else r(new o(n.InvalidProgressEventTarget,"progress event target is undefined"))},i.onerror=function(){r(new o(n.FileReaderReadFailed,"fileReader read failed"))},i.readAsArrayBuffer(e)}))}function z(e,t){return new Promise((function(r,n){var i=B();if(i.open(t.method,e),t.onCreate&&t.onCreate(i),t.headers){var o=t.headers;Object.keys(o).forEach((function(e){i.setRequestHeader(e,o[e])}))}i.upload.addEventListener("progress",(function(e){e.lengthComputable&&t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})})),i.onreadystatechange=function(){var e=i.responseText;if(4===i.readyState){var t=i.getResponseHeader("x-reqId")||"";if(0!==i.status)if(200===i.status)try{r({data:JSON.parse(e),reqId:t})}catch(u){n(u)}else{var o="xhr request failed, code: "+i.status;e&&(o+=" response: "+e);var l=void 0;try{l=JSON.parse(e)}catch(c){}n(new a(i.status,t,o,l))}else n(new s("network error.",t))}},i.send(t.body)}))}function H(e){if(e&&e.match){var t=e.match(/(^https?)/);if(!t)return"";var r=t[1];return t=e.match(/^https?:\/\/([^:^/]*):(\d*)/),t?t[2]:"http"===r?"80":"443"}return""}function V(e){if(e&&e.match){var t=e.match(/^https?:\/\/([^:^/]*)/);return t?t[1]:""}return""}function U(e){if(!e)throw new o(n.InvalidToken,"invalid token.");var t=e.split(":");if(1===t.length)throw new o(n.InvalidToken,"invalid token segments.");var r=t.length>3?t[1]:t[0];if(!r)throw new o(n.InvalidToken,"missing assess key field.");var i=null;try{i=JSON.parse(b(t[t.length-1]))}catch(s){throw new o(n.InvalidToken,"token parse failed.")}if(null==i)throw new o(n.InvalidToken,"putPolicy is null.");if(null==i.scope)throw new o(n.InvalidToken,"scope field is null.");var a=i.scope.split(":")[0];if(!a)throw new o(n.InvalidToken,"resolve bucketName failed.");return{assessKey:r,bucketName:a,scope:i.scope}}function W(e){var t=window.URL||window.webkitURL||window.mozURL;return t.createObjectURL(e)}var $={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},G=(_={},_[$.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_[$.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_[$.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_[$.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_[$.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_[$.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_),q=r("b383"),X=function(){return X=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},X.apply(this,arguments)},K=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},Z=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function J(e,t,r){return K(this,void 0,void 0,(function(){var n,i;return Z(this,(function(o){return n=Object(q["stringify"])({ak:e,bucket:t}),i=r+"://api.qiniu.com/v2/query?"+n,[2,z(i,{method:"GET"})]}))}))}function Q(e,t,r){var n=r.url,i=r.id;return n+"/buckets/"+e+"/objects/"+(null!=t?y(t):"~")+"/uploads/"+i}function ee(e,t,r,n){var i=n+"/buckets/"+t+"/objects/"+(null!=r?y(r):"~")+"/uploads";return z(i,{method:"POST",headers:P(e)})}function te(e,t,r,n,i){var o=U(e).bucketName,a=Q(o,t,n)+"/"+r,s=R(e);return i.md5&&(s["Content-MD5"]=i.md5),z(a,X(X({},i),{method:"PUT",headers:s}))}function re(e,t,r,n){var i=U(e).bucketName,o=Q(i,t,r);return z(o,X(X({},n),{method:"POST",headers:N(e)}))}function ne(e,t,r){return z(e,X({method:"POST",body:t},r))}var ie=function(){return ie=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ie.apply(this,arguments)},oe=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},ae=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},se=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=o.next()).done)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return a},le=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(se(arguments[t]));return e},ue=4,ce=[0,502,503,504,599],de=le(ce,[612]),he=Math.pow(1024,3),fe=function(){function e(e,t,r,n){this.hostPool=r,this.logger=n,this.aborted=!1,this.retryCount=0,this.xhrList=[],this.config=e.config,n.info("config inited.",this.config),this.putExtra=ie({fname:""},e.putExtra),n.info("putExtra inited.",this.putExtra),this.key=e.key,this.file=e.file,this.token=e.token,this.onData=t.onData,this.onError=t.onError,this.onComplete=t.onComplete;try{var i=U(this.token);this.bucketName=i.bucketName,this.assessKey=i.assessKey}catch(o){n.error("get putPolicy from token failed.",o),this.onError(o)}}return e.prototype.checkAndUpdateUploadHost=function(){return oe(this,void 0,void 0,(function(){var e;return ae(this,(function(t){switch(t.label){case 0:return this.logger.info("get available upload host."),[4,this.hostPool.getUp(this.assessKey,this.bucketName,this.config.upprotocol)];case 1:if(e=t.sent(),null==e)throw new o(n.NotAvailableUploadHost,"no available upload host.");return null!=this.uploadHost&&this.uploadHost.host!==e.host?this.logger.warn("host switches from "+this.uploadHost.host+" to "+e.host+"."):this.logger.info("use host "+e.host+"."),this.uploadHost=e,[2]}}))}))},e.prototype.checkAndUnfreezeHost=function(){this.logger.info("check unfreeze host."),null!=this.uploadHost&&this.uploadHost.isFrozen()&&(this.logger.warn(this.uploadHost.host+" will be unfrozen."),this.uploadHost.unfreeze())},e.prototype.checkAndFreezeHost=function(e){this.logger.info("check freeze host."),e instanceof a&&null!=this.uploadHost&&ce.includes(e.code)&&(this.logger.warn(this.uploadHost.host+" will be temporarily frozen."),this.uploadHost.freeze())},e.prototype.handleError=function(e){this.logger.error(e.message),this.onError(e)},e.prototype.putFile=function(){return oe(this,void 0,void 0,(function(){var e,t,r,i;return ae(this,(function(s){switch(s.label){case 0:if(this.aborted=!1,this.putExtra.fname||(this.logger.info("use file.name as fname."),this.putExtra.fname=this.file.name),this.file.size>1e4*he)return this.handleError(new o(n.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!L(this.putExtra.customVars))return this.handleError(new o(n.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!O(this.putExtra.metadata))return this.handleError(new o(n.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];s.label=1;case 1:return s.trys.push([1,4,,5]),this.uploadAt=(new Date).getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return s.sent(),[4,this.run()];case 3:return e=s.sent(),this.onComplete(e.data),this.checkAndUnfreezeHost(),this.sendLog(e.reqId,200),[2];case 4:return t=s.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(t),t instanceof a&&(this.sendLog(t.reqId,t.code),this.checkAndFreezeHost(t),r=++this.retryCount<=this.config.retryCount,i=de.includes(t.code),i&&r)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(t),[3,5]));case 5:return[2]}}))}))},e.prototype.clear=function(){this.xhrList.forEach((function(e){e.onreadystatechange=null,e.abort()})),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},e.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},e.prototype.addXhr=function(e){this.xhrList.push(e)},e.prototype.sendLog=function(e,t){var r,n;this.logger.report({code:t,reqId:e,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:H(null===(r=this.uploadHost)||void 0===r?void 0:r.getUrl()),host:V(null===(n=this.uploadHost)||void 0===n?void 0:n.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor(((new Date).getTime()-this.uploadAt)/1e3)})},e.prototype.getProgressInfoItem=function(e,t,r){return ie({size:t,loaded:e,percent:e/t*100},null==r?{}:{fromCache:r})},e}(),pe=fe,me=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ge.apply(this,arguments)},ve=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},ye=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function be(e){var t=/^[1-9]\d*$/;return t.test(String(e))}var _e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return me(t,e),t.prototype.run=function(){return ve(this,void 0,void 0,(function(){var e,t,r,i,s,u=this;return ye(this,(function(c){switch(c.label){case 0:if(this.logger.info("start run Resume."),!this.config.chunkSize||!be(this.config.chunkSize))throw new o(n.InvalidChunkSize,"chunkSize must be a positive integer");if(this.config.chunkSize>1024)throw new o(n.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:c.sent(),e=new l((function(t){return ve(u,void 0,void 0,(function(){return ye(this,(function(r){switch(r.label){case 0:if(this.aborted)throw e.abort(),new Error("pool is aborted");return[4,this.uploadChunk(t)];case 1:return r.sent(),[2]}}))}))}),this.config.concurrentRequestLimit),t=null,r=this.getLocalKey(),i=this.chunks.map((function(t,r){return e.enqueue({chunk:t,index:r})})),c.label=2;case 2:return c.trys.push([2,5,,6]),[4,Promise.all(i)];case 3:return c.sent(),[4,this.mkFileReq()];case 4:return t=c.sent(),[3,6];case 5:throw s=c.sent(),s instanceof a&&(612===s.code||400===s.code)&&I(r,this.logger),s;case 6:return I(r,this.logger),[2,t]}}))}))},t.prototype.uploadChunk=function(e){return ve(this,void 0,void 0,(function(){var t,r,n,i,o,a,s,l,u,c=this;return ye(this,(function(d){switch(d.label){case 0:return t=e.index,r=e.chunk,n=this.cachedUploadedList[t],this.logger.info("upload part "+t+", cache:",n),i=this.config.checkByMD5,o=function(){c.usedCacheList[t]=!0,c.updateChunkProgress(r.size,t),c.uploadedList[t]=n,c.updateLocalCache()},n&&!i?(o(),[2]):[4,Y(r)];case 1:return a=d.sent(),this.logger.info("computed part md5.",a),n&&a===n.md5?(o(),[2]):(this.usedCacheList[t]=!1,s=function(e){c.updateChunkProgress(e.loaded,t)},l={body:r,md5:this.config.checkByServer?a:void 0,onProgress:s,onCreate:function(e){return c.addXhr(e)}},this.logger.info("part "+t+" start uploading."),[4,te(this.token,this.key,e.index+1,this.getUploadInfo(),l)]);case 2:return u=d.sent(),this.logger.info("part "+t+" upload completed."),s({loaded:r.size,total:r.size}),this.uploadedList[t]={etag:u.data.etag,md5:u.data.md5,size:r.size},this.updateLocalCache(),[2]}}))}))},t.prototype.mkFileReq=function(){return ve(this,void 0,void 0,(function(){var e,t,r=this;return ye(this,(function(n){switch(n.label){case 0:return e=ge(ge(ge({parts:this.uploadedList.map((function(e,t){return{etag:e.etag,partNumber:t+1}})),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",e),[4,re(this.token,this.key,this.getUploadInfo(),{onCreate:function(e){return r.addXhr(e)},body:JSON.stringify(e)})];case 1:return t=n.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,t]}}))}))},t.prototype.initBeforeUploadChunks=function(){return ve(this,void 0,void 0,(function(){var e,t,r;return ye(this,(function(n){switch(n.label){case 0:return this.uploadedList=[],this.usedCacheList=[],e=j(this.getLocalKey(),this.logger),e?[3,2]:(this.logger.info("init upload parts from api."),[4,ee(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return t=n.sent(),this.logger.info("initd upload parts of id: "+t.data.uploadId+"."),this.uploadId=t.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:r=["resume upload parts from local cache,","total "+e.data.length+" part,","id is "+e.id+"."],this.logger.info(r.join(" ")),this.cachedUploadedList=e.data,this.uploadId=e.id,n.label=3;case 3:return this.chunks=T(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map((function(e){return 0}))},this.notifyResumeProgress(),[2]}}))}))},t.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},t.prototype.getLocalKey=function(){return E(this.file.name,this.key,this.file.size)},t.prototype.updateLocalCache=function(){D(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},t.prototype.updateChunkProgress=function(e,t){this.loaded.chunks[t]=e,this.notifyResumeProgress()},t.prototype.updateMkFileProgress=function(e){this.loaded.mkFileProgress=e,this.notifyResumeProgress()},t.prototype.notifyResumeProgress=function(){var e=this;this.progress={total:this.getProgressInfoItem(A(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map((function(t,r){var n=e.usedCacheList[r];return e.getProgressInfoItem(e.loaded.chunks[r],t.size,n)})),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},t}(pe),we=_e,xe=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},ke=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Se=function(){function e(){this.crc=-1,this.table=this.makeTable()}return e.prototype.makeTable=function(){for(var e=new Array,t=0;t<256;t++){for(var r=t,n=0;n<8;n++)1&r?r=r>>>1^3988292384:r>>>=1;e[t]=r}return e},e.prototype.append=function(e){for(var t=this.crc,r=0;r<e.byteLength;r++)t=t>>>8^this.table[255&(t^e[r])];this.crc=t},e.prototype.compute=function(){return(-1^this.crc)>>>0},e.prototype.readAsUint8Array=function(e){return xe(this,void 0,void 0,(function(){var t;return ke(this,(function(r){switch(r.label){case 0:return"function"!==typeof e.arrayBuffer?[3,2]:(t=Uint8Array.bind,[4,e.arrayBuffer()]);case 1:return[2,new(t.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[2,new Promise((function(t,r){var n=new FileReader;n.onload=function(){null!=n.result&&"string"!==typeof n.result?t(new Uint8Array(n.result)):r()},n.readAsArrayBuffer(e)}))]}}))}))},e.prototype.file=function(e){return xe(this,void 0,void 0,(function(){var t,r,n,i,o,a;return ke(this,(function(s){switch(s.label){case 0:return e.size<=C?(t=this.append,[4,this.readAsUint8Array(e)]):[3,2];case 1:return t.apply(this,[s.sent()]),[2,this.compute()];case 2:r=Math.ceil(e.size/C),n=0,s.label=3;case 3:return n<r?(i=n*C,o=n===r-1?e.size:i+C,[4,this.readAsUint8Array(e.slice(i,o))]):[3,6];case 4:a=s.sent(),this.append(new Uint8Array(a)),s.label=5;case 5:return n++,[3,3];case 6:return[2,this.compute()]}}))}))},e.file=function(t){var r=new e;return r.file(t)},e}(),Me=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ce=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},Te=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Me(t,e),t.prototype.run=function(){return Ce(this,void 0,void 0,(function(){var e,t,r,n,i,o=this;return Te(this,(function(a){switch(a.label){case 0:return this.logger.info("start run Direct."),e=new FormData,e.append("file",this.file),e.append("token",this.token),null!=this.key&&e.append("key",this.key),e.append("fname",this.putExtra.fname),this.config.checkByServer?[4,Se.file(this.file)]:[3,2];case 1:t=a.sent(),e.append("crc32",t.toString()),a.label=2;case 2:return this.putExtra.customVars&&(this.logger.info("init customVars."),r=this.putExtra.customVars,Object.keys(r).forEach((function(t){return e.append(t,r[t].toString())})),this.logger.info("customVars inited.")),this.putExtra.metadata&&(this.logger.info("init metadata."),n=this.putExtra.metadata,Object.keys(n).forEach((function(t){return e.append(t,n[t].toString())}))),this.logger.info("formData inited."),[4,ne(this.uploadHost.getUrl(),e,{onProgress:function(e){o.updateDirectProgress(e.loaded,e.total)},onCreate:function(e){return o.addXhr(e)}})];case 3:return i=a.sent(),this.logger.info("Direct progress finish."),this.finishDirectProgress(),[2,i]}}))}))},t.prototype.updateDirectProgress=function(e,t){this.progress={total:this.getProgressInfoItem(e,t+1)},this.onData(this.progress)},t.prototype.finishDirectProgress=function(){if(!this.progress)return this.logger.warn("progress is null."),this.progress={total:this.getProgressInfoItem(this.file.size,this.file.size)},void this.onData(this.progress);var e=this.progress.total;this.progress={total:this.getProgressInfoItem(e.loaded+1,e.size)},this.onData(this.progress)},t}(pe),Le=Oe;function Ae(e,t,r){void 0===r&&(r=3);var n=B();n.open("POST","https://uplog.qbox.me/log/3"),n.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n.setRequestHeader("Authorization",P(e).Authorization),n.onreadystatechange=function(){4===n.readyState&&200!==n.status&&r>0&&Ae(e,t,r-1)};var i=[t.code||"",t.reqId||"",t.host||"",t.remoteIp||"",t.port||"",t.duration||"",t.time||"",t.bytesSent||"",t.upType||"",t.size||""].join(",");n.send(i)}var De=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=o.next()).done)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return a},Ee=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(De(arguments[t]));return e},Ie=function(){function e(t,r,n,i){void 0===r&&(r=!0),void 0===n&&(n="OFF"),void 0===i&&(i="UPLOAD"),this.token=t,this.disableReport=r,this.level=n,this.prefix=i,this.id=++e.id}return e.prototype.getPrintPrefix=function(e){return"Qiniu-JS-SDK ["+e+"]["+this.prefix+"#"+this.id+"]:"},e.prototype.report=function(e,t){if(!this.disableReport)try{Ae(this.token,e,t)}catch(r){this.warn(r)}},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=["INFO"];r.includes(this.level)&&console.log.apply(console,Ee([this.getPrintPrefix("INFO")],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=["INFO","WARN"];r.includes(this.level)&&console.warn.apply(console,Ee([this.getPrintPrefix("WARN")],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=["INFO","WARN","ERROR"];r.includes(this.level)&&console.error.apply(console,Ee([this.getPrintPrefix("ERROR")],e))},e.id=0,e}(),je=Ie,Pe=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},Re=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Ne=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=o.next()).done)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return a},Be=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ne(arguments[t]));return e},Ye=new Map,Fe=function(){function e(e,t){this.host=e,this.protocol=t}return e.prototype.isFrozen=function(){var e=(new Date).getTime(),t=Ye.get(this.host);return null!=t&&t>=e},e.prototype.freeze=function(e){void 0===e&&(e=20);var t=(new Date).getTime()+1e3*e;Ye.set(this.host,t)},e.prototype.unfreeze=function(){Ye["delete"](this.host)},e.prototype.getUrl=function(){return this.protocol+"://"+this.host},e.prototype.getUnfreezeTime=function(){return Ye.get(this.host)},e}(),ze=function(){function e(e){void 0===e&&(e=[]),this.initHosts=e,this.cachedHostsMap=new Map}return e.prototype.register=function(e,t,r,n){this.cachedHostsMap.set(e+"@"+t,r.map((function(e){return new Fe(e,n)})))},e.prototype.refresh=function(e,t,r){var n,i,o,a;return Pe(this,void 0,void 0,(function(){var s,l,u;return Re(this,(function(c){switch(c.label){case 0:return s=this.cachedHostsMap.get(e+"@"+t)||[],s.length>0?[2]:this.initHosts.length>0?(this.register(e,t,this.initHosts,r),[2]):[4,J(e,t,r)];case 1:return l=c.sent(),null!=(null===l||void 0===l?void 0:l.data)&&(u=Be((null===(i=null===(n=l.data.up)||void 0===n?void 0:n.acc)||void 0===i?void 0:i.main)||[],(null===(a=null===(o=l.data.up)||void 0===o?void 0:o.acc)||void 0===a?void 0:a.backup)||[]),this.register(e,t,u,r)),[2]}}))}))},e.prototype.getUp=function(e,t,r){return Pe(this,void 0,void 0,(function(){var n,i,o;return Re(this,(function(a){switch(a.label){case 0:return[4,this.refresh(e,t,r)];case 1:return a.sent(),n=this.cachedHostsMap.get(e+"@"+t)||[],0===n.length?[2,null]:(i=n.filter((function(e){return!e.isFrozen()})),i.length>0?[2,i[0]]:(o=n.slice().sort((function(e,t){return(e.getUnfreezeTime()||0)-(t.getUnfreezeTime()||0)})),[2,o[0]]))}}))}))},e}();function He(e,t,r,n){return e.config&&e.config.forceDirect?(n.info("ues forceDirect mode."),new Le(e,t,r,n)):e.file.size>4*C?(n.info("file size over 4M, use Resume."),new we(e,t,r,n)):(n.info("file size less or equal than 4M, use Direct."),new Le(e,t,r,n))}function Ve(e,t,r,n,i){var o=new je(r,null===i||void 0===i?void 0:i.disableStatisticsReport,null===i||void 0===i?void 0:i.debugLogLevel,e.name),a={file:e,key:t,token:r,putExtra:n,config:qe(i,o)},s=new ze(a.config.uphost);return new f((function(e){var t=He(a,{onData:function(t){return e.next(t)},onError:function(t){return e.error(t)},onComplete:function(t){return e.complete(t)}},s,o);return t.putFile(),t.stop.bind(t)}))}var Ue=function(){return Ue=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ue.apply(this,arguments)},We=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},$e=function(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{while((void 0===t||t-- >0)&&!(n=o.next()).done)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o["return"])&&r.call(o)}finally{if(i)throw i.error}}return a},Ge=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($e(arguments[t]));return e};function qe(e,t){var r=Ue({},e),n=r.upprotocol,i=r.uphost,o=We(r,["upprotocol","uphost"]),a=Ue({uphost:[],retryCount:3,checkByMD5:!1,forceDirect:!1,useCdnDomain:!0,checkByServer:!1,concurrentRequestLimit:3,chunkSize:ue,upprotocol:"https",debugLogLevel:"OFF",disableStatisticsReport:!1},o);n&&(a.upprotocol=n.replace(/:$/,""));var s=[];if(t&&null!=(null===e||void 0===e?void 0:e.uphost)&&null!=(null===e||void 0===e?void 0:e.region)&&t.warn("do not use both the uphost and region config."),i)Array.isArray(i)?s.push.apply(s,Ge(i)):s.push(i);else if(null===a||void 0===a?void 0:a.region){var l=G[null===a||void 0===a?void 0:a.region];a.useCdnDomain?s.push.apply(s,Ge(l.cdnUphost)):s.push.apply(s,Ge(l.srcUphost))}return Ue(Ue({},a),{uphost:s.filter(Boolean)})}var Xe=function(){return Xe=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xe.apply(this,arguments)},Ke=function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(t){o(t)}}function s(e){try{l(n["throw"](e))}catch(t){o(t)}}function l(e){e.done?r(e.value):i(e.value).then(a,s)}l((n=n.apply(e,t||[])).next())}))},Ze=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Je={PNG:"image/png",JPEG:"image/jpeg",WEBP:"image/webp",BMP:"image/bmp"},Qe=4,et=Math.log(2),tt=Object.keys(Je).map((function(e){return Je[e]})),rt=Je.JPEG;function nt(e){return tt.includes(e)}(function(){function e(e,t){this.file=e,this.config=t,this.config=Xe({quality:.92,noCompressIfLarger:!1},this.config)}e.prototype.process=function(){return Ke(this,void 0,void 0,(function(){var e,t,r,i,a,s;return Ze(this,(function(l){switch(l.label){case 0:if(this.outputType=this.file.type,e={},!nt(this.file.type))throw new o(n.UnsupportedFileType,"unsupported file type: "+this.file.type);return[4,this.getOriginImage()];case 1:return t=l.sent(),[4,this.getCanvas(t)];case 2:return r=l.sent(),i=1,this.config.maxWidth&&(i=Math.min(1,this.config.maxWidth/r.width)),this.config.maxHeight&&(i=Math.min(1,i,this.config.maxHeight/r.height)),e.width=r.width,e.height=r.height,[4,this.doScale(r,i)];case 3:return a=l.sent(),s=this.toBlob(a),s.size>this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:e.width,height:e.height}]:[2,{dist:s,width:a.width,height:a.height}]}}))}))},e.prototype.clear=function(e,t,r){this.outputType===rt?(e.fillStyle="#fff",e.fillRect(0,0,t,r)):e.clearRect(0,0,t,r)},e.prototype.getOriginImage=function(){var e=this;return new Promise((function(t,r){var n=W(e.file),i=new Image;i.onload=function(){t(i)},i.onerror=function(){r("image load error")},i.src=n}))},e.prototype.getCanvas=function(e){var t=this;return new Promise((function(r,i){var a=document.createElement("canvas"),s=a.getContext("2d");if(s){var l=e.width,u=e.height;a.height=u,a.width=l,t.clear(s,l,u),s.drawImage(e,0,0),r(a)}else i(new o(n.GetCanvasContextFailed,"context is null"))}))},e.prototype.doScale=function(e,t){return Ke(this,void 0,void 0,(function(){var r,i,a,s,l,u,c,d,h,f,p,m,g,v,y,b;return Ze(this,(function(_){if(1===t)return[2,e];if(r=e.getContext("2d"),i=Math.min(Qe,Math.ceil(1/t/et)),a=Math.pow(t,1/i),s=document.createElement("canvas"),l=s.getContext("2d"),u=e.width,c=e.height,d=u,h=c,s.width=u,s.height=c,!l||!r)throw new o(n.GetCanvasContextFailed,"mctx or sctx can't be null");for(m=0;m<i;m++)g=u*a|0,v=c*a|0,m===i-1&&(g=d*t,v=h*t),m%2===0?(f=e,p=l):(f=s,p=r),this.clear(p,u,c),p.drawImage(f,0,0,u,c,0,0,g,v),u=g,c=v;return y=f===e?s:e,b=p.getImageData(0,0,u,c),y.width=u,y.height=c,p.putImageData(b,0,0),[2,y]}))}))},e.prototype.toBlob=function(e){var t=e.toDataURL(this.outputType,this.config.quality),r=atob(t.split(",")[1]).split("").map((function(e){return e.charCodeAt(0)})),n=new Blob([new Uint8Array(r)],{type:this.outputType});return n}})();r.d(t,"a",(function(){return Ve}))},f751:function(e,t,r){var n=r("5ca1");n(n.S+n.F,"Object",{assign:r("7333")})},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f893:function(e,t,r){e.exports={default:r("f921"),__esModule:!0}},f921:function(e,t,r){r("014b"),r("c207"),r("69d3"),r("765d"),e.exports=r("584a").Symbol},f9ab:function(e,t,r){var n=r("5ca1"),i=r("96fb");n(n.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},fa10:function(e,t,r){},fa5b:function(e,t,r){e.exports=r("5537")("native-function-to-string",Function.toString)},fa83:function(e,t,r){"use strict";r("386b")("blink",(function(e){return function(){return e(this,"blink","","")}}))},fa99:function(e,t,r){r("0293"),e.exports=r("584a").Object.getPrototypeOf},fab2:function(e,t,r){var n=r("7726").document;e.exports=n&&n.documentElement},facd:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},faff:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},fca0:function(e,t,r){var n=r("5ca1"),i=r("7726").isFinite;n(n.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},fd24:function(e,t,r){var n=r("5ca1");n(n.S,"Object",{setPrototypeOf:r("8b97").set})},fd77:function(e,t,r){"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=r("cff6"),l=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),n(t,[{key:"read",value:function(){var e=localStorage.getItem(this.source);return e?this.deserialize(e):(localStorage.setItem(this.source,this.serialize(this.defaultValue)),this.defaultValue)}},{key:"write",value:function(e){localStorage.setItem(this.source,this.serialize(e))}}]),t}(s);e.exports=l},fd7e:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},fde4:function(e,t,r){r("bf90");var n=r("584a").Object;e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)}},fdef:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},fe7b:function(e,t,r){},fee7:function(e,t,r){"use strict";var n=r("5ca1"),i=r("4bf8"),o=r("d8e8"),a=r("86cc");r("9e1e")&&n(n.P+r("c5b4"),"Object",{__defineSetter__:function(e,t){a.f(i(this),e,{set:o(t),enumerable:!0,configurable:!0})}})},ffc1:function(e,t,r){var n=r("5ca1"),i=r("504c")(!0);n(n.S,"Object",{entries:function(e){return i(e)}})},ffff:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
|
||
//! moment.js locale configuration
|
||
var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))}}]); |